Post your modding questions here

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: Post your modding questions here

by paramat » Mon Dec 14, 2015 20:00

Core mapgen only replaces air or ignore, 'on generate' functions will replace everything unless you code in a node check.
 

User avatar
mahmutelmas06
Member
 
Posts: 355
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: Post your modding questions here

by mahmutelmas06 » Tue Dec 15, 2015 20:43

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")
My Mods:

Beverage
 

User avatar
iangp
Member
 
Posts: 114
Joined: Sat May 31, 2014 19:26
GitHub: 14NGiestas
IRC: iangp
In-game: iangp

Re: Post your modding questions here

by iangp » Tue Dec 15, 2015 20:49

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")


1 - make a table with items you want
2 - sort
3 - spawn
E.g.:
RndList = {"beverage:applejuice","beverage:grapejuice","beverage:somethingjuice"}
RndChoice = RndList[math.random( #RndList )]
minetest.spawn_item(pos_drop, RndChoice)
http://stackoverflow.com/questions/2988 ... from-table
God's not dead, He's surely alive!
エル プサイ コングルー

My mods (WIP):
 

User avatar
mahmutelmas06
Member
 
Posts: 355
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: Post your modding questions here

by mahmutelmas06 » Tue Dec 15, 2015 21:20

Thank you so so so much.
My Mods:

Beverage
 

User avatar
BrunoMine
Member
 
Posts: 902
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine

Re: Post your modding questions here

by BrunoMine » Thu Dec 17, 2015 12:02

how to insert a function "on_put or on_take" to an inventory? (ex.: main, craft, armor)
 

User avatar
Nathan.S
Member
 
Posts: 679
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: Post your modding questions here

by Nathan.S » Thu Dec 17, 2015 13:40

http://dev.minetest.net/minetest.regist ... ntory_move
The wiki explains it here, I believe the chests in default use this, they just print some debug info, but you could have anything run.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website.
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: Post your modding questions here

by Hybrid Dog » Thu Dec 17, 2015 15:05

BrunoMine wrote:how to insert a function "on_put or on_take" to an inventory? (ex.: main, craft, armor)

see also
https://github.com/Megaf/more_chests/co ... 204f6e523d
https://github.com/Megaf/more_chests/co ... f11a34da1b
 

User avatar
BrunoMine
Member
 
Posts: 902
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine

Re: Post your modding questions here

by BrunoMine » Thu Dec 17, 2015 17:40

This does not work for an inventory that has been created (ex .: main).
 

User avatar
AMMOnym
Member
 
Posts: 682
Joined: Tue Sep 10, 2013 14:18
IRC: AMMOnym
In-game: AMMOnym

Re: Post your modding questions here

by AMMOnym » Thu Dec 17, 2015 20:52

How can I turn off(make it higher) maximal amount of nodes, which can be taken by pistons in Mesecons mod ?
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: Post your modding questions here

by Hybrid Dog » Fri Dec 18, 2015 14:16

BrunoMine wrote:This does not work for an inventory that has been created (ex .: main).

How about that?
http://dev.minetest.net/minetest.create ... _inventory
http://dev.minetest.net/minetest.get_inventory

There's a table containing the detached inventories:
http://dev.minetest.net/global_tables#m ... nventories

You could also override the minetest.create_detached_inventory function.



AMMOnym wrote:How can I turn off(make it higher) maximal amount of nodes, which can be taken by pistons in Mesecons mod ?

l assume you need to set mesecon.piston_max_push in minetest.conf.
https://github.com/Jeija/minetest-mod-m ... it.lua#L82
https://github.com/Jeija/minetest-mod-m ... ttings.lua

lf you want to make the sticky one pull more nodes, you could use sticky nodes.
 

User avatar
AMMOnym
Member
 
Posts: 682
Joined: Tue Sep 10, 2013 14:18
IRC: AMMOnym
In-game: AMMOnym

Re: Post your modding questions here

by AMMOnym » Fri Dec 18, 2015 22:24

thx
 

bobomb
Member
 
Posts: 101
Joined: Sat May 23, 2015 20:28
GitHub: bobombolo
IRC: bobomb

Re: Post your modding questions here

by bobomb » Sat Dec 19, 2015 14:11

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?
 

User avatar
stu
Member
 
Posts: 737
Joined: Sat Feb 02, 2013 02:51
GitHub: stujones11

Re: Post your modding questions here

by stu » Sun Dec 20, 2015 14:42

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?


Not sure if this is related but here is the answer I was given to a similar question https://forum.minetest.net/viewtopic.php?f=47&t=2434&p=180926#p180926
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: Post your modding questions here

by Hybrid Dog » Sun Dec 20, 2015 15:27

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?

just test if a node of the chunk is generated
http://dev.minetest.net/minetest.get_node
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

Re: Post your modding questions here

by amadin » Wed Dec 23, 2015 19:43

If i want to public mod which based on other mod (from minetest_game), what kind of license (credit) i must use?
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Post your modding questions here

by rubenwardy » Wed Dec 23, 2015 20:03

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
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

Re: Post your modding questions here

by amadin » Wed Dec 23, 2015 20:14

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
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Post your modding questions here

by rubenwardy » Wed Dec 23, 2015 20:33

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


Then you need to license as "LGPL 2.1 or later" or "GPL 2.1 or later". I recommend the former.
 

User avatar
LionsDen
Member
 
Posts: 525
Joined: Thu Jun 06, 2013 03:19

Re: Post your modding questions here

by LionsDen » Sun Dec 27, 2015 22:29

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


Check the forum topic for that mod. Information is sometimes only put in one of the posts there, usually the first post.
 

User avatar
GunshipPenguin
Member
 
Posts: 94
Joined: Tue Jan 28, 2014 00:38
GitHub: GunshipPenguin
IRC: GunshipPenguin
In-game: GunshipPenguin

Re: Post your modding questions here

by GunshipPenguin » Thu Dec 31, 2015 04:26

I'm currently working on a mod that makes use of detached inventories. I'm trying to have one detached inventory that multiple players can add and take items from through a formspec. Here is some code that demonstrates what I'm trying to do

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
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
})


The above code registers a chat command that shows all connected players a formspec which displays their inventory as well as the "testinv" detached inventory. The players can then take items from and add items to the "testinv" detached inventory.

When I run the above code on a local test server with two players connected, I can drag and drop items from the "testinv" inventory just fine, but when I try to shift click on them, I'm getting segmentation faults at seemingly random times. It seems to segfault the most when two players are connected, one player executes the /showforms command, and the other player then tries to move an item form his inventory into the "testinv" inventory by shift clicking.

Can anybody reproduce this and possibly tell me what is going on? I'm using minetest 0.4.13 stable with the 0.4.13 tag of minetest_game.
 

Byakuren
Member
 
Posts: 441
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri

Re: Post your modding questions here

by Byakuren » Thu Dec 31, 2015 05:38

How can I programatically activate TNT?

EDIT: I figured it out, though this relies on internals of the tnt mod. A lit tnt explodes on a timer event, so you can swap the unlit tnt for a lit tnt, play the lighting sound, and then set a node timer.
Every time a mod API is left undocumented, a koala dies.
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: Post your modding questions here

by Hybrid Dog » Thu Dec 31, 2015 10:12

GunshipPenguin, l can reproduce it, but l don't know why it happens sometimes but not every time.
$ gdb minetest shows following:
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
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 ()
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Post your modding questions here

by rubenwardy » Thu Dec 31, 2015 10:26

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.
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: Post your modding questions here

by Hybrid Dog » Thu Dec 31, 2015 12:51

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.

l used run --verbose:
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
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.


l'm not sure, maybe it only crashes if the player already has a formspec on his screen, e.g the esc menu, when the new one (those inventories) appears
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Post your modding questions here

by rubenwardy » Thu Dec 31, 2015 18:36

You still need to compile with debug enabled.

-DCMAKE_BUIlD_TYPE=Debug
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: Post your modding questions here

by Hybrid Dog » Fri Jan 01, 2016 09:42

done
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
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}


This time l noticed that it didn't crash when the player didn't open the ESC menu.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Post your modding questions here

by rubenwardy » Fri Jan 01, 2016 14:19

I see the problem, the client is uninitialised or null:

Client::getProtoVersion (this=0x0)

But the cause of this will require looking through the code.
 

Hybrid Dog
Member
 
Posts: 2460
Joined: Thu Nov 01, 2012 12:46

Re: Post your modding questions here

by Hybrid Dog » Sun Jan 03, 2016 18:55

Where did l download this picture?
Image

And why can't l upload pictures to minetest wiki and dev wiki?
Attachments
rVsZcTP.png
rVsZcTP.png (44.9 KiB) Viewed 3854 times
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

Re: Post your modding questions here

by amadin » Mon Jan 04, 2016 13:08

Done.
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

Re: Post your modding questions here

by amadin » Tue Jan 05, 2016 20:13

I try add player animation (sit) to sofas (https://github.com/thefamilygrog66/lrfu ... /sofas.lua) in
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
on_rightclick = function(pos, node, clicker)

but 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
default.player_set_animation(clicker, "lay" , 0)

don't work for me? player not changed animation. What i do wrong?
 

PreviousNext

Return to Modding Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron