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-03-12 00:00:00Z and 2022-03-13 00:00:00Z
Avatar
Avatar
Patiga
rate my renderer, doing envelopes rn
are these rotating clouds in the background?
Avatar
I think they try to imitate birds
Avatar
Avatar
Patiga
rate my renderer, doing envelopes rn
what will you use this for? :o
Avatar
Avatar
Voxel
what will you use this for? :o
thats just the envelopes implemented incorrectly. I'm writing a full renderer with webgpu in rust right now :)
Avatar
ohhh, so it's just a coding experiment! i think it's nice so far!
heartw 1
Avatar
I felt the hook line was too thin and hard to see sometimes. This adds a config and a setting slider to adjust the size. I made it so size 0 will render exactly the same as before so there is no change unless you increase the size. The size scales as you zoom in/out in order to prevent the hookline from shrinking and eventually disappearing, this is functionally the same as it worked because since it would always be exactly 1 pixel wide.

Checklist

  • [x] Tested the change inga...
Avatar
System: Ubuntu 20.04 Desktop LTS Output message: CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: /home/flowerfell-sans/桌面/ddnet-client/AVCODEC_INCLUDEDIR used as include directory in directory /home/XX/桌面/ddnet /home/flowerfell-sans/桌面/ddnet-client/AVFORMAT_INCLUDEDIR used as include directory in directory /home/XX/桌面/ddnet /home/flowerfell-sans/桌面/dd...
Avatar
chillerdragon BOT 2022-03-12 07:28:36Z
Is that vanilla dm1? (@Patiga)
Avatar
Avatar
Patiga
rate my renderer, doing envelopes rn
neat, now decide on a license and release xdd
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
chillerdragon
Is that vanilla dm1? (@Patiga)
vanilla is sunny, it seems to be a modified version (or is it simply rendered incorrectly o.O) (edited)
Avatar
3b93e65 Make hook collision line size adjustable - sjrc6 86bc885 Merge #4803 - bors[bot]
Avatar
11c49ab Add instructions for videorecorder being default (fixes #4804) - def- a0a0887 Merge #4805 - bors[bot]
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:22:22Z
Meh seems like github is ignoring my .gitattributes file how can that even happen -.- If i "Fetch upstream" on github it says conflicts but a merge in the cli works smooth
10:26
Also seems like the clang-tidy CI is throwing an cmake warning https://github.com/ddnet/ddnet/runs/5521214822?check_suite_focus=true#step:4:143 what do we need CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE for?
DDraceNetwork, a cooperative racing mod of Teeworlds - Merge #4805 · ddnet/ddnet@a0a0887
Avatar
ChillerDragon: yeah its the vanilla dm1, the rendering was a little messed up
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:29:11Z
looks good to me @Patiga
10:29
:)
10:29
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/skins.cpp at c0d398df388b6788d99898c37ca62e4765cbcef2 · ddnet/ddnet
Avatar
wtf are u talking about xD we use c++ since ever
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:30:31Z
thats a new style enforce
10:30
to use any instead of loops
Avatar
you can fix the warning if you want for clang-tidy
Avatar
its not enforced
10:30
it was just refactoring
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:30:53Z
the upper example is already pretty fance to me
10:30
but the lower one is even crazier xd
10:31
it is enforced by the CI
Avatar
well anyway, does clang-tidy not provide auto fixes?
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:31:45Z
ye somtimes
10:32
in this case it does not seem to. But yea i will figure it out and get used to it
10:32
i guess those tidy ppl a smart and have some reason to decide this is the best way to loop
10:32
it just looks very c++ to me now
10:33
is that a lambda?! xd
Avatar
well i am suprised that clang tidy only found this one occurance
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:33:37Z
one occurance?
10:33
wdym
Avatar
thats why i thought its not enforced, sadly the documentation doesnt say when that flag was added
10:34
yeah any_of
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:34:22Z
wasnt that uncommented by ddnet explicitly?
Avatar
i meant your example
10:34
lambdas are nice tho, even if you disagree with the syntax
10:35
saves a lot of time sometimes
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:35:16Z
i never bothered to understand or read c++
Avatar
and/or makes stuff less complicated (e.g. no need to add another function)
Avatar
i mean it literally says any_of xd
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:36:00Z
is it only me or is this code way less readable?
Avatar
i'd say they are euqally readable
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:36:27Z
guess it takes some time
Avatar
but yes, it's not so much that it has to be enforced
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:36:56Z
nah but consistent style is cool
10:37
using both ways isnt much better
Avatar
no logic errors is cool
10:37
code design bitching is annoying af
10:37
either a tool does it, or it shouldnt matter
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:38:15Z
yea
10:38
but in our case the tool does the bitching so that works .. right? xd
Avatar
as long as it can auto provide a fix idc
10:38
if not, its annoying indeed
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:38:54Z
maybe i dont see it
10:39
Avatar
well then complain about disabling it on github, you have my blessing
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:39:27Z
but hey its not that bad
10:39
i only have to understand it once
10:39
its not that dramatic
10:39
its more about how the code will look in the end so c++ish
Avatar
lmao, just bcs of one lambda xD
10:40
its even "just" c++11
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:40:25Z
i started porting the style CI to teeworlds and rage quitted because i couldnt get it building but with this stuff we will never get the same style guide in vanilla and ddnet
Avatar
in c++98 u'd just make a function instead of a lambda
10:40
so not insanly different
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:41:02Z
yea whatever gimme some time to get used to it ill report back
10:41
the auto loop forexample i really started to like it more than a for loop with int i
Avatar
yeah 😄
10:41
generally auto is really nice to code fast
10:41
is a small trade for readability
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:41:53Z
brrr
Avatar
but any sane IDE or code editor can parse the type 😄
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:42:28Z
i have no idea how ppl can use a language without static types as a first language
10:42
i see the type directly
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:42:56Z
yes because u know types
10:43
but imagine u dont know types
10:43
and start coding
10:43
how would it even make sense
10:45
when i write my first std_any thingy without looking it up ill add modern C++22 to my CV xd
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 10:52:46Z
10:53
nah even after writing it and understanding it better it still does not look like an upgrade
10:53
is it faster or something? more failsafe?
10:53
is it doing a function call on every iteration?
10:54
for me looks like the code is more bloated and the runtime too
10:57
wait wat my CI wasnt even failling? only local?
Avatar
so the clang-tidy version of the CI cannot detect it yet?
Avatar
chillerdragon BOT 2022-03-12 11:09:10Z
Seems like
11:09
deen probably tested local too when fixing those
11:10
Why does the discord picture look so much better than the irc one
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:35:50Z
if i have a class that parses language which then is used to analyse chat would that belong into src/game or in src/engine/shared ?
Avatar
is it shared between client and server?
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:36:59Z
no client only
11:37
but i mean it could be or is that not the point?
Avatar
then i wouldnt put it into shared xd
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:37:25Z
so src/game then?
11:37
i thought its not really game related
Avatar
mh
11:38
i dunno, chat sounds really game related xd
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:38:16Z
but thats the use case of the class
11:38
the class it self does not know about chat
Avatar
tw engine isnt really an abstracted engine anyway
11:38
just put it where you want
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:38:36Z
hmoke
11:38
src/game it is
11:39
jupjapsapstur ur on windows right?
Avatar
rarely, why?
11:39
u ask me this like every 2 months xD
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:39:44Z
where do u use element on?
11:39
ikr
Avatar
browser
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:39:54Z
oh
Avatar
i use everything on browser xd
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:39:59Z
nvm then cool kid
Avatar
that i dont need to install
Avatar
clang-tidy 10.0 -> 13.0 Should be green, checked locally on Arch with 13.0.1

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+UBSa...
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:40:27Z
i use the electron app but on arch i can not quit it
11:40
so i always do pkill -f electron
11:40
which is a bit radical.. sometimes even the light on my fridge turns off when i do it
11:41
on debian it works fine
11:41
maybe i should try browser too
Avatar
xD
11:41
learaths agrees
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:41:46Z
i wish matrix had better clients
Avatar
having multiple browser engines running, one for each application, seems a bit excessive
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:42:06Z
isnt electron also sharing engines?
11:42
like vscode and element for example
Avatar
oh, didn't know
Avatar
Avatar
[quakenet] ChillerDragon
i wish matrix had better clients
i kinda like the features element offers, but discord defs looks better from feeling
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:42:22Z
and all the other applications that crash when i try to quit element xd
11:42
idk deen tbh
11:42
but could be
11:43
or i just replace my arch with debian 🧠
11:43
6c0a564 Don't print binds into F1 by default (fixes #4789) - def- f89142b Merge #4790 - bors[bot]
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:44:19Z
wat distro r u on jupjapstar?
11:44
i swear ur windows main
Avatar
debian sid
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:44:30Z
trol
11:44
wait sid?!
11:44
isnt that from the stone age
11:44
ah nvm unnstable xd
Avatar
i cometly switched to linux since i have my AMD GPU(bcs my nvidia card always crashed my system) that was around 2017 Before that i only used linux in vm xD
11:45
sid is arch -2 months basically
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:45:29Z
is it rolling?
Avatar
packages are very new, but not the newest master
11:45
no id ont think so
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:45:47Z
how long uv been on sid?
Avatar
i dunno, i once switched to testing and then back to sid
11:46
testing is like updates every few months
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:46:29Z
ja na i guess ill stay on stable
11:46
i just build from src if i need more recent stuff
Avatar
i mean if you stable isnt older than like 2 years its fine i guess
11:47
but i wouldnt wait longer
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:47:14Z
yeye
Avatar
u miss all the cool new stuff xd
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:47:26Z
like wat
11:47
its not that i notice any changes anyways
Avatar
like certificate updates 😄
Avatar
on desktop there are so many changes new GPU features games that are updated over package manager
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:47:51Z
eee
Avatar
i mean it depends what you want
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:48:09Z
i want a tw client
11:48
which i compile my self
11:48
thats my games
Avatar
e.g. i play on emulators some times and also compile them, and some are really aggressive with c++ versions xxD
11:48
yuzu is done in c++20
11:48
so ubuntu20 might already struggle with it
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:48:44Z
i need to compile my custom ddnet bots anyways
11:48
wait did i say that out loud?
Avatar
what?
11:49
😉
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:49:26Z
i rly dont care if my gnome is version 20 or 40 both run fine on my gpu
Avatar
gnom is ugly anyway
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:49:42Z
ooookey sir
Avatar
use kde, enjoy real desktop xd
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:49:57Z
also i use spaces instead of tabs
Avatar
ba
11:50
n
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:50:08Z
xd
11:50
well actually i switches
11:50
d
11:50
because tabs are better for bash here doc format
11:51
i think it doesnt even support spaces
Avatar
as long as a tool auto formats i dont care xd
11:51
but pressing space 5 times to fit the other code style sucks xD
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:52:15Z
yea nobody does that
11:52
but the underlying thing actually matters when it comes to Makefiles or heredoc
Avatar
python xd
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:52:49Z
omg dont get me started
11:52
now im just procrastinating
Avatar
bro believe me i hate this language syntax
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:53:02Z
ima close this addictive social media
11:58
@heinrich5991 any hard feelings on making ENGINE_SHARED glob recursive? -.-
Avatar
are u guys using desktops?
11:59
monkalaugh
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 11:59:58Z
pf
12:00
deen do you even still use linux? or are you mac main now?
Avatar
mac during the week, linux on weekend 😄
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 12:02:01Z
so also for personal stuff during the week?
12:02
or is there no freetime during week for u lol
Avatar
Avatar
Ryozuki
are u guys using desktops?
i can understand the appeal of tiling, but i kinda prefer to run most stuff fullscreen (or maximized) anyway, less distracting, more space
Avatar
with tiling alt tab doesnt exist
12:06
its so much faster
12:07
u are forced to use workspaces
12:07
so its better
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 12:07:17Z
my alt tab isnt slow i think
Avatar
i use the menu bar xd
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 12:07:45Z
xd
Avatar
whats a menu bar
12:07
monkalaugh
Avatar
the taskbar
Avatar
whats a taskbar
12:08
monkalaugh
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 12:08:18Z
ryotrol
Avatar
the bar that makes you faster than any other method of finding a window to open
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 12:08:48Z
depends on the bloat u got open
Avatar
5105141 Use newer ubuntu with higher clang-tidy version - def- fd533a4 Merge #4806 - bors[bot]
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 12:09:12Z
i barley have more than 4 applications open
Avatar
Avatar
Jupstar ✪
the bar that makes you faster than any other method of finding a window to open
rofi is fastest
12:09
Rofi: A window switcher, application launcher and dmenu replacement - GitHub - davatorium/rofi: Rofi: A window switcher, application launcher and dmenu replacement
Avatar
ryo promotes a project that isnt in rust
12:09
what a rare event
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 12:10:07Z
maybe its an imposter ryo
12:10
but wm maximalism is classic ryo
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 12:12:13Z
xd
12:12
i got half of it
Avatar
ppl that see kubuntu switching from windows see a good desktop gnome and i3 wont make it
12:12
we need it
Avatar
(edited)
12:12
xd
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 12:13:08Z
lmao
12:13
x is bloat
Avatar
linux is bloat
12:13
make ur own os
Avatar
true
Avatar
embrace bare metal
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 12:14:02Z
ryo go make an os that is optimized to run ddnet
12:14
ill buy it
f3 1
Avatar
yeah
Avatar
make ddnet compatable with templeos
Avatar
lol first i have to make a usb driver
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 12:14:21Z
imagine boot into games xd
Avatar
i also need like 2-3 changes in vulkan that would benefit ddnet
Avatar
did u know the usb manual is 200+ pages long
12:14
lmao
Avatar
lets make own os and own graphics api
12:14
look how huge
12:14
this page is
12:14
xdd
Avatar
and call it Apppple
12:17
u could even call it appleOS wouldn't clash with macOS
Avatar
apple fans would accidantically install good os xd
Avatar
@Jupstar ✪ when u make a os u have to use lot of spinlocks
Avatar
yea, gives performance boost
12:20
every real mutex lock is probs slow
Avatar
well u dont have real mutex implemented at kernel level i think
12:22
xd
Avatar
but on hardware?
12:23
i dont mean a high level mutex impl
12:23
more like what a mutex does internally
12:23
some instance and then inter processor isntructions
Avatar
I've found this bug in a different mod and fixed it. Then I've got idea to check if any of the upstreams (this and tw)is affected and it turned out that this is already fixed in teeworlds. I've dropped my change and did cherry-pick to reduce the difference between codebases.
Avatar
Avatar
Ryozuki
well u dont have real mutex implemented at kernel level i think
https://www.kernel.org/doc/Documentation/locking/mutex-design.txt it descripes what happens fast path optimistic path slow path 😄 always interesting
12:39
"While formally kernel mutexes are sleepable locks, it is path (ii) that makes them more practically a hybrid type. By simply not interrupting a task and busy-waiting for a few cycles instead of immediately sleeping, the performance of this lock has been seen to significantly improve a number of workloads."
Avatar
New idea. How about teeworlds implemented on silicon directly?
Avatar
Avatar
Learath2
New idea. How about teeworlds implemented on silicon directly?
Nice idea
12:40
i bet in 200 years its pretty common to design your own processor
12:41
you just program processors
12:41
instead of general purpose
Avatar
Would need a huge leap in manufacturing technology :P
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 13:21:56Z
@ReiTW any idea why most of the time im stuck in connecting when trying to join bombay?
Avatar
and ryo-os makes the first step into that direction xd
Avatar
cuz u need to join store srv
13:26
and if you can't join store srv then ur just unlucky cuz vali is targeting it, I have to set up a website instead to easily stop vali doing that but i'm lazy
13:26
troll 1
13:26
would also stop the useless 12mpbs outgoing
Avatar
Avatar
Patiga
rate my renderer, doing envelopes rn
I thought you did something to have different values of parallax at each point of a single quad 😄
Avatar
heh, is that on your wishlist? ^^
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 13:40:35Z
ah so i got iq filtered
13:40
classic
Avatar
stackoverflow maintainance: https://stackoverflow.com/ :/
Avatar
25ceea6 Write log to disk on assert - Jupeyy 0ff8054 Allow more precise Destroy call to Job pool - Jupeyy f6df2ce Merge #4773 - bors[bot]
14:56
9277e3c Fix laser clipping. Closes #2176 - oy 420862d Merge #4808 - bors[bot]
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 15:13:16Z
who needs SO when u got ddnet#developer
Avatar
2d39456 Recurse ENGINE_SHARED - ChillerDragon 4337bcf Merge #4807 - bors[bot]
Avatar
Avatar
Jupstar ✪
i bet in 200 years its pretty common to design your own processor
FPGA ftw !!
16:26
+ using soft core
Avatar
from my messages in #bugs recently: !image !image how to do it: go into /practice in a team, /tp to a shotgun (or laser, but sg is faster) on the map, and then /tp inside of a block, then hold down shotgun this both lags the server over time (you need about 15 minutes and 10 p...
Avatar
I think /top5 global and /top5 local should be displayed separately in all cases, or with separate commands. When a player from your region is in top5, the local top5 isn't displayed. I think this is already a bad way of displaying them since it requires a player doing /top5 to already be familiar with players in their region, which usually isn't the case. let's say this is the top 5 for a certain map: 1. player1 (GER) 2. player2 (GER) 3. player3 (GER) 4. player4 (USA) 5. playe...
Avatar
teleport to me
17:27
teleport_to_me comand
Avatar
Avatar
Deleted User
teleport_to_me comand
tele [who to tp] [who to tp to] (edited)
Avatar
Avatar
bencie
tele [who to tp] [who to tp to] (edited)
ok
Avatar
by id's
17:27
example: ur friend has id 1, you have id 0 and you wanna teleport to your friend: tele 0 1
Avatar
thank you
Avatar
teleport to [ coordinates player}
Avatar
Was detected by missing hammer animation at very high ping by texnonik and bencie

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
  • [x] Considered possible null pointers and out of bounds array indexing
  • [x] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSa...
Avatar
Would be cool to have tests for gameplay
18:16
I think its possible with the headless client
18:17
Tests = fearless refactoring
18:18
I might look into it someday
Avatar
Could even have tests for UI
Avatar
[quakenet] ChillerDragon BOT 2022-03-12 18:36:46Z
omg weebs we did it "git log --grep=UwU"
Avatar
50eb249 fix bug that sneaked in during refactoring (in #4775) - C0D3D3V d140e05 Merge #4811 - bors[bot]
Avatar
Have we ever thought about prof of work for DDos Protection?
Avatar
not that ez
19:28
you just need the Ip of the real server
19:28
of any server where a lot of ppl are connected to be precise
Avatar
http://ithare.com/udp-for-games-security-encryption-and-ddos-protection/ I just came across the "Implementing "Proof of Work" on top of DTLS" chapter here and didn't think it was that wrong. Problematic is probably with us especially the last section because we have players with and without gpu.
Quote:"Yes, you DO need to encrypt your UDP traffic. And no, using UDP is NOT a valid excuse to skip encryption"Another Quote:"Personally, I prefer to think of it as of insurance - when I'm paying my premiums in hope that my money will go to waste."[→]
Avatar
it will simply not prevent the dos itself, even if it helps the ddos filter, it would require a expensive filter
Avatar
Avatar
c0d3d3v
Have we ever thought about prof of work for DDos Protection?
we were more thinking about tcp for connection handling
20:18
would be way easier than
20:18
then UDP for ingame data
Avatar
even then it would probs require a pretty huge filter.. not like the traffic simply disappears
20:29
and even a 2nd lag is instant kill for many maps
20:31
#4791
Avatar
The proxy server is supposed to prepend the client IP address and port in the first 18 bytes of a packet. IPv4 addresses are represented using IPv4-mapped IPv6 addresses with the prefix ::ffff:, e....
Avatar
this is basically the only real thing
20:31
but only works for trusted ppl
Avatar
Avatar
ReiTW
we were more thinking about tcp for connection handling
You mean accept the connections via TCP and transfer world/map data and then hand it over to UDP? That's what I wanted to suggest too. But a proof of work on the tcp connection wouldn't hurt.well one thing at a time. can't try everything at once.
Avatar
56eee43 Increased DDNet.tw costs - def-
Avatar
Old: !screenshot-20220312@234506 New: !screenshot-20220312@234420

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 if it works stand...
Avatar
I hope this kind of physic isn't used anywhere, I couldn't trigger it without being stuck in wall.

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 affect existing maps
  • [ ] Tested the change ...
Avatar
Avatar
c0d3d3v
You mean accept the connections via TCP and transfer world/map data and then hand it over to UDP? That's what I wanted to suggest too. But a proof of work on the tcp connection wouldn't hurt.well one thing at a time. can't try everything at once.
Actually proof of work in this case would probably only hurt 😄 It's cheaper to verify the work than it is to do the work, surely, but verifying isn't free, we'd need a very powerful firewall that has a rather large uplink
Avatar
Avatar
GitHub
Click to see attachment 🖼️
ᶰ°Konͧsti 2022-03-12 23:31:00Z
I dont think infinite shots are used anywhere but maybe problems with some special tunes and weaponteles?
Avatar
does it work with shooting laser directly into a corner
Exported 358 message(s)