FozLand / travelnet

network of teleporter-boxes that allow easy travelling to other boxes on the same network (Mod for Minetest)
0 stars 0 forks source link

Undeclared global variables #1

Open jhcole opened 8 years ago

jhcole commented 8 years ago
Undeclared global variable "player_name" accessed at /home/foz/.minetest/mods/travelnet/init.lua:628
Undeclared global variable "owner_name" accessed at /home/foz/.minetest/mods/travelnet/init.lua:628
Undeclared global variable "network_name" accessed at /home/foz/.minetest/mods/travelnet/init.lua:628
mootpoint commented 7 years ago

i cant recreate this problem, has it been fixed?

jhcole commented 7 years ago

No, its not fixed. I can reproduce it by trying to dig a travelnet by any player without travelnet_remove privs.

mootpoint commented 7 years ago

OK I'll look at it tonight

jhcole commented 7 years ago

I submitted the issue to upstream. Since originally posting this issue, the offending line of code has moved to line 640. The code is a bit of a mess. I think its a better use of our time to work on something else and let Sokomine fix this one.

mootpoint commented 7 years ago

Fair enough :)