Ticket #374 (closed task: fixed)
Move the hard-coded resolution for bots to configuration
| Reported by: | Maverick | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | Core |
| Version: | Latest version from repository | Severity: | minor |
| Keywords: | Cc: |
Description
Currently in BotAction.joinArena(short arena) the resolution is hard-coded to 1024x768 (parameter to GamePacketGenerator.sendArenaLoginPacket()). This should be made configurable in setup.cfg.
Task:
- Add two configuration variables to setup.cfg for configuring the default resolution.
- Retrieve these configuration variables from the setup.cfg and use it as the default resolution in BotAction.joinArena().
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
