[Solved] Doors loaded form schematic crash

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

[Solved] Doors loaded form schematic crash

by AiTechEye » Mon Apr 11, 2016 17:14

The game crashed when I tryed to open a door that was loaded from a schematic.

I used sfan5's newest windows build

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: Lua: Runtime error from mod '' in callback item_OnPlace(): ...\minetest\bin\..\games\minetest_game\mods\doors\init.lua:159: attempt to perform arithmetic on local 'state' (a string value)
ERROR[Main]: stack traceback:
ERROR[Main]:    ...\minetest\bin\..\games\minetest_game\mods\doors\init.lua:159: in function 'door_toggle'
ERROR[Main]:    ...\minetest\bin\..\games\minetest_game\mods\doors\init.lua:360: in function 'on_rightclick'
ERROR[Main]:    ...n\Desktop\minetest\minetest\bin\..\builtin\game\item.lua:333: in function <...n\Desktop\minetest\minetest\bin\..\builtin\game\item.lua:326>
Last edited by AiTechEye on Tue Apr 12, 2016 13:16, edited 1 time in total.
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

sofar
Member
 
Posts: 781
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Doors loaded form schematic crash

by sofar » Mon Apr 11, 2016 19:16

File bugs in github please.

In this case, how did you load the schematic, and, can you post the schematic somehwere as well?
 

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: Doors loaded form schematic crash

by AiTechEye » Mon Apr 11, 2016 19:39

its loaded from a mod i made "sunshinesurvive"

https://forum.minetest.net/viewtopic.php?f=9&t=14168

it randomly spawns boats from schematics, where the doors is included.

It did not crash like this in the older releases.

Im pretty sure this happens because the node is inactivated / no metadata after load.
Last edited by AiTechEye on Tue Apr 12, 2016 13:17, edited 1 time in total.
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

sofar
Member
 
Posts: 781
Joined: Fri Jan 16, 2015 07:31
GitHub: sofar
IRC: sofar
In-game: sofar

Re: Doors loaded form schematic crash

by sofar » Mon Apr 11, 2016 21:33

 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 4 guests

cron