Mescons error

basil60
Member
 
Posts: 54
Joined: Sat Sep 12, 2015 22:07

Mescons error

by basil60 » Sun Oct 16, 2016 07:24

Hi
I've been using Minetest 0.4.14 with mesecons mod, on a Win 8.1, running it from a USB stick.

If I add a Mesecon block like a Lua Controller it shuts down, with this error
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
2016-10-16 17:07:44: ERROR[Main]: stack traceback:
2016-10-16 17:07:44: ERROR[Main]:    [C]: in function 'ipairs'
2016-10-16 17:07:44: ERROR[Main]:    ....14\bin\..\mods\mesecons\mesecons_luacontroller\init.lua:351: in function 'code_prohibited'
2016-10-16 17:07:44: ERROR[Main]:    ....14\bin\..\mods\mesecons\mesecons_luacontroller\init.lua:400: in function 'run'
2016-10-16 17:07:44: ERROR[Main]:    ....14\bin\..\mods\mesecons\mesecons_luacontroller\init.lua:533: in function 'action_change'
2016-10-16 17:07:44: ERROR[Main]:    ...netest-0.4.14\bin\..\mods\mesecons\mesecons/internal.lua:231: in function <...netest-0.4.14\bin\..\mods\mesecons\mesecons/internal.lua:226>
2016-10-16 17:07:44: ERROR[Main]:    ...est-0.4.14\bin\..\mods\mesecons\mesecons/actionqueue.lua:90: in function 'execute'
2016-10-16 17:07:44: ERROR[Main]:    ...est-0.4.14\bin\..\mods\mesecons\mesecons/actionqueue.lua:84: in function <...est-0.4.14\bin\..\mods\mesecons\mesecons/actionqueue.lua:61>
2016-10-16 17:07:44: ERROR[Main]:    ...ortable\minetest-0.4.14\bin\..\builtin\game\register.lua:369: in function <...ortable\minetest-0.4.14\bin\..\builtin\game\register.lua:349>


Any ideas why?
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

Re: Mescons error

by kaeza » Sun Oct 16, 2016 07:28

You missed the line containing the actual error. It should be immediately above the stack traceback.

Edit: Looks like the relevant code does not match your stack traceback. Are you using the latest Mesecons?
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

basil60
Member
 
Posts: 54
Joined: Sat Sep 12, 2015 22:07

Re: Mescons error

by basil60 » Sun Oct 16, 2016 19:44

Sorry

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
 ERROR[Main]: ServerError: Runtime error from mod 'mesecons' in callback environment_Step(): ....14\bin\..\mods\mesecons\mesecons_luacontroller\init.lua:351: bad argument #1 to 'ipairs' (table expected, got nil)

I'll check...my Mesecons could be a from last year
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 4 guests

cron