2015-11-04 18:28:35: ERROR[main]: ServerError: Lua: OOM error from mod 'technic_worldgen' in callback ScriptApiEnv::environment_OnGenerated(): not enough memory
2015-11-04 18:28:35: ERROR[main]: Current Lua memory usage: 18 MB
2015-11-04 18:30:15: ERROR[main]: ServerError: Lua: OOM error from mod 'technic_worldgen' in callback ScriptApiEnv::environment_OnGenerated(): not enough memory
2015-11-04 18:30:15: ERROR[main]: Current Lua memory usage: 25 MB
2015-11-13 22:31:05: ACTION[ServerThread]: Player Shandow moved too fast; resetting position
22:31:06: WARNING: Assignment to undeclared global "minp" inside a function at ...st-0.4.13/bin/../mods/MinetestAmbience/ambience/init.lua:394.
22:31:06: WARNING: Assignment to undeclared global "maxp" inside a function at ...st-0.4.13/bin/../mods/MinetestAmbience/ambience/init.lua:395.
22:31:06: WARNING: Assignment to undeclared global "nodes" inside a function at ...st-0.4.13/bin/../mods/MinetestAmbience/ambience/init.lua:244.
22:31:06: WARNING: Assignment to undeclared global "air_plus_ignore_under" inside a function at ...st-0.4.13/bin/../mods/MinetestAmbience/ambience/init.lua:398.
22:31:06: WARNING: Assignment to undeclared global "desert_in_range" inside a function at ...st-0.4.13/bin/../mods/MinetestAmbience/ambience/init.lua:448.
2015-11-13 22:31:10: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2015-11-13 22:31:10: ERROR[main]: Lua: Runtime error from mod '' in callback LuaABM::trigger(): ...test-0.4.13/bin/../games/Neuromancer/mods/doors/init.lua:162: attempt to index local 'player' (a nil value)
2015-11-13 22:31:10: ERROR[main]: stack traceback:
2015-11-13 22:31:10: ERROR[main]: ...test-0.4.13/bin/../games/Neuromancer/mods/doors/init.lua:162: in function 'can_dig'
2015-11-13 22:31:10: ERROR[main]: ....4.13/bin/../mods/technic/technic/machines/HV/quarry.lua:153: in function 'technic_run'
2015-11-13 22:31:10: ERROR[main]: ...n/../mods/technic/technic/machines/switching_station.lua:225: in function 'run_nodes'
2015-11-13 22:31:10: ERROR[main]: ...n/../mods/technic/technic/machines/switching_station.lua:231: in function <...n/../mods/technic/technic/machines/switching_station.lua:177>
In thread 7f36be6727c0:
/home/aa0001/minetest/minetest-0.4.13/src/server.cpp:511: void Server::step(float): A fatal error occurred: Lua: Runtime error from mod '' in callback LuaABM::trigger(): ...test-0.4.13/bin/../games/Neuromancer/mods/doors/init.lua:162: attempt to index local 'player' (a nil value)
stack traceback:
...test-0.4.13/bin/../games/Neuromancer/mods/doors/init.lua:162: in function 'can_dig'
....4.13/bin/../mods/technic/technic/machines/HV/quarry.lua:153: in function 'technic_run'
...n/../mods/technic/technic/machines/switching_station.lua:225: in function 'run_nodes'
...n/../mods/technic/technic/machines/switching_station.lua:231: in function <...n/../mods/technic/technic/machines/switching_station.lua:177>
Debug stacks:
DEBUG STACK FOR THREAD 7f36b5080700:
#0 virtual void* EmergeThread::Thread()
(Leftover data: #1 MapBlock* ServerMap::loadBlock(v3s16))
(Leftover data: #2 void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
(Leftover data: #3 void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7f36b5881700:
#0 virtual void* CurlFetchThread::Thread()
DEBUG STACK FOR THREAD 7f36b6082700:
#0 virtual void* ServerThread::Thread()
#1 void Server::AsyncRunStep(bool)
#2 virtual void ServerEnvironment::step(float)
(Leftover data: #3 void ItemStack::serialize(std::ostream&) const)
(Leftover data: #4 void Server::SendHP(irr::u16, irr::u8))
(Leftover data: #5 void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
(Leftover data: #6 void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7f36be6727c0:
#0 int main(int, char**)
#1 Dedicated server branch
#2 void dedicated_server_loop(Server&, bool&)
#3 void Server::step(float)
aa0001@minetest01:~/minetest/minetest-0.4.13/mods/mesecons/mesecons_compatibility$ more depends.txt
mesecons
doors
aa0001@minetest01:~/minetest/minetest-0.4.13/mods/mesecons/mesecons_compatibility$ cat init.lua
doors = {}
-- Registers a door - REDEFINITION ONLY | DOORS MOD MUST HAVE BEEN LOADED BEFORE
-- name: The name of the door
-- def: a table with the folowing fields:
-- description
-- inventory_image
-- groups
-- tiles_bottom: the tiles of the bottom part of the door {front, side}
-- tiles_top: the tiles of the bottom part of the door {front, side}
-- If the following fields are not defined the default values are used
-- node_box_bottom
-- node_box_top
-- selection_box_bottom
-- selection_box_top
-- only_placer_can_open: if true only the player who placed the door can
-- open it
function doors:register_door(name, def)
def.groups.not_in_creative_inventory = 1
local box = {{-0.5, -0.5, -0.5, 0.5, 0.5, -0.5+1.5/16}}
if not def.node_box_bottom then
def.node_box_bottom = box
end
if not def.node_box_top then
def.node_box_top = box
end
if not def.selection_box_bottom then
def.selection_box_bottom= box
end
if not def.selection_box_top then
def.selection_box_top = box
end
local tt = def.tiles_top
local tb = def.tiles_bottom
local function after_dig_node(pos, name)
if minetest.get_node(pos).name == name then
minetest.remove_node(pos)
end
end
local function on_rightclick(pos, dir, check_name, replace, replace_dir, params)
pos.y = pos.y+dir
if not minetest.get_node(pos).name == check_name then
return
end
local p2 = minetest.get_node(pos).param2
p2 = params[p2+1]
local meta = minetest.get_meta(pos):to_table()
minetest.set_node(pos, {name=replace_dir, param2=p2})
minetest.get_meta(pos):from_table(meta)
pos.y = pos.y-dir
meta = minetest.get_meta(pos):to_table()
minetest.set_node(pos, {name=replace, param2=p2})
minetest.get_meta(pos):from_table(meta)
end
local function on_mesecons_signal_open (pos, node)
on_rightclick(pos, 1, name.."_t_1", name.."_b_2", name.."_t_2", {1,2,3,0})
end
local function on_mesecons_signal_close (pos, node)
on_rightclick(pos, 1, name.."_t_2", name.."_b_1", name.."_t_1", {3,0,1,2})
end
local function check_player_priv(pos, player)
if not def.only_placer_can_open then
return true
end
local meta = minetest.get_meta(pos)
local pn = player:get_player_name()
return meta:get_string("doors_owner") == pn
end
minetest.register_node(":"..name.."_b_1", {
tiles = {tb[2], tb[2], tb[2], tb[2], tb[1], tb[1].."^[transformfx"},
paramtype = "light",
paramtype2 = "facedir",
drop = name,
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = def.node_box_bottom
},
selection_box = {
type = "fixed",
fixed = def.selection_box_bottom
},
groups = def.groups,
after_dig_node = function(pos, oldnode, oldmetadata, digger)
pos.y = pos.y+1
after_dig_node(pos, name.."_t_1")
end,
on_rightclick = function(pos, node, puncher)
if check_player_priv(pos, puncher) then
on_rightclick(pos, 1, name.."_t_1", name.."_b_2", name.."_t_2", {1,2,3,0})
end
end,
mesecons = {effector = {
action_on = on_mesecons_signal_open
}},
can_dig = check_player_priv,
})
minetest.register_node(":"..name.."_b_2", {
tiles = {tb[2], tb[2], tb[2], tb[2], tb[1].."^[transformfx", tb[1]},
paramtype = "light",
paramtype2 = "facedir",
drop = name,
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = def.node_box_bottom
},
selection_box = {
type = "fixed",
fixed = def.selection_box_bottom
},
groups = def.groups,
after_dig_node = function(pos, oldnode, oldmetadata, digger)
pos.y = pos.y+1
after_dig_node(pos, name.."_t_2")
end,
on_rightclick = function(pos, node, puncher)
if check_player_priv(pos, puncher) then
on_rightclick(pos, 1, name.."_t_2", name.."_b_1", name.."_t_1", {3,0,1,2})
end
end,
mesecons = {effector = {
action_off = on_mesecons_signal_close
}},
can_dig = check_player_priv,
})
end
doors:register_door("doors:door_wood", {
description = "Wooden Door",
inventory_image = "door_wood.png",
groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2,door=1},
tiles_bottom = {"door_wood_b.png", "door_brown.png"},
tiles_top = {"door_wood_a.png", "door_brown.png"},
sounds = default.node_sound_wood_defaults(),
})
doors:register_door("doors:door_steel", {
description = "Steel Door",
inventory_image = "door_steel.png",
groups = {snappy=1,bendy=2,cracky=1,melty=2,level=2,door=1},
tiles_bottom = {"door_steel_b.png", "door_grey.png"},
tiles_top = {"door_steel_a.png", "door_grey.png"},
only_placer_can_open = true,
sounds = default.node_sound_stone_defaults(),
})
2015-11-16 13:34:44: ACTION[ServerThread]: dude digs christmas_craft:Christmas_present_blue at (-124,8,-96)
2015-11-16 13:35:04: ACTION[ServerThread]: digs technic:chernobylite_block at (-95,3,-91)
2015-11-16 13:35:04: ACTION[ServerThread]: dude places node default:ice at (-89,2,-120)
2015-11-16 13:35:06: ACTION[ServerThread]: dude places node default:ice at (-86,1,-121)
2015-11-16 13:35:08: ACTION[ServerThread]: digs technic:chernobylite_block at (-26,1,-142)
2015-11-16 13:35:16: ACTION[ServerThread]: dude digs default:sand at (-59,-5,-132)
Alienant1 wrote:Hi ShadowAce,
There is a setting in minetest.conf called max_forceloaded_blocks which defaults to 16. You can increase this number but you have to be careful when not on singleplayer because keeping blocks loaded can take a lot of processing. Just as a reference point, each player keeps 125 map blocks loaded.
Can one of the developers verify that both
https://github.com/minetest-technic/tec ... /manual.md
and
http://technic.kosyak.info/
are up to date. if not, which manuals are?
redblade7 wrote:You replaced height_min and height_max with y_min and y_max. To avoid the crash, all four fields should be present, with the values you gave to each.
VanessaE wrote:redblade7 wrote:You replaced height_min and height_max with y_min and y_max. To avoid the crash, all four fields should be present, with the values you gave to each.
This is incorrect. height_min/max were engine ore generation parameters, and were replaced therein on Dec. 30, 2014 (with commit 9b0d77a5). minetest_game was updated accordingly on Jan. 21, 2015 (commit 3b526a72).
Engine version 0.4.12 and its corresponding minetest_game content were released after those, on Feb. 18, 2015. From that point on, y_min/max are the correct fields to use (see lua_api.txt line 3562).
For what it's worth, 0.4.13 was released on Aug. 19, so it's about time you update your Minetest engine. :-)
(interestingly, mapgen v7 "decorations" still use terms related to "height_", but that's different from the changes discussed above)
Users browsing this forum: No registered users and 6 guests