by trainwrecktony » Sun Jun 22, 2014 02:47
I get this error, i believe i got the same in previous version but i commented out bridgebuilder dofile. Server will start but crashes when player joins
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]: ERROR: An unhandled exception occurred: ...EST2\bin\..\games\twt\mods\mining_plus/bridgebuilder.lua:223: bad argument #1 to 'get_node' (table expected, got string)
20:55:45: ERROR[main]: stack traceback:
20:55:45: ERROR[main]: [C]: in function 'get_node'
20:55:45: ERROR[main]: ...EST2\bin\..\games\twt\mods\mining_plus/bridgebuilder.lua:223: in function 'swap_node'
20:55:45: ERROR[main]: C:\MINETEST2\bin\..\games\twt\mods\default/nodes.lua:1531: in function <C:\MINETEST2\bin\..\games\twt\mods\default/nodes.lua:1449>
swap_node function from default/nodes.lua
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
function swap_node(pos,name)
local node = minetest.get_node(pos)
if node.name == name then
return
end
node.name = name
minetest.swap_node(pos,node)
end
I tried this.... temporarily rename swap_node in bridgebuilder.lua:223 i can login giveme a bridgebuilder without crash. I then stop server, revert swap_node in bridgebuilder.lua:223, i can login without crash but if i try to use bridgebuilder get 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
ERROR: An unhandled exception occurred: C:\MINETEST2\bin\..\games\twt\mods\mining_plus\init.lua:7: attempt to call method 'get_player_name' (a nil value)
21:56:14: ERROR[main]: stack traceback:
21:56:14: ERROR[main]: C:\MINETEST2\bin\..\games\twt\mods\mining_plus\init.lua:7: in function 'has_mining_access'
21:56:14: ERROR[main]: ...EST2\bin\..\games\twt\mods\mining_plus/bridgebuilder.lua:63: in function <...EST2\bin\..\games\twt\mods\mining_plus/bridgebuilder.lua:61>
Server Owner trainwrecktony.serveminecraft.net:30000
Server Specs: i5-3570, 16gb, 1tb 7200rpm 64mb cache, Win 2012 r2 x64, Dev mingw x64 minetest build, redis db
Gaming: Clevo W150HNQ, i7-2820, 16gb 1866 hyperx, 256gb Samsung 840 PRO SSD, Nvidia GT 540M, Win 7 Pro x64, Dev mingw x64 minetest build