Booma.Proxy icon indicating copy to clipboard operation
Booma.Proxy copied to clipboard

Packet 0x67 Size Incompatibility

Open HelloKitty opened this issue 5 years ago • 4 comments

Tethealla will send an additional 2 bytes for 0x67 that isn't needed according to @Solybum . Additionally Sylverant does not seem to send, I think, these 2 0 bytes at end of the 0x67 like Teth does.

For compatibility with this client this must be fixed for any server that wishes to connect with it.

HelloKitty avatar Dec 21 '19 22:12 HelloKitty

For reference these are the Teth changes that need to be made: https://github.com/Solybum/Tethealla/commit/9dcf19d3d1e3617ade4caaccdcf46b03c5fa6829#diff-f2c5e68aa88efc1512bf34af1c4e051bL2664 https://github.com/Solybum/Tethealla/commit/0615fe5d78fc39d63b7dc7bdd886d8b994f7b285

HelloKitty avatar Dec 21 '19 22:12 HelloKitty

After reexamining the situation on this serialization model I think that it was in fact Tethealla being wrong. @Solybum might remember better. But I have no proper packet captures to test the model against so the tests will remain failing for now.

HelloKitty avatar Dec 22 '20 10:12 HelloKitty

Yes, it was tethealla. This was addressed in Ultima, and I think Ephinea addressed it too.

Just to refresh the issue. Tethealla had an increment in the index of 2 extra bytes before entering a loop, which caused it to have 2 extra bytes at the end of said loop. Even if the result didn't cause issues with the original client, looking at it from a correctness perspective, the code was wrong, because some flags were being split before the loop, and at the beginning and end of the loop.

Either way should not be an issue anymore and people can use my repo to build an executable without this issue.

Solybum avatar Dec 22 '20 19:12 Solybum

Awesome! Eventually I'll need to build your Tethealla or use Sylverant otherwise some more of this stuff is gonna come out wrong I guess.

I guess I'll keep the issue open until I have a 0x67 packet capture to test the model against!

HelloKitty avatar Dec 22 '20 21:12 HelloKitty