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-07-24 00:00 and 2024-07-25 00:00
Avatar
is there any way to anti-alias things like the vote progress circle?
Avatar
u can turn on aa for the whole game
05:09
otherwise no
Avatar
where @Ewan
05:11
well im sure the vote timer circle can be aliased, i meant like in the code somehow
Avatar
not currently
05:12
u could write a shader or implement it in software
Avatar
actually none of the ui elements have anti aliasing i guess
Avatar
1158 files changed
06:15
justatest
Avatar
why are there coauthored commits
06:29
oh those were real
06:29
just old
Avatar
Jupstar ✪ 2024-07-24 07:34
oh neat: https://github.com/libsdl-org/SDL/issues/3243 apparently i subscribed to that thread a few years ago xD
This bug report was migrated from our old Bugzilla tracker. Reported in version: HG 2.1 Reported for operating system, platform: Windows 10, iPhone/iPod touch Comments on the original bug report: O...
07:34
since we talk about android currently, this would allow us to query the display cutout
Avatar
GitHub BOT 2024-07-24 08:12
It's rather annoying to setup categorical voting on a local testing server if you want to avoid dumping all your maps into a single voting menu. It would be nice if we simply had folder navigation inside the voting menu. This would also make it convenient to locally host all the ddnet maps and find them easily.
Avatar
Avatar
Headshot
SDL gets replaced with system functions during the porting process (edited)
Does SDL2 not work for PS2 or N3DS for example? There seems to be a PS2 specific renderer and PS2 and N3DS joystick implementations in the SDL2 source code
Avatar
Jupstar ✪ 2024-07-24 08:37
do our other libs even work for these platforms?
08:37
curl and stuff
Avatar
Avatar
deen
Can we use native Android https layer instead or would that be too much work?
Would definitely be more work than the currently suggested workaround of copying the ca bundle to your own storage
Avatar
Avatar
Jupstar ✪
do our other libs even work for these platforms?
Looks like there are existing ports of the libraries, e.g. for 3DS
08:39
It is strongly recommended that you use devkitPro's pacman in order to get the most recent portlibs for your build. Instructions for accessing these binaries can be found here: https://devkitpro.org/wiki/devkitPro_pacman
Avatar
Jupstar ✪ 2024-07-24 08:39
mh ok
08:39
considering we already have trouble with android, i wouldn't want to do such stuff xD
Avatar
Avatar
Robyt3
Does SDL2 not work for PS2 or N3DS for example? There seems to be a PS2 specific renderer and PS2 and N3DS joystick implementations in the SDL2 source code
ddnet 9 used opengl to render graphics anyway so that's out of the question
08:40
(graphics.cpp)
Avatar
Avatar
Headshot
ddnet 9 used opengl to render graphics anyway so that's out of the question
What if we had an SDL-renderer based backend?
Avatar
yeah, what if, i've yet to see one implemented on ddnet
08:41
it might be too slow for the console ports either way
Avatar
Avatar
Headshot
yeah, what if, i've yet to see one implemented on ddnet
I mean, what other changes were necessary? Did you rip out SDL completely?
Avatar
yes
08:42
for all the console ports
Avatar
heinrich5991 2024-07-24 08:42
chillerdragon: probably use the teeworlds license at least for the parts that you translated 1:1
Avatar
Avatar
Headshot
for all the console ports
I see. At least according to the source code, using SDL for PS2 seems feasible though. There is also a PS2 specific renderer which uses the PS2 native API I guess.
Avatar
chillerdragon BOT 2024-07-24 08:44
@heinrich5991: so have two license files?
Avatar
Avatar
Robyt3
I see. At least according to the source code, using SDL for PS2 seems feasible though. There is also a PS2 specific renderer which uses the PS2 native API I guess.
i used a library bundled with ps2sdk called "gsKit" for rendering graphics on the ps2 port
Avatar
Jupstar ✪ 2024-07-24 08:44
@Headshot when will you port to gameboy advance
Avatar
chillerdragon BOT 2024-07-24 08:45
@heinrich5991: sounds messy i would have to move it to some external/ folder and then have a own license there like teeworlds does it for their dependencies i guess
Avatar
heinrich5991 2024-07-24 08:45
chillerdragon: if you want. you don't have to, though. teeworlds has licenses for multiple things in https://github.com/teeworlds/teeworlds/blob/a1911c8f7d8458fb4076ef8e7651e8ef5e91ab3e/license.txt, if you want
Avatar
chillerdragon BOT 2024-07-24 08:47
and i can integrated other license code just like that on a per file basis fully mixed into the code?
08:48
so weird
08:49
I have to hand pick all the snippets of code through the entire protocol lib that are too close and add some notes to the readme
08:50
at this point sue me thats too messy for me
08:50
alone the maintenance when restructuring the code is not worth the legal consequences
08:52
In luluworlds i just claimed magnus did the original implementation of the entire code base xd. Thats wrong but at least its not as messy as saying which parts are too close and which arent https://github.com/luluworlds/luluworlds/blob/3a05b8d45b0b8f0bfcc8b5acee1efbcf2e448cbc/LICENSE
teeworlds 0.7 client written in lua. Contribute to luluworlds/luluworlds development by creating an account on GitHub.
Avatar
heinrich5991 2024-07-24 08:53
that works
Avatar
chillerdragon BOT 2024-07-24 08:54
thanks lawyer heino
🫡 1
Avatar
can we remove this from the ddnet client browser?
Avatar
Jupstar ✪ 2024-07-24 09:16
yes
Avatar
what do those servers have to break the compatibility with ddnet lol
Avatar
Avatar
Robyt3
Here's the beta version for all arches (extract the first file with 7zip).
Can I get a link to the repository?
Avatar
heinrich5991 2024-07-24 09:18
they simply don't want ddnet clients to work on their servers
09:18
no extra features AFAIK
Avatar
Avatar
louis
can we remove this from the ddnet client browser?
heinrich5991 2024-07-24 09:18
work in progress currently
Avatar
Avatar
Sedonya
Can I get a link to the repository?
#8632
🫡 1
Avatar
Add new client component CTouchControls for playing the game with touch inputs. The touch controls can be enabled/disabled with the config variable cl_touch_controls, which defaults to 1 on Android...
Avatar
Avatar
chillerdragon
In luluworlds i just claimed magnus did the original implementation of the entire code base xd. Thats wrong but at least its not as messy as saying which parts are too close and which arent https://github.com/luluworlds/luluworlds/blob/3a05b8d45b0b8f0bfcc8b5acee1efbcf2e448cbc/LICENSE
should have been called lalaland.
Avatar
Avatar
Souly
what do those servers have to break the compatibility with ddnet lol
They want people to use their own closed source client
09:33
Ah heinrich replied. Thanks discord mobile client for keeping my chat up to date
Avatar
thats wild
Avatar
Avatar
chillerdragon
I think it could be epic to train some llm on this channel. Imagine you can ask chat.ddnet.org „how to compile ddnet android“ and it replies with „scripts/android“
i trained a really simple classification model on all the irc logs
Avatar
wouldnt be surprised if that would be some troll backdoor stuff
Avatar
its only 50% accuracy though. it guesses depending on the message who out of the top 20 developer chatters said it
09:38
although the model is simple enough to train on a laptop ^^ maybe i'll see if it can get to a respectable number on google colab or something
Avatar
Now turn it around and try to generate a thing heinrich would say
Avatar
Avatar
louis
its only 50% accuracy though. it guesses depending on the message who out of the top 20 developer chatters said it
heinrich5991 2024-07-24 09:40
cool 😮
Avatar
Avatar
louis
i trained a really simple classification model on all the irc logs
Jupstar ✪ 2024-07-24 09:42
when release
09:42
i want to talk to myself
Avatar
heinrich5991 2024-07-24 09:43
it's just classification. it can only tell you that you're apparently talking to yourself
Avatar
MilkeeyCat 2024-07-24 09:50
Fun fact, it's actually possible to select multiple things if you hold ctrl
Avatar
heinrich5991 2024-07-24 09:51
likely depends heavily on the program
09:51
I found it works in firefox
Avatar
MilkeeyCat 2024-07-24 09:51
it's firefox
Avatar
heinrich5991 2024-07-24 09:52
chrome apparently doesn't implement it
Avatar
MilkeeyCat 2024-07-24 09:52
how can it be even useful? xd
Avatar
heinrich5991 2024-07-24 09:53
chillerdragon: this is for you: https://pnut.sh/
Avatar
doesn't work in chromium, common chromium L
10:07
firefox chad
Avatar
Jupstar ✪ 2024-07-24 10:08
now we need electron based on firefox
10:08
else it aint work in my epyc desktop web apps
Avatar
now we need to invent a time machine, go back in time and beat the guy who invented electron
Avatar
Avatar
GitHub
Click to see attachment 🖼️
there is gonna be a website redirect in the vpn ban message?
Avatar
yo how could this result in UB? if(v.empty()) return; int Index = 0; while(1) Index = ++Index % v.size(); warning: operation on ‘Index’ may be undefined [-Wsequence-point] 155 | Index = ++Index % v.size();
Avatar
Avatar
Teero
yo how could this result in UB? if(v.empty()) return; int Index = 0; while(1) Index = ++Index % v.size(); warning: operation on ‘Index’ may be undefined [-Wsequence-point] 155 | Index = ++Index % v.size();
There is no sequence point
10:21
Ew chat gpt
Avatar
heinrich5991 2024-07-24 10:21
@fluffysnaff no spam please
Avatar
Avatar
Learath2
Ew chat gpt
huh wdym?
Avatar
fluffysnaff 2024-07-24 10:22
they deleted my messages
Avatar
ah lol (edited)
Avatar
fluffysnaff 2024-07-24 10:23
can't have some fun in ddnet, said same thing as learath but in gpt
Avatar
Index = ++Index is already UB because there is no sequence point between two writes to Index (edited)
Avatar
heinrich5991 2024-07-24 10:24
at least the compiler detects it…
Avatar
ah okay
Avatar
MilkeeyCat 2024-07-24 10:30
@Learath2 Yo, do you think a parser should know what architecture it parses data for? Before I was thinking that only codegen should know about architecture because it has to spit out platform dependent stuff and it was working so far, but now I need to set stack offset for local variables in symbol table and in happens in parser and it currently can't get the size of a variable because it doesn't know architecture, what do you think 'bout it? xd
Avatar
Why does your parser know what even a variable is?
Avatar
MilkeeyCat 2024-07-24 10:31
thonk
Avatar
chillerdragon BOT 2024-07-24 10:32
I wonder how good it works. Their website looks really cool. I don’t think it’s very useful for me tho. C already runs everywhere and is fast. It’s mostly the other way around I would need it. I would like to have my shell scripts to run as fast as C.
Replying to @heinrich5991 chillerdragon: this is for you: https://pnut.sh/
Avatar
Your lexer should be spitting out a list of identifiers along with their types and where they need to be stored. Then as a step in codegen you should figure out how big that type is and then calculate the needed stuff
Avatar
chillerdragon BOT 2024-07-24 10:34
@heinrich5991: I am really impressed if it can turn the GCC code base into a shell script. Having a fully functional C compiler in pure POSIX shell would be really cool hehe
Avatar
heinrich5991 2024-07-24 10:35
GCC is written in C++
Avatar
chillerdragon BOT 2024-07-24 10:35
Oh lol
10:35
Didn’t know that
Avatar
heinrich5991 2024-07-24 10:35
plus a lot of GCC extensions, probably
Avatar
Avatar
Learath2
Your lexer should be spitting out a list of identifiers along with their types and where they need to be stored. Then as a step in codegen you should figure out how big that type is and then calculate the needed stuff
MilkeeyCat 2024-07-24 10:36
where do I have to put stuff in symbol table? 0_o
Avatar
GitHub BOT 2024-07-24 10:51
Only ban DNSBL blacklisted players once when joining immediately after the DNSBL result is available, to prevent current players from having their runs ended when the sv_dnsbl_ban setting is enabled. Note that enabling sv_dnsbl and sv_dnsbl_ban at the same time will still cause the players to be banned immediately. To prevent this, first enable sv_dnsbl for at least one tick, then enable sv_dnsbl_ban. Closes #2640.

Checklist

  • [X] Tested the change ingame
  • [ ] Provi...
Avatar
Avatar
MilkeeyCat
where do I have to put stuff in symbol table? 0_o
What kind of symbol table are we talking about here?
Avatar
MilkeeyCat 2024-07-24 11:02
somethign like dat :\
11:02
it stores declared variables
Avatar
I would generate a symbol table WITHOUT offsets right after the lexer. Then I'd have some architecture specific part of the compiler populate the offsets
Avatar
MilkeeyCat 2024-07-24 11:02
a, ok
11:02
thx owo
Avatar
hf
11:03
You are making a fun compiler, I'm doing api calls to shopify pepeW
👀 1
Avatar
MilkeeyCat 2024-07-24 11:03
i have almost working structs 😏
11:04
u can do stuff like Foo foo; foo = Foo { a: 69, b: 420, }; but can't access values lol
Avatar
GitHub BOT 2024-07-24 11:26
7f2908d Only apply DNSBL bans once when player joins - Robyt3 a84a53c Merge pull request #8640 from Robyt3/Server-DNSBL-Ban-Only-New - def-
Avatar
Avatar
MilkeeyCat
u can do stuff like Foo foo; foo = Foo { a: 69, b: 420, }; but can't access values lol
First time I've seen write-only structs in a language 💪
Avatar
|Veß_Mano| 2024-07-24 11:57
Hello, I played the DDNet client for about 5 days normally and yesterday I tried to connect to some DDNet servers (Ukraine), but the same error always appears: You have banned for 10 minutes (Visit ddnet.org/vpn). And of course I don't use a VPN. I can connect to servers in other parts of the world, but the ping is high :c Is it possible to do something about this?(
Avatar
Avatar
Learath2
First time I've seen write-only structs in a language 💪
Actually not even just write-only, write-onlyonce
Avatar
MilkeeyCat 2024-07-24 11:58
you can write as many times as you want xd
Avatar
|Veß_Mano| 2024-07-24 11:58
My name in game Ves_Mano
Avatar
Avatar
|Veß_Mano|
Hello, I played the DDNet client for about 5 days normally and yesterday I tried to connect to some DDNet servers (Ukraine), but the same error always appears: You have banned for 10 minutes (Visit ddnet.org/vpn). And of course I don't use a VPN. I can connect to servers in other parts of the world, but the ping is high :c Is it possible to do something about this?(
This belongs in a ticket #✉-create-a-ticket
11:58
Create a ban-appeal ticket, with your ip and I'll try to fix it
Avatar
Avatar
archimede67
@murpi (or other admins) any news on the saves being disabled? https://discord.com/channels/252358080522747904/420565311863914496/1262449640029294684
archimede67 2024-07-24 12:40
@Robyt3 maybe you have some news?
Avatar
Avatar
archimede67
@Robyt3 maybe you have some news?
It's being worked on but I can't give any estimates
Avatar
archimede67 2024-07-24 12:43
okay thanks
Avatar
It's quite interesting how many people inquire about an android client now. It won't even be that playable imo even if you fix it up
12:51
Not a very phone friendly game
Avatar
true
Avatar
Avatar
Learath2
It's quite interesting how many people inquire about an android client now. It won't even be that playable imo even if you fix it up
Jupstar ✪ 2024-07-24 13:02
yeah makes 0 sense, most of them wont touch it a second time xd
13:03
it's like playing minecraft on phone
13:03
u do it once, and then never again xD
13:03
but maybe we underestimate that some ppl really only play games on mobile
Avatar
@ForgottenCat would disagree
Avatar
Jupstar ✪ 2024-07-24 13:06
there are always exceptions
Avatar
Avatar
Jupstar ✪
but maybe we underestimate that some ppl really only play games on mobile
There are lots of people playing on the ancient android version on our novice servers
Avatar
Avatar
murpi
There are lots of people playing on the ancient android version on our novice servers
Jupstar ✪ 2024-07-24 13:07
i am not saying that a mobile version does not make the game more accessible than a pc. But i would not really call these novice servers playing the game, no front
13:07
but t0 with 20 tees on a novice map is just a gangbang
Avatar
What clientID does the old android version have?
13:19
903?
Avatar
Jupstar ✪ 2024-07-24 13:20
smth like that yeah
Avatar
The client ID appeared a total of 4252 times in the last 2-3 days on DDNet, excluding the CHN servers
Avatar
Avatar
murpi
The client ID appeared a total of 4252 times in the last 2-3 days on DDNet, excluding the CHN servers
Jupstar ✪ 2024-07-24 13:23
what does appear mean?
13:24
e.g. are they unique connections?
Avatar
GitHub BOT 2024-07-24 13:24
!Screenshot 2024-07-24 at 15 23 46

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 ...
Avatar
As in someone connected to DDNet server with that specific client ID.
Avatar
Avatar
Jupstar ✪
e.g. are they unique connections?
No, because some people have dynamic IPs
Avatar
Avatar
murpi
No, because some people have dynamic IPs
Jupstar ✪ 2024-07-24 13:24
ok but are they unique among IPs?
13:24
xd
13:25
4000 IPs
Avatar
hmmm, no I don't think so
Avatar
Jupstar ✪ 2024-07-24 13:27
but anyway, we'll see how many mobile pros will pop up
13:27
forgottencat is the only one i know yet
Avatar
Avatar
Jupstar ✪
ok but are they unique among IPs?
Actually, yes it is
13:34
#!/bin/sh counts_file="temp_counts.txt" > "$counts_file" for i in $(cat ~/servers/all-locations); do ssh $i.ddnet.org " filtered_lines=\$(grep -A3 'server: player has entered the game.' servers/servers/*log* | sort | uniq) filtered_lines=\$(echo \"\$filtered_lines\" | grep 'version=') echo \"\$filtered_lines\" | sort | awk -F'version=' '{ count[\$2]++ } END { for (version in count) print version, count[version] }' | sort " >> "$counts_file" done awk '{ version = $1 count = $2 counts[version] += count } END { for (version in counts) print version, counts[version] }' "$counts_file" > temp_output.txt while read -r version count; do echo "$version was found $count times" >> results.txt done < temp_output.txt rm "$counts_file" temp_output.txt
13:34
or at least it should be
13:36
The line server: player has entered the game. includes the player's IP address and then filtered with uniq
Avatar
Avatar
murpi
#!/bin/sh counts_file="temp_counts.txt" > "$counts_file" for i in $(cat ~/servers/all-locations); do ssh $i.ddnet.org " filtered_lines=\$(grep -A3 'server: player has entered the game.' servers/servers/*log* | sort | uniq) filtered_lines=\$(echo \"\$filtered_lines\" | grep 'version=') echo \"\$filtered_lines\" | sort | awk -F'version=' '{ count[\$2]++ } END { for (version in count) print version, count[version] }' | sort " >> "$counts_file" done awk '{ version = $1 count = $2 counts[version] += count } END { for (version in counts) print version, counts[version] }' "$counts_file" > temp_output.txt while read -r version count; do echo "$version was found $count times" >> results.txt done < temp_output.txt rm "$counts_file" temp_output.txt
Jupstar ✪ 2024-07-24 13:38
in the next 3 lines?
13:38
then gg
13:38
didnt know ddnet has so many unique players
Avatar
I think you can check for unique players on the steamdb site
Avatar
tbf i can imagine a control scheme that would make mobile pretty playable
Avatar
(that are on steam)
Avatar
Jupstar ✪ 2024-07-24 13:40
i've seen touchpad players playing gores, so yeah
Avatar
Avatar
murpi
I think you can check for unique players on the steamdb site
Jupstar ✪ 2024-07-24 13:40
yeah once android released
13:40
xd
13:40
on steam
13:40
android steam
13:40
lmao
Avatar
Avatar
louis
tbf i can imagine a control scheme that would make mobile pretty playable
that doesnt require too egregious of a claw grip or too big of a screen 😅
Avatar
Jupstar ✪ 2024-07-24 13:40
long way until google gives up play store
Avatar
chillerdragon BOT 2024-07-24 13:40
@murpi: ddnet only keeps logs of the last 2-3 days?
13:41
How long does that script take to run?
Avatar
@MyStery.Fox is the ultimate touchpad queen 😄
Avatar
Avatar
murpi
@MyStery.Fox is the ultimate touchpad queen 😄
Jupstar ✪ 2024-07-24 13:41
yeah i meant her xD
Avatar
chillerdragon BOT 2024-07-24 13:42
She is biggest trol
Avatar
Avatar
chillerdragon
@murpi: ddnet only keeps logs of the last 2-3 days?
Yes
Avatar
Avatar
chillerdragon
How long does that script take to run?
maybe a minute or two idk xd
13:42
if I do CHN too, probably 10 minutes
Avatar
chillerdragon BOT 2024-07-24 13:42
Xd average shell script performance hehe
13:42
But to be fair it also does ssh connections
Avatar
Jupstar ✪ 2024-07-24 13:44
now leak on your servers @ChillerDragon
Avatar
chillerdragon BOT 2024-07-24 13:44
On da phone
Avatar
Jupstar ✪ 2024-07-24 13:44
if it's less than a second i laugh
Avatar
chillerdragon BOT 2024-07-24 13:44
But I assume in the last 2-3 days there were no players on my servers
Avatar
Jupstar ✪ 2024-07-24 13:44
xdd
13:44
rest in peace
Avatar
chillerdragon BOT 2024-07-24 13:44
Maybe gctf
Avatar
g spot ctf
❓ 1
🔨 1
Avatar
Jupstar ✪ 2024-07-24 13:45
since community thing, my servers are also mostly empty
Avatar
Avatar
Jupstar ✪
since community thing, my servers are also mostly empty
how
Avatar
i want a community spot how many servers do i need to host
Avatar
Avatar
fokkonaut
how
Jupstar ✪ 2024-07-24 13:45
bcs nobody plays on non community servers
Avatar
Avatar
Jupstar ✪
bcs nobody plays on non community servers
ah
13:45
ye
13:46
Well, I'm not gonna do that discussion a second time. Good luck tho
13:46
😅😅
13:46
(this thing isn't thought through)
13:46
((entirely))
Avatar
Jupstar ✪ 2024-07-24 13:47
🫠
13:47
and came to stay forever
Avatar
good luck keeping this alive until your retirement.
Avatar
@jxsl13 laughs in 0.7 zcatch
Avatar
zheuzheuzheu
Avatar
No community thing over there
Avatar
and also dead
Avatar
Ye
Avatar
I kept it alive while I was active, I'd guess
13:53
but gctf is active
Avatar
right on spot
🔨 1
Avatar
🥹 🔨 (edited)
13:54
better
Avatar
Host block server with F-DDrace instead
Avatar
don't wanna steal your OG spot (edited)
Avatar
Haha, there's some other servers using F-DDrace already
Avatar
Avatar
jxsl13
don't wanna steal your OG spot (edited)
🤩🥰
Avatar
It's pointless when I'm not remotely interested in that to host it..
Avatar
true
Avatar
cough, ddnet zCatch servers (edited)
Avatar
DDRaceNetwork zCatch
Avatar
all I hear is people conplaining.
Avatar
Ye
Avatar
complaining*
Avatar
@jxsl13 why dont u guys have community tab yet
14:07
kinda surprising ngl
Avatar
you mean gctf?
14:08
too small, I heard
Avatar
u have zcatch too no?
Avatar
in 0.6 no
14:09
on 0.7 kind of dead
14:10
how hard would it be to just move everything to 0.6 and get that community tab
14:10
i think that could attract some players
Avatar
dunno, it's work that I don't wanna do ._.
Avatar
and btw fokko has only 2 servers from what i see
14:11
and has his own tab
Avatar
I did not apply for nothing, so just quoting here, kind of
Avatar
kk just curious
Avatar
Avatar
Jupstar ✪
bcs nobody plays on non community servers
https://github.com/ddnet/ddnet/issues/8407 feel free to be the first one to give feedback on that topic gigachad
Fokkonaut described the function of the community tab as a way to: Authenticate yourself - having a logo provided by the maintainer (DDNet) themselves Utilize the seperate filter a community offers...
Avatar
thought about using the timeout token for authentication but the threw that thought out of the window. Malicious servers and stuff.
14:18
then
14:19
hm, completely different topic ._.
14:20
ddnet the trusted authority
14:20
for tls certificates
Avatar
GitHub BOT 2024-07-24 14:27
This is completely untested as I couldn't get saves working locally for some reason :/

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...
Avatar
Time to test in prod
Avatar
Jupstar ✪ 2024-07-24 14:32
😬
Avatar
does anyone know a map that has spec enabled?
Avatar
Spectateer
Avatar
also needs to be easy enough to get to the start line on touchpad 😄
Avatar
tentrom/aincrad (edited)
Avatar
Avatar
Learath2
also needs to be easy enough to get to the start line on touchpad 😄
enable it
14:38
sv_pauseable 1
Avatar
klawaxz 🎧 2024-07-24 14:42
guys, who can help me? i will be very grateful
14:44
i have a problem, when i click esc, i dont hsve a button respawn
Avatar
Jupstar ✪ 2024-07-24 14:44
press k
14:44
but not in the menu
14:44
in the game
Avatar
klawaxz 🎧 2024-07-24 14:45
i know, but i want know, why i dont have this button((((
14:46
14:46
it's bad(
Avatar
Jupstar ✪ 2024-07-24 14:46
dunno, maybe someone added a bug
14:46
but if you know you can press k
14:46
why would u ever press that button
Avatar
klawaxz 🎧 2024-07-24 14:46
how can I fix this?
Avatar
Avatar
klawaxz 🎧
how can I fix this?
Jupstar ✪ 2024-07-24 14:47
i dunno, you could tell on which server it happens
Avatar
klawaxz 🎧 2024-07-24 14:47
idk
Avatar
Jupstar ✪ 2024-07-24 14:47
then a dev can take a look
Avatar
klawaxz 🎧 2024-07-24 14:47
ok
14:47
on all servers
Avatar
Avatar
klawaxz 🎧
on all servers
Jupstar ✪ 2024-07-24 14:48
with latest ddnet client?
Avatar
klawaxz 🎧 2024-07-24 14:48
This is a problem on all servers, no matter where I go, I don’t know what to do ((
Avatar
Avatar
klawaxz 🎧
This is a problem on all servers, no matter where I go, I don’t know what to do ((
Jupstar ✪ 2024-07-24 14:48
do you use the latest ddnet client?
Avatar
klawaxz 🎧 2024-07-24 14:49
yeap
Avatar
Jupstar ✪ 2024-07-24 14:49
i joined 57.128.201.180:8321
Avatar
57.128.201.180:8321 is an official DDraceNetwork (DDNet, Region: 🇪🇺) server. Quick join: https://ddnet.org/connect-to/?addr=57.128.201.180:8321/
Avatar
Jupstar ✪ 2024-07-24 14:49
and see a button
14:49
if you join that server you dont? can you test?
Avatar
klawaxz 🎧 2024-07-24 14:49
its bad
14:51
i can respawn by k, but i want know whats happenend
Avatar
Avatar
DDNet
57.128.201.180:8321 is an official DDraceNetwork (DDNet, Region: 🇪🇺) server. Quick join: https://ddnet.org/connect-to/?addr=57.128.201.180:8321/
Jupstar ✪ 2024-07-24 14:51
can u join this server
14:51
and see if u see a button or not
Avatar
klawaxz 🎧 2024-07-24 14:52
ok
14:54
i dont have this button(
Avatar
Avatar
klawaxz 🎧
i dont have this button(
Jupstar ✪ 2024-07-24 14:54
press F1 and say what version it says top right
Avatar
klawaxz 🎧 2024-07-24 14:54
ok
14:55
Avatar
Avatar
klawaxz 🎧
Click to see attachment 🖼️
Jupstar ✪ 2024-07-24 14:56
do you use russian as language?
Avatar
klawaxz 🎧 2024-07-24 14:56
im russian but i speak English
Avatar
Jupstar ✪ 2024-07-24 14:56
for me it looks like this
Avatar
Avatar
klawaxz 🎧
Click to see attachment 🖼️
Jupstar ✪ 2024-07-24 14:57
in this screenshot, what does the button next to "kill" say?
14:57
in my screenshot it says "pause"
Avatar
klawaxz 🎧 2024-07-24 14:57
yes, its correct, but i dont have button " респаун "
Avatar
Jupstar ✪ 2024-07-24 14:57
why is it different to yours
14:58
ah
14:58
do you play with small resolution?
14:58
if i change my resolution then i also dont see those buttons
Avatar
klawaxz 🎧 2024-07-24 14:58
Avatar
Jupstar ✪ 2024-07-24 14:58
Avatar
klawaxz 🎧 2024-07-24 14:58
ok
14:59
one moment
Avatar
Avatar
klawaxz 🎧
Click to see attachment 🖼️
Jupstar ✪ 2024-07-24 14:59
did it work in earlier versions of ddnet? with your small resolution
14:59
maybe the translations were changed and are longer now
15:00
or maybe a dev removed them bcs they were too long, dunno
Avatar
klawaxz 🎧 2024-07-24 15:00
I tried changing the screen resolution, it didn't help
Avatar
Avatar
klawaxz 🎧
I tried changing the screen resolution, it didn't help
Jupstar ✪ 2024-07-24 15:01
to 16:9 ?
15:01
it depends on your aspect ratio
Avatar
Was changed so the buttons are not shown if there is not enough space
15:04
Previously the buttons overlapped with smaller resolutions
Avatar
klawaxz 🎧 2024-07-24 15:06
I have a square monitor(
15:09
when I just downloaded the game, everything was fine, I downloaded the game 3 days ago, and yesterday when I turned on the game, the button disappeared
Avatar
Avatar
klawaxz 🎧
when I just downloaded the game, everything was fine, I downloaded the game 3 days ago, and yesterday when I turned on the game, the button disappeared
Jupstar ✪ 2024-07-24 15:11
yeah the button was removed as robyte said. I think you can better use k anyway. if you don't like k, press F1 and type: bind <key> kill where <key> is any key you like, e.g. bind q kill then you only have to press q to respawn
Avatar
klawaxz 🎧 2024-07-24 15:11
(
Avatar
Jupstar ✪ 2024-07-24 15:12
just try it out, you won't regret it 😉
Avatar
Avatar
murpi
@ForgottenCat would disagree
ForgottenCat 2024-07-24 15:18
I just think different people like different settings.
15:19
As for me, android client can start to play anywhere, and the hook system has a big advantage because it could rotate instantly
Avatar
Jupstar ✪ 2024-07-24 15:20
@ForgottenCat did you actually play on pc once?
Avatar
ForgottenCat 2024-07-24 15:20
Yes
Avatar
Jupstar ✪ 2024-07-24 15:20
ah nice
15:20
must have felt weird the other way around xd
Avatar
ForgottenCat 2024-07-24 15:20
I find that i hate how the hook aims
15:20
I dont know how you guys rehook using mouse
15:21
And at a fast speed, thats also impressive for me
15:21
I play lumine on pc once, i can only finish halfbrownbear
Avatar
Jupstar ✪ 2024-07-24 15:22
i could not play gores on mobile.. the input lag and the missing feedback are too bad
15:22
i also couldn't imagine that training alone can fix it
Avatar
Avatar
Jupstar ✪
i also couldn't imagine that training alone can fix it
ForgottenCat 2024-07-24 15:24
Maybe antiping can fix..
Avatar
Jupstar ✪ 2024-07-24 15:24
i meant the input lag from the hardware
Avatar
ForgottenCat 2024-07-24 15:24
Your brain will antiping finally
Avatar
Jupstar ✪ 2024-07-24 15:24
and missing feedback from hardware
Avatar
Avatar
ForgottenCat
Your brain will antiping finally
Jupstar ✪ 2024-07-24 15:24
ah
15:24
you mean like that 😄
Avatar
ForgottenCat 2024-07-24 15:25
Tough way though
Avatar
help me (edited)
Avatar
Avatar
snwrrex
help me (edited)
Jupstar ✪ 2024-07-24 15:28
#✉-create-a-ticket -> ban appeal
Avatar
thanks
Avatar
GitHub BOT 2024-07-24 15:44
A lot of tile-sets share the same structure and therefore also have the same auto-mapper rules. But the auto-mapper rules have to be copied for each tile-set. This means that in order to make a change to the rules each rule file has to be modified. @mindTW suggested adding an "Include" command to the auto-mapper format. With this each tile-set still needs to have a rule file, but they don't have to be modified after modifications to the included rules. This would also allow combining multipl...
Avatar
GitHub BOT 2024-07-24 15:52
Draft implementation of #8643.

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](https:...
15:56
Before: !teamcolors old After: !teamcolors new

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...
Avatar
GitHub BOT 2024-07-24 16:11
90c4a55 Try fix issue with savegames - Learath2 04a4491 Merge pull request #8642 from Learath2/pr_save_issue - def-
Avatar
marmare_314 2024-07-24 16:15
@Robyt3 Hey, I wanted to revisit #7320, but I am not really happy with it anymore. I don't think it improves the code quality much. I think much of the complexity of the envelope editor code comes from storing the envelope points as integers. We could also only use floats in the editor and then convert them to integers when saving. Do you think that would be reasonable?
Avatar
Refactor CEnvPoint_runtime to make the editor code a bit more readable and hopefully also more maintainable. Checklist Tested the change ingame Provided screenshots if it is a visual change Te...
Avatar
Jupstar ✪ 2024-07-24 16:19
"ideas for editor" ... invents a complete new game lol
troll 3
Avatar
Avatar
marmare_314
@Robyt3 Hey, I wanted to revisit #7320, but I am not really happy with it anymore. I don't think it improves the code quality much. I think much of the complexity of the envelope editor code comes from storing the envelope points as integers. We could also only use floats in the editor and then convert them to integers when saving. Do you think that would be reasonable?
Seems reasonable I think. Though at some point you also need to convert to fixed point temporarily, like when checking whether the point time is between two other times when moving a point.
Avatar
Mm, why floats? They are a lie in this case, we only have fixed precision
Avatar
Jupstar ✪ 2024-07-24 16:46
use a double and then u have insane precision
16:46
we dont used fixed point numbers.. we use fixed point numbers with bad precision xd
Avatar
GitHub BOT 2024-07-24 16:48
1c2d726 Also trim search strings in highlights - def- fddba0c Merge pull request #8641 from def-/pr-formatting - Robyt3
Avatar
Avatar
Learath2
Mm, why floats? They are a lie in this case, we only have fixed precision
marmare_314 2024-07-24 16:53
Yes, the question is if it is ok for the editor to not be completely accurate. If the difference is at most 1ms Im not sure it really matters
Avatar
If you load a map and save it again without changes I would expect it to be unchanged though, so it shouldn't add any rounding errors like this
Avatar
marmare_314 2024-07-24 17:00
Of course, that should be fine
Avatar
GitHub BOT 2024-07-24 17:04
eb956e7 Use same Red/Blue team colors for score HUD as for scoreboard - Robyt3 cd81b1f Merge pull request #8645 from Robyt3/Client-HUD-Score-Team-Colors - def-
Avatar
Avatar
GitHub
Click to see attachment 🖼️
why it got merged without any discussion justatest
Avatar
Was already a pretty large discussion considering is was about the shade of two colors 😄
Avatar
Avatar
Robyt3
Was already a pretty large discussion considering is was about the shade of two colors 😄
You made UI change. It was someones fav color. You will be killed now
monkaS 2
banhammer 1
Avatar
Jupstar ✪ 2024-07-24 17:34
tja ne
Avatar
Avatar
Robyt3
Was already a pretty large discussion considering is was about the shade of two colors 😄
NOOOO mah color nootlikethis
Avatar
Avatar
Learath2
You made UI change. It was someones fav color. You will be killed now
imagine face of 40 years vanilla players, who hate any changes
Avatar
Avatar
Jupstar ✪
tja ne
MilkeeyCat 2024-07-24 17:47
Tja mentioned 😬
Avatar
tja alert, please evacuate from #developer
Avatar
Mattia, better known by his artistic name Tja, was born in Turin in 1994 and discovered his love for music at a young age. Although he plays many instruments, including drums, and piano, he is today traveling with the guitar and his true favorite instrument amongst all, his voice.  The summer of 2023 marked a milestone in Mattia's musical caree...
2,483 Followers, 816 Following, 66 Posts - See Instagram photos and videos from Tja (@tjamusic_official)
Avatar
Idk where to post this but I'm too proud of myself for making this without it being suppported by the lib im using
Avatar
Avatar
Sans
used /profile
Crystal BOT 2024-07-24 21:58
Points
#8219 3046 (46 last week)
Favorite partner
Snas3108 (8 finishes)
Favorite server: GER GER First Finish: 2021-08-08 10:21 Multeasymap 41:24
21:58
basically @DDNet but everywhere on discord (edited)
Avatar
Cool :^D
Avatar
Where is the package handling done on client side?
Avatar
it isn't
22:29
or uhh
22:29
what are you trying to get done
Avatar
@Ewan E.g. how does the client know someone else is online (edited)
Avatar
it doesn't. u can use steam or the list of tees from the masters
Avatar
I'm assuming it's by using the master server data, it reports what players are on every registered server
Avatar
Avatar
Crystal
Click to see attachment 🖼️
that's basically what I did for the online icon here
Avatar
am I confused or doesnt the client have to send a request to the server?
Avatar
it does when you refresh the server browser, yea
Avatar
and the server will answer with a package, no?
Avatar
tons of json
Avatar
which is handled where?
Avatar
i see what u mean now
👍🏼 1
22:35
lemme c
Avatar
my cpp dev env is crippled so i have to look on github
22:35
sux
Avatar
its nice if you know, but dont do some extra work to find it (edited)
Avatar
it should be ez to find
22:43
that's where it requests info from a server
Avatar
higher up, servers are added to a queue to have their info requested
22:44
and the filtering is done somewnere else basically
👍🏼 1
22:44
so u might just poke around in there and menus_browser.cpp to get all u need
🤌🏼 1
Avatar
Avatar
APFFF
am I confused or doesnt the client have to send a request to the server?
heinrich5991 2024-07-24 23:21
no. the code locations you found aren't the correct ones
23:21
the client gets all its data from https://master1.ddnet.org/ddnet/15/servers.json (edited)
23:22
exclusively. you can also download that JSON from elsewhere 😉
Avatar
Avatar
heinrich5991
exclusively. you can also download that JSON from elsewhere 😉
im looking for an example in the code where the request for this json is sent, as well as an example where the response with the json is received
Avatar
Avatar
Jupstar ✪
"ideas for editor" ... invents a complete new game lol
cyberFighter 2024-07-24 23:25
bouncyness already exists lmao
23:25
and gravity and slippery
Avatar
Avatar
APFFF
im looking for an example in the code where the request for this json is sent, as well as an example where the response with the json is received
heinrich5991 2024-07-24 23:29
Avatar
Avatar
Jupstar ✪
"ideas for editor" ... invents a complete new game lol
Option to make dummies follow you around while avoiding freeze and death tiles 🗣🗣🗣🔥 🔥 🔥
Avatar
heinrich5991 2024-07-24 23:29
what do you mean with "where it is sent"? do you mean the mastersrv?
Avatar
Avatar
heinrich5991
what do you mean with "where it is sent"? do you mean the mastersrv?
You answered it in your first response?
Avatar
heinrich5991 2024-07-24 23:31
ah
Avatar
as in what code sends the request
Avatar
heinrich5991 2024-07-24 23:31
ah
Avatar
heinrich5991 2024-07-24 23:31
here, it's received
Avatar
nice thanks
Avatar
@heinrich5991 sorry to bother, do you also know how packages are being sent to the server (like for picking a server, shooting, movement, etc.)? (edited)
Avatar
heinrich5991 2024-07-24 23:48
yes, I know that. but it's kinda long to explain ^^
23:49
Avatar
GitHub BOT 2024-07-24 23:51
The "for 10 minutes" is confusing because the ban will just be reapplied afterwards.
Avatar
Avatar
heinrich5991
yes, I know that. but it's kinda long to explain ^^
Any chance you have an example in code?
Avatar
chillerdragon BOT 2024-07-24 23:54
Of doing what exactly?
Replying to @APFFF Any chance you have an example in code?
Avatar
Avatar
chillerdragon
Of doing what exactly?
Sending any package to the server, say for shooting your weapon (if thats its own package even) (edited)
Avatar
chillerdragon BOT 2024-07-24 23:57
What do you need it for?
Avatar
atm. for sending echos in chat if someone from your friends list joins the game. But I also want to understand the code in general as im quite new to the project
Avatar
chillerdragon BOT 2024-07-24 23:59
So you are working in the ddnet client C++ code base?
23:59
the git project
Avatar
chillerdragon BOT 2024-07-24 23:59
Okay yea thats smooth. I almost explained the entire protocol from top to bottom to you :D
Exported 446 message(s)
Timezone: UTC+0