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 2024-05-04 00:00:00Z and 2024-05-05 00:00:00Z
Avatar
Since higher fps videos are not really supported by youtube or most other online video streaming it would be very convenient for the client to apply "frame rate down sampling" or "motion blur" or "frame stacking" whatever you want to call it. Basically you render at 60*n fps and every n frames get averaged into 1 frame, the more frames you average the better it looks. The output video file should be 60fps. It's possible to implement with a simple shader and 2 frame buffers. Just add each f...
05:38
f788a04 Remove tools camel case style exception - ChillerDragon 43c03c4 Merge pull request #8296 from ChillerDragon/pr_camel_tools - def-
Avatar
This may seem very unnecessary, but when there are a lot of people on a server or they don't stop talking, sometimes the chat becomes very long and difficult to read, that's why I wanted to propose adding a mention-only chat, which would be almost the same Same as the friends-only chat but instead of just messages from friends, only the mentions appear, so only important things appear. Also, I don't think it's something difficult to do, I'm not a programmer or anything like that so I don't k...
Avatar
Someone asked me why his skin isn't working: Skin name is not valid: cf_glowcontrastcoalabopp Better say exactly what is wrong: The name of the skin exceeds the 24 character limit
Avatar
Closed https://github.com/ddnet/ddnet/issues/8300 !image

Checklist

  • [x] Tested the change ingame
  • [x] 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...
Avatar
ws-client BOT 2024-05-04 09:36:39Z
<ChillerDragon> 2 more and we hit #8303
Avatar
xdd
09:39
make an issue "change server port to 8304"
Avatar
ws-client BOT 2024-05-04 09:50:42Z
<ChillerDragon> lmao
09:51
<ChillerDragon> Genius idea actually. Then you can run a ddnet server and a teeworlds server at the same time on their default ports.
Avatar
i wonder if errors should be part of the ui.. then they could at least not be overseen
10:39
especially since it's basically impossible to forbid how a user names their local files
Avatar
Chilleeeeer how can i run the ddnet CI locally?
Avatar
Avatar
Jupstar ✪
i wonder if errors should be part of the ui.. then they could at least not be overseen
I wouldn't show the wrong filenames in the list, then you'd need extra memory to store the longer filenames. If it should be more obvious, we could emit a warning popup for every skin that failed to load.
Avatar
Avatar
Robyt3
I wouldn't show the wrong filenames in the list, then you'd need extra memory to store the longer filenames. If it should be more obvious, we could emit a warning popup for every skin that failed to load.
what extra memory. you mean that the invalid skins are loaded?
Avatar
Avatar
Jupstar ✪
what extra memory. you mean that the invalid skins are loaded?
I mean we currently use m_aName[24] for skins names, so if you want to even show the longer names you'd need to increase the size or use std::string
Avatar
Avatar
Robyt3
I mean we currently use m_aName[24] for skins names, so if you want to even show the longer names you'd need to increase the size or use std::string
mh right that's how the ddnet client is doing it
11:16
i changed the skin container for dd-pg like this:
  • potentially loadable skins are in a "index"-list, this can include skins that are downloaded over http
  • skins are always lazy loaded, since the list knows all names it automatically triggers the loading of the skin
  • skins are unloaded if unused for a certain amount of time
Avatar
Lazy skin loading is also on my list, but then I decided to first rewrite the image loader so it's usable for that, that should be ready soon. Right now the downloadedskins folder is write-only, we always download the skins from the internet again even if the skin already exists in the folder. My idea would be to load the skin from the local storage first and at the same time download the skin again and only write it to the storage and reload it if it changed.
Avatar
Avatar
Robyt3
Lazy skin loading is also on my list, but then I decided to first rewrite the image loader so it's usable for that, that should be ready soon. Right now the downloadedskins folder is write-only, we always download the skins from the internet again even if the skin already exists in the folder. My idea would be to load the skin from the local storage first and at the same time download the skin again and only write it to the storage and reload it if it changed.
ah yeah that was the part i thought about the most. dd-pg will require http resources to have an index. Actually when i implemented the skin database i already thought about the same: https://skins.ddnet.org/skin/skins.json Sadly i forgot to include file hashes. Additionally i'd change that the json is per dir, so community etc. have their own index.
11:22
that way you only need to download the json and never the real file, as long as the file + hash exist locally
Avatar
Even better would be if there was a downloadable skin index json which contained the hashes of the current skin files, so downloading the entire skin would be unnecessary to check if it's unchanged
Avatar
See commit messages. Closes #6375.

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:/...
Avatar
8b0b09f Improve skin name validation error message (Closed #8300) - ChillerDragon 9336b4c Merge pull request #8301 from ChillerDragon/pr_skin_warn - Jupeyy
Avatar
ws-client BOT 2024-05-04 13:54:37Z
<ChillerDragon> @meloƞ which part of the CI? I just copy pasted the parts I need from the workflows into a shell script and run that https://github.com/ddnet/ddnet/tree/master/.github/workflows
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
13:55
<ChillerDragon> there is also tools to replicate the CI environment using containerization but i don't like containers so i just run the raw commands bare metal.
Avatar
Avatar
ws-client
<ChillerDragon> there is also tools to replicate the CI environment using containerization but i don't like containers so i just run the raw commands bare metal.
i see - just want to see if CI is happy before doing a PR and having to fix it lol ty
Avatar
ws-client BOT 2024-05-04 14:03:33Z
<ChillerDragon> The ci runs on git push btw
14:03
<ChillerDragon> pr or not
14:04
<ChillerDragon> but yea i usually run just ./scripts/fix_style.py before commit. And if I am extra motivated i run my script that runs like 90% of the CI tests but it takes a long time.
14:05
<ChillerDragon> Is there some start using actions button for you here? https://github.com/BlaiZephyr/ddnet/actions
DDraceNetwork, a free cooperative platformer game. Contribute to BlaiZephyr/ddnet development by creating an account on GitHub.
14:06
<ChillerDragon> Then before you open the pr with ddnet you can check if the pipeline passes in your fork https://github.com/BlaiZephyr/ddnet/tree/add-team0-indicator
DDraceNetwork, a free cooperative platformer game. Contribute to BlaiZephyr/ddnet development by creating an account on GitHub.
14:06
<ChillerDragon> If your pr is already open just force push and test on github.
Avatar
Avatar
ws-client
<ChillerDragon> Is there some start using actions button for you here? https://github.com/BlaiZephyr/ddnet/actions
there was indeed, no workflow running currently, let me try it out
14:08
lol it works - how did i miss that - thanks
Avatar
ws-client BOT 2024-05-04 14:09:00Z
<ChillerDragon> poggers2
Avatar
all hail --allow-empty fr
14:09
me omw to force push 920 commits up teeworlds-community
Avatar
ws-client BOT 2024-05-04 14:10:29Z
<ChillerDragon> you also see it here btw https://github.com/ddnet/ddnet/pull/8293
add a team0mode indicator. closes #8225 we are currently missing a fitting indicator, mine is just a placeholder to test functionality. I kindly asked Insanity and she might create something for us...
14:10
<ChillerDragon> CI everywhere
14:10
XD
Avatar
ws-client BOT 2024-05-04 14:10:58Z
<ChillerDragon> dont worry
14:11
<ChillerDragon> as long as you cleanup its all good
Avatar
i'll have to change the indicator anyway
14:11
thats why its a draft atm
Avatar
stalker
Avatar
ws-client BOT 2024-05-04 14:12:33Z
<ChillerDragon> yes it really fits
Avatar
doesnt it?!
Avatar
u seriously code without code formatter?
14:21
that's savage
Avatar
you code with a code formatter?
Avatar
i often write so much stuff in one line
14:21
then press save
14:21
and it formats epycally
Avatar
i format it on the spot simply because thats how i organize my code
Avatar
chillerdragon BOT 2024-05-04 14:23:02Z
ye my ide has no formatter i never bothered to set one up since ./scripts/fix_style.py works good enough
Avatar
"works good enough" - chiller on his way to open 3 PR's about style
14:23
justatest
Avatar
chillerdragon BOT 2024-05-04 14:23:33Z
but yes i also often write really sloppy code because i know the format script will carry my ass
14:23
rare video of me codin
Avatar
for personal projects i dont even use a formatter at all, cba to set it up and they indend way to weird imo
14:26
but then this happens sometimes.
Avatar
mkv bro
Avatar
mkv - gg
Avatar
webm is a subset of mkv
Avatar
chillerdragon BOT 2024-05-04 14:28:33Z
this is how me coding looks like. i dont code i only debug my bugs at all times xd
Avatar
lazy ass
14:28
xd
Avatar
chiller is a tmux enjoyer?
Avatar
chillerdragon BOT 2024-05-04 14:29:06Z
ok lemme convert xd
Avatar
BRO
14:29
u didnt even code in that video
14:29
lmao
Avatar
chillerdragon BOT 2024-05-04 14:29:55Z
Avatar
Avatar
chillerdragon
Click to see attachment 🖼️
banger song in background tho
Avatar
chillerdragon BOT 2024-05-04 14:30:20Z
i dont code
14:30
i only debug
Avatar
nice name leak btw
Avatar
chillerdragon BOT 2024-05-04 14:30:38Z
wot where xd
Avatar
got u sweating, be honest
Avatar
chillerdragon BOT 2024-05-04 14:31:03Z
it did
Avatar
nice ip leak, 10€ paypal or i ddos
14:31
1337
14:31
what a gamer
Avatar
chillerdragon BOT 2024-05-04 14:31:46Z
xd
Avatar
HAHA I DIDNT EVEN SEE
Avatar
chillerdragon BOT 2024-05-04 14:32:23Z
my dummy port is 6969
14:32
its nice for debugging in wireshark to quickly see 8303 is server 1337 is main and 6969 is dummy
14:33
i just doxed my self. pls dont finger print me when i use fake names to block Learath2 in game
Avatar
i think everyone in this chat should share a video of how they code
Avatar
chillerdragon BOT 2024-05-04 14:34:34Z
agree
Avatar
im highly interested in roby's setup ngl
Avatar
chillerdragon BOT 2024-05-04 14:34:56Z
eww windows
Avatar
@Robyt3 l3ak or u not 1337 anymore
Avatar
chillerdragon BOT 2024-05-04 14:35:13Z
he uses like msys2 pacman stuff
Avatar
I use Sublime Text to write code, cmd to write make -j8 and run, MSYS2 to install packages
14:36
Ubuntu VM if I need ASAN pepeW
Avatar
chillerdragon BOT 2024-05-04 14:36:50Z
sooblime xd
14:37
pain
14:37
@Robyt3: why no WSL?
14:37
or is that your ubuntu vm?
Avatar
sublime text is wild - i tried it once but dropped it pretty fast
Avatar
chillerdragon BOT 2024-05-04 14:38:25Z
are you paying for it robsti? xd
Avatar
Haven't used WSL yet, I use VirtualBox for the VM
Avatar
Avatar
chillerdragon
are you paying for it robsti? xd
No, I click the popup 😄
Avatar
video or did not happen
Avatar
Well, sometimes I use the keyboard to close the popup
Avatar
chillerdragon BOT 2024-05-04 14:39:49Z
lmao robsti coding video will be him clicking "Maybe later" in the gui popup xd
14:40
I highly recommend to try WSL
14:40
its actually good
Avatar
Avatar
chillerdragon
lmao robsti coding video will be him clicking "Maybe later" in the gui popup xd
your coding video was you doxxing yourself for 40 seconds smh
Avatar
true
14:40
@ChillerDragon give real video
Avatar
coding client-side on wsl2 is something that i couldnt figure out correctly
14:41
aswell as registering an actual ddnet server, because networking and stuff
Avatar
chillerdragon BOT 2024-05-04 14:41:06Z
real?
14:41
it was real
14:42
you want more or wat?
Avatar
actually scared of sending coding setup atm
Avatar
chillerdragon BOT 2024-05-04 14:47:32Z
14:47
this was me losing it while debugging snap issues
Avatar
with the music in the background - i understand.
14:49
you should make youtube
Avatar
good thing i have discord muted by default owo
Avatar
chillerdragon BOT 2024-05-04 14:50:10Z
xd
14:50
are you saying i should upload my debug sufferings?
Replying to @meloƞ you should make youtube
Avatar
Avatar
chillerdragon
are you saying i should upload my debug sufferings?
absolutely
Avatar
with commentary ofc
Avatar
live stream your suffering! bluekitty
Avatar
would love to hear your angelic voice
Avatar
chillerdragon BOT 2024-05-04 14:51:52Z
i dev at like 4am german time
14:55
14:55
ok like jopsti said now everyone has to post a video of their setup with them commenting :p
Avatar
and yes - i indeed type that slow when i code.
14:58
also copilot is a bully, i might just dump it
Avatar
ws-client BOT 2024-05-04 15:00:44Z
<ChillerDragon> transparent editor and running tw is gigachad
15:01
<ChillerDragon> oke good nite every1
Avatar
nighty night
Avatar
ws-client BOT 2024-05-04 15:01:30Z
<ChillerDragon> robsti dont forget to merge ddnet 0.7 pr tonite, thank
Avatar
Avatar
ws-client
<ChillerDragon> robsti dont forget to merge ddnet 0.7 pr tonite, thank
justatest
Avatar
chiller close 0.7 pr tonight
Avatar
Avatar
ws-client
<ChillerDragon> robsti dont forget to merge ddnet 0.7 pr tonite, thank
I'll review it again tomorrow justatest
justatest 1
Avatar
roby where video of code setup angy
Avatar
where live stream
15:04
with loud thinking process
Avatar
Avatar
Jupstar ✪
with loud thinking process
i rather watch @Ryozuki's fishy live stream for 10 hours than hear a dev moan about not understanding why the code returns exit code -1
15:05
(not meaning roby with that - dont ban pls ty love you)
Avatar
you want to imply robyte moans the whole time because he does not understand why the code returns -1?
justatest 1
dyingmonkey 1
15:05
xdd
Avatar
At least I didn't have to debug a CI-only bug recently greenthing
troll 1
Avatar
Avatar
Robyt3
At least I didn't have to debug a CI-only bug recently greenthing
monkaStop crythumbsup
15:06
rude
15:07
https://github.com/ddnet/ddnet/pull/7886 its always the damn CI (please help) (edited)
closes #7881 edit: the ubuntu 20.04 check is failing - i cant exactly tell why, i assume its because of: CMake Error at CMakeLists.txt:642 (message): You must install MySQL to compile the DDNet ser...
15:07
XD
Avatar
15bebb8 Remove unnecessary downcast to CGraphics_Threaded - Robyt3 c4c1518 Remove dead code - Robyt3 c78eebf Use nullptr instead of 0 and NULL - Robyt3 33c5bfb Fix indentation of comments - Robyt3 e595545 Fix duplicate file extension .mp4 for demos rendered from menu - Robyt3 9d2c11d Improve error handling and logging of video recorder - Robyt3 5f647b9 Ensure correct sample and bit rate are used for video recording - Robyt3 a0465b6 Improve various variable and class names of the video recorder - Robyt3 3a0e242 Assert that size of image data matches size of video - Robyt3 e5927d9 Fix crashes when video recording is not started successfully - Robyt3 2f22447 Merge pull request #8302 from Robyt3/Video-Refactoring - def-
Avatar
thoughts about this as the indicator for team0mode without the water. i personally like it very much - idea from @deen , design from @Insanity (edited)
17:44
Avatar
lmao
17:44
team boat
17:44
shots fired
Avatar
oh captain, my captain
Avatar
Avatar
Jupstar ✪
shots fired
his first thought was just a boat OUT OF TEES
Avatar
seems a tad small
17:45
as in design elements are too small
17:47
Avatar
why not a tee that is oval and looks like a 0
Avatar
if your dick looks like that then i am sorry for you 😭
Avatar
chat leak
Avatar
Avatar
Jupstar ✪
chat leak
i asked for permission
Avatar
Avatar
louis
if your dick looks like that then i am sorry for you 😭
uff shots fired against insanity
17:51
isnt she a girl
Avatar
Avatar
louis
if your dick looks like that then i am sorry for you 😭
monkaStop YOURS DOESNT LOOK LIKE THAT?
justatest 1
17:52
@Insanity are you a girl?
Avatar
Avatar
meloƞ
@Insanity are you a girl?
I guess so lol
Avatar
god damn it
17:52
blocks
Avatar
melon cant handle females
Avatar
Avatar
Jupstar ✪
melon cant handle females
YEP
Avatar
Avatar
MilkeeyCat
lol
dude calls me a catboy - gg, nice like counter btw (edited)
Avatar
i already have word "cat" in my name justatest
Avatar
Avatar
meloƞ
YEP
who's your wife wtf
Avatar
Avatar
zhn
who's your wife wtf
justatest
Avatar
and your daughter justatest
Avatar
oh mugi chan got timeouted
Avatar
famous last words.
18:11
@zhn how good are you with cmake and ddnet CI ? XD any idea why this breaks? https://github.com/ddnet/ddnet/pull/7886 even sanitizing it with OUTPUT_STRIP_TRAILING_WHITESPACE wont work (while i got you here anyway)
closes #7881 edit: the ubuntu 20.04 check is failing - i cant exactly tell why, i assume its because of: CMake Error at CMakeLists.txt:642 (message): You must install MySQL to compile the DDNet ser...
Avatar
Avatar
meloƞ
@zhn how good are you with cmake and ddnet CI ? XD any idea why this breaks? https://github.com/ddnet/ddnet/pull/7886 even sanitizing it with OUTPUT_STRIP_TRAILING_WHITESPACE wont work (while i got you here anyway)
i can tell you the fix
18:14
update the ci to ubuntu 22
Avatar
i... - fair.
Avatar
we dont need 4 years support
Avatar
20.04 has his EoL 2025 anyway no?
18:15
eh EoS (edited)
Avatar
Tool name ubuntu Tool license OSS Add or update? Add Update Desired version 24.04 Approximate size No response Brief description of tool No response URL for tool's homepage No response Provide ...
18:15
soon the default is 24 anyway
Avatar
i got 2x32gb ram so 64gb
18:19
with amd expo
Avatar
i'd like to use my VRAM as RAM
18:19
it's often unused
Avatar
6000mt/s
Avatar
Avatar
Ryozuki
6000mt/s
fast
Avatar
there's some regex after the executing, try "-m([^\r\n]+)" as suggested in https://bugs.mysql.com/bug.php?id=73502
18:22
(i can't read regex though xd)
18:22
ig it just removes all the \r and \n it sees
Avatar
new indicator designs!!!
Avatar
what does dat boat mean (edited)
Avatar
Avatar
meloƞ
new indicator designs!!!
any in game preview?
Avatar
Avatar
archimede67
any in game preview?
soon
18:43
in game atm
18:49
I encode normal x264 now, not x264rgb
18:49
so it embeds corrrectly in e.g. discord
18:50
@manikoo nothing to see here, please move along happy
Avatar
Avatar
archimede67
any in game preview?
18:56
Avatar
Avatar
meloƞ
Click to see attachment 🖼️
ak enjoyer gigachad
Avatar
Avatar
Patiga
Click to see attachment 🖼️
This is so silly... I NEED IT!! owoowo
Avatar
Redo #8221. Helps with replaying Teehistorian files, matching ranks to those in the db.

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [x] 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 ch...
Avatar
i know there is somewhere a webiste/github to find all the browserlist since 2014... can someone send me the link?
Avatar
https://ddnet.org/stats/master/ found it but it only goes to '21 (edited)
21:38
On the website i can see from 2014... 😦 i think the information should be enough but no full analyize xD
Avatar
afternoon
Avatar
Those two are different, you can find the dataset for those graphs at the bottom of that page. Master data is only since 2021.
Replying to @Daniel On the website i can see from 2014... 😦 i think the information shoul…
Avatar
hi furo app
21:55
u on the matrix
21:55
or what
Avatar
Avatar
furo
Those two are different, you can find the dataset for those graphs at the bottom of that page. Master data is only since 2021.
but it counts the player if you donwload the thing on the bottom of the page (byMod, byCountry) you just have the date and playercount.. but i wanted to create a graph for players over the years
22:58
especially for me 😦 like im playing since 2013-2014 and want to know how many k hours i spent in this lovely game (im not ready to install it on steam because i know the hours will never match the truth)
Avatar
In Rust, which crate would you suggest me to create a thread pool, that limits the amount of pending tasks? creating a new task when the task-list if full should block or smth
Exported 250 message(s)