Ticket #373 (closed defect: fixed)

Opened 15 months ago

Last modified 15 months ago

BWJS-bot needs path for javduel

Reported by: fantus Owned by: fantus
Priority: normal Component: Bots - Other
Version: Latest version from repository Severity: minor
Keywords: Cc:

Description

Apperently the bot is sometimes missing a playerlocation which results into a "too long outside of base" warning, or even a spec. A solution would be to let the bot circle around the map on a predefined path in order to make sure it gets all the player locations.

Attachments

Change History

Changed 15 months ago by Maverick

I don't agree (if you mean to put the bot into play and have it move around).

Currently the default bot behaviour is that the bot is cycling players in the arena (non-spectators) either when they change freq / ship or after they died / entered arena.
You can cease this behaviour by using BotAction.stopReliablePositionUpdating() and make the bot spectate your own points on the map.

All you need to do is to have the bot spectate a player (BotAction.spectatePlayer()) or have it move to a certain spot (BotAction.move()). For example, you can have the bot spectate points across the line and register once a player has passed to determine he's inside or outside the base.

Changed 15 months ago by fantus

  • status changed from new to closed
  • resolution set to fixed

Add/Change #373 (BWJS-bot needs path for javduel)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.