Index: lib/netplay/netlog.c
===================================================================
--- lib/netplay/netlog.c	(revision 3814)
+++ lib/netplay/netlog.c	(working copy)
@@ -33,65 +33,65 @@
 // ////////////////////////////////////////////////////////////////////////
 
 static const char *packetname[NUM_GAME_PACKETS] =
-{
-	"NET_DROID",
-	"NET_DROIDINFO",
-	"NET_DROIDDEST",
-	"NET_DROIDMOVE",
-	"NET_GROUPORDER",
-	"NET_TEMPLATE",
-	"NET_TEMPLATEDEST",
-	"NET_FEATUREDEST",
-	"NET_PING",
-	"NET_CHECK_DROID",
-	"NET_CHECK_STRUCT",
-	"NET_CHECK_POWER",
-	"NET_PLAYER_STATS",
-	"NET_BUILD",
-	"NET_STRUCTDEST",
-	"NET_BUILDFINISHED",
-	"NET_RESEARCH",
-	"NET_TEXTMSG",
-	"NET_LEAVING",
-	"NET_REQUESTDROID",
-	"NET_PLAYERCOMPLETE",
-	"NET_REQUESTPLAYER",
-	"NET_STRUCT",
-	"NET_WHOLEDROID",
-	"NET_FEATURES",
-	"NET_PLAYERRESPONDING",
-	"NET_OPTIONS",
-	"NET_KICK",
-	"NET_SECONDARY",
-	"NET_FIREUP",
-	"NET_ALLIANCE",
-	"NET_GIFT",
-	"NET_DEMOLISH",
-	"NET_COLOURREQUEST",
-	"NET_ARTIFACTS",
-	"NET_DMATCHWIN",
-	"NET_SCORESUBMIT",
-	"NET_DESTROYXTRA",
-	"NET_VTOL",
+{	//from netplay.h
+	"NET_DROID",			//0 a new droid
+	"NET_DROIDINFO",		//1 update a droid order.
+	"NET_DROIDDEST",		//2 issue a droid destruction
+	"NET_DROIDMOVE",		//3 move a droid", don't change anything else though..
+	"NET_GROUPORDER",		//4 order a group of droids.
+	"NET_TEMPLATE",			//5 a new template
+	"NET_TEMPLATEDEST",		//6 remove template
+	"NET_FEATUREDEST",		//7 destroy a game feature.
+	"NET_PING",				//8 ping players.
+	"NET_CHECK_DROID",		//9 check & update bot position and damage.
+	"NET_CHECK_STRUCT",		//10 check & update struct damage.
+	"NET_CHECK_POWER",		//11 power levels for a player.
+	"NET_PLAYER_STATS",		//12 player stats: HACK-NOTE: lib/netplay/netplay.c depends on this being 12
+	"NET_BUILD",			//13 build a new structure
+	"NET_STRUCTDEST",		//14 specify a strucutre to destroy
+	"NET_BUILDFINISHED",	//15 a building is complete.
+	"NET_RESEARCH",			//16 Research has been completed.
+	"NET_TEXTMSG",			//17 A simple text message between machines.
+	"NET_LEAVING",			//18 A player is leaving", (nicely)
+	"NET_UNUSED_19",
+	"NET_PLAYERCOMPLETE",	//20 All Setup information about player x has been sent
+	"NET_UNUSED_21",
+	"NET_STRUCT",			//22 a complete structure
+	"NET_UNUSED_23",
+	"NET_FEATURES",			//24 information regarding features.
+	"NET_PLAYERRESPONDING",	//25 computer that sent this is now playing warzone!
+	"NET_OPTIONS",			//26 welcome a player to a game.
+	"NET_KICK",				//27 kick a player .
+	"NET_SECONDARY",		//28 set a droids secondary order
+	"NET_FIREUP",			//29 campaign game has started", we can go too.. Shortcut message", not to be used in dmatch.
+	"NET_ALLIANCE",			//30 alliance data.
+	"NET_GIFT",				//31 a luvly gift between players.
+	"NET_DEMOLISH",			//32 a demolish is complete.
+	"NET_COLOURREQUEST",	//33 player requests a colour change.
+	"NET_ARTIFACTS",		//34 artifacts randomly placed.
+	"NET_DMATCHWIN",		//35 winner of a deathmatch. NOTUSED
+	"NET_SCORESUBMIT",		//36 submission of scores to host.
+	"NET_DESTROYXTRA",		//37 destroy droid with destroyer intact.
+	"NET_VTOL",				//38 vtol rearmed
 	"NET_UNUSED_39",
-	"NET_WHITEBOARD",
-	"NET_SECONDARY_ALL",
-	"NET_DROIDEMBARK",
-	"NET_DROIDDISEMBARK",
-	"NET_RESEARCHSTATUS",
-	"NET_LASSAT",
-	"NET_REQUESTMAP",
-	"NET_AITEXTMSG",
-	"NET_TEAMS_ON",
-	"NET_BEACONMSG",
-	"NET_SET_TEAMS",
-	"NET_TEAMREQUEST",
-	"NET_JOIN",
-	"NET_ACCEPTED",
-	"NET_PLAYER_INFO",
-	"NET_PLAYER_JOINED",
-	"NET_PLAYER_LEFT",
-	"NET_GAME_FLAGS"
+	"NET_WHITEBOARD",		//40 whiteboard.
+	"NET_SECONDARY_ALL",	//41 complete secondary order.
+	"NET_DROIDEMBARK",		//42 droid embarked on a Transporter
+	"NET_DROIDDISEMBARK",	//43 droid disembarked from a Transporter
+	"NET_RESEARCHSTATUS",	//44 research state.
+	"NET_LASSAT",			//45 lassat firing.
+	"NET_REQUESTMAP",		//46 dont have map", please send it.
+	"NET_AITEXTMSG",		//47 chat between AIs
+	"NET_TEAMS_ON",			//48 locked teams mode
+	"NET_BEACONMSG",		//49 place beacon
+	"NET_SET_TEAMS",		//50 set locked teams
+	"NET_TEAMREQUEST",		//51 request team membership
+	"NET_JOIN",				//52 join a game
+	"NET_ACCEPTED",			//53 accepted into game
+	"NET_PLAYER_INFO",		//54 basic player info
+	"NET_PLAYER_JOINED",	//55 notice about player joining
+	"NET_PLAYER_LEFT",		//56 notice about player leaving
+	"NET_GAME_FLAGS"		//57 game flags
 };
 
 static PHYSFS_file	*pFileHandle;
@@ -139,7 +139,7 @@
 	/* Output stats */
 	for (i = 0; i < NUM_GAME_PACKETS; i++)
 	{
-		snprintf(buf, sizeof(buf), "%s: received %u times, %u bytes; sent %u times, %u bytes\n", packetname[i],
+		snprintf(buf, sizeof(buf), "%22.22s: received %u times, %u bytes; sent %u times, %u bytes\n", packetname[i],
 			packetcount[0][i], packetsize[0][i], packetcount[1][i], packetsize[1][i]);
 		// Guarantee to nul-terminate
 		buf[sizeof(buf) - 1] = '\0';
@@ -196,7 +196,7 @@
 
 	if (a <= 51)
 		// replace common msgs with txt descriptions
-		snprintf(buf, sizeof(buf), "%s \t: %s \t:%d\t\t%s", str, packetname[a], b, asctime(newtime));
+		snprintf(buf, sizeof(buf), "%22.22s \t: %s \t:%d\t\t%s\n", str, packetname[a], b, asctime(newtime));
 	else
 		snprintf(buf, sizeof(buf), "%s \t:%d \t\t\t:%d\t\t%s", str, a, b, asctime(newtime));
 
