Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2020-01-05 00:00:00Z and 2020-01-06 00:00:00Z
Avatar
@heinrich5991 outputting DOT seems to be the easiest way
Avatar
@Learath2 example pls
12:57
input and output
13:20
Depends on the renderer ofc
Avatar
$ ./a.out fish: './a.out' terminated by signal SIGSEGV (Address boundary error)
Avatar
huh, compiles and runs for me
Avatar
(gdb) bt #0 btree<int, std::allocator<int> >::Insert (this=0x7fffffffe390, Data=@0x7fffffffe388: 383) at a.cpp:59 #1 0x000055555555537a in main (argc=1, argv=0x7fffffffe488) at a.cpp:121
13:23
(gdb) print (*pRoot)->m_pData $3 = (int *) 0x1
Avatar
Oh cmon, I was sure I got allocators figured out
13:24
does pRoot point to valid memory?
Avatar
yes
Avatar
pRoot I mean
13:24
*pRoot...
Avatar
yes
13:25
otherwise the expression wouldn't have worked
13:26
it's the first insertion that fails
Avatar
oh, I think that new is wrong
Avatar
smells like uninitialized variables(?)
13:26
food
Avatar
can you try something real quick?
13:28
I updated the gist, I think that should work
Avatar
Is there a way to automatically join spectators after connecting to server? And I don't mean server or map settings, but something I could add to client settings
Avatar
@Soreu I don't think so
13:49
Wanted to make my life a lil bit easier on android xd
Avatar
Should be pretty easy to code though, if you are up for it 😛
Avatar
I don't understand a single line in TW code
13:53
Wanted to also update DDNet android version entities_clear.png to be able to watch with entities on, but new HT entity made it impossible :F
Avatar
It can be a little tough to get into the tw codebase
13:54
instead of placing new HT in the empty space next to kill tile, it replaced unhook, and the unhook was moved
13:55
and that single thing makes it impossible to watch with proper entities_clear on android version xd
Avatar
uh, why?
Avatar
you mean why it was placed that way, or why do I even bother trying to make it work? xd
Avatar
I don't see why just replacing entities_clear doesn't help
Avatar
because either everything is unhook, or new HT
14:00
14:00
Avatar
doesn't the second one look right?
Avatar
normally, whenever new entity is created, it was placed in blank place, but new HT moved existing already unhookable
14:00
1st is android with updated entities
14:00
2nd is current DDNet on pc
14:01
to compare how it looks and how it should
Avatar
I don't get how that ends up wrong. The client doesn't do anything to the indexes the map has
14:03
let me check the code
Avatar
something was certainly changed after introducing new HT
14:05
Avatar
I remember there was something weird with the unhook, it got moved yes
14:05
i dont know how and why tho
Avatar
ofc having android version compatible with SDL2+ would be far better
14:05
but i'm working on what exists
14:06
maybe for compatibility with vanilla?
Avatar
Android Support is gone anyway now, whole android code got removed
Avatar
I would love to get android working again
Avatar
\cries in spectator mode during work** (edited)
Avatar
I'm just too unmotivated though. Maybe next year
Avatar
said in january sounds sad xd
14:07
but I understand
Avatar
What was the setting that toggled entities_clear?
14:08
I just am not doing too well overall, and I doubt it's getting better within this year 😛
Avatar
cl_overlay_entities 100
14:08
hm
14:09
don't bother. I just understood that even after fixing it, that wouldn't work
14:09
on android
14:09
or, at least, I think...
14:10
does server send info about entities index, or client knows it already?
Avatar
@Learath2 still crashing
14:12
run your program through valgrind pls
Avatar
@heinrich5991 could you? valgrind doesn't work on macOS, some update broke my clang so I cant use the ASan either
Avatar
let's kill IRC
Avatar
And the only gcc I have access to is 4.9 so no c++17
Avatar
@heinrich5991 btree() : m_pRoot(nullptr) {}; inside the tree class should fix the use of uninitialized value
Avatar
I'd suggest node *m_pRoot = nullptr; instead
14:19
works now
Avatar
I guess my compiler was initializing it to 0x0
Avatar
nah, I guess your allocator happened to hand out stuff with zeros inside
14:24
@Learath2 how do I render this now?
14:24
spoonfeed pls
14:25
paste there
Avatar
nice
14:25
ty
Avatar
It's nice that dot doesn't care about the order of things so it's relatively easy to output
Avatar
for posteriority: piping into dot -T png or dot -T svg also works
14:28
I actually needed that at the last ctf
14:28
a good graph renderer
Avatar
f5b8bbc Simplify anti stuck code more - fokkonaut 77957c0 Merge #2028 - bors[bot]
Avatar
does antiping get deactivated when you use pause? when im freezed and i pause for a short moment and then go back and try to move then i t wobbles again until i can move again
Avatar
(cherry picked from commit cc2be456d4d95bb3196e8201a06ce19403dfc3c9)
Avatar
@Im 'corneum yes
Avatar
why
Avatar
No need
Avatar
i have a kp_2 bind and it doesnt work its just russian text
23:47
bind kp_2 say ....
23:47
kp_1 works
Exported 101 message(s)