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-20 00:00:00Z and 2024-05-21 00:00:00Z
Avatar
Avatar
fokkonaut
suddenly map design switching (sending a map change) doesnt seem to work reliably anymore and client is stuck in sending initial client info
@Robyt3 I used git bisect to find the source of this issue, it's this commit: https://github.com/ddnet/ddnet/commit/507b097ad82573f2ab975ce96ecaccd42551c53d
00:06
Let me try smth
00:07
ah yea no
Avatar
hah, i was missing the CNetMsg_Sv_ReadyToEnter on design change, which triggered the function resetting that variable :D
Avatar
f8ca18d Forgot to readd Paralix (back since December 2023) - def-
Avatar
I think the storage.cfg is no longer loaded from the current directory, but from where the DDNet-Server executable is, which breaks my secret test server setup. Not sure this is worth changing though, I'll just add some workaround
Avatar
ws-client BOT 2024-05-20 01:17:14Z
<ChillerDragon> thanks a lot @Ewan setting a C++ standard fixed the macOS pipeline poggers2
Avatar
ws-client BOT 2024-05-20 01:31:50Z
<ChillerDragon> hm but only for my simplified version not the actual code base where i need it in tee_thinking
Avatar
ws-client BOT 2024-05-20 01:40:28Z
<ChillerDragon> ok whatever i did it differently now. Its much more verbose. fakin c++
Avatar
ChillerDragon: morning
Avatar
ws-client BOT 2024-05-20 02:55:58Z
<ChillerDragon> monrin fred
02:56
<ChillerDragon> antibot can not be compiled standalone without a ddnet source code right?
02:58
<ChillerDragon> I am trying to build some kind of plugin system and have a hard time designing it. I would like to be able to build stuff standalone and then run unit tests against it. And also load it on the server side during the runtime of the server. Antibot seems close.
Avatar
If everything is open source, just use regular C++ classes as your abstraction and add a new target to test it in isolation. Why do you need a plugin system?
Avatar
ws-client BOT 2024-05-20 04:48:38Z
<ChillerDragon> oh yea nice simple idea @deen c:
04:48
<ChillerDragon> how is that related to open source tho?
04:49
<ChillerDragon> Oh and i want hot reloading too. I wanted such a thing for server modding for a while now. And finally decided to give it a try. But it won't be a generic plugin system. Just a plugin system for one feature :D
04:50
<ChillerDragon> its for server side controlled tees. I have 10k lines of if statements that control a tees inputs based on its coordinates and i would like to extract that out of the server code base into something that can run unit tests and also compile standalone and hot reload.
04:53
<ChillerDragon> But yea everything is open source. But i would like to share it across multiple server projects. I think i am slowly onto something. Its gonna be a huge mess :D
Avatar
hi why does my server hosted on my pi only get hosted locally?
07:06
usually when checking local connections there’s the local ip address and then public ip. all i can see if the local ip and none of my friends can connect with public ip
Avatar
did you port forward
07:34
u can do like curl ipv4.icanhazip.com to see ur public ip on the pi
Avatar
morning
Avatar
ws-client BOT 2024-05-20 08:07:30Z
<ChillerDragon> lmao curl ipv4.icanhazip.com
Avatar
Avatar
deen
I think the storage.cfg is no longer loaded from the current directory, but from where the DDNet-Server executable is, which breaks my secret test server setup. Not sure this is worth changing though, I'll just add some workaround
Works for me on Windows. According to the source code it should first check the current directory and then the directory in the path of argv[0]
Avatar
Avatar
fokkonaut
hah, i was missing the CNetMsg_Sv_ReadyToEnter on design change, which triggered the function resetting that variable :D
You also shouldn't send any ingame message to clients before they sent NETMSG_ENTERGAME if you haven't fixed that already server-side. Once I fixed #4274 and the related issues on the client-side, the client will ignore those message or disconnect if it gets connecting messages in the wrong order.
👍 1
Avatar
I have made a design changer which usually works. For some unknown reason it sometimes crashes the DDNet client here: ddnet/src/game/client/gameclient.cpp Line 2231 in 2b1ff1c TuneZone = Collision(...
Avatar
Avatar
LuKron
usually when checking local connections there’s the local ip address and then public ip. all i can see if the local ip and none of my friends can connect with public ip
you need to open your port in the router for your server, make sure that you open it for the right device, e.g. the pi. Also you need to set sv_register 1, otherwise the server won't register with the masterservers, but it should work on public IP without this
Avatar
Avatar
AssassinTee
you need to open your port in the router for your server, make sure that you open it for the right device, e.g. the pi. Also you need to set sv_register 1, otherwise the server won't register with the masterservers, but it should work on public IP without this
no the port is definitely open.
08:39
it’s been open but after reinstalling server files it no longer works
Avatar
Avatar
AssassinTee
you need to open your port in the router for your server, make sure that you open it for the right device, e.g. the pi. Also you need to set sv_register 1, otherwise the server won't register with the masterservers, but it should work on public IP without this
register was off before as well i just sent my friends the ip
Avatar
Avatar
Ewan
u can do like curl ipv4.icanhazip.com to see ur public ip on the pi
the public ip is correct. i just ran a speedtest-cli to see what it is
Avatar
Time score will now always be used for any game with the flag GAMEINFOFLAG_TIMESCORE set in the CNetObj_GameInfoEx object. If the flag is not set, points score is used instead. Backwards compatibility for old demos, that were recorded without this net object and flag, is removed. For old demos, points score is always assumed now. Closes #6700.

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with poss...
Avatar
Yo, can anyone elp. Rn im trying to setup internet on debian. What i wanna do is, use wifi if ethernet cable isn't plugged in and use ethernet if it's connected. Is there an easy way to do it? justatest
Avatar
elping
Avatar
Maybe there is opportunity to make new version for mobile 📱 users? Sometimes people ask for mobile version and the version we have is very old and buggy
Avatar
Avatar
texnonik
Maybe there is opportunity to make new version for mobile 📱 users? Sometimes people ask for mobile version and the version we have is very old and buggy
someone is working on it, but without any specific date
Avatar
I saw Android related commit being pushed yesterday
Avatar
there is/was simply no real interest from dev side
Avatar
Avatar
MilkeeyCat
Yo, can anyone elp. Rn im trying to setup internet on debian. What i wanna do is, use wifi if ethernet cable isn't plugged in and use ethernet if it's connected. Is there an easy way to do it? justatest
it doesnt work out of the box?
Avatar
Avatar
Jupstar ✪
it doesnt work out of the box?
N..no
Avatar
i mean i could try to design touch control since i was working on ddnet rip-off mobile game didn't i
Avatar
epyc
Avatar
but let me quit my job real quit
Avatar
Avatar
TsFreddie
but let me quit my job real quit
😬
Avatar
Avatar
MilkeeyCat
N..no
mh
09:32
what exactly is not working
09:32
wifi?
09:32
u need to install a package for that
Avatar
Avatar
MilkeeyCat
Yo, can anyone elp. Rn im trying to setup internet on debian. What i wanna do is, use wifi if ethernet cable isn't plugged in and use ethernet if it's connected. Is there an easy way to do it? justatest
also that is weird that isn't working out of the box
Avatar
that i forgot bcs i didnt use wifi in 5 years xd
Avatar
Tonight ill stream ™
Avatar
Avatar
MilkeeyCat
Tonight ill stream ™
epyc
Avatar
Avatar
Jupstar ✪
epyc
amd schill
Avatar
I got ddnet related project idea 😏
09:33
Shitty one but still
Avatar
can I just apply for valve
09:34
is it a thing that I can do
Avatar
Avatar
TsFreddie
can I just apply for valve
give me a job at amd, then i'll give a good word for you at valve
09:34
😬
Avatar
Avatar
MilkeeyCat
I got ddnet related project idea 😏
nice, don't spoil it
Avatar
Avatar
Jupstar ✪
u need to install a package for that
I installed dhcpcd and wpa_supplicant, connected to wifi and everything works but after boot it uses ethernet
Avatar
Avatar
Jupstar ✪
nice, don't spoil it
So noone will see it kek
Avatar
Avatar
MilkeeyCat
So noone will see it kek
show at stream
Avatar
Avatar
texnonik
Maybe there is opportunity to make new version for mobile 📱 users? Sometimes people ask for mobile version and the version we have is very old and buggy
Please comment on #8359 if you have any ideas for the ingame touch controls
Avatar
Please discuss how the ingame controls for Android could look and work like in this issue first. Technical requirements: Android controls should be a separate gameclient component and require minim...
Avatar
Avatar
MilkeeyCat
Yo, can anyone elp. Rn im trying to setup internet on debian. What i wanna do is, use wifi if ethernet cable isn't plugged in and use ethernet if it's connected. Is there an easy way to do it? justatest
You can make up a script that switchs up
10:01
Sadly it doesn't quite do it automatically
Avatar
I saw some bash scripts which do it
10:02
But i thought maybe there's a setting for it to do it automagically
Avatar
+ at work for example the wifi was still enabled while the cable was plugged, which was prioritized for some reason
10:02
No, sadly there's not
Avatar
Ill yoink those scripts then
Avatar
At work I just en/dis wifi on demand
Avatar
Thanks for the help
Avatar
i have a game idea
10:20
ill try godot
10:27
7da8308 Remove cl_ddrace_scoreboard and cl_demo_assume_race settings - Robyt3 42fa410 Merge pull request #8384 from Robyt3/Client-Demo-Race-Compat-Removal - heinrich5991
Avatar
why should the left joystick exist
Avatar
Avatar
cyberFighter
why should the left joystick exist
i guess a joy stick that can only go on x axis maybe
10:49
is maybe still better than 2 buttons to hit (edited)
10:49
but dunno, no mobile gamer xD
Avatar
I jump with W so using joystick up to jump would be natural
Avatar
one of the W ppl
10:50
😬
Avatar
i dont know what other platformer game in existence uses a joystick to move and jump
Avatar
Avatar
Robyt3
I jump with W so using joystick up to jump would be natural
what would be a good deadzone tho
10:50
maybe a button is more inuitive
10:51
(at least for the jump)
Avatar
yeah, joystick for jumping is considered not good for pros in super smash bros. 😏
Avatar
i would prefer 3 buttons like an actual keyboard with w for jump
Avatar
(that's also why I would have used a joystick for jumping, because it comes from those games)
Avatar
kill chat and leaderboards all in the top left corner
10:54
thats how i play mobile ddnet rn
Avatar
Avatar
Robyt3
(that's also why I would have used a joystick for jumping, because it comes from those games)
but tbf ddnet has no movement based on the axis value of a joy stick
10:55
it's really more like buttons
Avatar
Avatar
Jupstar ✪
but tbf ddnet has no movement based on the axis value of a joy stick
yea, there's no real axis. might still be useful to be able to change directions by only moving the finger, not needing to move away from the screen
11:12
like you can change directions on a controller d-pad by just moving the finger around, not away from the controller
Avatar
yes but then x-axis only
11:12
not add jump to it
Avatar
Avatar
Robyt3
Please comment on #8359 if you have any ideas for the ingame touch controls
Just make movement and jump ceperated xD most of time you jump when go left or right very annoying . Different buttons for weapons . And maybe ability to dissable all and use mouse and keyboard ability .
Avatar
Avatar
Jupstar ✪
yes but then x-axis only
i'd find it better if ur joystick going up allows u to jump
11:42
at least u don't have to use another finger to jump
11:42
or maybe have the option to choose
Avatar
Avatar
ReiTW
i'd find it better if ur joystick going up allows u to jump
but we already have a mobile pro gamer that shows us how it's done
11:44
lol
11:45
he/she defs often doesnt press the buttons well
Avatar
do that on a small phone now
11:46
KEKSad
Avatar
@ForgottenCat If you have any suggestions for touch controls for a new ddnet version for android, you could give some hints 😉
Avatar
Avatar
texnonik
Just make movement and jump ceperated xD most of time you jump when go left or right very annoying . Different buttons for weapons . And maybe ability to dissable all and use mouse and keyboard ability .
robyt never said the left joystick was gonna be the exact same
12:18
troll
Avatar
thanks @cyberFighter for saddling this debate
Avatar
94cef96 zhn(gerdoe) stepped down & reinstate :v - murpii
tear 5
Avatar
@zhn why didn't I ever notice you are gerdoe
12:44
justatest
12:45
am I stupid
Avatar
i'm like "ah that make perfect sense"
catxplosion 1
Avatar
what email client do you guys use
14:06
i really couldn't find one that i like on mobile
14:06
thunderbird on windows is ok. k-9 mail doesn't even try to keep it alive in the background
Avatar
i use thunderbird - even tho its super slow compared to others, but the only one thats decently maintained
14:15
i heard about postbox for mac, iirc they also have a windows version ( i dunno if its free / FOSS ) tho (edited)
Avatar
wdym slow
14:20
i do want a decent one for mobile tho
Avatar
Avatar
TsFreddie
@zhn why didn't I ever notice you are gerdoe
what did you think xddd
Avatar
inbox by google back in the day is pretty good.
14:20
and i was using outlook for a while until im tired of ads
Avatar
Avatar
meloƞ
i use thunderbird - even tho its super slow compared to others, but the only one thats decently maintained
thunderbird is really good
Avatar
Avatar
zhn
what did you think xddd
nothing, i just thought there is a new furry around
Avatar
Avatar
TsFreddie
i do want a decent one for mobile tho
i dont handle any mail on my phone apart from my work e-mail for which i dont need a dedicated e-mail client for, i just use google "mail"
Avatar
Avatar
meloƞ
i dont handle any mail on my phone apart from my work e-mail for which i dont need a dedicated e-mail client for, i just use google "mail"
fair enough
Avatar
was about to use its fork though
14:21
thunderbird has some telemetry in it afair
Avatar
what was the fork called again, fasterbird or smth? XD
Avatar
am i weird that i dont mind telemetry
Avatar
Avatar
meloƞ
what was the fork called again, fasterbird or smth? XD
nah
Avatar
betterbird
👍 1
Avatar
funny name though anyway
Avatar
the only thing i don't like about thunderbird is that it really doesn't want to be a background application
14:24
i don't get why can't a email app just minimize to tray out of the box
14:24
k-9 mail too. it just dies quitely. i would love email notifications
Avatar
@ChillerDragon gn
Avatar
Avatar
TsFreddie
i really couldn't find one that i like on mobile
I use "fairemail", it's okay
14:43
for the other stuff I'm using aerc
14:43
I don't like getting notifications for emails, I check when I want to
14:43
anything other than outlook is okay to me
14:44
outlook is so awful, I hate it
Avatar
Rebrand debug dummies to server dummies. And remove the preprocessor macro if. This reduces cases where compile or runtime issues only happen in release or debug mode. And it can also be used by mappers and other regular players to test stuff on the local server which requires tees. Instead of having to install k-client.
Avatar
ws-client BOT 2024-05-20 15:45:54Z
<ChillerDragon> gn lol @zhn
Avatar
Building ddnet 18.2 in Fedora Rawhide (next version 41) under architecture ppc64le, Str.StrToInts fails with the output below (-v added). The build runs for the 18.2 version update for all architectures can be found in: https://koji.fedoraproject.org/koji/taskinfo?taskID=117534623 A separate build with run_tests verbose is available in https://koji.fedoraproject.org/koji/taskinfo?taskID=117952804. Here is the full build.log ...
17:52
uhoh
Avatar
@MilkeeyCat you're doing a ddnet grub screen?
Avatar
Yea
Avatar
i hope noone had to call ambulance because of cringe justatest
🍻 1
Avatar
Avatar
MilkeeyCat
i hope noone had to call ambulance because of cringe justatest
was good, why u thought it was cringe?
Avatar
Avatar
Jupstar ✪
was good, why u thought it was cringe?
my voice is awful and my english is baad xdddd
Avatar
nah
Avatar
Avatar
MilkeeyCat
my voice is awful and my english is baad xdddd
i think it's quite good
19:31
clear pronounciation
Avatar
and voice always sounds weird to yourself, because you hear it differently
Avatar
Yup
19:32
I hate hearing my voice
brownbear 1
19:33
Next stream about rust compiler 😏
19:33
About compiler in rust*
Avatar
rust compiler in rust
Avatar
Avatar
MilkeeyCat
i hope noone had to call ambulance because of cringe justatest
it was good, no homo
Avatar
it was good, all of the homo
Avatar
Avatar
Jupstar ✪
rust compiler in rust
milklang compiler in rust 😏
Avatar
jupjophomo
Avatar
how do i get maps in my server? i’ve got cloned the ddnet-maps into /ddnet/build/data/maps but they dont appear inside of my server?
Avatar
Avatar
MilkeeyCat
milklang compiler in rust 😏
thats why we all simp for you milky
Avatar
Avatar
LuKron
how do i get maps in my server? i’ve got cloned the ddnet-maps into /ddnet/build/data/maps but they dont appear inside of my server?
should they be moved out of the ddnet-maps directory to the maps folder? (edited)
20:08
or can they stay? (edited)
Avatar
try starting the server from /ddnet/build
Avatar
i.e. cd ddnet/build and then ./DDNet-Server
Avatar
Avatar
LuKron
should they be moved out of the ddnet-maps directory to the maps folder? (edited)
unpack into /data/maps (edited)
Avatar
what does the output say about autoexec_server.cfg?
Avatar
one sec
Avatar
Avatar
meloƞ
unpack into /data/maps (edited)
is it not already just a folder and not a tar.gz
Avatar
if your maps are located under /ddnet/build/data/maps/ddnet-maps rn move the files one directory up
Avatar
Avatar
meloƞ
if your maps are located under /ddnet/build/data/maps/ddnet-maps rn move the files one directory up
everything in ddnet-maps > maps?
👍 1
20:13
what should i write? mv /home/lukron/ddnet/build/data/maps/ddnet-maps/ /home/lukron/ddnet/build/data/maps/
Avatar
mv /home/lukron/ddnet/build/data/maps/ddnet-maps/* /home/lukron/ddnet/build/data/maps/ to move all contents from ddnet-maps to maps. (the *) (edited)
Avatar
oh yeah cheers
20:15
still not there
20:20
@meloƞ it just showed the normal maps still
20:21
after moving everything, should i replace the autoexecconfig file back one to the main data folder and put it there in replacement?
Avatar
i am struggling to do this. i moved it and it did nothing
20:56
do i move the autoexecconfig file in replace of the one that’s already in /data/
Avatar
try that
Avatar
what about the types file as well?
21:02
folder*
Avatar
ah wait
21:03
hmm
Avatar
well now the vote screen is blank
Avatar
the instructions tell you to start the ddnet server from the ddnet-maps folder
21:04
I guess we didn't try that yet
Avatar
Avatar
heinrich5991
the instructions tell you to start the ddnet server from the ddnet-maps folder
hmm
21:04
yeah one sec i’ll try that
Avatar
Avatar
heinrich5991
the instructions tell you to start the ddnet server from the ddnet-maps folder
well how do i do that if the executable file isn’t there (edited)
Avatar
you specify the path to the executable
21:06
/path/to/ddnet/exeutable/DDNet-Server
Avatar
but the executable is in my build
21:07
it would just do no such path or directory (edited)
Avatar
specify the path to your build
21:07
where is the build directory? (edited)
Avatar
oh shit that’s worked
21:08
running it while i was cd’d into my maps folder
Avatar
classic. I should learn how to read 😄
21:09
the README said it ^^
Avatar
Avatar
heinrich5991
the README said it ^^
it doesn’t?
21:09
hold on
21:09
21:09
it just says start the server
Avatar
please don't post screenshots, copy the text instead
21:10
Simply download this repository, add your DDNet-Server binary (distributed together with the DDNet client) and start the server.
21:10
this is the part where it tells you to copy the server to the directory (or equivalently, start it from that directory)
Avatar
ah that’s what binary is
21:12
makes sense now
21:15
tysm
Avatar
you're welcome 🙂
Avatar
just gotta fix up my entire data and maps folder as i managed to copy the ddnet-maps contents back a directory twice (edited)
Avatar
Avatar
ws-client
<ChillerDragon> lmao curl ipv4.icanhazip.com
ya
Avatar
is it possible to use a cloudfare tunnels when hosting a ddnet server on my pi?
23:26
would rather my ip not be available to everyone 😭
23:30
i could use a wireguard config with windscribe but that expires every couple of days and then the IP changes
Avatar
idk try it
23:44
any of that is probably going to be bad for latency
Exported 247 message(s)