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-05 00:00:00Z and 2022-03-06 00:00:00Z
Avatar
@Ryozuki we want to make a cached mirror of ddnet's wiki within the teeworlds.cn domain so we can register it with tencent to allow their users to access it with in their products (QQ/wechat etc)
05:27
does that sound ok?
05:27
because they only accept domains that are registered in china btw (edited)
Avatar
As long as it conforms to cc-by-sa you can do whathever you want
08:01
Note that you may be able to use the wiki api to gather data easier, but idk how it works
08:02
I just over read it somewhere about archive.org using it
Avatar
Can defs still be improved. Ignored for text input Before: !screenshot_2022-03-05_09-54-08 After: !screenshot_2022-03-05_09-59-49

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibl...
Avatar
Reported by Izanagi on Discord Old: !screenshot-20220305@100323 New: !screenshot-20220305@102430

Checklist

  • [x] Tested the change ingame
  • [x] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Writt...
Avatar
Oops, two people with different solutions for the same problem 😉
Avatar
We can still use urs additionally
09:28
other languages are also broken
09:28
thats why i chose a more general approach
Avatar
Avatar
Ryozuki
As long as it conforms to cc-by-sa you can do whathever you want
Ok. I was thinking about straight up mirrored site. Maybe keep the edit and login link to ddnet.tw
Avatar
If a player finishes with the exact time, name and server in team. Their name will be added multiple times in the leader board. Could probably be fixed by also grouping by the timestamp. This bug can be seen here: https://ddnet.tw/maps/NUT-95-short-95-race6
Avatar
huh, haven't seen this before
Avatar
The problem comes from him having lots of the same times with regular ranks, and one of them being a team rank
11:29
would be clean to join for that based on timestamp, but the problem is that we didn't guarantee exact same timestamps for record_race and record_teamrace for a few years in the beginning. So this might break some old ranks being displayed
11:32
fixed
Avatar
Well, there's also a different issue. Where the entire top20 isn't displayed. Which could now be seen on that page aswell
Avatar
what do you mean? I see the top 20
11:36
you mean the count only goes to 13? That's because 7 teams have the exact same time and thus all of them are 13.
11:36
ah, actually only 5
11:36
ok 😄
Avatar
Yep :D
Avatar
The query right now is select distinct r.Name, r.ID, r.Time, r.Timestamp, SUBSTRING(n.Server, 1, 3) from ((select distinct ID from record_teamrace where Map = 'NUT_short_race6' ORDER BY Time limit 20) as l) left join record_teamrace as r on l.ID = r.ID inner join record_race as n on r.Map = n.Map and r.Name = n.Name and r.Time = n.Time and r.GameID = n.GameID order by r.Time, r.ID, r.Name;. Not sure why some of the distinct IDs from record_teamrace don't show up, we get exactly 20. I guess they don't have a corresponding game id, so maybe have to go by approximate timestamp after all
Avatar
Well, if you don't have a fix. I guess it's best to revert to the old way of doing it, as most old maps now only show around 7 teams.
Avatar
chillerdragon BOT 2022-03-05 15:29:41Z
404 (@Deleted User)
chillerdragon: hello nub, i improved your homing_missile from DDNetPP, if u want to take a look : https://github.com/NouaaTW/DDNetPP/commit/ea8d770182d26ea53d2d87e51567379792c38419
15:30
If you want to contribute to ddnet++ feel free to open a pull request @Deleted User
greenthing 1
Avatar
Mostly because we felt 64 people are enough, secondarily because 64 bits is the largest portably supported integer size. Beyond that we'd need to change our integer team masks and stuff into bitsets, which has performance implications. Furthermore the O(n^2) nature of some of the code starts to rear it's ugly head. Not that they cant be optimized but that we didn't think >64p is worth the effort
Avatar
128 t0 multimap blockers war
Avatar
[quakenet] Konsti BOT 2022-03-05 16:48:48Z
fokkonaut allows 128 players
16:49
some maps would really fit for it
Avatar
Hi, I'm trying to build ddnet on ubuntu (wsl), but I got an error, do you know what I'm doing wrong? I have ddnet with ddnet-libs cloned.
Avatar
You're missing the video rendering dependencies, you can either disable it with cmake -DVIDEORECORDER=OFF .. or download the following packages: libx264-dev libavfilter-dev libavdevice-dev libavformat-dev libavcodec-extra libavutil-dev
❤️ 1
Avatar
Nice, works now. Thank you. Installed the dependencies.
Avatar
It is sort of insulting that you think we in 10 years of running this didn't think of "getting ddos protection" :D
17:13
It's just not as simple as "get ddos protection" what kind of protection matters much more. OVH has excellent ddos protection, they just block all UDP traffic on our ports, then no one can play. It does technically solve the issue
17:14
Hetzner while having not much of a ddos protection (they do catch simple tcp syn and stuff) actually allow us to use our entire 1g link
Avatar
Original message was deleted or could not be loaded.
Yeah, not so simple. As the filters trigger on even the allowed ports. The filters just dont understand the teeworlds protocol, it works better for mainstream games like csgo
17:16
We used all tiers of ovh service. They have extremely aggressive filters that leave us even unable to ssh into the server during attacks
17:17
@deen probably remembers better. But we used servers from SYS, Kimisufi, OVH directly for months
17:18
We also tried their GAME line with the supposedly smarter filter
17:20
Aka, smart... Aware of the protocol, unlike dumb filters which dont care about the specifics of the protocol
17:20
Anyway, if you can convince deen the 7th time we use OVH is the charm, we can give it another go
17:22
The reality is there is just no filtering 10gbps of udp traffic without knowing the details of the protocol. And no hoster will give us access to their firewalls with much larger uplinks where we could actually filter this
17:22
No one has filters for the ddnet server. They would have to be written just for us
17:23
The guys at secured.gg gave it a go, and it was a decent attempt, but they just had other issues
17:25
By preventing 80% of attacks they are eating legitimate packets. It's just unacceptable. The firewall cant possibly distinguish between a valid ddnet packet and a udp flood that looks like one
17:25
It needs to track connections if it wants to have any chance at making sure player traffic is uninterrupted
17:26
And I said if you can convince deen to put more money towards ovh once again we can give it a try
17:27
It just sounds silly to me that a billion dollar companies tech team would even waste the time on digging through our pcap files
17:29
GER3 is on google cloud, which has an even larger network. Network capacity doesnt really mean much unless you get access to upstream filtering
Avatar
Original message was deleted or could not be loaded.
Yep, filtering that is not controlled much by us at all. Unless the tech team actually cares about adjusting filters for us that doesnt mean much either
17:32
Most hosters have huge network capacities far beyond our attackers capacities
17:33
Hetzner doesn't null since almost 2010 btw. That's just bad pr from way back in the day
17:35
Paying for more bandwidth indeed doesnt work. We'd need some insane plan like a 1g network that allows us to burst to 200g during an attack :P
17:36
I already said it's insane... Okay I get the feeling you are treating me like I have brain damage or something and I'm quite bored of this
17:37
https://hookrace.net/blog/dos-attacks-against-online-game/ Here is all the things we tried. If you think you can solve it talk to @deen
17:38
I have other things to do then being treated like an idiot on a subject I spent half a decade trying to fix
17:39
DDNet tab is all ours. There is no point hosting your own as you won't get half the attacks we do. Even more popular servers like nobies gets a fraction
Avatar
hes a ovh partner hes trying to sell u servers to get a bonus troll
Avatar
Also remember that we are on a budget. Can't afford 400€ a month for a hw firewall
Avatar
Now I'm trying to build ddnet for windows on ubuntu, but it gives an error. I did cmake ../ -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/mingw64.toolchain and then make -j(nproc). Any ideas? Thanks in advance.
Avatar
Original message was deleted or could not be loaded.
OVH is pretty bad at UDP
17:53
only if you host with game & services that are "compatible" like arma
Avatar
Avatar
cauldron
Now I'm trying to build ddnet for windows on ubuntu, but it gives an error. I did cmake ../ -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/mingw64.toolchain and then make -j(nproc). Any ideas? Thanks in advance.
1. make sure u have up to date ubuntu 2. use posix alternatives, search update alternatives for mingw
👍 1
Avatar
yes like waiting 5 months till they adjust
17:58
for teeworlds I had too many issues with them
Avatar
Avatar
ReiTW
yes like waiting 5 months till they adjust
And iirc you ran one of the more successful tw servers on ovh, mostly due to lucking into a 10g link :P
18:01
I mean (edited)
18:01
technical assistant has a note of 2/5 stars for many reasons
Avatar
Fun-fact, 60$/mo was like a third of the budget this game ran on for it's first 5 years
Avatar
ovh's support is the worst one
Avatar
I havent had to deal with them so I wouldnt know
18:04
The difference is we dont have a profit motive, nor any income streams besides donations :D
18:06
Let's not start this one again. None of us want this, neither does the community for the most part
18:06
And @Ryozuki would be mad
Avatar
bro, on trustpilot OVH has a very bad note, sometimes they even just copy paste answers from another comments, it already happened that they forgot to change the name in their comment response (edited)
18:07
they don't care at all
18:08
there's probably some things that are cool at OVH, like their game solutions, OVH Game works very well, and many games nowadays that OVH supports, a lot of people do use OVH services to protect themselves
18:08
but the support, the api, and some other things
18:08
it's horrible
18:08
not a long time ago, Mr_Anderson showed me, but I can't find it
18:08
sure, my server is hosted by OVH (edited)
18:08
(well I have a dedicated)
18:09
Ask them to tell people when they shut down the wrong server because of a maintenance
18:09
Had to check logs last time
18:09
the API, you can create tokens, but you have to use the API to delete tokens, what a shame (application keys) (edited)
18:10
Last time I've asked them to stop rate limit IPs because vali was spoofing player's IPs
18:10
I had to wait 4 months to finally get something working
18:10
And even now there's still some players that gets rate limited for no reason when vali does attack my server
Avatar
Original message was deleted or could not be loaded.
I mean on any other website giving access to an API, you can easily manage your API keys and just delete one easily if needed
18:13
just by asking the password or 2FA is easy to set up
18:14
Here no, you have to go on the console page, find the api id or idk how it is named, and then search the option to delete the API
Avatar
Avatar
Learath2
And iirc you ran one of the more successful tw servers on ovh, mostly due to lucking into a 10g link :P
Well I almost gave up with all that months I had to wait
Avatar
Avatar
Jupstar ✪
1. make sure u have up to date ubuntu 2. use posix alternatives, search update alternatives for mingw
do you mean by posix alternatives other linux distributions? I will try to use archlinux. And I want to crosscompile for windows, so what else can I use? clang?...
Avatar
sudo update-alternatives --config x86_64-w64-mingw32-gcc
18:16
sudo update-alternatives --config x86_64-w64-mingw32-g++
18:16
clang works too to compile for windows yes
18:16
there is Wclang which helps you
👍 1
Avatar
I'm writing a simple C++ program to demonstrate the use of locks. I am using codeblocks and gnu gcc compiler. #include <iostream> #include <thread> #include <mutex> using nam...
👍 1
18:17
(just to say)
Avatar
Original message was deleted or could not be loaded.
creating is way easier than deleting lol
Avatar
Original message was deleted or could not be loaded.
teeworlds server? xD
18:19
they just ask you your password so well, don't think having a panel where you can manage your api keys is less "secure"
18:21
no? (edited)
18:21
never seen that
18:21
on the api page?
18:22
ig it wouldn't be the case as I'm using 2FA
18:22
Well then you're special lol cuz when recently I had 2FA off it wasn't the case at all
18:23
i'll disable 2FA
18:24
I'll just test, then put it back
18:24
sure, I have a new phone
18:25
yes i'm using my 5G net now
18:26
then they added that recently lol cuz this wasn't here before
18:26
i'm a customer since years now
18:27
also having an interface to manage your api keys can still be protected by a code sent by mail lol, there's no excuse for OVH to not have smth like that
18:27
yes
18:28
also when the api doesn't work well & gives you shit values, you have to pay to get support lol
18:28
that's a customer feature, that's stupid af
Avatar
Original message was deleted or could not be loaded.
Mr_Anderson, the guy hosting master2 and master3.teeworlds.com had that answer from the support
18:29
yeah, the api was like broken & was returning completly different values than expected
18:30
he asked them to check & fix that, they said "you have to get the enterprise support"
18:30
(forgot rly, was some time ago, but it was similar to ^)
18:31
well sometimes they just tell you shit so
18:35
it's a discord feature
18:35
also for teeworlds the protection is not that useful at OVH
18:35
I mean
18:35
disabling their anti-ddos is even better against vali issou
18:37
was 2months before the OVH fire (my server is in SBG-3)
18:39
well I don't need tho
18:39
The best protection against ip spoofing
18:40
is to tell all those idiots on the internet to set up BCP38
18:42
ask ovh to set up teeworlds in OVH Game
18:42
there's no limitations
18:45
the goal of bcp38 is to filter outgoing traffic, checking if src IP doesn't belong to your network
18:45
there's no limitation to that
18:47
can be everything lol, I mean for example OVH would kick your ass for sending traffic with an IP that OVH doesn't own, an easy example is 8.8.8.8
Avatar
Original message was deleted or could not be loaded.
no as they can just filter on asbr
18:54
and also it's a huge change to the internet but there's no excuse for each isp etc.. to not do it
18:55
only incompetence
Avatar
chillerdragon BOT 2022-03-05 19:54:06Z
EarthQuake: you forgot suggesting an account system :D
Avatar
  • Refactor CVariableInt::Pack some more according to upstream:
    • avoid right shift of negative number
    • rewrite loop smarter
  • Add size parameters to CVariableInt::Pack and CVariableInt::Unpack. Adjust tests and add tests with too small buffer sizes.

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [X] Written a unit test if it works standalone, syst...
Avatar
I'm switching to msys2 now. not (edited)
Avatar
37f94fc Add 20 € donation by tonytonyrony - def-
Avatar
471bb44 Move NETSOCKET behind a pointer so it can grow - heinrich5991 3211b1d Remove unused Flags argument in network code - heinrich5991 a8664a0 Hide the recvmmsg as an implementation detail - heinrich5991 1a35595 Unify buffer handling in UDP sockets across operating systems - heinrich5991 3f222b4 Merge #4783 - bors[bot]
Avatar
I only skimmed the conversation, but why should OVH be better this time compared to the last 50 servers we had with them? @TheDominator We also still have DDNet FRA and DDNet CAN at OVH. From my experience their support is somewhere between non-existent to bad. It took me many many hours in a phone loop to get someone on the phone. I tried getting a dedicated 10 gbit/s server there, but apparently in the meantime they switched them to 1 gbit/s, so that failed. I think the cheapest 10 gbit/s servers are ~500 € / month now, so out of reach for us.
22:25
And FRA and CAN we only have because Davide gave them to us for free, will shut them down after that
22:25
oh, and POL
Avatar
Cellegen | HU 2022-03-05 22:30:27Z
Learning dictionaries, cuz I'm too lazy making export variables better pepedead
Avatar
6337a4c Refactor CVariableInt::Pack - Robyt3 66d64ec Add size checks to CVariableInt::Pack and ::Unpack - Robyt3 8d61322 Merge #4788 - bors[bot]
Exported 154 message(s)