Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2022-06-17 00:00:00Z and 2022-06-18 00:00:00Z
Avatar
Avatar
louis
would be nice if some announcements were more heavily weighed on novice servers kek
agreed
Avatar
Avatar
AssassinTee
@heinrich5991 does the server require now ipv6 btw?
sv_register ipv4
Avatar
Avatar
Jupstar ✪
like 3rd time ddnet.tw was down this week
the first time, it was DoSed, the other three times it was down due to a network misconfiguration that @Learath2 now tracked down. so hopefully it won't go down again(?)
02:39
(I'm away for the weekend, can't set up a second master, and a proper second master needs code anyway)
Avatar
dang, updated firefox, and now it crashes 100% on some page... and im using release canal...
03:17
ironically, it crashes on mozilla.org mostly 😄
Avatar
405ae97 Fix editor value scrollers not working and panning being slow - Robyt3 d9f4e14 Update comment - Robyt3 c318dca Remove accidentally added double type - Robyt3 d4f0e5c Merge #5445 - bors[bot]
Avatar

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 if it works standalone, system.c especially
  • [ ] 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-addresssanitizer--u...
Avatar
Avatar
heinrich5991
perhaps we could get an actual freeze animation
The PR already includes a freeze animation (but only particles, we have decided to only do a small step first ^^ next step would be to come up with a better solution then ninja skin) (edited)
Avatar
Avatar
fokkonaut
@c0d3d3v I didnt know what exactly you meant yesterday I think, but I think a flag for the freezebar from the server aswell as a flag for the stars to be rendered clientside with the ninja skin will be the way to go. Either you can add it to your pr, or I would add it for you to copy
I do not want to re add stars in 16.2... If it is not accepted by the comunity that should be done in 16.3
Avatar
Avatar
AssassinTee
jokes aside, aren't skins limited in their size?
no, normal skins have ~32units width and height but can get up to 64 units
Avatar
Avatar
fokkonaut
I personally always played with show ninja 0. Is that now also impossible for freeze?
it is still posible
Avatar
Avatar
fokkonaut
At least during fast gameplay, yes.
You could implement a colorblind option that forbids some not distinguishable colors from rendering
Avatar
Avatar
c0d3d3v
no, normal skins have ~32units width and height but can get up to 64 units
they can go up to whatever, even 😉
Avatar
Avatar
heinrich5991
they can go up to whatever, even 😉
No, the max size is 64 units (edited)
08:43
only if you activate fat skin, but then we would scale extras too
08:46
08:46
left is max skin; right is normal
Avatar
Avatar
heinrich5991
sv_register ipv4
oh thank you ❤️
Avatar
Avatar
c0d3d3v
No, the max size is 64 units (edited)
what's the purpose of this?
Avatar
of what?
Avatar
fat skins
Avatar
fat skins != max size skins
08:52
fat skins are for fun
Avatar
so only visuals?
Avatar
max size can be used to get creative
Avatar
so sticking a huge antenna out of my skin for example?
Avatar
but there are not much skins that used all the space usefull
08:53
because the hitbox is only 28 radius
08:53
it is also bad to play with skins that have 64 units
Avatar
Avatar
AssassinTee
so sticking a huge antenna out of my skin for example?
jup
Avatar
The translation branch is for a not yet merged controller branch, is it? I want to check something in the code (or in the client directly) where the translation might be wrong
Avatar
what are you looking for?
Avatar
"custom" is tranlated with "eigene"
08:55
and directly in front is "default" translated with "Standard", this seems wrong
08:57
from first glance I am sure they have a similar usecase, and that custom might be "Benutzerdefiniert"
Avatar
I do not see these translations. But maybe "Benutzerdefiniert" was to long... because we do not scale all lables
Avatar
can't get the permalink out of it oO wait a sec
Avatar
Avatar
AssassinTee
so sticking a huge antenna out of my skin for example?
the antanna can not be to huge, as you can see in my screenshot xD
Avatar
I'll make my sattelite dish fit! :3
09:05
it is used for the vulkan backend in the settings
Avatar
I consider 3 month older pretty new in teeworlds history context
09:05
oh no, I'd need to start the client and look where it's used
Avatar
Looks like a custom user defined backend or something
Avatar
should be somewhere there
Avatar
Ah I see, so something like Vulkan (1.0.0) - custom
09:07
custom would be before that
Avatar
hmm
Avatar
I think "eigener" would fit in the context of Renderer
Avatar
There a multiple values, so it might be plural
Avatar
"benutzerdefiniert"
Avatar
no they are above... I think the "custom" one is one that you define via f1 configs (edited)
Avatar
I wonder if a person will ever run into this
Avatar
maybe if you do it like the pined message in #bugs
Avatar
wow, ddnet really has a lot of options, this is great 😮
09:20
7e8ba6d Grammar, gender neutrality - kaitlynia f08e8aa Merge pull request #40 from kaitlynia/patch-1 - def-
Avatar
Adding a section to the website to submit < Rank 5 demos of maps, having a tab on the official website where players have the option of voluntarily sharing their best runs to the site. This would allow speedrunners to look through demos and find any potential skips or tricks, and further improve the best times, without really hurting either side of the "public demos" argument, and casual players could use this to find out how to do certain parts on a map. It would also allow c...
Avatar
ddnet has that beatiful mix function which is linear, does it have a sigmoid version of this, too? I know it's used in the editor but I don't know if it's easily accessible
Avatar
Avatar
AssassinTee
ddnet has that beatiful mix function which is linear, does it have a sigmoid version of this, too? I know it's used in the editor but I don't know if it's easily accessible
I do not know, but I also thought about a nice sigmoid function for particle effects in the future.
Avatar
can you elaborate, what would you sigmoid-ify on particles?
Avatar
maybe the editor uses game/bezier.cpp instead of sigmoid... did not have a look at it
Avatar
you are probably right
09:56
can't find any sigmoid, tanh or arctan function (edited)
Avatar
Avatar
AssassinTee
can you elaborate, what would you sigmoid-ify on particles?
transition of size and alpha. But I guess linear is good enough.
Avatar
meh guess you are right
Avatar
Avatar
c0d3d3v
maybe the editor uses game/bezier.cpp instead of sigmoid... did not have a look at it
seems like bezier is only used for the camera
Avatar
it uses CURVETYPE_SMOOTH, but I don't get the code
Avatar
uses second hermite basis
Avatar
Avatar
GitHub
Click to see attachment 🖼️
@Learath2 any hope for this?
Avatar
src/game/client/render_map.cpp#L17-L82
Avatar
a = -2 * a * a * a + 3 * a * a; // second hermite basis
10:01
y
Avatar
Avatar
M Emile
@Learath2 any hope for this?
Well fhe server side demo recorder is a bit broken, so it might take significant effort
Avatar
just a page where we can upload personnal demos?
Avatar
[quakenet] spirit BOT 2022-06-17 10:03:07Z
Hi
10:03
Hi
10:03
I've changed ISP and now when I connect to kog servers i am auto banned for using vpn (i'm not).
10:03
How can I unblock my network? :(
Avatar
You'll need to ask inside the KoG discord
Avatar
[quakenet] spirit BOT 2022-06-17 10:04:24Z
I've tried :(
10:04
kOg != ddnet
Avatar
[quakenet] spirit BOT 2022-06-17 10:05:08Z
oh, right. well i've got here from kog site ... so I thought it's kog. sorry. I'll try again. Thanks! <3
Avatar
Avatar
[quakenet] spirit
I've changed ISP and now when I connect to kog servers i am auto banned for using vpn (i'm not).
are you from Russia?
Avatar
so like player-submitted demos, check the time to verify if it matches the player's official time and voila
Avatar
[quakenet] spirit BOT 2022-06-17 10:05:56Z
no
🆗 1
Avatar
avoids the shitshow from people who dont want to share strats because they decide if they want to share them
10:07
@Learath2 what do you think abt it?
Avatar
Avatar
M Emile
avoids the shitshow from people who dont want to share strats because they decide if they want to share them
I'm pretty sure we have consensus that we want all demos public, a couple dissenters won't really change that
Avatar
Avatar
M Emile
@Learath2 what do you think abt it?
I'm not against it, but I don't think I'll be the one to make it
Avatar
if its not too much work to make, just a page to submit them should be good enough for it. Otherwise waiting to have server demos will take ages
Avatar
I have seen you implemented another database for "Community skins", would be great to add also one from skins.tw web https://skins.tw/

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 if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect ex...
Avatar
cl_skin_download_url https://api.skins.tw/api/resolve/skins/
11:43
cl_download_skins 1
11:44
cant you just do that?
Avatar
Avatar
Broso56
cl_skin_download_url https://api.skins.tw/api/resolve/skins/
not rly, especially new players has no clue there is some skins.tw
Avatar
i mean sure, i guess. but the functionality is already there
Avatar
Avatar
Broso56
i mean sure, i guess. but the functionality is already there
with that command I cant use ddnet database anymore
Avatar
unless this does something else, im just going off of the description
11:53
oh really?
Avatar
ye you can choose ddnet or skins.tw, with that PR both works at same time (edited)
Avatar
Mh, not a huge fan of including a service we have no control over
Avatar
Avatar
Learath2
Mh, not a huge fan of including a service we have no control over
🤷‍♂️ its off by default and can possibly put some warning message 🤔 or make your community db then open so everyone can upload skins freely without restrictions like on skins.tw 😄
Avatar
No restrictions = swastikatee
12:00
No thank you
Avatar
find me swastikatee on skins.tw btw
Avatar
Community db has little to no restrictions, dont put your name on it, dont put hatespeech on it
Avatar
Avatar
Axaris
find me swastikatee on skins.tw btw
Could it perhaps be that, they have restrictions I wonder
Avatar
ye I guess still its much more friendly service then yours community one so I tried.. I let decision on u 🙂 (edited)
Avatar
They have an upload button and postmoderate, we have a discord channel and premoderate. Not very different imo. Anyway I might be okay with your PR if we put a warning sign saying it's third party
Avatar
Avatar
Learath2
They have an upload button and postmoderate, we have a discord channel and premoderate. Not very different imo. Anyway I might be okay with your PR if we put a warning sign saying it's third party
will look on way how to add it
Avatar
We already have to deal with people thinking we moderate kog and even without a button in the client some people already think we moderate skins.tw too
☑️ 1
Avatar
@Learath2 is just text change "Download skins.tw skins" -> "Skins.tw skins (3rd party)" ok?
Avatar
Avatar
c0d3d3v
You could implement a colorblind option that forbids some not distinguishable colors from rendering
No, I could not.
❓ 2
12:13
And sad that u got so mad but k
Avatar
Avatar
Axaris
@Learath2 is just text change "Download skins.tw skins" -> "Skins.tw skins (3rd party)" ok?
Sure, if it fits there
👍 1
Avatar
Avatar
fokkonaut
No, I could not.
Hm, you could probably do this even in a shader
Avatar
Not me tho
Avatar
I dont know what colors are hard to differentiate for others, since my colorblindness is quite high while I still can see colors
12:26
Its not as easy as you think xd
12:26
Most of the time there are even different modes in the settings for color blind people
12:27
But I have actually never used them
Avatar
I'd think colorblindness is fairly documented now and the filters other games use mostly known
Avatar
what's the new config dir for linux and macos called?
14:34
path*
Avatar
~/local/share/ddnet i think?
Avatar
ah, .local
14:37
hm on macos it's still the same I guess
14:38
ah no, the path is still the same, just the directory was renamed to DDNet similar to windows (edited)
16:28
my name is kaic, i am a brazilian c++ programmer and i wanted to participate in the development
Avatar
Avatar
Kaic
my name is kaic, i am a brazilian c++ programmer and i wanted to participate in the development
ddnet is open source, you can participate whenever you want https://github.com/ddnet/ddnet
DDraceNetwork, a cooperative racing mod of Teeworlds - GitHub - ddnet/ddnet: DDraceNetwork, a cooperative racing mod of Teeworlds
Avatar
i know, i could find this out on github somehow, but when does the master get released?
Avatar
[quakenet] ChillerDragon BOT 2022-06-17 16:53:08Z
a good first task would be updating the client to the 0.7 protocol
Avatar
[quakenet] ChillerDragon BOT 2022-06-17 16:53:12Z
hrhrhr
16:54
DDNet 16.2 is supposed to release in 1 week, assuming no bad bugs are found. Please test the Release Candidate to prevent problems being only discovered after release. Report bugs in the #bugs chan...
Avatar
but, which master is it? i guess not the one with my pr 😂
16:54
but an earlier state of it
Avatar
[quakenet] ChillerDragon BOT 2022-06-17 16:54:52Z
there is only 1 master
Avatar
but different states
16:55
okay i guess the newest master gets released
Avatar
[quakenet] ChillerDragon BOT 2022-06-17 16:55:20Z
i assume this pr would be merged and then it takes the current state at merge
Avatar
also i can find this out on teeworlds.com i guess, but what was the intention with 0.7?
Avatar
[quakenet] ChillerDragon BOT 2022-06-17 16:56:58Z
wdym by intention
16:57
you mean why break the protocol?
Avatar
it has breaking changes as i understand, so why change something? what does it better, what got changed
Avatar
[quakenet] ChillerDragon BOT 2022-06-17 16:57:36Z
i think there a few things that piled up over the years that would break the protocol so they got put into one major release
16:57
you can not rename in game anymore
16:58
some security token thingies (but ddnet also manged to get those into 0.6)
Avatar
okay i check out changelog on teeworlds.com
Avatar
[quakenet] ChillerDragon BOT 2022-06-17 16:58:20Z
colored broadcast
16:58
new skin system
16:58
ready state that can be sent from client
16:58
the server sends info on who is spectating you
Avatar
but isn't there a network protocol thing so you can't connect to servers vice versa?
Avatar
[quakenet] ChillerDragon BOT 2022-06-17 16:59:22Z
some refactor of what is in the snap and what isnt
Avatar
0.6 client -> 0.7 server and vice versa
Avatar
[quakenet] ChillerDragon BOT 2022-06-17 16:59:58Z
well as i said there are some tokens now and those are required and a vanilla 0.6 cleint does not have those
17:00
i think also the flags got removed
17:00
the playerflags
17:00
iirc
17:00
or something changed about them
17:01
ah they still there
17:01
but they changed
17:01
you can also see who is dead/bot/admin now
Avatar
so you want ddnet 0.7?
Avatar
[quakenet] ChillerDragon BOT 2022-06-17 17:01:32Z
yes
17:01
so we can all play together
17:01
would be especially nice to join vanilla ctf games with ddnet client agian
Avatar
we can all play together on compability broken ddnet network implementation
Avatar
[quakenet] ChillerDragon BOT 2022-06-17 17:02:07Z
no
Avatar
that isnt bloated and adds good stuff like encryption
Avatar
[quakenet] ChillerDragon BOT 2022-06-17 17:02:16Z
pro vanilla players dont join 0.6 anymore
Avatar
pro vanilla players
17:02
u mean 2 players
Avatar
hahahahahaha
Avatar
that nobody cares about xD
Avatar
[quakenet] ChillerDragon BOT 2022-06-17 17:02:41Z
like 10+ but yea
17:02
i do
17:03
also all new players that found teeworlds before ddnet
Avatar
ddnet holds back by having vanilla compability vanilla holds back bcs no maintainers welcome
17:03
nice
17:03
deadlock
Avatar
another question..
17:04
i forgot it 😅
Avatar
Avatar
[quakenet] ChillerDragon
would be especially nice to join vanilla ctf games with ddnet client agian
we still can use tsfreddies pvp server cant we
Avatar
i don't get all this, i even downloaded 0.6 teeworlds.com client, because i thought the vanilla teeworlds community is 'hidden' there, but I couldn't find any
Avatar
vanilla 0.7 plays almost like vanilla 0.6 i accept there are some QOL, but tbh we could easily add stuff if we wouldnt always have to garantuee it works on ddnet 3 and teewars
Avatar
0.5 compability would be good
Avatar
yes
Avatar
can't it just be "sandboxed"? xd
Avatar
yeah but so much work for what?
Avatar
okay, didn't know it's much work
Avatar
and also there are still lots of network packages that have to work on more systems
17:08
like the logic also has to respect it
17:08
the one wants lasers, the next want doors
17:08
if we'd make a cut every 2 years
Avatar
yeah, just use two protocols or whatever separately xd
Avatar
and say this is the "new" what ddnet has to be able to run definition
Avatar
one for ddnet and one for vanilla in same client
Avatar
would be so much easier
17:09
but we also have older ddnet clients
Avatar
waitin for ddnet-legacy and ddnet
😂 1
Avatar
its not just vanilla and ddnet
17:10
we do it for <5% of all players
17:10
for nobody else
17:10
just to be clear
17:11
5% of all players that heinrich and deen prefer over the rest
17:13
i'd port fng, maybe noby too vanilla and ictf shouldnt be very hard since they are not really complex and kog would either need compability servers or just finally upgrade
17:13
they wanted to do it anyway
Avatar
so it's mostly about 0.7 players joining ddnet servers or the other way around?
17:13
i guess 0.7 client working on the ddnet servers
Avatar
yes it kinda works
17:14
not perfect
17:14
i mean it doesnt even support all prediction
17:14
u could say it sucks xD
Avatar
yeah, but ddnet joining vanilla servers is not a problem?
Avatar
not for 0.6 servers i guess
17:14
but u cannot join 0.7 servers
Avatar
so what is this issue about. ddnet client joining 0.7 servers 0.7 client players joining ddnet servers both
Avatar
0.7 client can connect to ddnet server
17:16
ddnet client cannot connect to 0.7 servers
Avatar
and what has higher priority?
Avatar
just to be clear
Avatar
i assume supporting 0.7 client players, cause less ddnet players join / want to join vanilla servers
Avatar
i dont want 0.7 protocol
17:17
i want a completly new one
17:17
that drops all the useless bloat
17:17
0.6 and 0.7 is as said relativly similar
17:17
there are a few changes, but not the hugest ones
Avatar
okay okay, i might try to find vanilla sessions once more.
Avatar
look who didnt update in a while
17:19
BASEDHALT
17:19
633 packages
Avatar
10Gbyte
17:19
ez
Avatar
the net upgrade size is 100mb
Avatar
yeah small af
17:20
xD
Avatar
Avatar
Ryozuki
look who didnt update in a while
lol
18:21
arch<
Avatar
Remove includes and replace them with forward declarations or other includes according to include-what-you-use's recommendations. CC #5297.

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 if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that af...
Avatar
[quakenet] ChillerDragon BOT 2022-06-17 21:11:56Z
@deen tbh you pushing a full refactor of the integration script into my chat related pr #5343 is a bit of an mess. Could we get my chat changes in and then you do your refactor in a seperate pr?
21:12
Imo integrating it into cmake is not too nice but i dont care that much. Its just not working on my system at all anymore. And not related to coverage of chat.
Avatar
Hello, i want to ask how controls work, and especially why when i hold jump key - it jump once and if i hold left/right key it keeps going, i looked into code but didn't find why exactly it work like this, if this kind of flag or smth else
Avatar
Avatar
Jupstar ✪
ddnet client cannot connect to 0.7 servers
it can, to mine :p
Avatar
ChillerDragon: it worked in CI and locally for me on 3 machines. do you have an old cmake version? how does it fail?
Avatar
690408f Update Korean translations by CHaBek - cwh7435 cd8706a Merge #5447 - bors[bot]
Avatar
[quakenet] ChillerDragon BOT 2022-06-17 23:48:46Z
@deen it first says "did the client crash" ? then it launches 2 clients they get stuck in the connecting screen. Then the shell script dies and the clients stay open
23:48
i tested only on arch
23:52
23:53
my cmake is up to date i feel like its more a teeworlds settings issue. maybe it still loads some system settings. Well idk what is going on thats the point. So the pr got kinda stale because of that
Exported 268 message(s)