[Server crashes on rel004] kick player crashed the server?

Started by 2b2ttianxiu, Jul 21, 2023, 02:56 PM

Previous topic - Next topic

2b2ttianxiu

Description
When you kick a player who has not loaded a good resource, there is a probability that the server crashes (on Windows squirrel-0.4)

Reproducible
Always

What you were doing when the bug happened
When player was banned or kicked by admin. there is a probability that the server crashes.
The function call in onPlayerJoin.
If you put it in the onPlayerSpawn function, it will greatly reduce the chance of crashing!

What you think caused the bug
CPlayer.Kick() or c language code.