minetest.spawn_item(pos_drop, "beverage:applejuice")mahmutelmas06 wrote:Sorry for asking a lot of questions lately but i have searched the forum but couldt find it.
I have found random drops, random plays random everyting except spawning random node.
I have tried several things made a list but then whole list drops instead of 1 of them.
I need help to spawn random item instead of beverage:applejuice i want to spawn random from a list.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
minetest.spawn_item(pos_drop, "beverage:applejuice")
BrunoMine wrote:how to insert a function "on_put or on_take" to an inventory? (ex.: main, craft, armor)
BrunoMine wrote:This does not work for an inventory that has been created (ex .: main).
AMMOnym wrote:How can I turn off(make it higher) maximal amount of nodes, which can be taken by pistons in Mesecons mod ?
paramat wrote:Core mapgen only replaces air or ignore, 'on generate' functions will replace everything unless you code in a node check.
bobomb wrote:paramat wrote:Core mapgen only replaces air or ignore, 'on generate' functions will replace everything unless you code in a node check.
is there a way to test if a chunk has been generated yet?
bobomb wrote:paramat wrote:Core mapgen only replaces air or ignore, 'on generate' functions will replace everything unless you code in a node check.
is there a way to test if a chunk has been generated yet?
amadin wrote:If i want to public mod which based on other mod (from minetest_game), what kind of license (credit) i must use?
rubenwardy wrote:amadin wrote:If i want to public mod which based on other mod (from minetest_game), what kind of license (credit) i must use?
You can license any of the mods in minetest_game as LGPL 2.1 or GPL 2.1 or later.
Sometimes a mod in minetest_game will be licensed under WTFPL, check the readme.txt or readme.md of that mod to find out. If it says WTFPL, then you can give it any license you want.
amadin wrote:rubenwardy wrote:amadin wrote:If i want to public mod which based on other mod (from minetest_game), what kind of license (credit) i must use?
You can license any of the mods in minetest_game as LGPL 2.1 or GPL 2.1 or later.
Sometimes a mod in minetest_game will be licensed under WTFPL, check the readme.txt or readme.md of that mod to find out. If it says WTFPL, then you can give it any license you want.
It don't have readme file this is sethome mod
amadin wrote:rubenwardy wrote:amadin wrote:If i want to public mod which based on other mod (from minetest_game), what kind of license (credit) i must use?
You can license any of the mods in minetest_game as LGPL 2.1 or GPL 2.1 or later.
Sometimes a mod in minetest_game will be licensed under WTFPL, check the readme.txt or readme.md of that mod to find out. If it says WTFPL, then you can give it any license you want.
It don't have readme file this is sethome mod
local formspec =
"size[9,9.5;]" ..
"list[current_player;main;0.5,5.5;8,4;]" ..
"list[detached:testinv;main;0,0.5;4,4;]" ..
"listring[]"
local test_inv = minetest.create_detached_inventory("testinv", {})
test_inv:set_size("main", 16)
function start()
for _,player in pairs(minetest.get_connected_players()) do
minetest.show_formspec(player:get_player_name(), "forms_test:trade_formspec", formspec)
end
return
end
minetest.register_chatcommand("showforms", {
description = "",
param = "",
privs = {},
func = function()
start()
end
})
Program received signal SIGSEGV, Segmentation fault.
0x000000000064ccc9 in GUIFormSpecMenu::OnEvent(irr::SEvent const&) ()
(gdb) bt
#0 0x000000000064ccc9 in GUIFormSpecMenu::OnEvent(irr::SEvent const&) ()
#1 0x00007ffff786ca59 in irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) () from /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8
#2 0x00007ffff783d929 in irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) () from /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8
#3 0x00007ffff7833ba6 in irr::CIrrDeviceLinux::run() () from /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8
#4 0x000000000062e62d in Game::run() ()
#5 0x000000000062f2cd in the_game(bool*, bool, InputHandler*, irr::IrrlichtDevice*, std::string const&, std::string const&, std::string const&, std::string const&, unsigned short, std::string&, ChatBackend&, bool*, SubgameSpec const&, bool) ()
#6 0x00000000004bb4cd in ClientLauncher::run(GameParams&, Settings const&) ()
#7 0x00000000004b423d in main ()rubenwardy wrote:You need to be in debug mode and use "bt full" to more information.
I've found that Irrlicht segfaults usually aren't caused by where the stack traceback is, but rather somewhere else.
Program received signal SIGSEGV, Segmentation fault.
0x000000000064ccc9 in GUIFormSpecMenu::OnEvent(irr::SEvent const&) ()
(gdb) bt full
#0 0x000000000064ccc9 in GUIFormSpecMenu::OnEvent(irr::SEvent const&) ()
No symbol table info available.
#1 0x00007ffff786ca59 in irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) () from /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8
No symbol table info available.
#2 0x00007ffff783d929 in irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) () from /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8
No symbol table info available.
#3 0x00007ffff7833ba6 in irr::CIrrDeviceLinux::run() () from /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8
No symbol table info available.
#4 0x000000000062e62d in Game::run() ()
No symbol table info available.
#5 0x000000000062f2cd in the_game(bool*, bool, InputHandler*, irr::IrrlichtDevice*, std::string const&, std::string const&, std::string const&, std::string const&, unsigned short, std::string&, ChatBackend&, bool*, SubgameSpec const&, bool) ()
No symbol table info available.
#6 0x00000000004bb4cd in ClientLauncher::run(GameParams&, Settings const&) ()
No symbol table info available.
#7 0x00000000004b423d in main ()
No symbol table info available.
Program received signal SIGSEGV, Segmentation fault.
0x000000000094cfa0 in Client::getProtoVersion (this=0x0) at minetest/src/client.h:500
500 { return m_proto_ver; }
(gdb) bt full
#0 0x000000000094cfa0 in Client::getProtoVersion (this=0x0) at minetest/src/client.h:500
No locals.
#1 0x000000000094abcd in GUIFormSpecMenu::OnEvent (this=0x1e45e580, event=...) at minetest/src/guiFormSpecMenu.cpp:3389
to_inv_sp = @0x1e052df0: {inventoryloc = {type = InventoryLocation::DETACHED, name = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1dc83588 "testinv"}}, p = {X = 0, Y = 0, Z = 0}}, listname = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1e49fdc8 "main"}}}
list_from = 0x1e316b20
to_inv_ind = 1
inv_to = 0x1d35f0f0
list_to = 0x1d35b520
stack_from = {name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1d452fb8 "beer_test:mixed_mead_grain"}},
count = 99, wear = 0, metadata = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x7ffff57373d8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}}
mis = 2
i = 0
inv_selected = 0x0
inv_s = 0x1b004a08
drop_amount = 0
identical = false
button = 0
shift_move_amount = 99
craft_amount = 0
s = {inventoryloc = {type = InventoryLocation::CURRENT_PLAYER, name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x7ffff57373d8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}, p = {X = 0, Y = 0, Z = 0}}, listname = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1db422b8 "main"}}, i = 0}
list_s = 0x1e316b20
s_count = 99
updown = 0
move_amount = 0
__PRETTY_FUNCTION__ = "virtual bool GUIFormSpecMenu::OnEvent(const irr::SEvent&)"
#2 0x00007ffff786ca59 in irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) () from /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8
No symbol table info available.
#3 0x00007ffff783d929 in irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) () from /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8
No symbol table info available.
#4 0x00007ffff7833ba6 in irr::CIrrDeviceLinux::run() () from /usr/lib/x86_64-linux-gnu/libIrrlicht.so.1.8
No symbol table info available.
#5 0x000000000090b526 in Game::run (this=0x7fffffffd5a0) at minetest/src/game.cpp:1819
stats = {drawtime = 7, beginscenetime = 0, endscenetime = 1, dtime_jitter = {max = 0, min = 0, avg = 0,248359635, counter = -2,50299978, max_sample = 0,308620036, min_sample = 0, max_fraction = 1,23765028}, busy_time_jitter = {
max = 0, min = 0, avg = 528,940063, counter = -2,50299978, max_sample = 0, min_sample = -507,820068, max_fraction = 0}}
draw_times = {last_time = 116500, busy_time = 25, sleep_time = 475}
flags = {invert_mouse = false, show_chat = true, show_hud = true, show_minimap = true, force_fog_off = false, show_debug = true, show_profiler_graph = false, disable_camera_update = false,
first_loop_after_window_activation = true, camera_offset_changed = false}
dtime = 0,5
dummyvalues = {_M_t = {
_M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, float> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, float> > >> = {<No data fields>}, <No data fields>},
_M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x1d370f80, _M_left = 0x1d359cc0, _M_right = 0x1d338b30}, _M_node_count = 4}}}
runData = {dig_index = 0, new_playeritem = 0, pointed_old = {type = POINTEDTHING_NODE, node_undersurface = {X = -152, Y = 35, Z = 64}, node_abovesurface = {X = -152, Y = 36, Z = 64}, object_id = -1}, digging = false,
ldown_for_dig = false, left_punch = false, update_wielded_item_trigger = false, reset_jump_timer = false, nodig_delay_timer = -13,4289999, dig_time = 0, dig_time_complete = 0, repeat_rightclick_timer = 0,
object_hit_delay_timer = -13,4289999, time_from_last_punch = 43,4970284, selected_object = 0x0, jump_timer = 0, damage_flash = 0, update_draw_list_timer = 0, statustext_time = 0, fog_range = 334,03952,
update_draw_list_last_cam_dir = {X = -0,961200178, Y = -0,195775002, Z = 0,194335714}, profiler_current_page = 0, profiler_max_page = 3, time_of_day = 0,778885305, time_of_day_smooth = 0,777260661}
graph = {m_log = {<std::_Deque_base<ProfilerGraph::Piece, std::allocator<ProfilerGraph::Piece> >> = {
_M_impl = {<std::allocator<ProfilerGraph::Piece>> = {<__gnu_cxx::new_allocator<ProfilerGraph::Piece>> = {<No data fields>}, <No data fields>}, _M_map = 0x1da6a990, _M_map_size = 78, _M_start = {_M_cur = 0x1e003610,
_M_first = 0x1e003460, _M_last = 0x1e003640, _M_node = 0x1da6aaf0}, _M_finish = {_M_cur = 0x1dc149d0, _M_first = 0x1dc14820, _M_last = 0x1dc14a00, _M_node = 0x1da6ab90}}}, <No data fields>}, m_log_max_size = 200}
cam_view_target = {camera_yaw = 78,5699997, camera_pitch = 11,2900009}
---Type <return> to continue, or q <return> to quit---
cam_view = {camera_yaw = 78,5699997, camera_pitch = 11,2900009}
highlight_boxes = {<std::_Vector_base<irr::core::aabbox3d<float>, std::allocator<irr::core::aabbox3d<float> > >> = {
_M_impl = {<std::allocator<irr::core::aabbox3d<float> >> = {<__gnu_cxx::new_allocator<irr::core::aabbox3d<float> >> = {<No data fields>}, <No data fields>}, _M_start = 0x1d36ed30, _M_finish = 0x1d36ed48,
_M_end_of_storage = 0x1d36ed48}}, <No data fields>}
#6 0x0000000000918fa9 in the_game (kill=0xf6dd20 <porting::g_killed>, random_input=false, input=0x1116160, device=0xfe9ce0, map_dir=..., playername=..., password=..., address=..., port=30000, error_message=..., chat_backend=...,
reconnect_requested=0x7fffffffd9db, gamespec=..., simple_singleplayer_mode=false) at minetest/src/game.cpp:4445
game = {input = 0x1116160, client = 0x6b86e60, server = 0x0, texture_src = 0xf3f8ea0, shader_src = 0x1040e2f0, itemdef_manager = 0x1af8dad0, nodedef_manager = 0x1cb0f50, soundfetcher = {<OnDemandSoundFetcher> = {
_vptr.OnDemandSoundFetcher = 0xb94540 <vtable for GameOnDemandSoundFetcher+16>}, m_fetched = {_M_t = {
_M_impl = {<std::allocator<std::_Rb_tree_node<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {<No data fields>}, <No data fields>},
_M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x1d4b8c20, _M_left = 0x1da82670, _M_right = 0xfba3520}, _M_node_count = 3}}}}, sound = 0x106bd9c0, sound_is_dummy = false, soundmaker = 0x10790b20,
chat_backend = 0x7fffffffda90, current_formspec = 0x1e45e580, eventmgr = 0x13093670, quicktune = 0xfc08e30, gui_chat_console = 0x1d3c9b10, draw_control = 0x10335dc0, camera = 0x1ce86490, clouds = 0x1d3759f0, sky = 0x1d42dc80,
local_inventory = 0x1d374610, hud = 0x1d351550, mapper = 0x100a8450, device = 0xfe9ce0, driver = 0x10bd110, smgr = 0x1112ce0, kill = 0xf6dd20 <porting::g_killed>, error_message = 0x7fffffffd9e0,
reconnect_requested = 0x7fffffffd9db, gamedef = 0x6b86e70, skybox = 0x0, random_input = false, simple_singleplayer_mode = false, crack_animation_length = 5, guitext = 0x1d346f80, guitext2 = 0x1d3c93f0,
guitext_info = 0x1d349250, guitext_status = 0x1d370d30, guitext_chat = 0x1d33f410, guitext_profiler = 0x1d374690, infotext = {static npos = 18446744073709551615,
_M_dataplus = {<std::allocator<wchar_t>> = {<__gnu_cxx::new_allocator<wchar_t>> = {<No data fields>}, <No data fields>},
_M_p = 0x7ffff57373f8 <std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_S_empty_rep_storage+24> L""}}, statustext = {static npos = 18446744073709551615,
_M_dataplus = {<std::allocator<wchar_t>> = {<__gnu_cxx::new_allocator<wchar_t>> = {<No data fields>}, <No data fields>},
_M_p = 0x7ffff57373f8 <std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_S_empty_rep_storage+24> L""}}, keycache = {key = {{Key = irr::KEY_KEY_W, Char = 87 L'W', m_name = {
static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x116b088 "KEY_KEY_W"}}}, {Key = irr::KEY_KEY_S, Char = 83 L'S',
m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1132b38 "KEY_KEY_S"}}}, {Key = irr::KEY_KEY_A,
Char = 65 L'A', m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1132808 "KEY_KEY_A"}}}, {
Key = irr::KEY_KEY_D, Char = 68 L'D', m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x11d2a28 "KEY_KEY_D"}}}, {Key = irr::KEY_SPACE, Char = 0 L'\000', m_name = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x11d6838 "KEY_SPACE"}}}, {Key = irr::KEY_KEY_E, Char = 69 L'E', m_name = {
static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x11d7ba8 "KEY_KEY_E"}}}, {Key = irr::KEY_LSHIFT,
Char = 0 L'\000', m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x11dd948 "KEY_LSHIFT"}}}, {
Key = irr::KEY_KEY_CODES_COUNT, Char = 0 L'\000', m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x7ffff57373d8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}}, {Key = irr::KEY_KEY_Q, Char = 81 L'Q', m_name = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1287be8 "KEY_KEY_Q"}}}, {Key = irr::KEY_KEY_I, Char = 73 L'I', m_name = {
static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1268a18 "KEY_KEY_I"}}}, {Key = irr::KEY_KEY_T, Char = 84 L'T',
m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1286458 "KEY_KEY_T"}}}, {Key = irr::KEY_KEY_B,
Char = 66 L'B', m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1284518 "KEY_KEY_B"}}}, {
Key = irr::KEY_F10, Char = 0 L'\000', m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x11da5c8 "KEY_F10"}}}, {Key = irr::KEY_F9, Char = 0 L'\000', m_name = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x11d8fd8 "KEY_F9"}}}, {Key = irr::KEY_KEY_F, Char = 70 L'F', m_name = {
static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x11dae78 "KEY_KEY_F"}}}, {Key = irr::KEY_KEY_G, Char = 71 L'G',
m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1287608 "KEY_KEY_G"}}}, {Key = irr::KEY_KEY_C,
Char = 67 L'C', m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x11de588 "KEY_KEY_C"}}}, {
Key = irr::KEY_F8, Char = 0 L'\000', m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x1286968 "KEY_F8"}}}, {Key = irr::KEY_F12, Char = 0 L'\000', m_name = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1287e38 "KEY_F12"}}}, {Key = irr::KEY_F1, Char = 0 L'\000', m_name = {
static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x11de218 "KEY_F1"}}}, {Key = irr::KEY_F2, Char = 0 L'\000',
m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x11ddef8 "KEY_F2"}}}, {Key = irr::KEY_F3,
Char = 0 L'\000', m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x127bfc8 "KEY_F3"}}}, {
Key = irr::KEY_KEY_CODES_COUNT, Char = 0 L'\000', m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x7ffff57373d8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}}, {Key = irr::KEY_F5, Char = 0 L'\000', m_name = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1133248 "KEY_F5"}}}, {Key = irr::KEY_F6, Char = 0 L'\000', m_name = {
static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x11dd328 "KEY_F6"}}}, {Key = irr::KEY_F7, Char = 0 L'\000',
m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x11d8988 "KEY_F7"}}}, {Key = irr::KEY_KEY_CODES_COUNT,
Char = 43 L'+', m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x116b638 "+"}}}, {
Key = irr::KEY_KEY_CODES_COUNT, Char = 45 L'-', m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x1166398 "-"}}}, {Key = irr::KEY_KEY_R, Char = 82 L'R', m_name = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x11cce78 "KEY_KEY_R"}}}, {Key = irr::KEY_END, Char = 0 L'\000', m_name = {
static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x11ddc08 "KEY_END"}}}, {Key = irr::KEY_HOME, Char = 0 L'\000',
---Type <return> to continue, or q <return> to quit---
m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x11ddad8 "KEY_HOME"}}}, {Key = irr::KEY_PRIOR,
Char = 0 L'\000', m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x11dddc8 "KEY_PRIOR"}}}, {
Key = irr::KEY_NEXT, Char = 0 L'\000', m_name = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x11cb1c8 "KEY_NEXT"}}}, {Key = irr::KEY_KEY_P, Char = 80 L'P', m_name = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x112fd98 "KEY_KEY_P"}}}}}, profiler_interval = {m_accumulator = 3,49699879},
m_cache_doubletap_jump = false, m_cache_enable_node_highlighting = false, m_cache_enable_clouds = true, m_cache_enable_particles = false, m_cache_enable_fog = true, m_cache_mouse_sensitivity = 0,200000003,
m_repeat_right_click_time = 0,200000003}
server_address = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x12682648 "localhost"}}
#7 0x00000000006ecf51 in ClientLauncher::run (this=0x7fffffffdd60, game_params=..., cmd_args=...) at minetest/src/client/clientlauncher.cpp:254
game_has_run = true
text = 0x1af98e90 L"\t"
video_driver = 0x10bd110
__PRETTY_FUNCTION__ = "bool ClientLauncher::run(GameParams&, const Settings&)"
retval = true
kill = 0xf6dd20 <porting::g_killed>
camera = 0x1128860
chat_backend = {m_console_buffer = {m_scrollback = 500, m_unformatted = {<std::_Vector_base<ChatLine, std::allocator<ChatLine> >> = {
_M_impl = {<std::allocator<ChatLine>> = {<__gnu_cxx::new_allocator<ChatLine>> = {<No data fields>}, <No data fields>}, _M_start = 0x1d48f170, _M_finish = 0x1d48f218, _M_end_of_storage = 0x1d48f230}}, <No data fields>},
m_cols = 0, m_rows = 0, m_scroll = 0, m_formatted = {<std::_Vector_base<ChatFormattedLine, std::allocator<ChatFormattedLine> >> = {
_M_impl = {<std::allocator<ChatFormattedLine>> = {<__gnu_cxx::new_allocator<ChatFormattedLine>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>},
m_empty_formatted_line = {fragments = {<std::_Vector_base<ChatFormattedFragment, std::allocator<ChatFormattedFragment> >> = {
_M_impl = {<std::allocator<ChatFormattedFragment>> = {<__gnu_cxx::new_allocator<ChatFormattedFragment>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0,
_M_end_of_storage = 0x0}}, <No data fields>}, first = true}}, m_recent_buffer = {m_scrollback = 6, m_unformatted = {<std::_Vector_base<ChatLine, std::allocator<ChatLine> >> = {
_M_impl = {<std::allocator<ChatLine>> = {<__gnu_cxx::new_allocator<ChatLine>> = {<No data fields>}, <No data fields>}, _M_start = 0x1c085570, _M_finish = 0x1c0855b8, _M_end_of_storage = 0x1c0855d0}}, <No data fields>},
m_cols = 0, m_rows = 0, m_scroll = 0, m_formatted = {<std::_Vector_base<ChatFormattedLine, std::allocator<ChatFormattedLine> >> = {
_M_impl = {<std::allocator<ChatFormattedLine>> = {<__gnu_cxx::new_allocator<ChatFormattedLine>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>},
m_empty_formatted_line = {fragments = {<std::_Vector_base<ChatFormattedFragment, std::allocator<ChatFormattedFragment> >> = {
_M_impl = {<std::allocator<ChatFormattedFragment>> = {<__gnu_cxx::new_allocator<ChatFormattedFragment>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0,
_M_end_of_storage = 0x0}}, <No data fields>}, first = true}}, m_prompt = {m_prompt = {static npos = 18446744073709551615,
_M_dataplus = {<std::allocator<wchar_t>> = {<__gnu_cxx::new_allocator<wchar_t>> = {<No data fields>}, <No data fields>}, _M_p = 0x11280b8 L"]"}}, m_line = {static npos = 18446744073709551615,
_M_dataplus = {<std::allocator<wchar_t>> = {<__gnu_cxx::new_allocator<wchar_t>> = {<No data fields>}, <No data fields>},
_M_p = 0x7ffff57373f8 <std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_S_empty_rep_storage+24> L""}},
m_history = {<std::_Vector_base<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >> = {
_M_impl = {<std::allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >> = {<__gnu_cxx::new_allocator<std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}, m_history_index = 0, m_history_limit = 500, m_cols = 0, m_view = 0, m_cursor = 0, m_nick_completion_start = 0,
m_nick_completion_end = 0}}
error_message = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x7ffff57373d8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}
reconnect_requested = false
first_loop = false
#8 0x00000000009a9a76 in main (argc=2, argv=0x7fffffffe058) at minetest/src/main.cpp:232
retval = 32767
cmd_args = {m_settings = {_M_t = {
_M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, SettingsEntry> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, SettingsEntry> > >> = {<No data fields>}, <No data fields>},
_M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0xf8cbf0, _M_left = 0xf8cbf0, _M_right = 0xf8cbf0}, _M_node_count = 1}}}, m_defaults = {_M_t = {
_M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, SettingsEntry> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, SettingsEntry> > >> = {<No data fields>}, <No data fields>},
_M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x7fffffffde88, _M_right = 0x7fffffffde88}, _M_node_count = 0}}}, m_callbacks = {_M_t = {
_M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<std::pair<void (*)(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, void*), void*>, std::allocator<std::pair<void (*)(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, void*), void*> > > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<std::pair<void (*)(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, void*), void*>, std::allocator<std::pair<void (*)(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, void*), void*> > > > > >> = {<No data fields>}, <No data fields>},
_M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data---Type <return> to continue, or q <return> to quit---
fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x7fffffffdeb8, _M_right = 0x7fffffffdeb8}, _M_node_count = 0}}}, m_callbackMutex = {mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0,
__kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0}}, m_mutex = {mutex = {__data = {__lock = 0, __count = 0, __owner = 0, __nusers = 0,
__kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0}}}
cmd_args_ok = true
__debug_stacker = {m_stack = 0xf8d710, m_overflowed = false}
__PRETTY_FUNCTION__ = "int main(int, char**)"
game_params = {socket_port = 30000, world_path = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0xfe9b78 "minetest/bin/../worlds/world"}}, game_spec = {id = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff57373d8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}, path = {
static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff57373d8 <std::string::_Rep::_S_empty_rep_storage+24> ""}},
gamemods_path = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x7ffff57373d8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}, addon_mods_paths = {_M_t = {
_M_impl = {<std::allocator<std::_Rb_tree_node<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {<No data fields>}, <No data fields>},
_M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x7fffffffdd20, _M_right = 0x7fffffffdd20}, _M_node_count = 0}}}, name = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff57373d8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}, menuicon_path = {
static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff57373d8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}},
is_dedicated_server = false}
launcher = {list_video_modes = false, skip_main_menu = false, use_freetype = true, random_input = false, address = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x12682648 "localhost"}}, playername = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xf9e4e8 "playername"}}, password = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff57373d8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}, device = 0xfe9ce0,
input = 0x1116160, receiver = 0xfe9c90, skin = 0x1117ee0, font = 0x0, smgr = 0x1112ce0, gamespec = {id = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff57373d8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}, path = {
static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff57373d8 <std::string::_Rep::_S_empty_rep_storage+24> ""}},
gamemods_path = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x7ffff57373d8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}, addon_mods_paths = {_M_t = {
_M_impl = {<std::allocator<std::_Rb_tree_node<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {<No data fields>}, <No data fields>},
_M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x7fffffffddd0, _M_right = 0x7fffffffddd0}, _M_node_count = 0}}}, name = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff57373d8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}, menuicon_path = {
static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff57373d8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}},
worldspec = {path = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0xfe9b78 "minetest/bin/../worlds/world"}}, name = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1126d78 "[--world parameter] [new]"}}, gameid = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xf98768 "minetest"}}}, simple_singleplayer_mode = false, current_playername = {
static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xf9e4e8 "playername"}}, current_password = {
static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff57373d8 <std::string::_Rep::_S_empty_rep_storage+24> ""}},
current_address = {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x12682648 "localhost"}}, current_port = 30000}on_rightclick = function(pos, node, clicker)default.player_set_animation(clicker, "lay" , 0)Users browsing this forum: No registered users and 10 guests