Leafdecay.lua error

hijera
Member
 
Posts: 36
Joined: Sun Jun 19, 2011 13:04

Leafdecay.lua error

by hijera » Sat Apr 07, 2012 15:10

I tried to play old 0.3.1 world on last build (0.4dev-20120326-24953ba-win32), and when world is loading, i got an error:
ERROR[main]: ServerError: LuaError: error: ...in\..\games\minetest_gam
e\mods\default/leafdecay.lua:75: attempt to index local 'reg' (a nil value)

fixed by add (reg ~=nil) clause in 75'th string:
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
75: if (reg ~= nil) or n.name == "ignore" or (reg.groups.tree and reg.groups.tree ~= 0) then
Last edited by hijera on Sat Apr 07, 2012 15:28, edited 1 time in total.
 

User avatar
bgsmithjr
Member
 
Posts: 436
Joined: Thu Mar 08, 2012 23:21

by bgsmithjr » Sat Apr 07, 2012 15:12

This happens when you add certain mods and then remove them. You have to delete your map and then make a new one.
 

jn
Member
 
Posts: 106
Joined: Tue Jan 03, 2012 19:15

by jn » Sun Apr 08, 2012 16:29

Wait, wait.
What is the error message you get? Judging from the little information you gave us, It might also be that a part of the map is accessed while not being loaded yet.
 

User avatar
neko259
Member
 
Posts: 769
Joined: Sun Jun 19, 2011 06:51

by neko259 » Sun Apr 08, 2012 18:24

I think this appears for node that don't have any group. Don't know if this is a bug or not (cause all nodes must have groups for now). Maybe you use old mods?
Bitcoin donations: 18r66dJmUjwTmWRTFnorpGMzs8d4B8jzbw
 

hijera
Member
 
Posts: 36
Joined: Sun Jun 19, 2011 13:04

by hijera » Mon Apr 09, 2012 23:03

i tried to play map that i played on december 0.4dev version. And it causes that error when i tried to move at region which hadn't loaded. Seems like it really could be a problem with gorups.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 34 guests

cron