Jump to content

Recommended Posts

This issue arose quite a while ago, but I'm only now getting around to dealing with it.

 

My mod, Myst, uses EndoxinAPI, a which reworks core functionality to aid modding. To me, and assumedly the majority of the users, the mod works fine. However, a few users have reported a gamebreaking bug causing the Science Machine (and likely all prototypers) to be nonfunctional. These users have been verified to be using the most recent versions of both the mods and the game, and are using a variety of operating systems. This error does not occur for the developer (me), under the same conditions. I thus have no way of identifying or fixing the bug, so I turn to you, forum-dwellers.

 

The exchange took place here, and one of the affected users has documented the error here.

 

Although he probably has better things to do, I also invoke the name of @PeterA, due to his potential knowledge of relevant topics.

Oh yes, I am having the same issue. This is good, actually, since I know how to dissect the code a bit better.

It certainly is not ShipWrecked's fault, suprisingly :lol: I don't even have it installed right now.

You added a seemingly redundant check for a nonexistant variable "GetIsDisabled" in line 265 of "builder" component. The line should just be this (like in the base game):

if not prototyper_active then

Also, 288 had to be edited to solve a crash:

self.accessible_tech_trees.OBSIDIAN = self.accessible_tech_trees.OBSIDIAN or 0 + self.obsidian_bonus

@Arkathorn you can change settings to automatically subscribe to your posts :p

Hmm... I could have sworn that section was copied straight from the vanilla code!

 

The check seems to be verifying that the function exists before calling it, but I don't know why that would be needed.

 

Any idea why this error would only happen for some users? It worked for me with a fresh install, using the latest versions of everything.

Edited by Arkathorn
10 hours ago, Arkathorn said:

Any idea why this error would only happen for some users? It worked for me with a fresh install, using the latest versions of everything.

I have no idea. Maybe you are using a mod or game/dlc version that introduces the function? Or maybe you forgot to update a file? Try using "search in files"!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...