Time Nick Message 09:54 bebebeko hello guys, i have a strange question, is there a way to attach gdb (process debugger) to running minetestserver process (compiled with DEBUG options) and grab some information about minetest server (for exapmle, print count of nodes in minetest world)? 09:56 bebebeko may be you already have some useful gdb scripts for minetest? like gdb -p`pidof minetestserver` < print_node_count.gdb? :) 09:56 sfan5 yes to the first part 09:57 sfan5 but your example is not an infomation you could just "read" because it doesn't already exist, counting nodes makes much more sense for an external script that deals with the world database 10:16 bebebeko yep, i know i can acess to many things in mineteset through lua/or world files, but i want to get some information exactly through gdb 11:05 celeron55 whether the server knows anything useful that you would need to grab that way is an interesting question 11:06 celeron55 probably not much 11:15 bebebeko yep, sorry about this strange question, i do it for proof of concenpt, i want to connect through debugger to minetest process and grab some data 11:16 bebebeko smth like that https://tinyurl.com/y9kaatpw (example with jdb and java) 11:18 bebebeko i suppose that you may have gdb scripts which walking through memory of minetest process and print information when you debugging some troubles in minetest 11:18 bebebeko for exapmle minetest --server & gdb -p`pidof minetest process` < walk_through_c++_minetest_objects.gdb 11:20 bebebeko may be get somehow access to these metrics https://dev.minetest.net/Profiler_graph ... 11:22 bebebeko (on server-side of course) 18:48 Krock will push this fix in 15 mins: https://krock-works.uk.to/u/patches/0001-decode_base64-Allow-padding-character.patch 18:48 Krock tested using https://pastebin.com/raw/jU8S6cN9 19:02 Andrey01 hi, can anybody help me please? I have some problem... 19:03 Krock pushing 19:03 Andrey01 I try to change size of 'AbsoluteRect' in GUIButton::setFromStyle() each time when user is hovering any button 19:03 Andrey01 but it is not changed 19:03 Andrey01 visually 19:05 Krock 'AbsoluteRect' is only used for width/height 19:06 Krock call to "updateAbsolutePosition()". maybe that helps 19:06 Andrey01 ok, I will try now 19:10 Andrey01 no, it doesn`t help 19:17 Andrey01 hmm, as I see in the debugging it seems updateAbsolutePosition() gets back previous size, that is the actual size of hovered button is just not changed... 19:18 Andrey01 I guess only 19:21 Andrey01 here is the code snippet of how I do it: https://pastebin.com/0U04BFYj 19:30 Andrey01 Krock: maybe do I need to change some other external parts of the code besides that method? 19:30 Andrey01 or maybe other files 19:34 Krock sorry, I don't know 19:36 Andrey01 :(( 21:05 sfan5 merging #9909, #9828, #10229 in 10 minutes 21:05 ShadowBot https://github.com/minetest/minetest/issues/9909 -- Add PUT and DELETE request + add specific method value by Lejo1 21:05 ShadowBot https://github.com/minetest/minetest/issues/9828 -- Revert "Replace non-ASCII characters in gameui debug display code" by appgurueu 21:05 ShadowBot https://github.com/minetest/minetest/issues/10229 -- Allow starting local server using --go again by SmallJoker