Vice City: Multiplayer

VC:MP Discussion => Support => Bugs and Crashes => Topic started by: 2b2ttianxiu on Jul 21, 2023, 02:56 PM

Title: [Server crashes on rel004] kick player crashed the server?
Post by: 2b2ttianxiu on Jul 21, 2023, 02:56 PM
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.