|
|
(13 intermediate revisions by 5 users not shown) |
Line 1: |
Line 1: |
| 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. | | To control online games, XWIS Server uses a moddifed IRC protocol. |
|
| |
|
| ==Ports== | | ==Known server types== |
| | [[XWIS/ServServ]] |
|
| |
|
| 4010 XCC WOL IRC Server
| | [[XWIS/GameServ]] |
|
| |
|
| 5000 Live chat Server
| | [[XWIS/LadderServ]] |
|
| |
|
| 4006 Gameres Server
| | ==Known tokens== |
| | [[XWIS/VERCHK]] |
|
| |
|
| 4007 Ladder Server
| | [[XWIS/APGAR]] |
|
| |
|
| | [[XWIS/PASS]] |
|
| |
|
| | ==Related documents== |
| | [http://www.irchelp.org/irchelp/rfc/chapter6.html Server replies by standart IRC Server] |
|
| |
|
| ==Special Chat strings==
| | [http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_1 Connection methods on standart IRC server] |
| 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 | | [http://web.archive.org/web/20071201091617/http://home.dataforce.org.uk/wiki/?dWOL/WOL/Protocol Dataforce's results on investigating XWIS] |
|
| |
|
| CLIENT connect command:
| | [http://www.triggsolutions.com/cncwiki/doku.php?id=wol:gameserv Sean Wragg's WOL documentation] |
| <pre>
| |
| CVERS /*Game 'version' (also includes the type of the C&CGame itself)*/
| |
| PASS supersecret /*This is the XWIS Server password.*/
| |
| NICK cgNet /*The nick the players is playing with*/
| |
| apgar OcckaecG 0 /*The encrypted password*/
| |
| SERIAL /*Containes plain serial without "-"*/
| |
| USER UserName HostName irc.westwood.com :RealName /*This standart IRC command is irrelevant but is sent for IRC compatiblity*/
| |
| verchk 32512 720912 /*Version Check - Is client up to date?*/
| |
| SETOPT 17,33
| |
| </pre>
| |
|
| |
|
| CLIENT Command to get open games:
| | [[Category:XWIS Protocol]] |
| | |
| <pre>
| |
| GETBUDDY
| |
| LIST 41 41
| |
| </pre>
| |
| | |
| XWIS Answer lists the games: | |
| <pre>
| |
| : 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:
| |
| </pre>
| |
| | |
| CLIENT Command to join such a game:
| |
| <pre>
| |
| JOIN #Lob_41_1 zotclot9
| |
| </pre>
| |
| | |
| This is all that has been found out until now.
| |
| | |
| Related documents:
| |
| [http://www.irchelp.org/irchelp/rfc/chapter6.html Server replies by standart IRC Server]
| |
| [http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_1 Connection methods on standart IRC server]
| |