next up previous contents
Next: Logplayer Up: Soccermonitor Previous: dispinfo_t:   Contents

From Monitor to Server

The monitor can send to the server the following commands:
(dispinit)
sent to the server as first message to register as monitor (opposed to a player, that connects on port 6000 as well)

(dispstart)
sent to start (kick off) a game, start the second half or extended time. Ignored, when the game is already running.
(dispfoul x y side)
sent to indicate a foul situation. x and y are the coordinates of the foul, side is LEFT (1) for a free kick for the left team, NEUTRAL (0) for a drop ball and RIGHT (-1) for a free kick for the right team.
(dispdiscard side unum)
sent to show a player the red card (kick him out). side can be LEFT or RIGHT, unum is the number of the player (1 - 11).



RoboCup SoccerServer Manual Account
1999-07-03