-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash on RCON gmx #280
Comments
This was with hosted mode enabled? |
Have not been able to reproduce this, do you have any additional info? |
Occured to me, (fake) gmx works when server is empty but not when there is an one player. When there is a player then server is crashing. This is last log before server crashes.
Normal log is:
Tested on NetCore console application. Easy to reproduce. Program.cs
MyGameMode.cs
Using latest API source code from the master with SampPlugin from the latest release 0.8.0-alpha9. |
Thanks for the info! This will help me track down the bug. |
The issue occurs when is called "set_on" in "intermission.cpp", I will post more info into this comment when I research something. Crash is when doing
Looking inside intermission.pwn and trying to find out what is happening Server crashes when is Destroying Player Resources.
After more inspection the crash is happening here:
Maybe this could be the issue, when I'm joining to the server then I'm ID 0. Making more inspection
Another interesting find out. It will print only the first one log but the second one is not printed. I moved out functions from macros to better debug them
The only one result is:
Then is following crash. |
I can indeed confirm this problem happens. Wierd that you weren't initially able to reproduce the issue as it occurs everytime you attempt rcon gmx unless you have intermissions off (which causes a whole lot of other issues). |
Ah thanks! Yes I actually had intermissions off. There are a number of issues with intermissions/hot swapping. I'll fix this crash at the very least |
Disabled player pool destroy functions in the intermission. I want to improve sampsharp's cleanup in the future anyway, the intermission filterscript doesn't seem to be the right way anyway. Also, it's only used when not in hosted mode, and hosted mode is the advised way of running the server in production. |
server was crashed on try reload gamemode with
rcon gmx
The text was updated successfully, but these errors were encountered: