raider3.5 icon indicating copy to clipboard operation
raider3.5 copied to clipboard

Leaving the Player menu crashes the server

Open ramok0 opened this issue 1 year ago • 5 comments

When you leave the menu, it just completly crashes the server

ramok0 avatar Jul 08 '22 20:07 ramok0

ive had this issue lately also, not sure what causes it as it does nothing different than the kick button except for not kicking the player

AveryMadness avatar Jul 09 '22 02:07 AveryMadness

i think that this part of code is the problem, it just replace the pointer to PlayerState to nullptr, so the gui tries to read nullptr and it crashes image

ramok0 avatar Jul 10 '22 17:07 ramok0

This should be easy to fix, I will try when I get home.

Milxnor avatar Jul 11 '22 21:07 Milxnor

the problem is that the gui is trying to read the username from nullptr, you should make that it re-render the gui from the beginning of the Tick function to avoid this crash

ramok0 avatar Jul 11 '22 21:07 ramok0

Also, sometimes, when you click on a player, the server crashes, i still havent found an explanation for this problem

ramok0 avatar Jul 11 '22 21:07 ramok0