Author |
Message |
Cerium Server Help Squatter

Age:43 Gender: Joined: Mar 05 2005 Posts: 807 Location: I will stab you. Offline
|
Posted: Mon Aug 15, 2005 10:10 pm Post subject: S2C Packet 0x02 Extension: Arena name |
 |
|
|
|
One thing I like about the 'entered arena' packet in chatnet is that it tells you what arena youre in, which is quite convenient in instances where the client cant tell what arena its in (full arenas/redirection/sendto, random public arenas, etc).
In the SS protocol, theres a 1 byte packet thats sent after a client changes arenas. ASSS should extend this packet and include the name of the arena at the end. If ctm/ss are coded like I hope they are, they would simply ignore the extra data, while new bots/clients could read the data to get the arena name rather than relying on sending ?arena upon entering. _________________ There are 7 user(s) ignoring me right now. |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Tue Aug 16, 2005 7:51 am Post subject: |
 |
|
|
|
Well, I hope so as well. Though if I am recalling correctly (maybe its Catid's servers that I'm thinking of) if a packet doesn't match it's specific size, it's ignored as an invalid packet.
But, if SS/CTM would accept this extra data, I could see it as a viable change. _________________ Performance is often the art of cheating carefully. - James Gosling |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Tue Aug 16, 2005 4:28 pm Post subject: |
 |
|
|
|
My stuff always checks for >= expected size. _________________ 4,691 irradiated haggis! |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Tue Aug 16, 2005 4:36 pm Post subject: |
 |
|
|
|
MERV would definitely ignore it as an invalid packet. Of course, it could be changed, but it would kind of suck for old builds. _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him. |
|
Back to top |
|
 |
Cerium Server Help Squatter

Age:43 Gender: Joined: Mar 05 2005 Posts: 807 Location: I will stab you. Offline
|
|
Back to top |
|
 |
Grelminar Creator of Asss
Joined: Feb 26 2003 Posts: 378 Offline
|
Posted: Wed Aug 17, 2005 4:04 am Post subject: |
 |
|
|
|
Those extra bytes are actually used by continuum. You can probably figure out what they're for if you think hard enough.
In general, one example of continuum not checking packet sizes does not imply that it won't check sizes in other places. The only way to tell if cont will accept this extension is to just try it. Which I'm surprised you haven't done yet: it would take about 30 seconds to make this change in asss. If you test it, and it works in recent versions of cont as well as SS 1.34, I'd be willing to include it in asss. |
|
Back to top |
|
 |
Cerium Server Help Squatter

Age:43 Gender: Joined: Mar 05 2005 Posts: 807 Location: I will stab you. Offline
|
Posted: Thu Aug 18, 2005 5:46 am Post subject: |
 |
|
|
|
I imagine it has something to do with encryption, since it is the server key packet, but thats a lot of data for the keys (68 bytes each?).
In any event, Smong was willing to sacrafice his server to it. With the extension Continuum just sits there at the "Entering Arena" screen. Smong got it working by sending the extended packet followed by a standard packet, but its still a hack at best.
Also, Smong noticed that continuum wont care if you decide to add custom packets for a zone-specific bot. Theyre thrown out completely; not even an entry in exception.log. Nifty. |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:42 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Thu Aug 18, 2005 12:36 pm Post subject: |
 |
|
|
|
Cerium wrote: | I imagine it has something to do with encryption, since it is the server key packet, but thats a lot of data for the keys (68 bytes each?). | Actually, its to verify that the server you are connecting to is on the SSC billing server or not. There is also a few other things in there too.
Cerium wrote: | Also, Smong noticed that continuum wont care if you decide to add custom packets for a zone-specific bot. Theyre thrown out completely; not even an entry in exception.log. Nifty. | Thats because as new features are added to Continuum, when in testing phases, the old ones need to safely handle them. If you plan on adding your own packets, I'd recommend doing something on the higher end, such as 0xA0 and start from there, thus it will not conflict with any future packets. |
|
Back to top |
|
 |
Cerium Server Help Squatter

Age:43 Gender: Joined: Mar 05 2005 Posts: 807 Location: I will stab you. Offline
|
Posted: Thu Aug 18, 2005 4:58 pm Post subject: |
 |
|
|
|
Mine GO BOOM wrote: | Actually, its to verify that the server you are connecting to is on the SSC billing server or not. There is also a few other things in there too. |
Hrmm, couldnt that information be spoofed relatively easily?
Also, what else is there? Anything that could be useful? |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Thu Aug 18, 2005 6:36 pm Post subject: |
 |
|
|
|
I had always wondered if someone, at some point, would figure out what packet the biller sends to subgame to let it know it's on SSC. Or at least, I'd assume that's what it does. |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Thu Aug 18, 2005 7:39 pm Post subject: |
 |
|
|
|
IIRC, some of the other billing networks got their billers to do that. I think one of them was SSN with Macaub's biller. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
 |
Cerium Server Help Squatter

Age:43 Gender: Joined: Mar 05 2005 Posts: 807 Location: I will stab you. Offline
|
Posted: Thu Aug 18, 2005 10:57 pm Post subject: |
 |
|
|
|
what difference does it make? Does ctm do anything different when its not on SSC? |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:42 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Thu Aug 18, 2005 11:16 pm Post subject: |
 |
|
|
|
It pops up with a box saying that the zone you are connecting to is not on the main billing server (SSC), and that you run the risk of someone stealing your password. It then asks if you should still log in with your current password or not, with a checkbox to say don't ask again for that zone. |
|
Back to top |
|
 |
Maverick

Age:41 Gender: Joined: Feb 26 2005 Posts: 1521 Location: The Netherlands Offline
|
Posted: Fri Aug 19, 2005 6:27 am Post subject: |
 |
|
|
|
Would it also trigger the Signup form (on creating new names) when you let the client know (or "think") its on SSC ? _________________
|
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Fri Aug 19, 2005 8:04 am Post subject: |
 |
|
|
|
Maucab's biller didn't fake it afaik. I always told it to never ask me again. |
|
Back to top |
|
 |
|