ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Difference between revisions of "WOL Protocol"

From ModEnc
Jump to: navigation, search
(Added [ ] comment)
(Special Chat strings: Included some commands and added C-Style comments)
Line 16: Line 16:
 
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):
 
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):
  
[Comment] indicates comments
+
/* indicates comments
  
 
CLIENT connect command:
 
CLIENT connect command:
 
<pre>
 
<pre>
CVERS 11016 10496
+
CVERS 11016 10496 /*Client version?*/
PASS supersecret
+
PASS supersecret /*This is the XWIS Server password.*/
NICK cgNet
+
NICK cgNet /*The nick the players is playing with*/
 
apgar OcckaecG 0
 
apgar OcckaecG 0
SERIAL [Plain Serial without "-"]
+
SERIAL /*Containes plain serial without "-"*/
USER UserName HostName irc.westwood.com :RealName
+
USER UserName HostName irc.westwood.com :RealName /*This standart IRC command seems to be irrelevant*/
verchk 32512 720912
+
verchk 32512 720912 /*Version check?*/
SETOPT 17,33
+
SETOPT 17,33 /*Ask for MotD. No clue for what the numbers are stand for*/
 
</pre>
 
</pre>
  

Revision as of 21:02, 28 October 2007

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):

/* indicates comments

CLIENT connect command:

CVERS 11016 10496 /*Client version?*/
PASS supersecret /*This is the XWIS Server password.*/
NICK cgNet /*The nick the players is playing with*/
apgar OcckaecG 0
SERIAL /*Containes plain serial without "-"*/
USER UserName HostName irc.westwood.com :RealName /*This standart IRC command seems to be irrelevant*/
verchk 32512 720912 /*Version check?*/
SETOPT 17,33 /*Ask for MotD. No clue for what the numbers are stand for*/

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