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 2020-07-09 00:00:00Z and 2020-07-10 00:00:00Z
Avatar
dont merge
00:02
its wrong
00:04
maybe this guy only wants to appear in the credits
Avatar
@Ryozuki if you can take the time, could you say why it is wrong (and if you assume that he's still using gtranslate, perhaps tell him that translations using that are mostly useless)
Avatar
no i wont, i dont want to teach spanish
00:10
ill simply correct it tomorrow
00:11
any sane spanish speaker can clearly see this is wrong
00:12
"Restablecer arma deseada en muerte" -> "Restablecer el arma deseada al morir"
00:12
its so wrong
Avatar
I've never taken a spanish class, I really can't tell
00:12
sorry
00:12
then just close the PR and tell him one wrong grammar usage
Avatar
well its mostly missing articles and correctly conjugatin the verbs
00:13
hm
00:13
idk if articles is a word
Avatar
articles is a word
00:13
the word class of "the" in english
00:13
and "a"
Avatar
@Ryozuki 1- about the merge. I just follow the instructions on the ddnet page. I have no idea how to use github so I created another pull request to fix the errors in the grammar. 2- How many errors were there? (edited)
Avatar
ᶰ°Konͧsti 2020-07-09 05:45:26Z
Fix updating mapinfos like mapper
Avatar
what's wrong with mapinfos?
Avatar
@deen you sure that it was correct to delete the cldefaultzoom stuff in camera::onreset?
07:28
just by looking at the code it seems like it should be still broken
07:29
but mh, it seems to work
07:29
but defaultzoom - 10 is -1 in my case, my default zoom is 9
Avatar
@deen tried updating ~3 times a mapper name through django it never worked (edited)
Avatar
@fearxito please only update languages that you speak fairly well
08:42
it's annoying to have to go through all strings to check whether the grammar is still okay, whether they fit the context and whether they fit into the space allocated for them
Avatar
Maybe set default zoom to 9 on fng
08:44
Hehe
08:46
@deen
08:46
@heinrich5991
08:46
his french translations are also rly wrong
08:46
idk if u pulled it already
08:46
08:46
he basically changed "mouse sens" to "mouse direction"
Avatar
I don't speak French well, I can only say a few sentences. But it was enough to recognize that almost all of the changes made the translation worse. French puts a space before punctuation, ...
08:47
and the "grammar" mistakes he fixed are also wrong
Avatar
https://github.com/ddnet/ddnet/pull/2473/commits/4e2ea9753147de0d2d0b5b9c9d61df5e6cedd2bc you could judge whether my imperfect french skills were okay enough for this one change
Avatar
i.e he removed every space before punctuations
08:47
but in french we actually have space before these..
Avatar
ye, I know, that's how I realized something was off
Avatar
Sens. de la souris could work, but wouldn't fit either
Avatar
yeah its not perfect but it makes sense (edited)
08:48
the . shows the word isnt "sens"
08:48
but yeah at that point just write the entire word "sensibilité"
Avatar
Doesn't fit anyway, and omitting "de la" there shouldn't matter much
08:50
Well I'm no native speaker, so I wouldn't touch any of the translations anyway 😄
Avatar
@Learath2 @heinrich5991 i made some changes to my own bridge server, including learaths repackmsg function, but that also removed the packing in message.h, which is now failing my ex.cpp test (by heinrich)
09:13
what should i do about it? just remove the test like ddnet?
Avatar
@Learath2 :/ why did you remove the test? ^^
Avatar
well if it fails 🤔
Avatar
@heinrich5991 i think its gone since a long time already
10:00
yea i dont know, i just noticed there is no ex.cpp
Avatar
Can you take a look at how to fix the test tho?
Avatar
hm. it seems there never was a src/test/ex.cpp(?)
10:13
git log -- src/test/ex.cpp shows nothing
10:14
then you didnt add it to ddnet xD
10:14
i got it from cherry picking your commit you did to ddnet7
10:14
will you add the test to ddnet?
Avatar
I know how to make better ddos protection. Just use better internet. Not 1GiB/s.
Avatar
@heinrich5991 i removed a test?
Avatar
no
10:21
sorry
Avatar
@TortiLeq the teeworlds networking code cant deal with 1 gbit of traffic either
Avatar
just throw better nonexisting cpus at it
Avatar
heinrich, will the ex test be added?
10:22
or why did it not exist?
Avatar
We could deal with it if we utilized extra cores better
Avatar
One of our first GER server was 10 Gbit/s, but they kicked us out because of DoS attacks anyway
Avatar
I love how they let u have 10gbit as long as you dont use it all
10:22
Thanks my man
Avatar
did you add the non-reflection measures back then?
Avatar
otherwise we might have been kicked off because we were DoSing others
Avatar
nono, it was because of the incoming traffic causing problems for other customers
Avatar
ok
10:23
hm
Avatar
the 10 Gbit/s was shared, not exclusive for us anyway
Avatar
I noticed some hosters have 4.5 GHz CPUs, might be less work to switch to something like that instead of using multiple threads for netcode
Avatar
@fokkonaut probably not because I don't want to port the test right now
10:26
if i want to remove it, can i just delete the ex.cpp file?
Avatar
yes, and delete it from CMakeLists.txt
Avatar
@deen i wonder if we would benefit from the extra single core speed
10:37
I guess we would as we probably arent having a bottleneck in the kernel yet
Avatar
sometimes we do get a kernel bottleneck
10:38
when there is a large attack with many small packets on a single server
10:38
recvmmsg helps a bit
Avatar
Yeah the kernel can only do so many packets per second per core, I'm not sure if that scales well with the core speed
10:39
We should get a high performance networking enthusiast hooked on ddnet :D
10:41
It'd also be nice if we could have access to a high powered firewall where we can drop things with ebpf filters before it even reaches us
Avatar
As a consequence changed defaults in an update will be respected instantly if the player hasn't changed the value.
10:42
defe243 Add cl_smooth_zoom_time - def- 56ef688 Merge #2467 - bors[bot]
Avatar
@deen one problem with #2482 is that you cant explicitly set values to default
Avatar
As a consequence changed defaults in an update will be respected instantly if the player hasn't changed the value.
Avatar
I implemented it the same way, then I implemented it with an extra bool inside the config but that doesmt work with the direct way we modify configs in the settings menu
Avatar
@snail u need to rename mapper in other places too, not only django
Avatar
@TortiLeq the teeworlds networking code cant deal with 1 gbit of traffic either
@Learath2 so we cant make teeworlds more safer for ddos
(edited)
Avatar
[quakenet] ChillerDragon BOT 2020-07-09 10:59:59Z
yo @deen trafilaw told me you know what this wordlist.txt is
11:00
how does it work what does it do and who loads this file?
Avatar
When you save and the save code exists or you have an empty save code, 3 words get used
11:00
to generate a new save code
Avatar
and the other question: grep -Fr wordlist.txt src/
Avatar
[quakenet] ChillerDragon BOT 2020-07-09 11:03:30Z
ok thanks so its in ddnet code and for /save code
11:05
yikes hardcoded so it has to be in the path where the server is launched from .-. well i guess its fine
Avatar
It just has to be in a storage path
Avatar
[quakenet] ChillerDragon BOT 2020-07-09 11:06:08Z
ah true
11:06
ok nice i can move it to ~/.teeworlds then huh?
11:06
so it does not annoy me in the binary directory
Avatar
I don't particularly like that you can't launch a server without this either
11:06
Yeah it can go into data too
Avatar
what is so problematic about this file? @Learath2
Avatar
[quakenet] ChillerDragon BOT 2020-07-09 11:07:01Z
how dangerous is it to move the file while the server is running?
Avatar
not at all
Avatar
[quakenet] ChillerDragon BOT 2020-07-09 11:07:15Z
its only used at server start right?
Avatar
yes
Avatar
[quakenet] ChillerDragon BOT 2020-07-09 11:07:22Z
ok awesome
11:07
and server wont start without?
Avatar
@heinrich5991 idk it's a rather large text blob only used for an optional feature
Avatar
[quakenet] ChillerDragon BOT 2020-07-09 11:07:45Z
oh optional
Avatar
soon, we'll have save codes without mysql, too
Avatar
Oh yep. Sqlite3 is exciting
Avatar
a5e8fc5 fix some spanish translations - edg-l 45476e4 Merge #2483 - bors[bot]
Avatar
@snail for french i can check and correct if needed
11:17
After i've readed .. I think there are plenty of correction i need to to x)
11:18
I will do that this week
Avatar
5e7a45a Set smaller default area for what distance to show - def- ac35b49 Merge #2479 - bors[bot]
Avatar
We could compile the wordlist in, but not sure if that's better
11:29
seems cleaner the way it currently is
Avatar
2e8faac Don't send zoom level while zooming (fixes #2470) - def- 5cc6a08 Merge #2471 - bors[bot]
Avatar
[quakenet] fstd BOT 2020-07-09 11:31:56Z
anybody else getting synflooded by 185.166.24.0/22? might be related to the last days ddos
Avatar
nope, haven't noticed
Avatar
[quakenet] fstd BOT 2020-07-09 11:40:25Z
well it's low throughput so it's hard to notice if you aren't looking for it
11:40
the curious thing is that i don't even serve a proper website (syns on port 443)
Avatar
checked a tcpdump on ddnet.tw, nothing from that address
Avatar
[quakenet] fstd BOT 2020-07-09 11:42:18Z
aight
Avatar
3729629 Only write non-defaulted config values to settings_ddnet.cfg - def- 0bf10ca Merge #2482 - bors[bot]
Avatar
[quakenet] fstd BOT 2020-07-09 12:14:10Z
emails to the abuse contact for that network bounce...
12:14
fantastic
Avatar
[quakenet] Learath2 BOT 2020-07-09 12:14:58Z
meh, probably nothing will come of it, cybercrime isn't a crime if you aren't hurting the bottomline of a company
12:15
I guess maybe if you sound srs enough the hoster might be scared you'd actually bother with it
Avatar
[quakenet] fstd BOT 2020-07-09 12:16:55Z
i wasn't expecting much, best case they enable ingress filtering
12:17
i figured bottomline or not, some sysadmin might not like the idea of someone spoofing his whole address space from within
Avatar
[quakenet] ChillerDragon BOT 2020-07-09 12:19:51Z
fstd: how do I check if i get flooded by this ip
Avatar
[quakenet] fstd BOT 2020-07-09 12:20:17Z
ChillerDragon: tcpdump -i eth0 -nl 'src net 185.166.24.0/22'
12:20
if your network interface is 'eth0' that is
Avatar
[quakenet] ChillerDragon BOT 2020-07-09 12:20:28Z
is it rn?
12:20
yy ik
Avatar
[quakenet] fstd BOT 2020-07-09 12:21:02Z
well i'm still receiving, although not much
12:21
20 packets per sec or so
12:21
which is why i'm assuming i'm not the only receiver
Avatar
[quakenet] ChillerDragon BOT 2020-07-09 12:24:21Z
did not get any traffic
12:24
so its unlikley tw related
Avatar
[quakenet] fstd BOT 2020-07-09 12:25:47Z
but my webserver doesn't serve anything
12:25
literally just https://www.pr0.tips/
Avatar
[quakenet] ChillerDragon BOT 2020-07-09 12:26:01Z
oh so its web requests?
Avatar
[quakenet] fstd BOT 2020-07-09 12:26:02Z
"foo bar www"
12:26
it's SYNs on the https port, yes
12:26
no actual requests though
Avatar
[quakenet] ChillerDragon BOT 2020-07-09 12:26:31Z
i get so many crazy requests on my pstd server
Avatar
[quakenet] Learath2 BOT 2020-07-09 12:26:58Z
fstd: I don't get anything either on any server I have
Avatar
[quakenet] fstd BOT 2020-07-09 12:27:16Z
hm that's so weird
Avatar
[quakenet] ChillerDragon BOT 2020-07-09 12:29:22Z
fstd: do you also get these? https://paste.zillyhuhn.com/LV
12:29
looks like bugbounty hunters :D
Avatar
[quakenet] fstd BOT 2020-07-09 12:30:23Z
nah that's just people probing for known vulnerabilities in certain web apps
12:30
and yeah i get those a lot (but paste.pr0.tips is running over at Learath2's)
Avatar
[quakenet] ChillerDragon BOT 2020-07-09 12:30:40Z
oh
12:30
i thought u host that
Avatar
[quakenet] fstd BOT 2020-07-09 12:31:02Z
pstd_server can't make sense of a lot of those requests due to the way it (does not) implement http
Avatar
[quakenet] ChillerDragon BOT 2020-07-09 12:31:11Z
y
Avatar
[quakenet] fstd BOT 2020-07-09 12:31:19Z
i could actually move it back to my server these days, yeah
12:31
oh wait, no
Avatar
[quakenet] ChillerDragon BOT 2020-07-09 12:31:34Z
btw does econ still work in ddnet6? or am i stoopid?
12:32
if i connect via econ to ddnet6 i just crash the server
12:33
ah ok nvm using netcat it worked
Avatar
[quakenet] Learath2 BOT 2020-07-09 12:36:45Z
I buy a cake tin online that looks like it's one piece, turns out you can remove it's bottom... Why can't I just get a solid one piece cake tin?
12:37
At this rate I'll have to get a normal one and have it welded....
Avatar
[quakenet] fstd BOT 2020-07-09 12:41:13Z
tf is a cake tin?
Avatar
[quakenet] Learath2 BOT 2020-07-09 12:41:23Z
the thing you bake a cake in
Avatar
[quakenet] fstd BOT 2020-07-09 12:41:52Z
removable bottom sounds like a useful feature then
12:41
to get the cake out
12:42
without messing it up
Avatar
[quakenet] Learath2 BOT 2020-07-09 12:42:42Z
Unless you are baking custards like cheesecake which need to be baked in a waterbath. Then a removable bottom is the perfect place for the water to get in and give you a sad soggy bottom
Avatar
[quakenet] fstd BOT 2020-07-09 12:43:07Z
i see, lol
12:43
fortunately cheese cake tastes like ass so nobody should ever have a reason to make one :P
Avatar
[quakenet] Learath2 BOT 2020-07-09 12:44:17Z
Just because you never had a good one
Avatar
[quakenet] fstd BOT 2020-07-09 12:46:29Z
did you just call my momma a sub-par cheesecake maker?
Avatar
[quakenet] Learath2 BOT 2020-07-09 12:47:42Z
Okay, then you just don't like cheesecakes
Avatar
fstd: heh, I also got that for abuse contacts a few times. that's when you know they don't give a shit
14:58
Learath2: Post some cake photos next time 😄
Avatar
GitHub has introduced READMEs for profiles that allow to display profile views
Avatar
F-Client has an implementation of it.
[5:06 PM] fokkonaut: @deen yea. could you look into making Sv_TeamsState work for F-Client? its an extended net message in my Client/ddnet7
Avatar
https://github.com/Deen/mangos the deen on github did some wow server reimplementation stuff 🙂
Source patched the various patches, the full list will be soon published. An overall objective this fork is addition of new functions of a kernel and more convenient use. - Deen/mangos
Avatar
well, he forked it and did a single change 10 years ago
Avatar
what is a "wordlist.txt"
Avatar
it's a list of words for random savecodes
15:14
git log -- data/wordlist.txt
Avatar
ah i guess i just need to copy it to my serverdir for the server to start again :)
Avatar
ah, yes
Avatar
Cheesecake is goodkek
Avatar
I think this looks sane but I haven't tested it at all for idk how to even test this locally/alone
Avatar
@deen there are still a couple double messages that need to be masked
Avatar
Same as https://github.com/ddnet/ddnet/pull/2419 but rebased so that you can actually look at the diff. @MikiGamer
Avatar
quite a few people on old clients, thats since yesterday
16:45
(older versions than 10 didn't access https://info.ddnet.tw/info
Avatar
ᶰ°Konͧsti 2020-07-09 16:55:21Z
Cuz they faked version number to not get shit timer
17:02
In old client versions rotated stoppers did nothing, now they stop you, but later than mirrored ones. Not sure if we can just change this, physics is always high risk.
Avatar
lol @jao still uses ddnet 1.8.7 kek
Avatar
ᶰ°Konͧsti 2020-07-09 17:10:07Z
wowo jao murderer
Avatar
@heinrich5991 sorry, I don't have idea that the spaces were okay on the french translation sorry about that. My bad
17:27
@heinrich5991 Spanish is my native language and I speak a little english (edited)
🤡 2
Avatar
[freenode] Zwelf BOT 2020-07-09 17:44:52Z
Can someone help me add sqlite to cmake? I can compile https://github.com/ddnet/ddnet/pull/2465 without any errors locally, but the Github CI isn't satisfied.
This PR changes the abstraction layer of the score backend to thin abstractions over the MySQL and SQLite3 library. It executes all Queries in one worker thread making it easier to use the ddnet th...
Avatar
Zwelf: Did you forget to git add the cmake/FindSQLite3.cmake file?
18:21
do we need the sqlite3ext.h btw?
Avatar
[freenode] Zwelf BOT 2020-07-09 18:25:25Z
No need for the sqlite3ext.h, I don't plan to use sqlite3 extensions.
Avatar
Zwelf: Can we reenable /practice btw? I heard something was broken and thus it's disabled
Avatar
6ae3275 Remove sqlite3ext.h since we don't need it - def-
Avatar
@heinrich5991 thanks for all the reviews btw, you're very proactive and giving good feedback
18:29
and I know that reviewing is less fun than writing own new code, so it's much appreciated
Avatar
[freenode] Zwelf BOT 2020-07-09 18:30:00Z
Can be enabled again if #2446 is deployed. Was related to the ClientID = TeamID change on solo servers.
Avatar
thanks
18:30
I'm okay with doign reviews. I sometimes worry that I'm making PR authors work too much
Avatar
ok, I'll reenable practice then
Avatar
6a87278 find available port - MikiGamer beaadca switch, limited tries & sv_port 0 - MikiGamer f7eda38 changes for auto port - MikiGamer 6da220d default port - MikiGamer a34c725 Some minor improvements to sv_port 0, make it default - def- af17e25 Merge #2485 - bors[bot]
Avatar
so far it's been reasonable I think with the work you asked
Avatar
[freenode] Zwelf BOT 2020-07-09 18:37:09Z
yes, didn't write a FindSQLite3.cmake yet.. those look a bit scary, but can try to copy a simple one and modify it
Avatar
6b7e1f5 Send zoom status for dummy too - def- f4344dc Use (u)int64 from system.h instead of (u)int64_t from cstdint - def- c4d5c8d Merge #2478 #2480 - bors[bot]
Avatar
b2b664b Don't reset chat on map change (fixes #2451) - def- d7a0a91 Merge #2460 - bors[bot]
Avatar
fb7114b Remove sqlite3ext.h since we don't need it - def- 9492eaa Merge #2488 - bors[bot]
Avatar
while player is sitting in editor and getting mention, ddnet's icon on panel doesnt pulse
Avatar
yeah, but you get a message in editor i think
Avatar
yes, but im in another program atm
19:23
so i cant get that someone mentioned me
Avatar
[freenode] Zwelf BOT 2020-07-09 19:44:07Z
@deen can you compile sqlite3 with SQLITE_OMIT_LOAD_EXTENSION (CFLAGS=-DSQLITE_OMIT_LOAD_EXTENSION ./configure) and rename sqlite to sqlite3 for consistency
19:49
Currently there are linking errors to ld (using the .so would work as well)
21:09
64f2260 Build sqlite without extensions - def-
21:11
685f961 Rebuild sqlite without extension, rename to sqlite3 - def-
Avatar
Zwelf: done
Avatar
8e1b951 Rebuild sqlite without extension, rename to sqlite3 - def-
Avatar
[freenode] Zwelf BOT 2020-07-09 21:36:38Z
Thanks
Avatar
Fixes warning: [kernel]: failed to find interface with the name 'updater'
Avatar
3585d83 Don't request IUpdater interface when built without updater - def- 1a79644 Merge #2490 - bors[bot]
Avatar
59243c0 Update French translations (by SunnyPistache & Pipou) - def- 9a4fbc4 Merge #2489 - bors[bot]
Exported 278 message(s)