Bob's Character classes


Adds character classes to the game.

Tweaks
3 months ago
0.16 - 2.0
101K

g Editor Mode Bug

9 days ago

New game, the only mods are base, bobs functions library and bobs classes and multiple characters. I start the game, choose a class and go to click "editor mode". Then this pops up.

"The mod Bob's Classes and Multiple characters mod (2.0.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event bobclasses::on_gui_click (ID 1)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'associate_character'
bobclasses/control.lua:1571: in function 'switch_to_editor'
bobclasses/control.lua:761: in function <bobclasses/control.lua:690>"

Thank you for all of the hard work on your mods. Please let me know if you need more information. Cheers!

9 days ago

Ah, I figured out that this only happens if you do not have "god mode" turned on

9 days ago

What do you mean "click editor mode" ? Are you sure this is all your mods? Not using Editor Extensions or something similar? 🤔

8 days ago
(updated 8 days ago)

Ah, I figured out that this only happens if you do not have "god mode" turned on

hold on, you mean we should turn on the "god mode" in the mode setting, or we should click "god mode" before clicking "editor mode"?
I found the same problem for weeks, but I thought there were too many other mods I installed...

Well I got it, clicking "god mode" before clicking "editor mode".

8 days ago

What do you mean "click editor mode" ? Are you sure this is all your mods? Not using Editor Extensions or something similar? 🤔

Error while running event bobclasses::on_gui_click (ID 1)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'associate_character'
bobclasses/control.lua:1571: in function 'switch_to_editor'
bobclasses/control.lua:761: in function <bobclasses/control.lua:690>

My game is much more complicated, with Angel and Bob and somethign else, but I face the same problem when clicking editor mode.(not clicking god mode first, if i were doing it, it would work. But the same problem happened again if i go back to avatar aka game mode and click the editor mode)

5 days ago

Yes, I only have those 2 mods. I go into "mod settings" and then "map". I then select all 4 options such as editor mode, class select and god mode and then start the game. Once I start i pick a character from the 4 options then click the icon in the upper left. If i click "editor mode" first, it gives that error. I have to select "god mode" first THEN editor mode. I have used this mod for years and it was not that way in the past. Not a big deal but confusing for people who dont know the workaround.

5 days ago

My apologies for not being clear enough. I have used that editor mode for a very long time and thought it was a standard feature of the mod. I now realise that it is really just a side feature

5 days ago

Thanks! That's helpful information. I'll do some testing

3 days ago

I was able to reproduce the crash. Not immediately sure how to fix it though unfortunately. I have logged it though so it won't get forgotten.

https://github.com/modded-factorio/bobsmods/issues/466

3 days ago

Much appreciated, cheers!

New response