Major flaw in D2X-XL communication with non D2X-XL versions!
Posted: Mon Jan 15, 2007 9:16 am
I found a major flaw in D2X-XLs IPX communication with non D2X-XL participants today.
D2X-XL has all these nice extra mp features, like 'TYPING' messages and stuff, right?
Now Descent doesn't send a tiny data package for every event in the game, but collects them until it has a few hundred bytes. Each mp message has its own tag. The receiver knows by the tags in the big data package how many data bytes follow. So it will nicely decode message by message.
Now Descent stops processing such a big data packet if it finds an unknown tag. That means if D2X-XL mixes legacy and D2X-XL messages, each legacy messages coming after the first D2X-XL message in the big packet will be ignored by non D2X-XL versions. D'uh!
I have to admit that Tankie was right with their observation that D2X-XL causes problems for non D2X-XL users.
Ofc there is a solution to this. D2X-XL will now separate D2X-XL and legacy messages. That will result in non D2X-XL versions simply discarding any D2X-XL messages, which actually is a desired effect.
Geez, this was really hard to find.
D2X-XL has all these nice extra mp features, like 'TYPING' messages and stuff, right?
Now Descent doesn't send a tiny data package for every event in the game, but collects them until it has a few hundred bytes. Each mp message has its own tag. The receiver knows by the tags in the big data package how many data bytes follow. So it will nicely decode message by message.
Now Descent stops processing such a big data packet if it finds an unknown tag. That means if D2X-XL mixes legacy and D2X-XL messages, each legacy messages coming after the first D2X-XL message in the big packet will be ignored by non D2X-XL versions. D'uh!
I have to admit that Tankie was right with their observation that D2X-XL causes problems for non D2X-XL users.
Ofc there is a solution to this. D2X-XL will now separate D2X-XL and legacy messages. That will result in non D2X-XL versions simply discarding any D2X-XL messages, which actually is a desired effect.
Geez, this was really hard to find.