Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/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 2025-01-25 00:00 and 2025-01-26 00:00
Avatar
pro gaming
01:11
👀
Avatar
Against ddnet cheaters🫡 (edited)
😂 4
Avatar
@Learath2 we don't put sqlite3 for mac in ddnet-libs and it seems like it doesn't want to use the version I install to linux so I have no idea how deen is able to cross compile from linux to macos
04:05
this is the only thing it's missing, it finds everything else
Avatar
Avatar
Deleted User
okay, for some reason sqlite only provides an autotools configure script You might be able to cross-compile sqlite3 like this: CC=target-triple-idk-clang ./configure --prefix=<wherever darwin-x86_64.toolchain specifies> --host=x86_64-pc-linux-gnu make install though autotools is so bad and flaky this may well not work
this guy has the same issue 1 year ago
04:06
the resolution was "cross compilation doesn't work"
04:06
but yesterday we decided native compilation doesn't work
04:06
so I'm confused
04:09
it used to exist, why did we get rid of it
04:11
curl 7.79.0 -> 7.81.0 freetype 2.11.0 -> 2.11.1 sqlite 3.36.0 -> 3.37.2 ffmpeg 4.4 -> 5.0 websockets 4.2 -> 4.3
Avatar
does deen not cross compile?
Avatar
ok I fixed that by installing sqlite3 with macports and specifing the library location, new issue (edited)
05:07
rust...
05:10
Rust compilation on Ubuntu 22.04.2 LTS with target x86_64-apple-darwin fails with a build error: cc: error: unrecognized command-line option '-arch' cargo generated a cc command that can...
05:10
why...
05:10
people say to use the zig compiler
05:17
btw it doesn't mention this anywhere but I think you must use a specific macos target version or the mac libraries don't work (edited)
05:21
actually maybe that was a different issue
Avatar
[ 24%] Building C object CMakeFiles/zlib.dir/src/engine/external/zlib/inftrees.c.o [ 24%] Building C object CMakeFiles/zlib.dir/src/engine/external/zlib/trees.c.o [ 24%] Building C object CMakeFiles/zlib.dir/src/engine/external/zlib/uncompr.c.o [ 25%] Building C object CMakeFiles/zlib.dir/src/engine/external/zlib/zutil.c.o [ 25%] Built target zlib [ 25%] Building CXX object CMakeFiles/stun.dir/src/tools/stun.cpp.o [ 27%] Linking CXX executable stun Undefined symbols for architecture x86_64: "___isPlatformVersionAtLeast", referenced from: _do_connect in libcurl.a(libcurl_la-cf-socket.o) _sectransp_connect_common in libcurl.a(libcurl_la-sectransp.o) ld: symbol(s) not found for architecture x86_64 clang++: error: linker command failed with exit code 1 (use -v to see invocation) D:
05:49
I'm giving up for today
05:55
it would be nice to know which osxcross version I'm supposed to use (edited)
Avatar
Avatar
Tater
does deen not cross compile?
Deen does have a Mac, so I expect he just compiled on that
Avatar
Avatar
Learath2
Also I think our official mac build is still crossbuilt from linux, it might be an issue there too
I was told this
Avatar
chillerdragon BOT 2025-01-25 09:15
What is the poll in #announcements about?
Avatar
Why not just ask deen? @deen do we still cross compile for mac or do you do a native release nowadays?
Avatar
Avatar
Hecta
hi kollpotato
Koll Potato 2025-01-25 09:32
Avatar
Avatar
chillerdragon
What is the poll in #announcements about?
#ppl spectating you (and names) or not
Avatar
ChillerDragon BOT 2025-01-25 09:49
yo @Davide connecting a dummy on ger3 is a bit wonkey sometimes he just doesnt want to connect
Avatar
Avatar
chillerdragon
What is the poll in #announcements about?
a feature allowing you to see when someone spectates you
09:49
the poll is about: not adding it adding it adding it with the addition to see the names
Avatar
ChillerDragon BOT 2025-01-25 09:50
nice thanks
09:50
ddnet slowly catching up with decade old 0.7 technology
Avatar
Avatar
ChillerDragon
yo @Davide connecting a dummy on ger3 is a bit wonkey sometimes he just doesnt want to connect
If a redirect packet is received in the dummy session (with the dummy session TOKEN), it will redirect both sessions without taking the TOKEN into consideration Summary of the packets: Redirect pac...
10:05
At least you don't get disconnected anymore
10:05
You just need to retry a second time to connect the dummy
Avatar
Jupstar ✪ 2025-01-25 10:30
Are you a "sha" guy or a "S H A" guy?
Avatar
GitHub BOT 2025-01-25 10:32
Tees can stand inside kill tiles without being killed or frozen if they are in a team with another player and have finished already. In this case, the freezebar is not shown, because it is assumed that being inside a kill tile always kills or gives freeze again.
Avatar
Avatar
ChillerDragon
yo @Davide connecting a dummy on ger3 is a bit wonkey sometimes he just doesnt want to connect
Same, cannot connect dummy on server tho
Avatar
a drawback to not needing to verify yourself on ger10 anymore. the same reason you now have a small delay when joining, i guess it just drops the attempt to connect the dummy
10:59
i guess this could be fixed on our side rather than davides tho
Avatar
trying to test my fix for https://discord.com/channels/252358080522747904/757720336274948198/1332659743507873822 and also learn some mapping basics, how can i place kill tile in editor 😵💫
11:27
or other tiles as well if not opening an existing map
Avatar
Avatar
Pioooooo
or other tiles as well if not opening an existing map
on the left side, the Game group and layer are selected by default just press space, the tile selector will pop up
11:29
from there just leftclick whatever you want, and you will have it on your brush (cursor)
11:29
this is better fit for #mapping tho ^^
Avatar
ok space thank you
11:31
also just crashed my ddnet client somehow
justatest 1
Avatar
Avatar
Pioooooo
also just crashed my ddnet client somehow
if you're on windows, look under %appdata%/ddnet/logs and send the latest log crash dump to #bugs and state what you did please
Avatar
Koll Potato 2025-01-25 11:34
dont forget to send your credit card info
11:34
mods and devs need to get paid somehow
justatest 1
Avatar
should be something already said there
11:37
some tele group stuff i have no idea what i was doing (edited)
Avatar
Avatar
Pioooooo
some tele group stuff i have no idea what i was doing (edited)
ah jupsti mentioned that
11:37
yeah unlucky then, dont do it again kekw
Avatar
GitHub BOT 2025-01-25 11:40
Reported by texnonik:
new beta client have no teams , you are like in team 0 but you are in team
c2f891b173450dc8d2e3b1a3c8f33e6e6cbdc2c0
Avatar
proudly my first map
KEKW 1
Avatar
Avatar
Pioooooo
proudly my first map
you may want to get this out of #developer still ^^ - waiting to see you in #mapping
Avatar
Avatar
GitHub
Click to see attachment 🖼️
oh i was also wondering if there is something wrong on my side
Avatar
or #bugs if that's more fitting
Avatar
this is test map so..
Avatar
GitHub BOT 2025-01-25 12:13
Naming yourself ` will cause the name to be redacted to XXX in console output for authenticated users with show_ips 0 in all messages where this name appears first before other IP addresses. Only the first IP address is redacted, so the name is printed correctly in status output because the IP address comes first, but messages like '' has left the game will incorrectly be changed to 'XXX' has left the game`.
Avatar
Looks like I successfully broke Discord's rich text parsing santatrollet
kek 1
Avatar
GitHub BOT 2025-01-25 12:24
Reported by @Pioooooo:
create a tile layer, add an image to it and select game tiles - blue check-tele, but cannot reproduce the crash now
``` 0x00000001401868c5: gnu_cxx::atomic_add(int volatile, int) at /usr/x86_64-w64-mingw32/include/c++/13.1.0/ext/atomicity.h:71 (inlined by) gnu_cxx::atomic_add_dispatch(int, int) at /usr/x86_64-w64-mingw32/include/c++/13.1.0/ext/atomicity.h:111 (inlined by) std::_Sp_counted_base::_M_add_ref_copy() at /usr/x86_64-w64-mingw32/include/...
Avatar
Avatar
Pioooooo
some tele group stuff i have no idea what i was doing (edited)
Jupstar ✪ 2025-01-25 12:26
did you really find the same bug as me in almost the same time 😂
12:26
i was doing some auto mapper stuff and found it, and you did it by luck lmao
Avatar
Avatar
GitHub
Click to see attachment 🖼️
cyberfighter 2 2025-01-25 12:45
lmao
Avatar
Avatar
Jupstar ✪
i was doing some auto mapper stuff and found it, and you did it by luck lmao
by unluck (●'◡'●)
Avatar
ws-client BOT 2025-01-25 12:58
<ChillerDragon> what is nicer for a list of urls? A config with comma separation like sv_urls https://foo.com,https://bar.de or a command like add_url https://foo.com add_url https://bar.de
12:58
<ChillerDragon> not for ddnet btw
Avatar
command-based imo
12:59
just feels more flexible
Avatar
ws-client BOT 2025-01-25 12:59
<ChillerDragon> i think so too
12:59
<ChillerDragon> makes the config file look nicer because of multiple lines vs long lines
Avatar
exactly
Avatar
ws-client BOT 2025-01-25 13:00
<ChillerDragon> but then it also needs stuff like remove_url or clear_urls
Avatar
also makes adding/removing em easier, depending on the size
Avatar
ws-client BOT 2025-01-25 13:00
<ChillerDragon> which the user has to figure out
13:00
i mean having add_url del_url/rem_url is sane either way
Avatar
ws-client BOT 2025-01-25 13:00
<ChillerDragon> but the comma also has to be figured out so ...
13:00
<ChillerDragon> del or rem :D
Avatar
maybe you can have both? `have add_url "https://foo.com; https://bar.de" work, but adding it as 2 seperate entries
Avatar
ws-client BOT 2025-01-25 13:01
<ChillerDragon> wowowo
13:01
<ChillerDragon> but then it doesnt have the edit/remove capability
Avatar
remove by index
13:01
add list_url(s) aswell kekw
Avatar
ws-client BOT 2025-01-25 13:01
<ChillerDragon> oof poor user
13:03
<ChillerDragon> sv_register uses the comma array for example
Avatar
but it only has two options
Avatar
ws-client BOT 2025-01-25 13:03
<ChillerDragon> so does sv_register_extra
Avatar
i can imagine it get really messy really quickly
Avatar
ws-client BOT 2025-01-25 13:03
<ChillerDragon> MACRO_CONFIG_STR(SvRegisterExtra, sv_register_extra, 256, "", CFGFLAG_SERVER, "Extra headers to send to the register endpoint, comma separated 'Header: Value' pairs")
Avatar
depending on how many url's are needed for whatever you're thinking about
Avatar
ws-client BOT 2025-01-25 13:04
<ChillerDragon> i am working on multiple http end points stats are sent to on a round end
13:04
<ChillerDragon> but i am wondering in general
13:04
<ChillerDragon> i had the same question while thinking about redirect tiles
13:05
<ChillerDragon> the command seems a bit supirior but it only shines if we actively start using it with a unified interface
13:06
<ChillerDragon> i think i am going for the comma variant for now just because it is easier for the user to figure out especially if only one url is needed which is the most common case
13:07
<ChillerDragon> but one day we should develop some array config standard for ddnet that works well with multiple values
13:08
<ChillerDragon> maybe config files just need a way to support newlines with a backslash then you can have config variable values spanning multiple lines
13:08
<ChillerDragon> but what if the values can contain commas?
Avatar
Avatar
ws-client
<ChillerDragon> but what if the values can contain commas?
what kind of values should contain commas? floats are dots, and no other variable is in need of comma seperation
13:09
right?...
13:10
i guess custom servers could have that, e.g hook_rgb 100,100,100 or smth
Avatar
GitHub BOT 2025-01-25 13:10

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [x] Considered possible null pointers and out of bounds array indexing
  • [x] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssan...
Avatar
ws-client BOT 2025-01-25 13:11
<ChillerDragon> list of strings that will be displayed somewhere as text can contain commas
13:11
<ChillerDragon> such as censorwords, playernames, welcome messages, announcements
Avatar
ah yeah, makes sense, didnt think of strings there
Avatar
ws-client BOT 2025-01-25 13:12
<ChillerDragon> also omg heinrich once used comma-separated and in the line below comma separated
justatest 1
Avatar
ws-client BOT 2025-01-25 13:14
<ChillerDragon> rage issue
Avatar
most normal chillerdragon issue
13:15
it seems odd that we are translating this, but i kept jupster&#39;s style AntiPing -&gt; Anti-Ping for now. Checklist Tested the change ingame Provided screenshots if it is a visual chan...
Avatar
ws-client BOT 2025-01-25 13:15
<ChillerDragon> consistency is important for grepping
Avatar
Avatar
ws-client
<ChillerDragon> consistency is important for grepping
IKR
Avatar
ws-client BOT 2025-01-25 13:15
<ChillerDragon> especially if this is the only type hint we get for the custom array config
13:16
<ChillerDragon> i would open a pr and fix it my self but i cba to force push 6 times after every reviewer proposed a new way of spelling it
KEKW 1
13:16
<ChillerDragon> basically /cancleswap mentioned
Avatar
damn calling me out like that
13:18
<ChillerDragon> this guy got trolled good
Avatar
why on gods earth is the most nerdy boy in #developer using github light mode btw
13:18
angy
Avatar
ws-client BOT 2025-01-25 13:18
<ChillerDragon> i also used discord light mode
Avatar
ws-client BOT 2025-01-25 13:18
<ChillerDragon> was used to it from skype times
13:18
<ChillerDragon> i like going with defaults
13:19
<ChillerDragon> gitlab i use darkmode
13:19
<ChillerDragon> and my selfrolled discord is darkmode only xd
Avatar
ws-client BOT 2025-01-25 13:20
<ChillerDragon> my dev setup leaked:
Avatar
may allah guide you my dear friend because god just stopped.
Avatar
can someone explain how game logic work in ddnet
13:31
mainly the prediction thing
13:31
like how does ddnet handle the "relativity" issue between client & server
Avatar
Avolicious 2025-01-25 13:47
Chiller uses also some weird linux distros, maybe there is no darkmode available @meloƞ
Avatar
MilkeeyCat 2025-01-25 13:51
Today I had a weird bug, when I was typing ~4 characters in chat, the message was clearing
Avatar
GitHub BOT 2025-01-25 14:12

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssan...
Avatar
would it be possible to add the hashed timeout code to the server json list for the purpose of clients identifying eachother (using auxillery server)
Avatar
Avatar
Solly
would it be possible to add the hashed timeout code to the server json list for the purpose of clients identifying eachother (using auxillery server)
Sharing the timeout code in any way shape or form Is a bad idea
Avatar
Avatar
meloƞ
Sharing the timeout code in any way shape or form Is a bad idea
you would have to try very hard to unhash a timeout code
14:55
thers also multiple timeout codes (millions) which create the same hash (depending on the size of the hash)
14:56
and you have to guess the right one before getting ratelimited (idk if there is, i guess chat/command rate limit)
14:56
and also the person has to have timed out
14:56
and what risk is there
14:56
someone is now playing under your name
14:57
unless theres also an account system
14:57
but the risk is .. minute anyway
14:59
adding any other way for clients to identify eachother (or to share arbritrary data, but that wont fly) would also work
14:59
could be in the same way timeout codes work.. but not used for timeout recon (edited)
Avatar
Avatar
Solly
adding any other way for clients to identify eachother (or to share arbritrary data, but that wont fly) would also work
Avolicious 2025-01-25 15:00
identification never will be added to the client to preserve privacy
Avatar
Avatar
Avolicious
identification never will be added to the client to preserve privacy
the code would be unique per connection
15:01
accounts allow clients to identify eachother (if clients can see if other clients are verified, probably via some 0 info thing to prevent servers from faking it) but is more persistent (account id or whatever)
Avatar
some chn dude compiled master and crashed
Avatar
out of memory?
Avatar
possible
15:03
asked, no modding, just straight up master
15:03
i'll ask more about his system
15:04
llvmpipe should've noticed that
15:05
ok raspi
15:05
kekw i should've asked first
15:05
InsaneCat
15:11
nouis letting him try gl1 on raspi zero2w
15:11
seems to run now
15:18
Avatar
Koll Potato 2025-01-25 17:47
justatest
Avatar
ws-client BOT 2025-01-25 18:05
<ChillerDragon> did i break my client?
18:05
<ChillerDragon> i can no longer see teams in scoreboard
18:07
<ChillerDragon> also in regular ddnet i do not see teams anymore is that some new setting?
Avatar
Koll Potato 2025-01-25 18:11
its a bug xD
18:11
Reported by texnonik: new beta client have no teams , you are like in team 0 but you are in team c2f891b
Avatar
GitHub BOT 2025-01-25 18:19
This reverts commit 2aa7442595ec3f1f843057885cc6327af2a7f571. Closed #9579 Opened #8205

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the c...
Avatar
Koll Potato 2025-01-25 18:32
epic
Avatar
Where you gone ChillerDragon
Avatar
Avatar
GitHub
Click to see attachment 🖼️
MilkeeyCat 2025-01-25 19:21
it broke because updated packet scheme updated CNetObjHandler::SecureUnpackMsg function feelsbadman
Avatar
is /top up to date or does it take some time when theres new wr
Avatar
ws-client BOT 2025-01-25 19:56
<ChillerDragon> @Davide i went to cup of the day as i was saying xd it started at 20:00 sharp
19:57
<ChillerDragon> i was just wondering how ddos protection works. Does it require extra hardware and networks? Or can i achieve the same thing with ip tables on my vps?
Avatar
Avatar
ws-client
<ChillerDragon> i was just wondering how ddos protection works. Does it require extra hardware and networks? Or can i achieve the same thing with ip tables on my vps?
It requires extra hardware and a lot of network capacity 😄 (edited)
Avatar
Avatar
ws-client
<ChillerDragon> i was just wondering how ddos protection works. Does it require extra hardware and networks? Or can i achieve the same thing with ip tables on my vps?
@ChillerDragon for spamming an endpoint with countless packets the closer to the source you get rid of the packets the better because often you have more bandwidth and cpu to deal with it cloudflare has terrabits of bandwidth to soak up ddos attacks your router has gigabits (if youre lucky) and limited cpu time your computer/server has a slice of that (if youre lucky) and limited cpu time the software will probably crash or grind to a halt services like cloudflare will be more prepared to deal with attacks = less downtime & no crashing than you iptable blocking suspicious ips it will also be prepared to deal with more than just spamming, like slow loris attacks (edited)
20:18
"the closer to the source" or rather the further away from your software, minimizing the attack surface and reducing wasted bandwidth and cpu time
Avatar
i think chiller wanted davide to answer that big xd
Avatar
I'm already talking with him privately, no worries guys! 😄
❤️ 1
Avatar
Avatar
zhn
i think chiller wanted davide to answer that big xd
wait
22:00
youre zhn???
22:00
no way
Avatar
GitHub BOT 2025-01-25 22:39
1451685 Revert "Add data to Sv_TeamsState" - ChillerDragon 216c171 Merge pull request #9585 from ChillerDragon/pr_fixteams - heinrich5991
Avatar
GitHub BOT 2025-01-25 22:47
31b5f61 Apply correct vanilla hammer fire delay. - Jupeyy 74a6aab Merge pull request #88 from Jupeyy/pr_fix_vanilla_hammer_delay - Jupeyy
Avatar
ws-client BOT 2025-01-25 23:00
<ChillerDragon> is anything still blocking here? https://github.com/ddnet/ddnet/pull/9263
Closes #9229 I tested a little with sv_kill_delay 0 and tune laser_fire_delay 0 but would appreciate if someone more experienced can confirm it won&#39;t break anything Checklist Tested the c...
Avatar
Avatar
Solly
youre zhn???
ye
Exported 200 message(s)
Timezone: UTC+0