World Series Baseball 2k2
Protocol:
The game is mainly P2P (as with the rest of the sports titles) but used a lobbying server system (with authorization) for matchmaking and finding players/games.
Client netcode written in C with the "NexGen Stack", supported by XML parsing of data between client and servers for keeping up with scores.
The game does support connections through:
- Internal modem
- Serial modem (although this has not been tested yet)
An example of the games' GameListMessage[] sent to the server:
"<Payload Encoding=\"None\" Compression=\"None\">\r\n"
" <Packet Type=\"ListGames\">\r\n"
" </Packet>\r\n"
"</Payload>"
and XML payloads sent from client:
case rppCreateGame:
Net_GameSessionReceiveNewGame( pXMLDocument );
break;
case rppDeleteGame:
Net_GameSessionReceiveDeleteGame( pXMLDocument );
break;
case rppLaunchGame:
Net_GameSessionReceiveLaunchGame( pXMLDocument );
break;
case rppJoinGame:
Net_GameSessionReceiveJoinGame( pXMLDocument );
break;
case rppLeaveGame:
Net_GameSessionReceiveLeaveGame( pXMLDocument );
break;
case rppUpdateGameSettings:
Net_GameSessionReceiveEditGameData( pXMLDocument );
break;
case rppReadyGamePlayer:
Net_GameSessionReceiveReadyPlayer( pXMLDocument );
break;
Servercode compiled and ran on Windows NT (RAS).
Domains:
authorize.vc-wsb2k2.games.sega.net (Auth)
region.vc-wsb2k2.games.sega.net
record.vc-wsb2k2.games.sega.net
Ports:
7778 / 11000
page revision: 5, last edited: 12 Sep 2019 12:54





