robotex140 / Hydrocraft

25 stars 38 forks source link

Timetracking error originally posted on steam comment #58

Open DerkaDur opened 2 years ago

DerkaDur commented 2 years ago

Errors began rolling in only at specific tiles on the map.

I actually dunno what the player did exactly to start the bug, so I cannot reproduce making it start.

Expected behavior no errors,really.

Screenshots See attachments

Desktop (please complete the following information): Pretty sure this stuffs in the console file

Smartphone (please complete the following information): Not applicable Additional context So far as I know the bug started to show after a player of mine attempted to dry an item from another mod running on the server. The only reason i think this is the problem is b/c when i visit the place in debug mode this is what it points me to. I included a screen cap from both tiles of the debug mode error that pops up. As far as i can tell there are not any items in the tiles it's trying to track-it's like it lost something in transition. Feel free to direct message me for any additional info or anything. DurkaDur on your discord or killheart on steam. thank you for the speedy response. console.txt 20220501064034_1 20220501064053_1

DerkaDur commented 2 years ago

Okay i was able to reproduce it. It is being triggered by an item from another mod. This may not be a you a problem. If it's not a you problem just lemme know and close the thread so it's not just taking space up. Any help or suggestions would be appreciated as well.

HugoQwerty commented 2 years ago

The only reason I can think this line would be a problem is if one of the values is nil, so I've made a small change to the code that might help.

DerkaDur commented 2 years ago

Awesome. I'm guessing this will take effect next time the mod updates?

HugoQwerty commented 2 years ago

Yes. Unless you install the version on this Github.

If this is caused by another mod, then I think they must also be adding a ModData called 'Life' to an object - maybe we should use a different value to avoid the conflict, but that would break everyone's existing item ages.

DerkaDur commented 2 years ago

Okay thank you. no need to break everyone's stuff on our account. I'll be sure to report back when I know the servers running the new stuff.