82ndab-Bravo17/big-brother-bot — pull request #4 by courgette (2012-09-15 04:25:56+00:00)
Title: Arma2: refactoring to make the parser code shorter and easier to write/read

Hi,

Lot of changes here :

- refactor the BattleyeServer class and make the .command() method synchronous
- take advantage of new BattleyeServer.command() behaviour in the parser
- reduce code size by moving some network code to the protocol module
- move all UTF-8 encoding/decoding related code to the protocol module. In the B3 parser code, there is no need to worry about those issues.
- remove unused or unnecessary code in the parser
- fix ban (by cid)
- add prefix to say/saybig/message methods
- implements getPlayerPings()
- add method getBanlist()
- add more automated tests

Tested on my local Arma2 OA server.
I was authenticated as admin and could issue commands