ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
WOL Protocol
To control online games, XWIS uses a moddifed IRC protocol. Some details about it can be found here. Each C&C Game, each Lobby and each game has its own channel (I'm not sure).
Ports
4010 XCC WOL IRC Server
5000 Live chat Server
4006 Gameres Server
4007 Ladder Server
Special Chat strings
The player's computer recieves and sends different strings which the game uses to display available games etc. It also makes uses of custom reply number codes (like 326). Some Examples (they're not complete):
CLIENT connect command:
CVERS 11016 10496 PASS supersecret NICK cgNet apgar OcckaecG 0 SERIAL [Plain Serial without "-"] USER UserName HostName irc.westwood.com :RealName verchk 32512 720912 SETOPT 17,33
CLIENT Command to get open games:
GETBUDDY LIST 41 41
XWIS Answer lists the games:
: 439 : 333 u : 321 u: : 326 u #bustnutz's_game 7 0 41 0 0 1155164473 128::g17S25,2097731398,0,0,1,TourOfEgypt.MAP : 326 u #Comander9's_game 3 0 41 0 1 1195194454 384::g15P25,2097731398,1,0,0,JAREDA~2.YRM : 326 u #daimonion's_game 1 0 41 0 0 411069646 384::g14Q25,2097731398,0,0,0,XTerritor.MAP : 326 u #frasbak's_game 1 0 41 0 0 1398794232 384::g14P25,2097731398,0,0,0,DE542D~1.YRM : 326 u #fstedy7's_game 2 0 41 0 1 1145909405 128::g14P25,2097731398,1,0,0,ONSLAU~1.YRM : 326 u #kejo's_game 4 0 41 0 0 1370952760 128::g14U25,2097731398,0,0,0,DoubleTrouble.MAP : 326 u #maxyxyxy's_game 1 0 41 0 1 1349290879 128::g12P25,2097731398,0,0,0,HidVally.MAP : 326 u #OwNaSoRuS's_game 4 0 41 0 0 1193321431 128::g14L25,2097731398,0,0,0,XEB4.MAP : 326 u #schlinko2's_game 1 0 41 0 1 1421437387 384::g12O25,2097731398,0,0,0,DryHeat.MAP : 326 u #scottsame's_game 1 0 41 0 0 -1675436737 128::g14S25,-1414276200,0,0,0,Groundzemw.MAP : 323 u:
CLIENT Command to join such a game:
JOIN #Lob_41_1 zotclot9
This is all that has been found out until now.
Related documents: Server replies by standart IRC Server Connection methods on standart IRC server