Getting error on start up that I don't understand with my Turrets Mod (solved)

Started by Kilroy232, August 29, 2016, 03:42:44 PM

Previous topic - Next topic

Kilroy232

This is the error message I am getting, if anyone understands this I would love a little help on this one. Thank you!




UPDATE - trying to load a game anyway results in these errors.
There is something in my mod (the current version available for download if you feel like looking through it) that is making it so all items have the same value as wood... literally making every item in the game wood.

If I deconstruct metal, stone or anything I get wood.


Jaxxa

The first message looks to be informing you you need a Static constructor on startup to load your images.

The second one looks to be the same as Hatti and I am having:
https://ludeon.com/forums/index.php?topic=25076.0

Hatti seams to have a fix for it in that thread, but I have not managed to fix it in my mod yet.

1000101

The drop-pod and hash issues are likely the result of a cascade error.  Something else is causing errors in other parts of the game engine.  It is quite common for errors to cascade in RimWorld.  You will likely have to enable mods one-by-one and restart each time to check for validity to find the culprit.
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

Kilroy232

Quote from: Jaxxa on August 29, 2016, 04:35:39 PM
The first message looks to be informing you you need a Static constructor on startup to load your images.

The second one looks to be the same as Hatti and I am having:
https://ludeon.com/forums/index.php?topic=25076.0

Hatti seams to have a fix for it in that thread, but I have not managed to fix it in my mod yet.

I hate to seem like I am new to this but what is a static constructor? And or how do I implement something of the sort?

As for a solution to a cascade error I think I will have to start by cleaning up my code

Kilroy232

Quote from: 1000101 on August 29, 2016, 05:34:23 PM
The drop-pod and hash issues are likely the result of a cascade error.  Something else is causing errors in other parts of the game engine.  It is quite common for errors to cascade in RimWorld.  You will likely have to enable mods one-by-one and restart each time to check for validity to find the culprit.

Unfortunately my mod is the only thing I am running besides the core game files, just not sure where to even begin for that reason

1000101

FIX YER MOD!  :P

Start comparing your defs to core defs to see what you're missing.  For example, are you missing abstracts?
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

Jaxxa

Quote from: 1000101 on August 29, 2016, 10:26:35 PM
FIX YER MOD!  :P

Thats what I am trying to do. :)

Kilroy, do you have any C# classes that inherit from ThingDef in your mod?

Kilroy232

Quote from: Jaxxa on August 29, 2016, 10:54:36 PM
Quote from: 1000101 on August 29, 2016, 10:26:35 PM
FIX YER MOD!  :P

Thats what I am trying to do. :)

Kilroy, do you have any C# classes that inherit from ThingDef in your mod?

OMG IT WAS AN OLD ASSEMBLY FROM PROJECT ARMORY I HAVEN'T USED IN AGES!!!!!!!!!!
... I went all through my xml with a fine tooth comb and almost drove myself nuts and it was an old assembly...

Well thank you so much Jaxxa, I actually think you saved my sanity because I was busy doing just what 1000101 was saying (well before he suggested it, I am no noob)

I will get this all back together and give everyone a version of my mod that actually works and 1000101 I will just assume you are excited to play with my mod again :p

Jaxxa

Cool, Glad you got it working.
So you were able to fix it by just Removing the Assembly / that Class from the Assembly?

1000101

Glad you got it working.  :)

And I'm not so much excited for other peoples mods as working as hard as I can to not work on updating CCL.  :D
(2*b)||!(2*b) - That is the question.
There are 10 kinds of people in this world - those that understand binary and those that don't.

Powered By

Kilroy232

Quote from: Jaxxa on August 30, 2016, 12:48:50 AM
Cool, Glad you got it working.
So you were able to fix it by just Removing the Assembly / that Class from the Assembly?

Jaxxa all I had to do to fix all the problems was to remove the entire assembly. I got ride of the whole thing because I wasn't using any of it.

Quote from: 1000101 on August 30, 2016, 01:15:05 AM
Glad you got it working.  :)

And I'm not so much excited for other peoples mods as working as hard as I can to not work on updating CCL.  :D

LOL, 1000101 I would love to learn more about the C# side of making mods if you ever want a hand :P (your reason is a good reason to take interest in my opinion though)