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 2023-02-25 00:00:00Z and 2023-02-26 00:00:00Z
Avatar
is there an existing api in tw to have real time for operations
00:15
like not just waiting x frames but waiting x amount of seconds
00:17
like how can i store a time & check if it's more than X amount of time in da future
Avatar
@Welshi had a map today that was causing a bug on any online server, but worked fine on any LAN server. Will get details.
02:13
This map won't load on any online server, but loads on LAN servers. Please diagnose.
Avatar
already fixed it @YupHio
05:37
asked in #bugs
Avatar
955fab8 Add 58 € funding by Mariac for South Africa - def-
Avatar
Avatar
Teero
Verify on ger10.ddnet.org
@Davide Can we make all ddnet clients auto-verify? Not just one specific version?
Avatar
yes, by making an http request
Avatar
651ca6f Remove duplicate Mariac entry in donors - def-
Avatar
i love how easy it is to switch to deno with svelte
08:54
this reminds me i should use deno more instead of nodejs (edited)
08:54
its like 20x faster
08:54
and native typescript support xD
08:54
(i.e no transpiling to js)
Avatar
ChillerDragon BOT 2023-02-25 09:29:35Z
deno poggies
Avatar
7016f7c Version 16.8 - def- 12982a8 Fix twlang decode to handle context lines properly - def- ab1220a Improve warning text in backend_sdl - def- efbce4f Update translation files for upcoming 16.8 - def- 3d3be13 Update German translations - def-
09:39
14ef8c4 Version 16.8 - def- ba7a31a Fix twlang decode to handle context lines properly - def- c92f5fe Improve warning text in backend_sdl - def- 690231b Update translation files for upcoming 16.8 - def- d0692a8 Update German translations - def-
09:41

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://github.com/ddnet/ddnet/#using-ad...
09:41
5ee7ffa Fix twlang decode to handle context lines properly - def- fa3675d Improve warning text in backend_sdl - def- 74e9404 Update translation files for upcoming 16.8 - def- f3f37cc Update German translations - def- 462c86e Version 16.8 - def-
Avatar
16.8 @Ryozuki @heinrich5991 last chance to fix skin bug ^^
Avatar
b25a933 Update translations for upcoming 16.8 - def-
Avatar
ChillerDragon BOT 2023-02-25 10:12:00Z
yo @heinrich5991 did i configure/install something wrongly or is the dissector super broken on vanilla 0.6 traffic?
10:12
10:12
it should be map download messages
10:16
[ddnet/ddnet-web] New branch created: pr-16.8
10:22
DDNet 16.8 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 channel on DDNet Discord or directly on Github:
🎉 1
Avatar
5ee7ffa Fix twlang decode to handle context lines properly - def- fa3675d Improve warning text in backend_sdl - def- 74e9404 Update translation files for upcoming 16.8 - def- f3f37cc Update German translations - def- 36f8a69 Merge #6359 - bors[bot]
11:26
🤮 2
Avatar
Avatar
heinrich5991
yes, by making an http request
which version can auto verify, and how?
Avatar
ChillerDragon BOT 2023-02-25 13:04:25Z
by doing a http request
Avatar
No, it's supposed to auto-verify for released version without http request
Avatar
ChillerDragon BOT 2023-02-25 13:39:52Z
ah
13:41
how? is the firewall looking at the version? Isn't that then just allowing one to bypass the firewall by sending the released version?
Avatar
I don't think Davide would like to share how he does
Avatar
clearify difference between resize and window property change for resolution list for: " Maybe we can at least fix this for 16.8 so the crash is no longer triggered by minimizing/maximizing and only by resizing." from https://github.com/ddnet/ddnet/pull/6358#issuecomment-1445046002 Only partially quickly tested.

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
...
Avatar
462c86e Version 16.8 - def- de29f83 Only call onresize events if actual size changed - Jupeyy
Avatar
9530077 Only call onresize events if actual size changed - Jupeyy de70c05 Merge #6361 - bors[bot]
Avatar
ChillerDragon BOT 2023-02-25 17:36:41Z
if its in the ddnet client is public anyways isnt it? xd
Avatar
ig the verification isn't done client-side
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 (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://github.com/ddnet/ddnet/#using-ad...
Avatar
does the game have any concept of which server it's playing on (e.g. usa2) besides the IP, server title and MOTD (edited)
19:30
or will i have to pick it out of the title
Avatar
1345226 Update translation stats - def-
Avatar
𝙗𝙡𝙤𝙘𝙠𝙗𝙪𝙨𝙩𝙚𝙧 2023-02-25 19:36:48Z
how do i change the mouse cursor?
Avatar
data/gui_cursor.png
Avatar
𝙗𝙡𝙤𝙘𝙠𝙗𝙪𝙨𝙩𝙚𝙧 2023-02-25 19:45:55Z
19:45
not working
Avatar
did you delete it
Avatar
Is there a way to prevent DDNet from locking the cursor? When I stop on a break point or a crash, the game is still holding the cursor until I continue the execution or let it crash.
19:51
I have https://github.com/ddnet/ddnet/issues/5143 crash in the debugger but I can't do anything :-/.
[2022-05-17 20:06:28][datafile]: loading done. datafile='downloadedmaps/RedCastle2_de71ee62.map' [2022-05-17 20:06:28][client]: loaded map 'downloadedmaps/RedCastle2_de71ee6...
Avatar
2304a6b Update brazilian_portuguese.txt - rffontenelle 55a39e1 Merge #6362 - bors[bot]
Avatar
Avatar
Kaffeine
Is there a way to prevent DDNet from locking the cursor? When I stop on a break point or a crash, the game is still holding the cursor until I continue the execution or let it crash.
you can (probably) find something along the lines of this in DDNet's input code SDL_SetRelativeMouseMode(SDL_FALSE); (edited)
19:53
change it and you should theoretically be okay (edited)
19:53
also Qt Creator vouch
Avatar
𝙗𝙡𝙤𝙘𝙠𝙗𝙪𝙨𝙩𝙚𝙧 2023-02-25 19:54:03Z
@Ewan
Avatar
𝙗𝙡𝙤𝙘𝙠𝙗𝙪𝙨𝙩𝙚𝙧 2023-02-25 19:54:07Z
can you post a working cursor png
Avatar
it needs to be called gui_cursor.png
19:54
engine/client/input.cpp Kaffeine
Avatar
Found (when you've edited the message).
Avatar
yeah the old one was outdated apparently
Avatar
Avatar
Ewan
it needs to be called gui_cursor.png
𝙗𝙡𝙤𝙘𝙠𝙗𝙪𝙨𝙩𝙚𝙧 2023-02-25 19:55:45Z
oh thanks bro
Avatar
but it should probably actually be false
Avatar
Avatar
𝙗𝙡𝙤𝙘𝙠𝙗𝙪𝙨𝙩𝙚𝙧
oh thanks bro
pucker up bro
19:58
if that doesn't work Kaffeine try intercepting CGraphics_Threaded::SetWindowGrab in engine/client/graphics_threaded.cpp
Avatar
𝙗𝙡𝙤𝙘𝙠𝙗𝙪𝙨𝙩𝙚𝙧 2023-02-25 19:58:33Z
@Ewan how to make font
Avatar
dont know pls go to #questions
Avatar
Avatar
Ewan
change it and you should theoretically be okay (edited)
Oh, that is funny. I see the cursor but mouse events are not passed to the windows. I've tried to comment out CInput::MouseModeRelative().
Avatar
Avatar
Ewan
does the game have any concept of which server it's playing on (e.g. usa2) besides the IP, server title and MOTD (edited)
i guess the normal server name would be appropriate, but some servers have absurdly long names (cough cough KoG cough cough)
Avatar
Avatar
Ewan
if that doesn't work Kaffeine try intercepting CGraphics_Threaded::SetWindowGrab in engine/client/graphics_threaded.cpp
Thanks! Trying...
Avatar
Avatar
Ewan
i guess the normal server name would be appropriate, but some servers have absurdly long names (cough cough KoG cough cough)
not to mention fokkonaut's stuff and whatever else that is similar
20:02
i had a similar issue the other day Kaffeine but it wasn't just the cursor. I was stuck in fullscreen and I didn't know if there was a shortcut within Qt Creator to kill the process being debugged, lol
20:02
i had to kill & reload the IDE
20:02
it kinda sucked
Avatar
Avatar
Ewan
if that doesn't work Kaffeine try intercepting CGraphics_Threaded::SetWindowGrab in engine/client/graphics_threaded.cpp
Still does not work (mouse events are not passed to other windows until I continue or kill the client).
Avatar
oh, do you want it to be transparent for mouse events?
Avatar
Avatar
Kaffeine
Still does not work (mouse events are not passed to other windows until I continue or kill the client).
you just set it to false right?
20:04
commenting out the call would probably also work but false is more of a sure thing, i think
Avatar
i would replace with calls with false as the parameter (edited)
Avatar
Avatar
Kaffeine
Is there a way to prevent DDNet from locking the cursor? When I stop on a break point or a crash, the game is still holding the cursor until I continue the execution or let it crash.
what i usually do is pressing meta key + d, which is a KDE script to minimize all windows and frees the mouse
20:06
20:06
when u enabled it
Avatar
cool that exists in KDE
20:06
i never liked plasma that much
Avatar
what do u use xd
Avatar
i used xfce
20:07
now i am on windows
Avatar
Avatar
Jupstar ✪
Click to see attachment 🖼️
Avatar
Avatar
Jupstar ✪
what i usually do is pressing meta key + d, which is a KDE script to minimize all windows and frees the mouse
😄 it does not free the cursor to me. I've also tried to use Windowed mode and quite a few of other options. Still can't have the cursor in IDE when on a break point.
Avatar
Avatar
Jupstar ✪
Click to see attachment 🖼️
Seems to be enabled by default. Worked out of the box, except to freeing the pointer.
Avatar
well its different to the normal meta +d behavior of KDE
20:09
which only shows the desktop xD
20:09
but if u are sure its the correct bind
20:09
then weird
Avatar
Oh ok! I'll try it then.
Avatar
bcs i use it since 5 years
Avatar
Avatar
Ewan
does the game have any concept of which server it's playing on (e.g. usa2) besides the IP, server title and MOTD (edited)
jupstar do you know anything about this?
20:10
ideally i would just want to get, like "DDNet usa2" or w/e
20:10
instead of the whole title
Avatar
Avatar
Ewan
does the game have any concept of which server it's playing on (e.g. usa2) besides the IP, server title and MOTD (edited)
mh i guess they have a database name that corresponds to USA2 etc
20:11
do u want it server side or client side?
Avatar
client side
20:11
for my bar here
Avatar
then i assume it does not know it
Avatar
if the string is too long it would be obnoxiously wide
Avatar
Avatar
Jupstar ✪
then i assume it does not know it
alright
Avatar
Avatar
Jupstar ✪
well its different to the normal meta +d behavior of KDE
Wow! After years of suffering! Thank you @Jupstar ✪ ! ❤️ It is a workaround and I'm sure there is a way to just prevent DDNet from locking the cursor but hm, not a big deal for me anymore. Still thank you @Ewan for the answers.
👍 1
Avatar
i wonder if it would be considered cheating to add a feature that indicates relative positions to another tee
Avatar
i have the same problem on windows, hopefully i use gdb through console so no need for a cursor 😄
Avatar
Avatar
Ewan
i wonder if it would be considered cheating to add a feature that indicates relative positions to another tee
a badge above their head (like the hook strength indicator) that would be green if you share the same X pos to 2 decimal places, yellow if you'd stack, red if you're nowhere near (edited)
20:50
and maybe another one that shows walled left/right
Avatar
Avatar
Chairn
i have the same problem on windows, hopefully i use gdb through console so no need for a cursor 😄
under windows the trick works too, atleast it did 5 years ago xd
Avatar
today i learn
21:00
i save the command line gdb for when i need to make a backtrace or dump and that's pretty much it
21:00
it is not a very fun debugging experience imo (edited)
Avatar
i often don't need much more
21:07
but i don't track really complex bug either
Avatar
me neither
Avatar
bug?
Exported 130 message(s)