Quote: |
::::: messaging when a player sends a ?chat message, the server sends: g->b: "CHAT:pid:channel:sound:text" pid is the sending player. channel is the name of the channel. alternatively, it can be a number signifying which of the player's channels the message is intended for. sound is a sound code, to be interpreted by the client. text is the text of the message. when a player gets a ?chat message, the server receives: b->g: "CHATTXT:channel:sender:sound:text" b->g: "CHAT:pid:number" channel is the name of the channel that this message is on. sender is the name of the player who sent the message. sound is a sound code. text is the text of the message. pid is the pid of a player who received the message. number is what channel that player should see the message as coming from. the CHATTXT message is used so that the biller can send a chat message to many players on one server without sending the full text and sender name to each of them. the contents of the CHATTXT message should be cached on the server, and the text used for any following CHAT messages, until the next CHATTXT. for example, if the server gets "CHATTXT:sscx:player:0:hello" and then "CHAT:22:3", player 22 should see something like "3:player> hello". |
Code: Show/Hide //asss servers connect to biller 1> CONNECT:1.3.1:asss 1.4.3:PSSF Testing Billing Zone2::******** 1< CONNECTOK:SkyBill 0.12:PSS 2> CONNECT:1.3.1:asss 1.4.3:PSSF Testing Billing Zone::******* 2< CONNECTOK:SkyBill 0.12:PSS //i login with a different username on each server 2> PLOGIN:0:0:Doc Flabby?:********:127.0.0.1:1197480155:a732944c6f7f296eb1a9ba80eacea6464b67815f1acef9efe79bdf627406c5e27af21ad08c67c690f51ccc962c2e647cbd4ec7edab42cd3db17f6d9d1355abaf 2< POK:0::Doc Flabby?:$Flabby$:7:701:28 Jan 2007 21:17:52 2< BNR:0: 2> PENTERARENA:0 2< MSG:0:0:Welcome to the PSS Network provided by SkyBill 0.12 2> CMD:0:chat:flabb,flabby,alerts 2< MSG:0:0:Chats Updated. 2> CMD:0:obscene: 1> PLOGIN:0:0:Doc Flabby:********:127.0.0.1:1197480155:73318f732ba873b999b4adf74c87a13a56c05d5761313c39bc179026600cce5f2d3a59d6d39aed99f7ac7a6277c5fbaa35fb98081e15316cbd1d2c0c03c888d0 1< POK:0::Doc Flabby:$Flabby$:6:1224:28 Jan 2007 16:55:34 1< BNR:0:c6220dc70d22ffc6200dc7c6c6c6200d0d22ff220dc7c7c6ffff0d0d0d22ffff0d0d0dff222220202022222222222222ffff0d0d0d22ffff0d0d0dffc6c60d200d22ffff20c7c7c6c6ff20c70d22ffc60d20c7c6ff22c7c70d22ffc6c70d20c6 1> PENTERARENA:0 1< MSG:0:0:Welcome to the PSS Network provided by SkyBill 0.12 1> CMD:0:chat:random,flabb 1< MSG:0:0:Chats Updated. 1> CMD:0:obscene: //chat command //i write using the player "Doc Flabby?" logged on server 2 i type ";hello" //this should then appear in chat 1 on server 1 //message received by biller 2> CHAT:0:1:0:helo //my response to is send to both servers 2< CHATTXT:flabb:Doc Flabby?:0:helo 1< CHATTXT:flabb:Doc Flabby?:0:helo 2< CHAT:0:0 1< CHAT:0:1 |
Code: Show/Hide CHATTXT:flabb:Doc Flabby?:0:helo CHAT:0:1 |
Code: Show/Hide CHATTXT:flabb:Doc Flabby?:0:helo CHAT:0:1: |