Time |
Nick |
Message |
00:10 |
|
Calinou joined #minetest-dev |
00:41 |
|
Taoki joined #minetest-dev |
00:58 |
|
tyler-2 left #minetest-dev |
00:59 |
|
tyler-2 joined #minetest-dev |
01:01 |
|
Ritchie joined #minetest-dev |
01:07 |
|
Awkor[m] joined #minetest-dev |
01:22 |
|
texmex joined #minetest-dev |
01:22 |
|
kb1000 joined #minetest-dev |
01:22 |
|
Qiangong2[m] joined #minetest-dev |
02:06 |
|
fluxflux joined #minetest-dev |
05:58 |
|
sofar joined #minetest-dev |
06:01 |
|
YuGiOhJCJ joined #minetest-dev |
07:52 |
|
calcul0n joined #minetest-dev |
08:00 |
|
ShadowNinja joined #minetest-dev |
08:15 |
|
Darcidride joined #minetest-dev |
08:34 |
|
Darcidride joined #minetest-dev |
09:00 |
|
Awkor[m] left #minetest-dev |
09:24 |
|
Fixer joined #minetest-dev |
09:52 |
|
bebebeko joined #minetest-dev |
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 |
09:59 |
|
proller joined #minetest-dev |
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 |
|
tyler-2 left #minetest-dev |
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) |
11:22 |
|
troller joined #minetest-dev |
11:28 |
|
troller joined #minetest-dev |
11:42 |
|
tyler-2 joined #minetest-dev |
14:24 |
|
Taoki joined #minetest-dev |
14:32 |
|
appguru joined #minetest-dev |
14:53 |
|
unclouded_ joined #minetest-dev |
16:13 |
|
Foz joined #minetest-dev |
17:14 |
|
fluxflux joined #minetest-dev |
17:48 |
|
fruitsnack joined #minetest-dev |
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 |
18:54 |
|
Lone_Wolf joined #minetest-dev |
19:00 |
|
Andrey01 joined #minetest-dev |
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:07 |
|
proller joined #minetest-dev |
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:27 |
|
Wuzzy joined #minetest-dev |
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 |
:(( |
20:06 |
|
Fixer_ joined #minetest-dev |
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 |
21:30 |
|
alexsqnet joined #minetest-dev |
22:00 |
|
Fixer joined #minetest-dev |
22:09 |
|
tyler-2 left #minetest-dev |
22:53 |
|
absurb joined #minetest-dev |
23:21 |
|
tyler-2 joined #minetest-dev |
23:34 |
|
tyler-2 left #minetest-dev |
23:38 |
|
tyler-2 joined #minetest-dev |
23:44 |
|
tyler-2 left #minetest-dev |
23:44 |
|
tyler-2 joined #minetest-dev |