shanapu / MyJailbreak

A rewrite of Franugs Special Jailbreak and merge of eccas, ESK0s & zipcores Jailbreak Warden
https://forums.alliedmods.net/showthread.php?t=283212
GNU General Public License v3.0
51 stars 36 forks source link

Major server issues #276

Open skyprah opened 6 years ago

skyprah commented 6 years ago

I was having major issues when sometimes after loading into a map, all admin command and admin menu would appear as "?" and majority of plugins would not work. I had this issue for over a month after updating to one of the later versions of MyJailbreak. I disabled plugin by plugin trying to find the issue. The only things that were not disabled were pretty much the MyJailbreak plugins. There was never any errors when this issues were happening.

I rebuilt the server from scratch and it seemed fine. I added Teamgames then later disabled it due to some bug crashes I read in the thread.

The rebuilt server has been up for a day and already having the same issue as previously. Load into a map and the admin menu breaks, plugins break, everything breaks. Change map, sometimes fixes it. I tried to change the map, problem kept happening even after multiple map changes. I disabled MyJailbreak plugins folder, issue was fixed upon map change. I re enabled MyJailbreak and changed the map and the server crashed.

Whats different from before or after rebuilding the server. I accidently still had the MyJailbreak_teamgames plugin enabled even though TeamGames mod was disabled. This is now disabled, but the issue will continue. It is completely random. Here are some errors when I had the Myjailbreak_teamgames plugin enabled by accident.

L 01/08/2018 - 09:01:14: [SM] Blaming: MyJailbreak\myjailbreak_teamgames.smx
L 01/08/2018 - 09:01:14: [SM] Call stack trace:
L 01/08/2018 - 09:01:14: [SM]   [0] ConVar.IntValue.get
L 01/08/2018 - 09:01:14: [SM]   [1] Line 63, addons/sourcemod/scripting/MyJailbreak/Add-ons/myjailbreak_teamgames.sp::MyJailbreak_OnEventDayStart
L 01/08/2018 - 09:01:14: [SM]   [3] Call_Finish
L 01/08/2018 - 09:01:14: [SM]   [4] Line 472, addons/sourcemod/scripting/MyJailbreak/myjailbreak.sp::Native_SetEventDayRunning
L 01/08/2018 - 09:01:14: [SM]   [6] MyJailbreak_SetEventDayRunning
L 01/08/2018 - 09:01:14: [SM]   [7] Line 789, addons/sourcemod/scripting/MyJailbreak/freeday.sp::PrepareDay
L 01/08/2018 - 09:01:14: [SM]   [8] Line 555, addons/sourcemod/scripting/MyJailbreak/freeday.sp::Event_RoundStart
L 01/08/2018 - 09:01:14: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 01/08/2018 - 09:01:14: [SM] Blaming: MyJailbreak\myjailbreak_teamgames.smx
L 01/08/2018 - 09:01:14: [SM] Call stack trace:
L 01/08/2018 - 09:01:14: [SM]   [0] ConVar.IntValue.set
L 01/08/2018 - 09:01:14: [SM]   [1] Line 68, addons/sourcemod/scripting/MyJailbreak/Add-ons/myjailbreak_teamgames.sp::MyJailbreak_OnEventDayStart
L 01/08/2018 - 09:01:14: [SM]   [3] Call_Finish
L 01/08/2018 - 09:01:14: [SM]   [4] Line 472, addons/sourcemod/scripting/MyJailbreak/myjailbreak.sp::Native_SetEventDayRunning
L 01/08/2018 - 09:01:14: [SM]   [6] MyJailbreak_SetEventDayRunning
L 01/08/2018 - 09:01:14: [SM]   [7] Line 789, addons/sourcemod/scripting/MyJailbreak/freeday.sp::PrepareDay
L 01/08/2018 - 09:01:14: [SM]   [8] Line 555, addons/sourcemod/scripting/MyJailbreak/freeday.sp::Event_RoundStart

Here are some new errors after rebuilding my server that were not previously there.

L 01/08/2018 - 13:08:40: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 01/08/2018 - 13:08:40: [SM] Blaming: MyJailbreak\warden.smx
L 01/08/2018 - 13:08:40: [SM] Call stack trace:
L 01/08/2018 - 13:08:40: [SM]   [0] ConVar.IntValue.set
L 01/08/2018 - 13:08:40: [SM]   [1] Line 117, addons/sourcemod/scripting/MyJailbreak/MyJailbreak/Modules/Warden/friendlyfire.sp::Command_FriendlyFire
L 01/08/2018 - 13:09:53: [SM] Exception reported: Invalid convar handle 0 (error 4)
L 01/08/2018 - 13:09:53: [SM] Blaming: MyJailbreak\warden.smx
L 01/08/2018 - 13:09:53: [SM] Call stack trace:
L 01/08/2018 - 13:09:53: [SM]   [0] ConVar.IntValue.set
L 01/08/2018 - 13:09:53: [SM]   [1] Line 164, addons/sourcemod/scripting/MyJailbreak/MyJailbreak/Modules/Warden/friendlyfire.sp::FriendlyFire_Event_RoundEnd

Will attach screenshots later of the broken MENU

shanapu commented 6 years ago

Please, in future, open one Issue for one problem/error/request/idea, don't put many different things in only one issue. Thanks!

Lets us start at the errors.

the first one is documented in the FAQ - "I have this error"

[SM] Exception reported: Invalid convar handle 0 (error 4): Blaming: MyJailbreak/myjailbreak_teamgames.smx

You have not installed the latest & required version of TeamGames which is 1.1.0.7.

The second error is almost the same but was not documented before due some code changes. Same solution. TeamGames 1.1.0.7.

About your menu / map change / "everything breaks" problem. Sounds weird. Never heard about something like that before, no matter if MyJB or any other plugin.

What is your actual MyJB version? Does this happen on all maps on only some special maps? Which plugins "would not work" exactly? What is your full 'sm plugins list' output? What is your full 'sm plugins list' output when the problem happens? What is your 'sm exts list' output? And you sure there are no other errors when 'everything breaks'? What OS you use?

I'm out of ideas... :/

shanapu commented 6 years ago

Mittwoch, 10. Januar 2018 02:59 - skyprah 🍌: https://crash.limetech.org/fnl42osox2z7 02:59 - skyprah 🍌: Here is a very important crash 03:01 - skyprah 🍌: This is after the whole server breaks. Plugins stop working, nothing works. sm plugins produces nothing, same with exts 03:01 - skyprah 🍌: ] sm plugins 11 To see more, type "sm plugins 22" ] sm plugins 22 To see more, type "sm plugins 33" 03:01 - skyprah 🍌: I change map, doesnt fix - same thing. 03:01 - skyprah 🍌: I put MyJailbreak plugins folder into the disabled and change map again, everything works perfectly. 03:02 - skyprah 🍌: I then move Myjailbreak plugins folder back to enabled and server crashes on map change. 03:02 - skyprah 🍌: Producing that crash log

skyprah commented 6 years ago

I use the latest dev build compiled with 1.8. Seems to happen on any map, completely random. Sometimes some plugins work, sometimes none work. I use Windows.