DryByte / aos.dll

A DLL for classic Ace of Spades aiming to add the current clients features and customizing the current game.
GNU General Public License v3.0
8 stars 2 forks source link

Fix aos bug wrong name in map change #15

Closed DryByte closed 1 month ago

DryByte commented 5 months ago

When a map change happens sometimes player's get another player name, we should fix it by updating the name in the CreatePlayer packet always, and probably do a real cleanup in PlayerLeft (that's what i believe its the reason for the bug)

From what i heard of another player, he told me the bug happens when someone leaves in middle of map change... Probably the map change packet handler doesn't handle PlayerLeft packet so that's the issue.

DryByte commented 1 month ago

Voxlap actually isnt the one in fault for this, server should send it, but for some reason it doesn't seem to be the case...

Previously i said the map change packet handler doesn't handle PlayerLeft, but i was wrong, it does in offset 0x33ba3... It does like in the normal packet handler, just setting the connect variable to 0.