Personal Development

by Shingen

A mod that increases your skills the more you use them.

Utilities
a month ago
1.0 - 2.0
699

b something failed :(

1 year, 11 months ago

Hi Shingen, Emu again :p

Ran into a bug with your mod, I think its related to another mod
https://pastebin.com/duJsYZUQ

https://i.imgur.com/uiHutYV.png

1 year, 11 months ago
(updated 1 year, 11 months ago)

It crashes at the event notifying that an entity was damaged.
Because of used 'filters' it should only fire when an entity of type 'character' is damaged.
So it fires, and checks whether the player this character (assumingly) belongs to... has a character. That's probably a bit redundant... but maybe I had a reason to put it there, so I'll leave it.
Anyway, In the case of the crashing event, there is no player object there in the first place.

I managed to recreate this crash by leaving the body into god mode (/c game.player.character=nil) and letting enemies attack it.
I guess either you did something similar, or some mod created a 'character' entity, not controlled by a player, that was damaged.

I added a check for it in 1.0.4.
And I realized that I had a bug that would crash the mod if you attempted to limit your health, lol. Fixed that too.

1 year, 11 months ago

Well now that you mention it, there was a copy of me siting around that at one point I tried to kill, it crashed the mod, so I just let my new clone be and went about my factory lol

And thanks for the super fast reply ^_^
bug seems fixed

New response