Jump to content

[Solved] Crash in the mod after update


Recommended Posts

Hello!
Recently I updated my mod (Show Me), and now it cause crash for some players. It's strange because logs says that it is different mod.

https://pastebin.com/fhNN59QR
https://pastebin.com/ykPLeF5g
https://pastebin.com/MZDR2Tpa

I'm trying to figure out what's going on and how my mod affect another mod. When I test both, all is fine for me, so I can't reproduce the crash. But people keep sending me crash reports. I even tried to use all mods (mostly client mods) that they have, but without crash.

Edited by Maris
Link to comment
Share on other sites

4 hours ago, Maris said:

Hello!
Recently I updated my mod (Show Me), and now it cause crash for some players. It's strange because logs says that it is different mod.

https://pastebin.com/fhNN59QR
https://pastebin.com/ykPLeF5g
https://pastebin.com/MZDR2Tpa

I'm trying to figure out what's going on and how my mod affect another mod. When I test both, all is fine for me, so I can't reproduce the crash. But people keep sending me crash reports. I even tried to use all mods (mostly client mods) that they have, but without crash.

Hi, welcome back :)
nice that you finally added some of my ideas also to your mod version :)
What is " Added support of stats absorption by food (actually not working yet, - bug). " ? Are you referring to perks of warly/wortox who only receive parts of the hunger value of food? Or is it about the "absorption" and also attack bonus spiced food can give? I already added the last one to my version, although the only information available is the prefab of the buff.

I guess you already know that this error is printed from componentsaction.lua, so it is not that strange that it is printed for other mods, in case you are messing with componentsaction somehow. What else did you find out in the past 3 hours? Does your new version somehow mess with componentsaction?

edit:
according to the printed message, you have to be client and have a mod that adds mod actions to reproduce the error message.. but I was also not able to reproduce yet... and at least the mod from the first log does not have anything that should affect componentsaction ...
edit2:
my next guess would be, that maybe your mod-search code is now somehow messing with other mods.. but no clue how, just a guess...

Edited by Serpens
Link to comment
Share on other sites

They changed a bunch of stuff with actions and componentactions. They added some overrides for some of them, whatever that means.

I always save the scripts folder from the previous version of the game I modded for, so I can use Beyond Compare 4 to see what they changed. I can send you a zip with the scripts from two updates ago. You can get Beyond Compare 4 or use WinMerge or kDiff3 instead, to compare these older files with the newest ones, to see what changed.

Edited by Ultroman
Link to comment
Share on other sites

7 minutes ago, Ultroman said:

They changed a bunch of stuff with actions and componentactions. They added some overrides for some of them, whatever that means.

I always save the scripts folder from the previous version of the game I modded for, so I can use Beyond Compare 4 to see what they changed. I can send you a zip with the scripts from two updates ago. You can get Beyond Compare 4 or use WinMerge or kDiff3 instead, to compare these older files with the newest ones, to see what changed.

Do you have an example? Took a look at actions and compoentantactions lua and cant see any change that should affect anything, they just added the boat stuff.

Link to comment
Share on other sites

Thanks all! I found the bug.

I think it was network variable name hash collision or something like that.

2 hours ago, Serpens said:

Are you referring to perks of warly/wortox who only receive parts of the hunger value of food?

Yes

2 hours ago, Serpens said:

bonus spiced food

No. Too complicated. And I'm not sure if it's relevant info because I'm new to the new DST update.

2 hours ago, Ultroman said:

I always save the scripts folder from the previous version

True. Prevuios version helped. Sadly that was too early version but enough to find bugged piece of code step by step.

Edited by Maris
Link to comment
Share on other sites

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
 Share

×
  • Create New...