Uncaught node.js Error

Hello,

I’m having some technical difficulties with the game, I constantly get a error when I click on something. The error in the game tells me to restart the game, but when I close the game I get the error on a different way. I always need to kill the process before the screen can be closed. Below here you find the 2 error screens.

Error In-game: http://prntscr.com/4ooef4
Error if tried to close the game: http://prntscr.com/4ooenv

I hope I am not the only one, if someone tells me it the fault of a mod, I only have one mod and that is the MOD API.

I reinstalled the game several times, tried to verify the game cache nor did that helped.

I already search it on the internet. I already looked at the code, what could be wrong, but no succes.

Thank you for taking some time to read this, and hopefully you will find a solution to my problem.

Not sure If I should put this under Bug, tell me if i’m wrong.

Grtz Epoc

Yeah, this error happens to me when testing my mod. Try making a new save, no mods enabled. If you have no mods, you dont have to enable the api.

But I would like to play the game with Mods, Have played the for some time now, that I would like to have some extra things with mods.

1 Like

just start one and test. Which mods are you using

I will take a look at this, by searching up in the code with error.

So, @Charlie, @PatrickKlug and @DanielKlug, I think this is related to the game. Not sure, will check it out.

EDIT: This is a problem with the game. In my understanding, it checks for a variable called isCustom which doesn’t exist. Or is that just me?

these kind of ‘object is null’ errors frequently happen if you try to load a save game that uses mods, where the mod is no longer installed.

If you really did not ever use mods on this save, then please contact our support at support@greenheartgames.com

Oh, so the mod messes up a variable and then the game checks for it and its not there? I see. Sorry.

No, it’s usually that the mod adds a platform or topic to the game and when we try to load the variables for the platform it’s no longer there (because the mod was removed).

Its trying to check “isCustom” of a non existant platform? Well, that makes more sense :smiley: Thanks!

But, I sometimes get it also if I have a whole new game, I can play normally till I close it and open it back, and still use the same mods and savegame for these mods, Then I get this error also.

But sometimes If I restart enough it doesn’t give error for a few hours, if I would play for 2 - 3 hours straight.

But thanks for the help guys :smiley: