Closed verbitan closed 10 years ago
According to the SServer manual, the expected format for a hear message is:
(hear Time Sender ”Message”)
This appears to be what's being looked for in the parser. This needs further investigation, especially as the manual is reasonably out of date now.
Now that I've added tests this is not an issue.
(Copied from sourceforge)
The method ControllerPlayer.infoHearPlayer(double direction, String message) takes two parameters. The message parameter do not return message from other player but info if player is from "opp" or "our" team. What is more, infoHearPlayer dont provide player number.
Example: