Closed s88100 closed 1 year ago
Adding and removing a player doesn't do anything as the code that frees party coordinates isn't called in that case. This can only occur when a party is created or when a party is disbanded.
Clearly the mem_free should be followed by setting to NULL if the pointer has to be reused later. When creating and disbanding a party, the memory is freed and reused for something else and that something else is freed again, resulting in a crash pretty much randomly somewhere else.
Fixed.
after adding and removing party ('P' Access party menu) at some point the client freezes. added party Player1 - Player2 (1) Create a party / and alternately (2) Add a player to party (3) Delete a player from party. many times or (4) Leave your current party sometimes there is an error after calling map shift+m
https://user-images.githubusercontent.com/71586060/215675588-20afcb2c-a1da-4885-9239-55483218a4f8.mp4