[Commit] rrserver games.5c,1.26,1.27 protocol,1.30,1.31

Carl Worth commit at keithp.com
Thu Jun 26 21:02:08 PDT 2003


Committed by: cworth

Update of /local/src/CVS/rrserver
In directory home.keithp.com:/tmp/cvs-serv17720

Modified Files:
	games.5c protocol 
Log Message:
Fix NOTICE GAMEOVER rather than GAME in protocol.
Fix rrserve to update robot locations before sending NOTICE TURN.

Index: games.5c
===================================================================
RCS file: /local/src/CVS/rrserver/games.5c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- games.5c	26 Jun 2003 11:20:11 -0000	1.26
+++ games.5c	27 Jun 2003 03:02:05 -0000	1.27
@@ -379,8 +379,8 @@
 		c.nobid = false;
 	    }
 	    iterate_client (&g, reset_client, true, false);
-	    game_send (&g, "NOTICE TURN %C %S\n", g.target.color, g.target.shape);
 	    game_send_loc (&g, &loc);
+	    game_send (&g, "NOTICE TURN %C %S\n", g.target.color, g.target.shape);
 	}
 
 	Target[*] random_targets () {

Index: protocol
===================================================================
RCS file: /local/src/CVS/rrserver/protocol,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- protocol	26 Jun 2003 09:07:12 -0000	1.30
+++ protocol	27 Jun 2003 03:02:05 -0000	1.31
@@ -447,7 +447,7 @@
 
 	2.2.1.3. Next game (game)
 
-	    NOTICE GAME
+	    NOTICE GAMEOVER
 
 	2.2.1.4. Join game (game)
 	




More information about the Commit mailing list