<< Back to Warzone Classic Forum   Search

Posts 1 - 20 of 23   1  2  Next >>   
Why did mods crash my game? (Details inside): 11/16/2022 18:28:54


Alphazomgy (Warzone's Best Marketer)
Level 60
Report
Here's the game in question: https://www.warzone.com/MultiPlayer?GameID=32507118

Here's the details error that pops up when you try to boot the guy who didn't take his turn yet:
window.onerror in https://warzonecdn.com/js/Release/ujs.js?v=638025811818913507:8739:199 op=104542 Uncaught Error: Warzone Server returned ModFailed x=ModFailed: Mod "King Of The Hills" Failed: [string "Server_AdvanceTurn.lua"]:52: MoonSharp.Interpreter.ScriptRuntimeException: Int32 cannot be nil
__index (External Function)
(Unknown Function) (Server_AdvanceTurn.lua:52)

GameID=32507118
Hook=Server_AdvanceTurn_End Stack=
-
stack=Error: Warzone Server returned ModFailed x=ModFailed: Mod "King Of The Hills" Failed: [string "Server_AdvanceTurn.lua"]:52: MoonSharp.Interpreter.ScriptRuntimeException: Int32 cannot be nil
__index (External Function)
(Unknown Function) (Server_AdvanceTurn.lua:52)

GameID=32507118
Hook=Server_AdvanceTurn_End Stack=
at MS.IHb (https://warzonecdn.com/js/Release/ujs.js?v=638025811818913507:8739:205)
at d (https://warzonecdn.com/js/Release/ujs.js?v=638025811818913507:209:237)
at pa.epb (https://warzonecdn.com/js/Release/ujs.js?v=638025811818913507:7469:396)
at https://warzonecdn.com/js/Release/ujs.js?v=638025811818913507:7469:86
at mU.Rrb (https://warzonecdn.com/js/Release/ujs.js?v=638025811818913507:6858:196)
at ya.ZZa (https://warzonecdn.com/js/Release/ujs.js?v=638025811818913507:6775:486)
at k.AJa (https://warzonecdn.com/js/Release/ujs.js?v=638025811818913507:11173:132)
at XMLHttpRequest.b (https://warzonecdn.com/js/Release/ujs.js?v=638025811818913507:252:252)
Why did mods crash my game? (Details inside): 11/16/2022 18:39:21


JK_3 
Level 63
Report
The error has to do with https://github.com/Derfellios/King-Of-The-Hills/blob/main/Server_AdvanceTurn.lua#L52:
PlayerID = game.ServerGame.LatestTurnStanding.Territories[Hills[1]].OwnerPlayerID;


It looks like all the problems come from Hills being empty or nil.

Edited 11/16/2022 18:47:07
Why did mods crash my game? (Details inside): 11/16/2022 18:46:26


Alphazomgy (Warzone's Best Marketer)
Level 60
Report
Yeah it's so wierd.

We noticed at the start that hills locations were not appearing in the mod menu (where it lists the locations).

I'll notify the guy who made it.
Why did mods crash my game? (Details inside): 11/16/2022 18:50:51


JK_3 
Level 63
Report
And based on the game settings, you also had at least 5 neutral territories when the game was created, right?
Why did mods crash my game? (Details inside): 11/16/2022 18:51:25


JK_3 
Level 63
Report
Oh, the game just gave me an error as well:

Sorry, the mod "King Of The Hills" has failed.  Error: 
pcall failure in function Client_GameRefresh ret=-1 Error: Exception: Spectators cannot send game messages
Why did mods crash my game? (Details inside): 11/16/2022 18:55:45


Alphazomgy (Warzone's Best Marketer)
Level 60
Report
Um, we had manual picks available on every single territory, so there were no neutral territories at start. But after we all picked, on the next turn there'd be a hundred or more neutrals.
Why did mods crash my game? (Details inside): 11/16/2022 18:57:56


JK_3 
Level 63
Report
Ah, that is the problem then, since pickable territories are not neutral (they have a different ID under the hood), so when the mod was making hills, it found 0 neutral territories, thus having no hills in the game.

And now each turn the mod will crash because it sees that all 0 hills belong to the same owner, and then tries to make the owner of the hills the winner of the game.
Why did mods crash my game? (Details inside): 11/16/2022 18:58:51


Captain MAK Sparrow
Level 61
Report
poor confused mod
Why did mods crash my game? (Details inside): 11/16/2022 19:04:35

Fizzer 
Level 64

Warzone Creator
Report
I can see this mod is generating a lot of errors, nearly 4000. I'm going to remove it from the mods list for now, but if the creator (or anyone) can fix it I'll put it back up.
Why did mods crash my game? (Details inside): 11/16/2022 19:05:40


JK_3 
Level 63
Report
@Fizzer will that allow Alpha's game to advance again? or is his game ruined now?
Why did mods crash my game? (Details inside): 11/16/2022 19:55:51


Alphazomgy (Warzone's Best Marketer)
Level 60
Report
^^
Why did mods crash my game? (Details inside): 11/17/2022 00:49:07


Just_A_Dutchman_ 
Level 60
Report
If the mod author updates the mod it will, but otherwise unfortunately I don't see a way how to...
Why did mods crash my game? (Details inside): 11/17/2022 00:52:40


Just_A_Dutchman_ 
Level 60
Report
@Fizzer JK_3 already found the problem for Alpha's game, and I know how to fix JK_3 error he got when he opened the game. It's just that we cannot update the code without the mod author updating his github code and refreshing the code here in Warzone. Do you have the power to step in in this kind of situation? This might occur again seeing how Dabo1 and Derfellios both aren't (really) active anymore while they do have created some mods that are used from time to time
Why did mods crash my game? (Details inside): 11/17/2022 09:16:32


UnFairerOrb76 
Level 58
Report
My poor sweet summer child
I'm sorry it had to be this way
Mod: "was I a fun one?"
Me: "one of the best"

*shoots mod in face*
Why did mods crash my game? (Details inside): 11/17/2022 09:17:31


UnFairerOrb76 
Level 58
Report
4000 errors? I assume this is from the same game....
Why did mods crash my game? (Details inside): 11/17/2022 17:55:24


JK_3 
Level 63
Report
@Fizzer JK_3 already found the problem for Alpha's game, and I know how to fix JK_3 error he got when he opened the game. It's just that we cannot update the code without the mod author updating his github code and refreshing the code here in Warzone. Do you have the power to step in in this kind of situation? This might occur again seeing how Dabo1 and Derfellios both aren't (really) active anymore while they do have created some mods that are used from time to time


If Derfellios doesnt come back I can just steal his code and upload a V2, but last time I check he was seen online 23 hours ago, so I assume they are gonna fix their own mod.
Why did mods crash my game? (Details inside): 11/19/2022 14:18:10


JK_3 
Level 63
Report
It looks like the mod is still crashing the game...

@Fizzer how to fix the game now? you might have to manually delete it (and perhaps refund Alpha his coins 👀) to make it stop crashing.
Why did mods crash my game? (Details inside): 11/24/2022 20:27:59


JK_3 
Level 63
Report
@Alpha since Fizzer isnt actively responding, and the mod isnt going to fix itself, the best thing to do would be to ask the other players to surrender to you so you can get a few of your coins back. (Since its a coin game, you cant VTE.)
Why did mods crash my game? (Details inside): 11/24/2022 20:31:55


Alphazomgy (Warzone's Best Marketer)
Level 60
Report
Right, well, I doubt they'll surrender.
Why did mods crash my game? (Details inside): 11/24/2022 20:32:53


JK_3 
Level 63
Report
well its just about the only way to end the game

or it must keep sending so many error messages to Fizzer that he decides to just erase the game from existence
Posts 1 - 20 of 23   1  2  Next >>