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-08-31 00:00:00Z and 2022-09-01 00:00:00Z
Avatar
I wonder how reasonable it would be to use Steam datagram relays to prevent DoS attacks. I think it would work but you probably need to have the client running through steam to use it. https://partner.steamgames.com/doc/features/multiplayer/steamdatagramrelay
02:01
oh wait
02:02
they do offer it for non-steam players, but it's not guaranteed to work forever
02:02
02:07
I don't wanna ping deen but I wonder if he has considered this before
Avatar
This is the underlying network protocol, without the relaying https://github.com/ValveSoftware/GameNetworkingSockets
Reliable & unreliable messages over UDP. Robust message fragmentation & reassembly. P2P networking / NAT traversal. Encryption. - GitHub - ValveSoftware/GameNetworkingSockets: Re...
06:15
Well, we dont need this one though, Teeworlds has it's logic to make sure packets arrive
Avatar
Avatar
Tater
I wonder how reasonable it would be to use Steam datagram relays to prevent DoS attacks. I think it would work but you probably need to have the client running through steam to use it. https://partner.steamgames.com/doc/features/multiplayer/steamdatagramrelay
vse attacks, efficient if u don't have a protection
06:21
didn't know about those relays tho
06:26
but Ig there's always easier ways to prevent DoS, such as re-thinking the netcode (idk if this can be considered as it'll 100% break vanilla compat + 0.7)
Avatar
not only that, also compatibility to all previous ddnet versions
06:37
and we have some compatibility nazis in here hehe
06:38
the netcode definitely has some points that can and should be heavily improved
Avatar
Avatar
fokkonaut
not only that, also compatibility to all previous ddnet versions
ddnet2 when
Avatar
Just a quick question: Is this an intuitive way of checking the speed of a tee? Located in players.cpp
Avatar
This is not in the code, did you make that?
Avatar
Avatar
Voxel
Currently the run looks like this. Still flawed, and I know I'm gonna spend another week on it without an animation tool xd
Yeah, for this
07:13
I'm making the tee have a run animation if it reaches a fast enough speed
Avatar
How should that look
07:13
I think it's hard to say at which speed a tee is running
Avatar
I mean it's going good so far... but one problem: Out of bounds does this for some reason
nouis 9
troll 4
Avatar
Avatar
Voxel
I mean it's going good so far... but one problem: Out of bounds does this for some reason
Feature, not a bug, ship it now
Avatar
I need this
Avatar
it doesnt look too different, does it?
Avatar
Avatar
Voxel
I mean it's going good so far... but one problem: Out of bounds does this for some reason
You probably do some positions checks, or the rendering does, and here the positions Pos.x < 0
07:39
The video just made my day tho, perfect music, in a map i havent seen before, and this bug, nice emoticons
Avatar
Avatar
Tater
I wonder how reasonable it would be to use Steam datagram relays to prevent DoS attacks. I think it would work but you probably need to have the client running through steam to use it. https://partner.steamgames.com/doc/features/multiplayer/steamdatagramrelay
It would help, but we can't have the open source version connect to this as the code that authenticates the packet for the relay is closed source
Avatar
Avatar
fokkonaut
You probably do some positions checks, or the rendering does, and here the positions Pos.x < 0
Oh yeah, i completely forgot about that check for the RunTime. Easy fix! (edited)
07:45
btw, the map is run_jellyfish_fields
Avatar
think i watched the video like at least 5 times now
Avatar
Cant believe I made a bug showcase that has comedic timing
Avatar
add some progressive audio distortion color saturation and post it on yt (edited)
Avatar
Anyways, I think after maybe a sit idle animation I'll submit this as a PR
Avatar
can u show a 1:1 comparison
Avatar
Yea sure
Avatar
sit idle animation? you mean with feet up? x
07:57
d
Avatar
Avatar
fokkonaut
sit idle animation? you mean with feet up? x
Yea, I think that'd be cute for both if you're AFK/Timeout or on a specific tile used for chairs
07:59
Top is no animation Bottom is yes animation
Avatar
well, ok, in slow mo it actually looks dope
Avatar
Looking at it now, maybe the run animation is a bit wide in its current state
Avatar
Avatar
Voxel
Yea, I think that'd be cute for both if you're AFK/Timeout or on a specific tile used for chairs
and put away the weapon while setting haha :D or put it like on the back, so that players can still see what weapon the other person is holding
Avatar
You mean like this?
Avatar
basically yea
08:05
or the feet mirrored
08:05
symetrical
08:05
idk
08:05
but this is dope
08:06
anyways
Avatar
Maybe mirrored, so it takes less space in content.py
Avatar
i think thats not a problem
Avatar
but that would involve overwriting the renderer to have both feet in front
Avatar
you rely on afk state for that, sent by the server? or you do it when a tee is just standing still already?
Avatar
Avatar
Voxel
but that would involve overwriting the renderer to have both feet in front
true, then do it like ur picture
Avatar
Avatar
fokkonaut
you rely on afk state for that, sent by the server? or you do it when a tee is just standing still already?
The plan is that you would stand still normally everywhere, but when the server clarifies you as AFK, you're now at the sitting down state. I could also go the extra mile and have it where if you're midair and afk the weapon is still on the back (edited)
Avatar
yea, definitely dont make it grounded only (edited)
08:08
grounded should only make the feet sitting
08:09
but when ur in air just keep the weapon on the back and make it render the inair feet
Avatar
yea. midair feet still applies, just weapon is different position
08:09
it looks dope imo
Avatar
thanks! i'll try to make it a reality tommorow!
Avatar
but anyways u know i am a big fan of ur sketches
Avatar
i'm flattered! it's really just a quick way to get my ideas out fast. one image can mean 1000 words.
Avatar
i know but i am so bad at drawing
08:10
cant even draw a stickman that doesnt look terrible
08:10
justatest
Avatar
RIP. For me, these type of sketches don't have to even be perfect. They just need to get the point across. Example in #off-topic
Avatar
Avatar
Learath2
It would help, but we can't have the open source version connect to this as the code that authenticates the packet for the relay is closed source
Can it be possible that in a near future ddnet might break compatibility to improve the netcode?
Avatar
Avatar
fokkonaut
well, ok, in slow mo it actually looks dope
probably looks better with high refresh rate screens too
Avatar
Avatar
ReiTW
Can it be possible that in a near future ddnet might break compatibility to improve the netcode?
Since we control server and client, can do, just have to keep compat. for the old version, so not sure how much is won by that
Avatar
Avatar
Voxel
I think my first solo coding project is going to be a tee renderer/animation handler. Though I don't know where to start in terms of setting everything up.
macroquad supremacy
Avatar
dfaf359 Fix png error handling by setting jmpbuf, else libpng will kill the thread - Jupeyy 59db32e Merge #5763 - bors[bot]
Avatar
That smells fishy, we have a longjmp in the code now?
09:55
http://www.libpng.org/pub/png/libpng-1.2.5-manual.html bizzarely enough they actually want you to do this. Weird design choice
Avatar
Yeah, Jupeyy said so too, weird design. And what if you have C++ code with exceptions? Didn't expect this in libpng
Avatar
good thing we don't use exceptions 🙂
Avatar
Is libpng even C++ aware? I thought it was C only
10:01
Why would they have a fatal error function in a library anyway? Shouldn't the decision to kill the program be left to the user of the library?
10:01
Just return something like LIBPNG_FATAL
Avatar
I also thought u just set your error state there. It even accepts a user pointer to store such information. That makes it even weirder imo ^^
Avatar
is the map finishing symbnol not available at sw 16.1 ?
Avatar
in the serverbrowser? should work
11:07
but only in ddnet tab
Avatar
hmm ok then i got different problem
Avatar
Avatar
Voxel
I think my first solo coding project is going to be a tee renderer/animation handler. Though I don't know where to start in terms of setting everything up.
that sounds very rough for a first coding project ngl
Avatar
Avatar
Voxel
I think my first solo coding project is going to be a tee renderer/animation handler. Though I don't know where to start in terms of setting everything up.
If you are going to do it without relying on tw code at all this will be a very very hard starter project. You'll need good knowledge of both the tw codebase and know a thing or two about coding your own renderer
12:00
If you do however pull it off you'll have learned a lot along the way, at the risk of getting burnout and abandoning it in the middle
Avatar
Avatar
Voxel
I think my first solo coding project is going to be a tee renderer/animation handler. Though I don't know where to start in terms of setting everything up.
12:23
I got inspiration on this
Avatar
His videos are great
Avatar
https://doc.rust-lang.org/std/sync/struct.Mutex.html#method.get_mut
Returns a mutable reference to the underlying data.
>
Since this call borrows the Mutex mutably, no actual locking needs to take place – the mutable borrow statically guarantees no locks exist.
A mutual exclusion primitive useful for protecting shared data
13:48
epic
Avatar
tw complett down
14:42
what happend
Avatar
probably just a temporary skill issue downtime
Avatar
Avatar
Voxel
I think my first solo coding project is going to be a tee renderer/animation handler. Though I don't know where to start in terms of setting everything up.
i dont need this anymore. i already accomplished what i needed.
Avatar
This dude is amazing
Avatar
Misconfigured networks can have ipv6 enabled but no connections possible, can result in problems like this: [2022-08-31 21:30:28][http]: https://master1.ddnet.tw/ddnet/15/register failed. libcurl error: Failed to connect to master1.ddnet.tw port 443 after 0 ms: Network unreachable After that failed we should retry with ipv4 specifically. Other applications seem to work fine.
Avatar
Original message was deleted or could not be loaded.
@Discord Mod mind checking it out if it's not just sceme?
✅ 1
Avatar
Avatar
GitHub
Click to see attachment 🖼️
Erik van Velzen 2022-08-31 18:23:45Z
SESSION OUTLINE The IPv6 Initiative at ETSI (3GPP) is attracting a very good number of players (100) including ISPs/Vendor/Academia from Europe, US and Asia to work on: Identify gaps and recommendations of existing and required IPv6 standards both inside ETSI and in other SDOs; Identify and describe IPv6 Network related use cases & specific scen...
18:24
The next move for ipv6
Avatar
Yo who the hell's idea was to make hook states like this, especially conditional hook scripts?
18:31
basically almost 100 lines of code for hook, not involving serverside stuff
Avatar
Probably no one touched that code since matricks
Avatar
justatest oh boy
Avatar
100 lines does sound reasonable to me though
Avatar
only client side
18:32
not mentioning serverside hook restrictions and stuff
18:33
and conditional hooking does no good for customization, with only 6 variables, which 3 are velocity and other 3 are states
18:34
(also idk why hook tick is a thing as I saw the code, but ok)
Avatar
hook isn't instant, I'm guessing the tick handles that
Avatar
so, no lerping involved, I got frustrated about it 😄
Avatar
There is probably a lerp somewhere to make the animation smooth
Avatar
'拏 MAhdiyar 2022-08-31 19:46:16Z
what is erorr ? CMake Deprecation Warning at C:/Users/ASUS/Desktop/DDNet/googletest-src/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Deprecation Warning at C:/Users/ASUS/Desktop/DDNet/googletest-src/googlemock/CMakeLists.txt:42 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Deprecation Warning at C:/Users/ASUS/Desktop/DDNet/googletest-src/googletest/CMakeLists.txt:49 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions.
19:47
19:47
@deen
19:48
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Deprecation Warning at CMakeLists.txt:21 (cmake_policy): The OLD behavior for policy CMP0072 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. CMake Warning at E:/Library for ddnet/cmake-3.24.1-windows-x86_64/cmake-3.24.1-windows-x86_64/share/cmake-3.24/Modules/Platform/Windows-GNU.cmake:224 (message): Disabling CMAKE_GNUtoMS option because CMAKE_GNUtoMS_VCVARS is not set. Call Stack (most recent call first): E:/Library for ddnet/cmake-3.24.1-windows-x86_64/cmake-3.24.1-windows-x86_64/share/cmake-3.24/Modules/Platform/Windows-GNU-C-ABI.cmake:1 (__windows_compiler_gnu_abi) E:/Library for ddnet/cmake-3.24.1-windows-x86_64/cmake-3.24.1-windows-x86_64/share/cmake-3.24/Modules/CMakeCInformation.cmake:71 (include) CMakeLists.txt:34 (project)
Avatar
Move hotkey/input handling from CMenus to CUI. Using the ConsumeHotkey method ensures that each hotkey is only handled once. By also handling the mouse scroll wheel as hotkeys, this fixes the scroll keys activating scroll regions while the controls binder is active. Closes #5790.

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 (...
Avatar
Avatar
'拏 MAhdiyar
what is erorr ? CMake Deprecation Warning at C:/Users/ASUS/Desktop/DDNet/googletest-src/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Deprecation Warning at C:/Users/ASUS/Desktop/DDNet/googletest-src/googlemock/CMakeLists.txt:42 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. CMake Deprecation Warning at C:/Users/ASUS/Desktop/DDNet/googletest-src/googletest/CMakeLists.txt:49 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions.
update ur cmake
20:17
btw u can generate project
20:17
these are warnings
Avatar
e7c3ce1 Port CUI::ConsumeHotkey from upstream - Robyt3 c7fcfc9 Merge #5795 - bors[bot]
Avatar
[quakenet] deen BOT 2022-08-31 21:22:19Z
Thanks murpi
Avatar
Is there anyone using firefox that can check if twitter videos volume control works for them?
Avatar
Send one vid as example
Avatar
Faster, more private, and backed by a non-profit, Firefox is more than “just as good” as other internet browsers, it’s the browser that’s good for people.
Likes
802
Retweets
173
Avatar
yes works
Avatar
can you change the level of the volume?
Avatar
what version of firefox are you on and what OS?
22:20
windows 10
Avatar
hm, I'm on 105 maybe that's what's broken
22:24
nope I can't even on 104.0.1 :/
Avatar
works for me on 104.0 and 104.0.1 (edited)
Avatar
any plugin that might be the problem?
Avatar
I tried with a completely clean profile
Avatar
decrease your os sound
Avatar
I tried all the way back to ff65, so it's something about this specific computer, bizarre issue :/
Avatar
Impossible to debug with the way they obfuscate their shitty website too
22:42
You can open it with the devtools if you set the attributes to of the control slider to css-1dbjc4n r-13w96dm r-1867qdf r-1p0dtai r-11d23sj r-ws9h79 r-h8hv3c r-xyw6el r-1yzf0co r-u8s1d r-v2u3o6 by hand
Exported 150 message(s)