Hi so i redid my display blocks mod and when i tested it i only got for the error C++ exception in the init.lua.
Here is the repo https://github.com/jojoa1997/display_blocks
Btw here is the error. Duh i forgot to add it.
20:01:18: ERROR[main]: ========== ERROR FROM LUA ===========
20:01:18: ERROR[main]: Failed to load and run script from
20:01:18: ERROR[main]: ~~~\Minetest\bin\..\mods\display_blocks\init.lua:
20:01:18: ERROR[main]: C++ exception
20:01:18: ERROR[main]: =======END OF ERROR FROM LUA ========
Last edited by jojoa1997 on Tue Sep 03, 2013 10:55, edited 1 time in total.
Coding;
1X coding
3X debugging
12X tweaking to be just right
The problem is that the 4th argument is passed as "replacements" to register_craft. It needs to be a table.
You simply forgot to update the 2 lines I linked above and these two lines: https://github.com/jojoa1997/display_bl ... it.lua#L64
PilzAdam wrote:The problem is that the 4th argument is passed as "replacements" to register_craft. It needs to be a table.
You simply forgot to update the 2 lines I linked above and these two lines: https://github.com/jojoa1997/display_bl ... it.lua#L64
ah OK. Thanks. I should haveit fixed by tomorrow.
Coding;
1X coding
3X debugging
12X tweaking to be just right