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-07 00:00 and 2025-01-08 00:00
Avatar
Koll Potato 2025-01-07 05:37
guten morgen
Avatar
@deen have you tried reverting the spectator features in 18.9? should be these commits in reverse chrono order. fe3984846fbc8e0319c6a407c8f7d353ddda5d8e 9863c0f57e099dbcf2cba0e1f39b014975d9f367 abbd20b07cebd8c005b25a42fd55a6655e0fa66a 288a7a3a19e35bde0cd61c92549d5021d15211c9 ea9a0a3a9c7947644fd0bba950e08d174c321797 I tried on master they revert just fine without conflict it seems. but i imagine you need to do it in a 18.9 branch manually.
Avatar
Koll Potato 2025-01-07 07:46
gitignore prs ftw
Avatar
GitHub BOT 2025-01-07 08:30
6d5824e Add 55 € funding for USA2 by IsaacElenbaas - def-
Avatar
Avatar
eidderFsT
@deen have you tried reverting the spectator features in 18.9? should be these commits in reverse chrono order. fe3984846fbc8e0319c6a407c8f7d353ddda5d8e 9863c0f57e099dbcf2cba0e1f39b014975d9f367 abbd20b07cebd8c005b25a42fd55a6655e0fa66a 288a7a3a19e35bde0cd61c92549d5021d15211c9 ea9a0a3a9c7947644fd0bba950e08d174c321797 I tried on master they revert just fine without conflict it seems. but i imagine you need to do it in a 18.9 branch manually.
perfect, thanks
Avatar
GitHub BOT 2025-01-07 08:36
032cf5c Update Chinese translations for 18.9 - Pioooooo f0182eb properly clear autospeczooming state - TsFreddie cf04137 Revert "Scale angles using MousePos with zoom" - TsFreddie fec6cf7 Update brazilian_portuguese.txt - rffontenelle d21b834 remove spec zoom value and use user zoom always - TsFreddie 5fc9221 Update Polish translations for 18.9 - Shkyyl efce1c1 fix demo cursor - TsFreddie 356e243 update community info - TsFreddie fae2544 Update Ukrainian l10n (18.9) - EGYT5453 289e502 Update Swedish translations for 18.9 - furo321 20f590f Update spanish.txt for 18.9 - n0Ketchp 22dbf66 Support reconnecting dummy by redirecting to same port - Robyt3 732dbce Refactor CServer::RedirectClient - heinrich5991 87d990c Add a message to tell the client to reconnect to the current server - heinrich5991 45c794a Revert "fix demo cursor" - def- bc0db24 Revert "remove spec zoom value and use user zoom always" - def- 8ffaec5 Revert "properly clear autospeczooming state" - def- 368e4b6 Revert "fix auto spec cam unexpectedly being available for players without camera info" - def- d1da4f2 Revert "spectator cursor and auto spec camera" - def-
08:50
08:50
justatest
Avatar
Koll Potato 2025-01-07 08:50
can it run rust
Avatar
GitHub BOT 2025-01-07 08:52
ee3bce3 Refactor CServer::RedirectClient - heinrich5991 3abfe42 Add a message to tell the client to reconnect to the current server - heinrich5991 8cc74d4 Merge pull request #9484 from heinrich5991/pr_ddnet_reconnect - def-
Avatar
GitHub BOT 2025-01-07 09:26
Currently using 4.5 GB (30% of total 15 GB) on my build machine, somehow two gradle daemons stayed around. @Robyt3 opinions?

Checklist

  • [ ] 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 ex...
Avatar
how am i meant to get the number of players in team 0? CGameTeams::Count returns 64
Avatar
finally the gradle demon was giving me nightmares
Avatar
Avatar
louis
how am i meant to get the number of players in team 0? CGameTeams::Count returns 64
loop thru clients 1. check if connected 2. check if in team
Avatar
sounds annoying
Avatar
Avatar
louis
how am i meant to get the number of players in team 0? CGameTeams::Count returns 64
from client?
Avatar
server
Avatar
then yep seems bun bun solution is only one to get it right
10:09
i wonder in what context Count() is being used tho
10:09
with 64 in t0 xd
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
ah yes, making DLSS a necessity kek
10:33
they probably get the intern to develop the gaming gpus these days, they're all too busy making their 3000% margin $10,000,000 single server
Avatar
cyberfighter 2 2025-01-07 11:02
imagine he drops it
Avatar
Its definitely a dummy or those are chips that were defective off the wafer
Avatar
Jupstar ✪ 2025-01-07 11:32
Wtf xddd Average GPU to run electron
Avatar
GitHub BOT 2025-01-07 12:26
No one cares, useless to bump every year

Checklist

  • [ ] 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](http...
kek 7
Avatar
Avatar
GitHub
Click to see attachment 🖼️
deen moment, ngl he is right tho
Avatar
at least change it to 2013 -
Avatar
ws-client BOT 2025-01-07 13:02
<ChillerDragon> @Hecta oh yea including the start year sounds nice
13:02
<ChillerDragon> go send a pr to troll deen
Avatar
cant, have to go to work
Avatar
ws-client BOT 2025-01-07 13:03
<ChillerDragon> and next year we change it from 2013 - to since 2013 and then in 2027 we change it to 2013 - today
Avatar
GitHub BOT 2025-01-07 13:06
7aa0ff1 Remove year from copyright - def- b17d6ed Merge pull request #9487 from def-/pr-year-copyright - heinrich5991
13:14
c8c6331 Some comprehensibility in .gitignore and adding new stuff (#35) - ByFox213
13:21
[ddnet/ddnet-rs] New branch created: revert-35-main
13:21
bc1a215 Revert "Some comprehensibility in .gitignore and adding new stuff (#35)" - Jupeyy
13:22
Reverts ddnet/ddnet-rs#35 Sry @ByFox213 , but seems like adding comments in the same line is not valid syntax
13:22
d521179 Revert "Some comprehensibility in .gitignore and adding new stuff (#35)" (#36) - Jupeyy
13:27
2fc6bf5 Add minimal console chain for player actions (e.g. kill). (#34) - Jupeyy
Avatar
Jupstar ✪ 2025-01-07 13:41
I feel a bit uncomfortable spamming this channel
Avatar
ws-client BOT 2025-01-07 13:42
<ChillerDragon> dont worry jupstar github webhook is not bridged to irc nobody sees your spam
Avatar
atleast ur commits are not "ok" xd
13:45
or some random word
13:45
like i do justatest
Avatar
next jupstar commit: "fix"
Avatar
push directly and reduce 2/3 of the spam
Avatar
Avatar
Ryozuki
atleast ur commits are not "ok" xd
Jupstar ✪ 2025-01-07 13:52
believe me the git commit msgs of the last 2 years been "u". And I almost created prs with that here too xDD
13:52
muscle memory
13:52
Avatar
Jupstar ✪ 2025-01-07 13:55
no u
14:07
af5e2e4 Log errors during map change or reload in server. (#37) - Jupeyy
Avatar
Uniform Function Call Syntax (UFCS) or Uniform Call Syntax (UCS) or sometimes Universal Function Call Syntax is a programming language feature in D, Nim, Koka, and Effekt that allows any function to be called using the syntax for method calls (as in object-oriented programming), by using the receiver as the first parameter and the given argument...
Avatar
GitHub BOT 2025-01-07 14:36
Fix config var handling with modifiers. Improve parser error message
15:06
1647784 Improve logs of arg handling in server. (#38) - Jupeyy
Avatar
A small crate for handling resources that must be consumed at the end of their lifetime.
16:10
@Jupstar ✪ check this xd
Avatar
Jupstar ✪ 2025-01-07 16:13
I wish rust would support that instead of the current Drop trait 😄
16:13
ofc without a wrapper ^^
16:15
#[non_exhaustive] is also such a design flaw.. it forces me to ignore future cases
16:15
I cannot understand libraries use it
16:15
I'd prefer a compile time error xd
Avatar
@heinrich5991 hi, is there any issue with master4 ?
16:20
v3royal | [677d541a][register]: WARNING: Master server is not responding, switching master v3royal | [677d541a][engine/mastersrv]: refreshing master server addresses v3royal | [677d541a][register]: refreshing ip addresses v3royal | [677d541a][engine/mastersrv]: saving addresses v3royal | [677d541a][register]: fetching server counts v3royal | [677d541d][register]: chose 'master4.teeworlds.com' as master, sending heartbeats No changes on my side
Avatar
It has reduced traffic for 1 month now, let me check
Avatar
alright thank you
16:24
note that this is legacy registering, not https (forgot to mention)
Avatar
yes, that was clear from the message
16:25
working now?
16:25
I just restarted it, didn't check where the mastersrv got stuck
Avatar
no clue what is happening, from the tcpdump my server sends a query but no answer: 16:38:06.483390 IP (tos 0x10, ttl 63, id 2707, offset 0, flags [DF], proto UDP (17), length 42) 57.129.64.12.8303 > 49.12.97.180.8300: [bad udp cksum 0x0c75 -> 0xd9f7!] UDP, length 14 0x0000: 4510 002a 0a93 4000 3f11 24d3 3981 400c E..*..@.?.$.9.@. 0x0010: 310c 61b4 206f 206c 0016 0c75 ffff ffff 1.a..o.l...u.... 0x0020: ffff ffff ffff 636f 7532 ......cou2 16:38:07.483396 IP (tos 0x10, ttl 63, id 2904, offset 0, flags [DF], proto UDP (17), length 42) 57.129.64.12.8303 > 49.12.97.180.8300: [bad udp cksum 0x0c75 -> 0xd9f7!] UDP, length 14 0x0000: 4510 002a 0b58 4000 3f11 240e 3981 400c E..*.X@.?.$.9.@. 0x0010: 310c 61b4 206f 206c 0016 0c75 ffff ffff 1.a..o.l...u.... 0x0020: ffff ffff ffff 636f 7532 ......cou2 16:38:08.483403 IP (tos 0x10, ttl 63, id 2993, offset 0, flags [DF], proto UDP (17), length 42) 57.129.64.12.8303 > 49.12.97.180.8300: [bad udp cksum 0x0c75 -> 0xd9f7!] UDP, length 14 0x0000: 4510 002a 0bb1 4000 3f11 23b5 3981 400c E..*..@.?.#.9.@. 0x0010: 310c 61b4 206f 206c 0016 0c75 ffff ffff 1.a..o.l...u.... 0x0020: ffff ffff ffff 636f 7532 ......cou2 16:38:09.483377 IP (tos 0x10, ttl 63, id 3233, offset 0, flags [DF], proto UDP (17), length 44) 57.129.64.12.8303 > 49.12.97.180.8300: [bad udp cksum 0x0c77 -> 0xce8e!] UDP, length 16 0x0000: 4510 002c 0ca1 4000 3f11 22c3 3981 400c E..,..@.?.".9.@. 0x0010: 310c 61b4 206f 206c 0018 0c77 ffff ffff 1.a..o.l...w.... 0x0020: ffff ffff ffff 6265 6132 206f ......bea2.o 10sec after it retries
16:40
with an mtr I can reach to the end (tho I don't have an answer from the master server I guess as it doesn't know how to answer)
Avatar
GitHub BOT 2025-01-07 16:40
ffe6811 Another 24 € funding for GER1 bs Davide - def-
Avatar
damn, then we have to check closer. iptables was clean so my only other guess is that the hoster might be blocking traffic
Avatar
whats SpecChar
17:11
seem to always be 0
Avatar
i think on a server with spec enabled
17:12
its the circle char
17:12
but im probs wrong
17:12
back then i think i implemented the spec char justatest
Avatar
ah yea the outline
Avatar
Avatar
ReiTW
no clue what is happening, from the tcpdump my server sends a query but no answer: 16:38:06.483390 IP (tos 0x10, ttl 63, id 2707, offset 0, flags [DF], proto UDP (17), length 42) 57.129.64.12.8303 > 49.12.97.180.8300: [bad udp cksum 0x0c75 -> 0xd9f7!] UDP, length 14 0x0000: 4510 002a 0a93 4000 3f11 24d3 3981 400c E..*..@.?.$.9.@. 0x0010: 310c 61b4 206f 206c 0016 0c75 ffff ffff 1.a..o.l...u.... 0x0020: ffff ffff ffff 636f 7532 ......cou2 16:38:07.483396 IP (tos 0x10, ttl 63, id 2904, offset 0, flags [DF], proto UDP (17), length 42) 57.129.64.12.8303 > 49.12.97.180.8300: [bad udp cksum 0x0c75 -> 0xd9f7!] UDP, length 14 0x0000: 4510 002a 0b58 4000 3f11 240e 3981 400c E..*.X@.?.$.9.@. 0x0010: 310c 61b4 206f 206c 0016 0c75 ffff ffff 1.a..o.l...u.... 0x0020: ffff ffff ffff 636f 7532 ......cou2 16:38:08.483403 IP (tos 0x10, ttl 63, id 2993, offset 0, flags [DF], proto UDP (17), length 42) 57.129.64.12.8303 > 49.12.97.180.8300: [bad udp cksum 0x0c75 -> 0xd9f7!] UDP, length 14 0x0000: 4510 002a 0bb1 4000 3f11 23b5 3981 400c E..*..@.?.#.9.@. 0x0010: 310c 61b4 206f 206c 0016 0c75 ffff ffff 1.a..o.l...u.... 0x0020: ffff ffff ffff 636f 7532 ......cou2 16:38:09.483377 IP (tos 0x10, ttl 63, id 3233, offset 0, flags [DF], proto UDP (17), length 44) 57.129.64.12.8303 > 49.12.97.180.8300: [bad udp cksum 0x0c77 -> 0xce8e!] UDP, length 16 0x0000: 4510 002c 0ca1 4000 3f11 22c3 3981 400c E..,..@.?.".9.@. 0x0010: 310c 61b4 206f 206c 0018 0c77 ffff ffff 1.a..o.l...w.... 0x0020: ffff ffff ffff 6265 6132 206f ......bea2.o 10sec after it retries
I checked tcpdump and the packets come in and the responses go out: 18:51:40.729306 eth0 In IP bw.reitw.fr.8305 > master.ddnet.org.8300: UDP, length 16 18:51:40.744488 eth0 In IP bw.reitw.fr.8306 > master.ddnet.org.8300: UDP, length 16 18:51:40.750681 eth0 In IP bw.reitw.fr.8304 > master.ddnet.org.8300: UDP, length 16 18:51:41.540856 eth0 Out IP master.ddnet.org.8300 > bw.reitw.fr.8307: UDP, length 14 18:51:41.550004 eth0 Out IP master.ddnet.org.8300 > bw.reitw.fr.8305: UDP, length 14 18:51:41.550048 eth0 Out IP master.ddnet.org.8300 > bw.reitw.fr.8304: UDP, length 14 18:51:41.550108 eth0 Out IP master.ddnet.org.8300 > bw.reitw.fr.8306: UDP, length 14 Maybe something on OVH side blocking it?
17:53
Oooh, 8303 is missing!
😃 1
17:53
I'll ask our hoster
Avatar
why my 1 day ddnet rs pr has merge conflicts already xd
Avatar
@ReiTW is the server even running? I can't connect to it on 8303, so seems like a problem on your side
Avatar
Avatar
zhn
why my 1 day ddnet rs pr has merge conflicts already xd
he cooks
Avatar
Avatar
deen
@ReiTW is the server even running? I can't connect to it on 8303, so seems like a problem on your side
yes that's ovh
18:02
forgot to notify you sorry
18:02
someone is having fun since yesterday apparently, whenever i change my port to fix the issue he targets it
Avatar
Avatar
GitHub
Click to see attachment 🖼️
wait theres a difference ebtween ddrace and ddnet
18:50
i thought ddrace was just the gamemode and ddnet a thing that hosts alot of it which happens to have a client
18:50
or is 2011 when the client became a thing
✅ 1
Avatar
ChillerDragon BOT 2025-01-07 19:05
time ./DDNet quit
19:05
real 0m40.904s
19:05
i still miss the times quitting ddnet was instant tbh
👍 1
19:06
my internet bugged and i couldn't close the client anymore -.-
Avatar
Jupstar ✪ 2025-01-07 19:06
Do same test with rs
Avatar
Avatar
Solly
i thought ddrace was just the gamemode and ddnet a thing that hosts alot of it which happens to have a client
DDNet is also the server software, the most relevant implementation of DDRace
Avatar
ChillerDragon BOT 2025-01-07 19:08
my internet is now back so its ddnet real 0m2.060s vs ddnet-rs real 0m1.569s
Avatar
too slow. close the window and do all the calculation afterwards
Avatar
Avatar
ChillerDragon
my internet is now back so its ddnet real 0m2.060s vs ddnet-rs real 0m1.569s
Jupstar ✪ 2025-01-07 19:18
waat, is that a debug build? xd
Avatar
ChillerDragon BOT 2025-01-07 19:19
yes debug
Avatar
i remember instant closing then the next time i updated it was a couple of seconds
19:26
why is ... that
Avatar
Jupstar ✪ 2025-01-07 19:26
very simple, we cannot cancel http requests
19:27
and since file writing and requests use the same tasks handler
19:27
they must be handled, bcs file writing must succeed
Avatar
"must succeed" justatest
Avatar
why can’t you fork there and at least close the window?
Avatar
Some jobs still use the graphics
19:39
And Windows can't fork
Avatar
Avatar
Robyt3
Some jobs still use the graphics
just CHttpJobs or whatever?
19:41
those seem to be the culprit (edited)
19:42
they can also be changed to be conscious of the game state so if it’s been forked while blocked by http request then it will just quit immediately without graphics calls
19:42
but yea idk about windows
19:42
there must be a similar mechanism
19:42
it would work on mingw but that isn’t a real solution
Avatar
Avatar
Ewan
just CHttpJobs or whatever?
All image loading jobs, like those for skins, need to stop before the graphics can be shutdown
Avatar
Avatar
Ewan
it would work on mingw but that isn’t a real solution
Cygwin implements fork on Windows but it's a lot slower, that's also why make is slower on Windows IIRC
Avatar
Jupstar ✪ 2025-01-07 19:53
So we can cancel http requests actually?
19:53
http: https://master3.ddnet.org/ddnet/15/servers.json failed. libcurl error (42): Callback aborted
Avatar
yeah, but it's up to curl to cancel it
Avatar
Jupstar ✪ 2025-01-07 19:54
i see, but it's weird that it doesnt work for chiller
Avatar
cancelation will only go through when there is progress AFAIK, so if there is zero progress than the cancelation doesn't work (edited)
Avatar
Jupstar ✪ 2025-01-07 19:54
😮
19:54
rip
Avatar
what would ddnet be like if it just killed all windows support
Avatar
Jupstar ✪ 2025-01-07 19:55
a 4D game
Avatar
Probably less alive, since more than 90% of players use windows
19:56
(probably, I don't have any stats)
Avatar
Koll Potato 2025-01-07 20:27
ChillerDragon: i think i'm gonna stick to writing a teeworlds protocol library in rust, a whole server is too much lmao
20:28
i think i will still continue making the server but not in bevy
20:28
and it will not be a priority
Avatar
Avatar
Robyt3
All image loading jobs, like those for skins, need to stop before the graphics can be shutdown
You can wait for those, or use an alternative solution
Avatar
Avatar
Robyt3
Cygwin implements fork on Windows but it's a lot slower, that's also why make is slower on Windows IIRC
i speak of libwinpthread which is independent of cygwin, not sure about its performance but i dont think it should matter too much in this instance
Avatar
GitHub BOT 2025-01-07 20:35
Which allows the render module to load the skins and assets from local players quicker. Additionally rename the continue_map_loading to continue_loading, and make the local skins & particles a requirement. (For spawning)
Avatar
Avatar
GitHub
Click to see attachment 🖼️
Jupstar ✪ 2025-01-07 20:35
@Hecta this guarantees the skin sounds are loaded btw
20:36
usually the map loading is the slowest anyway
20:36
for ctf1 maybe not xdd
Avatar
GitHub BOT 2025-01-07 20:55
Solved bugs:
  • team didn't get any score for grab
  • flag grabber kills were counted as team score
Avatar
ws-client BOT 2025-01-07 21:19
<ChillerDragon> arent you using libtw2? so the lib is done or what is missing @Koll Potato
Avatar
Avatar
Jupstar ✪
very simple, we cannot cancel http requests
but that would only increase stop time when there are http jobs and most of the time when im closing its after the windows been idle for a while or in game the time is also pretty consistent
21:27
and why cant you cancel them, curl surely lets you do that, you can just delete the file it was writing to
Avatar
Avatar
Robyt3
cancelation will only go through when there is progress AFAIK, so if there is zero progress than the cancelation doesn't work (edited)
ah
21:29
i mean its better than no cancellation
21:33
6a2b366 Add a local character infos property to the render game module, which allows the render module to load (#39) - Jupeyy
22:30
c021626 Fix hookline color with unhook in vanilla (#42) - Jupeyy
22:30
13d66b7 Add rcon config variables to chain. - Jupeyy f6d0192 Merge pull request #41 from Jupeyy/pr_vanilla_fixes - Jupeyy
22:31
Feature requested on discord
  • Implements the WATCHING flag from 0.7. It is backwards compatible, working both for spectating 0.7 clients and playing on 0.7 servers
  • Adds an icon with a spectator count. This icon appears when someone is spectating you or when your tee is near the center of a freev...
22:37
6d81192 Use window props in hud scaling - Jupeyy 5db7191 Merge pull request #43 from Jupeyy/pr_hud_scale_fix - Jupeyy
22:37
2eec7d1 team colors from 0.6 - gerdoe-jr a69a7d7 Merge pull request #45 from gerdoe-jr/change_team_colors - Jupeyy
23:07
cc0dfa1 fix: don't send message on chat close - gerdoe-jr 9e5ad36 Merge pull request #44 from gerdoe-jr/fix_chat_esc - Jupeyy
Exported 184 message(s)
Timezone: UTC+0