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-03-29 00:00:00Z and 2020-03-30 00:00:00Z
Avatar
lf js help
Avatar
Can anyone help? /home/runner/work/F-DDrace/F-DDrace/src/engine/shared/network_conn.cpp:244:86: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] if (m_SecurityToken != *(SECURITY_TOKEN*)&pPacket->m_aChunkData[pPacket->m_DataSize]) ^ /home/runner/work/F-DDrace/F-DDrace/src/engine/shared/network_conn.cpp:247:140: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing] dbg_msg("security", "token mismatch, expected %d got %d", m_SecurityToken, *(SECURITY_TOKEN*)&pPacket->m_aChunkData[pPacket->m_DataSize]); ^
Avatar
just disabled this warning now using add_c_compiler_flag_if_supported(OUR_FLAGS -fno-strict-aliasing)
Avatar
u have to memcpy it from the chunk data to a SECURITY_TOKEN
03:01
and then print it out
03:02
@fokkonaut dont disable the warning, this can cause crashing with compiler optimization
Avatar
im to stupid for that xd
03:03
well, i read about the memcpy, but couldnt figure it out
Avatar
SECURITY_TOKEN t; memcpy(&t, &pPacket->m_aChunkData[pPacket->m_DataSize], sizeof(t));
03:03
then print t
Avatar
by print you mean compare to m_SecurityToken?
Avatar
the second thing is printing, the first thing is comparing
03:04
do both that way
Avatar
uhm what
Avatar
if (m_SecurityToken != t)
Avatar
oki thank yu
08:14
@deen
08:15
08:15
did u revive the wiki?
08:16
[ddnet/ddnet-web] New branch created: pr-wiki-news
Avatar
Hm, weird. @Patiga can you take a look, Ryozuki is getting an error ^
Avatar
the wiki is private tho
08:16
and with https it says its insecure
Avatar
I guess Patiga has to enable the new domain, then it should work
Avatar
ChillerDragon 2020-03-29 09:24:19Z
meh Gitlab is ugly
09:26
Hm and isn’t Attribution-ShareAlike 4.0 a bit strict?
09:53
information should be public and open
09:53
knowledge*
09:54
wikipedia uses Creative Commons Attribution-ShareAlike 3.0 Unported License
09:54
btw
Avatar
ChillerDragon 2020-03-29 10:02:45Z
i wouldnt use wikipedia as the golden standard but i guess its a ok license
10:03
@Patiga thanks for working on that wiki!
Avatar
Rafael Fontenelle 2020-03-29 10:16:19Z
Wow! These wiki is amazing! Awesome graphics and info!
Avatar
wikipedia is a golden standard
10:47
😀
Avatar
thanks!
11:18
link should be up now
Avatar
ChillerDragon 2020-03-29 12:17:34Z
12:17
ouch
Avatar
@ChillerDragon that had to be nice comment ;D
Avatar
ChillerDragon 2020-03-29 13:04:00Z
i tried to help and pointed out a potential dupe^
13:04
now the poor guy who opend the issue has no clue what is going on
13:19
9627397 Add wiki news - def- ed00d01 Merge pull request #86 from ddnet/pr-wiki-news - def-
Avatar
[quakenet] Learath2 BOT 2020-03-29 15:05:47Z
if you ever want to debug a process that you don't have the source for frida is quite nice
Avatar
link?
15:27
Inject JavaScript to explore native apps on Windows, macOS, GNU/Linux, iOS, Android, and QNX
Avatar
[quakenet] Learath2 BOT 2020-03-29 15:56:05Z
Yep that
Avatar
ChillerDragon 2020-03-29 16:16:47Z
i debug using prints to console all over the place
16:16
will frida let me do that? πŸ˜„
Avatar
ChillerDragon 2020-03-29 17:23:27Z
does someone know any good talks licensed under a permissive license? πŸ™‚
Avatar
ChillerDragon 2020-03-29 17:43:09Z
i read covid19 i rq directly
Avatar
I personally hate it when ctrl+shift+d'ing. Maybe because i'm a "high" ping player, it's very distracting. !dbg_unpredicted_shadow
Avatar
Hey, my ddnet client is getting prediction errors which are logged aswell, when i am playing on my 0.7 server. Sometimes playing works flawless, sometimes a lot of prediction errors which leads to buggy tee movement. its this line, does anyone know how i could potentionally fix it? https://github.com/ddnet/ddnet/blob/master/src/game/client/gameclient.cpp#L1711-L1721
Avatar
I'm having a lot of trouble debugging this macOS fullscreen toggle thing, it is so weird
Avatar
hi, i want to report a bug in 0.7
Avatar
ChillerDragon 2020-03-29 22:27:29Z
@AssassinTee yes?
Avatar
the map "Impetous by Ravie" is broken in 0.7
22:28
*Solo Map
22:28
i chattered the world record
22:28
*shattered
Avatar
ChillerDragon 2020-03-29 23:42:27Z
@Ravie
Avatar
it's always broken
23:51
maybe even more in 0.7 idk
Avatar
wait what ranks in 0.7 transfer to top5?
Exported 77 message(s)