Useful book (customizable scripts and more)


Store and use any script in Lua/Candran/Teal/MoonScript or create custom commands/events. Admins can share access to an executable code to players and to rcon. It's more practical than "Lua Compiler" mod. This mod is designed to be safe, simple and fast. Anyone can translate the mod on Crowdin. https://crowdin.com/project/factorio-mods-localization

Utilities
15 days ago
1.1
466
Cheats

b [Fixed] Error on load v0.16.0

1 year, 10 months ago

This bug happens on the new version (0.16.0) when tying to load my saved game:


170.224 Error AppManagerStates.cpp:1565: The mod Useful book (0.16.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event useful_book::on_load()
useful_book/models/useful_book.lua:1107: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
useful_book/models/useful_book.lua:1107: in function 'compile_all_text'
useful_book/models/useful_book.lua:1212: in function 'on_load'
core/lualib/event_handler.lua:79: in function <core/lualib/event_handler.lua:74>


Thanks.

1 year, 10 months ago

https://mods.factorio.com/mod/useful_book/downloads
It should work fine on new mod version, please confirm.

1 year, 10 months ago

It's working now!

Thanks

New response