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 2018-07-11 00:00:00Z and 2018-07-12 00:00:00Z
Avatar
then install linux
Avatar
ChillerDragon 2018-07-11 06:14:16Z
@jao yo im here sorri was a long night
06:14
and raining
🌧 1
06:14
and no internet connection i wasnt able to pr the anboucne thingy
06:14
lol @noby im trying to break ur no sleep records xd
Avatar
good luck
06:14
lol
06:15
hope uve got plenty of speed
Avatar
ChillerDragon 2018-07-11 06:15:23Z
without drugs :p
06:16
well any pull requests made past 2-3 days of no sleep are probably not very useful xd
Avatar
ChillerDragon 2018-07-11 06:16:22Z
hehe we will see
06:16
i feel dope
06:16
well a bit dizzy
06:16
i didnt drink or go to toilett or move for 8 hours lol
06:16
xd
Avatar
staying hydrated is important especially if ur not sleeping lol
Avatar
ChillerDragon 2018-07-11 06:17:57Z
was busy chillin in some queue
Avatar
@fokkonaut it used to be possible, but now the client gets its news, ddnet server list and newest client version all together from https://info.ddnet.tw/info
Avatar
where do the messages from modhelp actually go
Avatar
i guess a hidden mod channel
Avatar
42ef0fd Remove links to inflammatory Discord channel and inactive forum - def-
ww 2
Avatar
@noby you don't want the spam we recieve with /modhelp
Avatar
did u get my message
Avatar
@fokkonaut I can't see the version update thing in wine
08:23
but if you're on the 64-bit version of ddnet on windows, try replacing the 85 with a 31 at offset 0x5b911 with a hex editor
08:23
(make a backup first)
08:23
in the file DDNet.exe
08:24
eh nvm, this was version 11.2.1
08:24
let me download 11.0.3 (that also explains why I didn't see the version warning)
08:29
@fokkonaut do the same at offset 0x5f8bd
08:29
i.e. change the 85 with a 31 at offset 0x5f8bd in DDNet.exe, version 11.0.3, with a hex editor (edited)
Avatar
is A* the best path searching algorithm for 2d?
Avatar
it's pretty good, depending on what you need
08:57
e.g. on a plan with collision and without teleporters, it's optimal, I think
08:57
*on a plane
Avatar
(not for ddnet, its more topdown view)
Avatar
ᶰ°Konͧsti 2018-07-11 09:50:09Z
ban 5991 f3 GWqlabsFeelsGoodMan Swordd
Avatar
@heinrich5991 what? xD
09:56
@heinrich5991 i didnt understand one word :D
09:56
GWseremePeepoLife
Avatar
coders lost all connection to reality
Avatar
@noby ah the /modhelp channel is gone :0
Avatar
@fokkonaut we figured it out now 🙂
Avatar
what?
11:27
ah yes xD
Avatar
a hex editor for windows is e.g. http://frhed.sourceforge.net/en/
Frhed is an binary file editor for Windows. It is small but has many advanced features like ability to load big files partially.
Avatar
no more forum nor discord on website?
Avatar
Cant connect to any ddnet ger server
Avatar
[ddnet-web:master] 1 new commit 42ef0fd Remove links to inflammatory Discord channel and inactive forum - def-
Avatar
I saw
12:49
but why? o.O
12:50
Now, there's no communication way
12:51
huh?
Avatar
Hey guys, did you read what I wrote some days ago about ninslash ?
Avatar
@heinrich5991 if you still didn't find the reason of long connecting, try to check the server time. If the time was changed when game servers were up - it might cause this problem.
Avatar
@heinrich5991 wasn't the TKEN stuff meant to stup the join flood?
13:15
can't take up a slot until you respond iitc
Avatar
it's an fng server
Avatar
they do it with ddnet aswell
Avatar
Cellegen | HU 2018-07-11 13:16:13Z
you guys found the problem why we cant join ger?ű
Avatar
Not only ger, i cant join rus as well (edited)
Avatar
saw one where snail was alone and the rest of the server was flooded
Avatar
Cellegen | HU 2018-07-11 13:17:07Z
why the server allowes limited people
13:17
wth
Avatar
are the ips all from the same type of ranges?
Avatar
we can't snap a billion players
Avatar
like server hosting ranges specifically
Avatar
Cellegen | HU 2018-07-11 13:17:48Z
we didnt say a billion, only a few hundred
13:17
isnt big number
Avatar
but then people could just scale the attack up to that number?
Avatar
i think anyone who can ssh into that server could see which ips are trying to connect in console
Avatar
Cellegen | HU 2018-07-11 13:19:54Z
could be a solution for reboot the system?
13:20
then it refreshes datas and stuff
13:20
but in some cases blocking the offending ip ranges in firewall can help
Avatar
Cellegen | HU 2018-07-11 13:21:48Z
is it 100% works or just a tip for faster connecting
Avatar
? im talking about the ddnet rus fng server that seems to be flooded with fake connects
Avatar
Cellegen | HU 2018-07-11 13:24:34Z
oh shit
13:24
never knew that stuff
Avatar
where did the forum go xd
Avatar
forum.ddnet.tw
13:34
my catalonia flag search
13:34
XD
Avatar
i dont actually want to go to the forum
13:35
just wanted to point out
Avatar
[ddnet-web:master] 1 new commit 42ef0fd Remove links to inflammatory Discord channel and inactive forum - def-
Avatar
dont see a point in that
13:40
no one benefits from it
13:40
tbh
13:41
just a small amout negativly benefits from that
13:41
but who cares
13:41
xd
13:41
btw whats the word for negativ benefit
Avatar
drawback
Avatar
can you blame the guy?
Avatar
deen, it is pretty darn negative in here
13:43
i talked with him
13:43
like
13:43
5 mins over phone number
13:43
xd
Avatar
T3ntuki (Rico) [EU] 2018-07-11 13:57:51Z
I dont know if it fits here but: I cant connect to GER nor RUS servers. CHN, CHILE, USA and CANADA works fine. Alrdy restarted router, changed DNS but nothing seems to work. Any ideas whats the problem?
Avatar
It's the join flood tripping the ddos protection, try vanilla 😦
Avatar
T3ntuki (Rico) [EU] 2018-07-11 14:02:56Z
Does not seem to work either.
14:03
Avatar
well guess there is also a ddos going on
14:04
on chile server
14:04
xDDDDDDDDDDDDd
14:04
GWpepestangreenpeka
Avatar
T3ntuki (Rico) [EU] 2018-07-11 14:05:54Z
k thx tho
Avatar
@Learath2 what is gauthreimport?
Avatar
@Ryozuki catalonia has a gay flag tho
Avatar
@ZimE a tool that regenerates the QR codes for the 2 factor auth secrets from the database file
Avatar
@ezy legends say it was made by a man with 4 fingers in blood on a shield while he was diying
Avatar
Cellegen | HU 2018-07-11 14:11:57Z
reboot the system and delete sytem32 monkaS
Avatar
delete system33
Avatar
@Learath2 where you get the databasefile
Avatar
why did he remove links to the discord channel
Avatar
You can download them on ddnet.tw @ZimE
Avatar
from the website
Avatar
@Deleted User aparently this server and forum is cancer
Avatar
@ZimE you can get it on a rooted android phone
Avatar
@Learath2 whats the goal with this tool, i dont understand
Avatar
Google authenticator makes it pretty hard to move to a new phone
Avatar
there is no catalonia flag in
14:15
discord
14:15
disrespect
Avatar
so I made a tool that extracts the data
14:15
so I can re-add it on my new phone
Avatar
isnt 2FA optional?
Avatar
optional if you want to get hacked
Avatar
@Learath2 authy is better
14:16
google auth sucks if u lost mobile and the codes
Avatar
but then what's the point of 2fa? if you can restore all your 2fa codes with one username and pw
14:17
then your security just has one extra password
Avatar
i dont know how it works
Avatar
Lol if you loose your phone and codes you deserve it xd
Avatar
@NeXus shhh no
Avatar
github has a no tolerance policy about it
14:18
if you lose it they won't help you even if you give them legal id and credit card you used for payment
Avatar
some people on other servers tell me, that there were donations stolen on ddnet, that's why this is happening
14:19
dont know anything about it, just sayin
Avatar
I'd feel even safer if I could have a device just for 2fa
Avatar
yikes stolen
Avatar
how stolen
Avatar
@Deleted User no need for conspiracy theories, all donations received and where they go is put up on /funding
Avatar
just transported it from there to here, dunno anything
14:21
so you know what tees are writing out there
Avatar
If any donation was missing on /funding the person who donated would complain, if any of them hadn't went to where they went to we'd have servers shut down because we didn't pay for it
Avatar
just use stronk password, no need 2FA
Avatar
well if you use 2fa, even if someone finds your stronk pw you are fine
Avatar
isnt it possible to change to a big hoster like amazon who can scale the power for ddos ?
Avatar
AWS isn't cheap
14:29
also game servers don't really scale that easily, can't just load balance 😛
Avatar
fix servers
Avatar
Cellegen | HU 2018-07-11 14:47:48Z
why not reboot it
14:48
what could possibly be worse from it
14:48
losing data or smth?
Avatar
nah
14:50
mostly using active players
14:50
I don't think that rebooting the server will help though
Avatar
nobody have fun right now
14:53
they are just there, cuz they are always there (edited)
14:54
tryin something cant make it worse
14:55
hi friend @heinrich5991
14:58
Too complained
Avatar
Cellegen | HU 2018-07-11 15:11:24Z
no vpn to help the server, no rebooting to help the server, what really helps the server tho? 😄
Avatar
No problem with joining
15:14
Omg nice setupfeelsamazingman
Avatar
Cellegen | HU 2018-07-11 15:16:06Z
da hall
15:16
now... i can too
15:16
did you just fix it or it was automatic
15:17
w8 (edited)
Avatar
Btw using ddnet 10.8.6 and joined in normal time
Avatar
Cellegen | HU 2018-07-11 15:17:18Z
nevermind
15:17
i guess i know my problem
15:17
i have connection lost on some servers which are cannot enter me
15:18
otherwise there are other servers that can let me join
Avatar
conn_timeout 100
15:18
feelsamazingman
Avatar
Cellegen | HU 2018-07-11 15:18:29Z
lol
Avatar
Guess i was lucky, cant join anymore xd
Avatar
Cellegen | HU 2018-07-11 15:21:56Z
make a test for try joining to every server
Avatar
Cellegen | HU 2018-07-11 15:33:00Z
idk why i did it , but useful at some point
15:37
oof
Avatar
[quakenet] <deen> Yuzu: To clarify about "stolen donations". Everyone who doesn't specify their nickname in the donation gets an email from me asking about how they want to be credited. Some never reply to that email, one had a disabled email account.
Avatar
[quakenet] <o_be_one> (i confirm im in credits since long time!)
Avatar
ᶰ°Konͧsti 2018-07-11 17:35:13Z
I cant see ger Servers
17:35
feelsbadman
17:35
And cant join ofc
17:40
Is there a ban on 79.210.94.25? feelsbadman
Avatar
@ᶰ°Konͧsti might just be the general non-connectivity of ddnet servers right now :/
Avatar
"daily dose of ddnet ddos"
Avatar
ᶰ°Konͧsti 2018-07-11 17:50:49Z
feelsbadman
Avatar
Use the libcurl-share interface to share DNS cache and connections between different requests. If compiled with OpenSSL, libcurl can only be safely used from multiple threads for OpenSSL >= 1.1.0, but this problem is not newly introduced by this commit: According to libcurl-thread(3): >OpenSSL <= 1.0.2 the user must set callbacks. > >https://www.openssl.org/docs/man1.0.2/crypto/threads.html#DESCRIPTION > >https://curl.haxx.se/libcurl/c/opensslthreadlock.html
Avatar
@Learath2 have a bit of time to talk about http masters?
Avatar
[quakenet] <Learath2> sure
18:30
[quakenet] <heinrich5991> k
18:31
[quakenet] <heinrich5991> so my current design looks as follows:
18:31
[quakenet] <heinrich5991> servers register with all master servers, clients check one master server to get all servers
18:31
[quakenet] <heinrich5991> servers send info to master server, every time it changes (with some backoff, maybe)
18:32
[quakenet] <heinrich5991> (that stuff all happens in json, btw)
18:32
[quakenet] <heinrich5991> as a change from the previous protocol, a server is allowed multiple addresses (for ipv4+ipv6 support)
18:33
[quakenet] <heinrich5991> [maybe that should be restricted to "at most 1 ipv4 and 1 ipv6 address, at least one of those"
18:33
[quakenet] <heinrich5991> ]
18:33
[quakenet] <deen> player names and scores? do servers keep an http connection to the master open to keep pushing updates or make a new connection on each change?
18:33
[quakenet] <heinrich5991> the PR above lets curl reuse connections
18:33
[quakenet] <heinrich5991> (and it actually does that, I checked)
18:34
[quakenet] <heinrich5991> for backward-compatibility, the masters also send the list of other servers (only their IP addresses), for the client to ping individually
18:34
[quakenet] <heinrich5991> this will be extended by running a serverinfo fetcher on the masters later, so that this list of IP addresses can be dropped eventually
18:35
[quakenet] <heinrich5991> possible extension: some sort of live-update protocol over TCP where the clients only get the changes, instead of downloading the whole list again
18:35
[quakenet] <heinrich5991> the master server would be a process that updates a 'static' file in a reasonable interval (maybe 1 second or so), for the webserver (like nginx) to serve
18:35
[quakenet] <deen> why not over https and just use some json diffs thingy?
18:36
[quakenet] <heinrich5991> yes, https
18:36
[quakenet] <heinrich5991> oh, you mean the diff stuff
18:36
[quakenet] <deen> yeah, you said tcp
18:36
[quakenet] <heinrich5991> yea, that sounded like it was more fit for TCP
18:36
[quakenet] <deen> why?
18:36
[quakenet] <heinrich5991> if you want live updates instead of updates on client pull
18:38
[quakenet] <heinrich5991> but yea, that part isn't as important to discuss, we can do that later when the rest of the stuff works
18:38
[quakenet] <Learath2> hmm
18:38
[quakenet] <deen> well, it would be nice for live notifications of friends joining
18:38
[quakenet] <heinrich5991> true
18:38
[quakenet] <heinrich5991> could be abused though, this part
18:38
[quakenet] <heinrich5991> without having cryptographic user identities
18:39
[quakenet] <Learath2> am I following this correctly? the master now also has all serverinfo so people don't have to getinfo?
18:40
[quakenet] <heinrich5991> yes
18:40
[quakenet] <deen> so no more accurate ping?
18:40
[quakenet] <heinrich5991> yes
18:40
[quakenet] <heinrich5991> we can add a checkbox to ping servers
18:41
[quakenet] <deen> sounds good
18:42
[quakenet] <heinrich5991> cool. Learath2?
18:42
[quakenet] <heinrich5991> :)
18:42
[quakenet] <Learath2> without the liveupdate stuff, sound's like it might be a lot of traffic
18:42
[quakenet] <deen> without the liveupdate just update when user presses refresh
18:42
[quakenet] <deen> should be less traffic than currently
18:43
[quakenet] <deen> only 1 connection, 1 GET, compressed json
18:43
[quakenet] <deen> and can trivially be put behind some cheap anti ddos
18:43
[quakenet] <heinrich5991> yes
18:44
[quakenet] <heinrich5991> that was part of the requirements
18:44
[quakenet] <heinrich5991> that it would be possible to be put behind the free cloudflare offering
18:44
[quakenet] <deen> well but that's why I wondered why you said tcp :D
18:44
[quakenet] <heinrich5991> diffs are dynamic in nature
18:45
[quakenet] <heinrich5991> well, I don't know. let's call that extra for now, and let's see how far I get with the rest :)
18:45
[quakenet] <Learath2> I don't see any problems with it btw, sounds nice
18:45
[quakenet] <deen> what about vanilla servers?
18:46
[quakenet] <heinrich5991> [20:34:14] <@heinrich5991> for backward-compatibility, the masters also send the list of other servers (only their IP addresses), for the client to ping individually
18:46
[quakenet] <heinrich5991> [20:34:42] <@heinrich5991> this will be extended by running a serverinfo fetcher on the masters later, so that this list of IP addresses can be dropped eventually
18:46
[quakenet] <Learath2> we first provide a list of ips
18:46
[quakenet] <deen> but vanilla servers will only register on one master, not all
18:47
[quakenet] <deen> so the master has to get the list from all other masters?
18:47
[quakenet] <heinrich5991> yes. the backward compatibility stuff has to fetch IPs from all 'legacy' masters
18:48
[quakenet] <Learath2> are the cheap ddos solutions good enough for 1 sec resolution?
18:48
[quakenet] <deen> so a potential attacker can still register their vanilla server to get all ip addresses of tw players
18:48
[quakenet] <deen> what about having the master fetch player counts from legacy servers too?
18:49
[quakenet] <heinrich5991> yes
18:49
[quakenet] <Learath2> yeah a fetcher would isolate that
18:49
[quakenet] <heinrich5991> the extension will fix that
18:49
[quakenet] <heinrich5991> but my experience shows that I have to do work with milestones
18:49
[quakenet] <heinrich5991> to get anything done
18:49
[quakenet] <heinrich5991> in fact, the curl sharing stuff was just extracted from my WIP http masterserver branch ^^
18:50
[quakenet] <heinrich5991> maybe we could use my already existing rust tool for fetching vanilla server infos. I'd need to extend it for 64p stuff though
18:51
[quakenet] <Learath2> I was also seeing if there was any ip re-use during the join flood but there appears to be none
18:51
[quakenet] <Learath2> so it most probably is spoofed
18:51
[quakenet] <heinrich5991> k
Avatar
@noby ^
Avatar
[quakenet] <deen> heinrich5991: stealing ideas from the mozilla playbook? integrate some rust into existing c++ project with lots of legacy code? ;)
18:58
[quakenet] <heinrich5991> nah :P the master would probably run in python or so, I'd guess
18:58
[quakenet] <deen> we have existing fetch code in c++ already
18:58
[quakenet] <deen> why not c++?
18:59
[quakenet] <heinrich5991> you mean the client code?
18:59
[quakenet] <deen> yes
18:59
[quakenet] <heinrich5991> it looks messy to me
18:59
[quakenet] <deen> it is
18:59
[quakenet] <heinrich5991> and if we're going to code a new master anyway, we can just code it in python
18:59
[quakenet] <heinrich5991> I think that sounds appropriate for a http endpoint
18:59
[quakenet] <deen> what about performance?
18:59
[quakenet] <deen> agressive caching?
19:00
[quakenet] <heinrich5991> the server list is written to a file, for nginx to serve
19:00
[quakenet] <deen> or about millions of servers trying to register in an attack
19:00
[quakenet] <heinrich5991> that way, the python script doesn't have to perform very well for the clients
19:00
[quakenet] <heinrich5991> yes, that could be a problem
Avatar
we probably should keep it C/C++ imho
Avatar
[quakenet] <heinrich5991> I don't have a go-to-language for high-performance http applications ^^
19:00
[quakenet] <deen> c++
19:01
[quakenet] <heinrich5991> I personally don't want to write new internet-facing services in C/C++
19:01
[quakenet] <deen> what's the difference if it's an http application or a game client/server?
19:01
[quakenet] <heinrich5991> currently, I'd probably either look at go or rust
19:01
[quakenet] <heinrich5991> the new thing
19:01
[quakenet] <heinrich5991> I wouldn't want to write a new internet-facing game in c/c++ either
19:02
[quakenet] <deen> so you're not going to contribute any more c++ code?
19:02
[quakenet] <heinrich5991> I am
19:02
[quakenet] <heinrich5991> but I don't really want to start a new codebase in c/c++, if I don't have to
19:02
[quakenet] <deen> just not if it lands in the mastersrv binary?
19:03
[quakenet] <heinrich5991> the existing code for mastersrv is pretty much nothing, one could check whether one could reuse the browser code
19:03
[quakenet] <heinrich5991> i.e. the existing master server code doesn't help writing the new master server
Avatar
if we are carebul about it, It shouldn't be too tough to make sure this is safe
Avatar
[quakenet] <deen> ^ famous last words
19:06
[quakenet] <deen> I can understand the unsafety issues heinrich5991 has tbh
19:06
[quakenet] <deen> especially since we use C with classes and not exclusive modern C++17 without raw pointers etc
Avatar
I mean it's pretty much the standard for low-latency applications
Avatar
ChillerDragon 2018-07-11 19:25:23Z
19:25
this tech team seems outdated
19:25
if some1 needs some tech contact imo heinrich is a better spot to visit than HMH
Avatar
ChillerDragon 2018-07-11 19:26:07Z
:p
Avatar
who the hell is HMH
19:26
lol
Avatar
ChillerDragon 2018-07-11 19:26:14Z
xd
19:26
see?
Avatar
i prefer heinrich over anyone
19:26
he is my favourite
Avatar
ChillerDragon 2018-07-11 19:26:33Z
ik worst is troll but HMH was some active dude but i havent seen him in ages
Avatar
?
19:26
I'm not a troll
Avatar
I miss east
Avatar
who is east (edited)
Avatar
random
Avatar
ChillerDragon 2018-07-11 19:28:44Z
19:28
also here should only be jao
Avatar
gdin should be tech
Avatar
ChillerDragon 2018-07-11 19:30:16Z
did he do some tech?
19:30
i didnt know dinner is invloeved in any tech stuff.
19:31
I actually have no idea what dinner does except doing yt and playing good c:
Avatar
I guess you can make a PR adding jao to the community team, if you want 🙂
Avatar
I'm not admin
19:54
pepeH pepestanPumpedupkicks
Avatar
ChillerDragon 2018-07-11 20:23:08Z
k nice i will probably do it during my camping trip
20:23
hopefully i can get internet there
Avatar
ChillerDragon 2018-07-11 20:38:22Z
20:38
lol
20:38
rip modhelp
Avatar
i think ddspeed is the author of the ddos
21:07
21:10
what is even the point of it
21:10
on a non lucrative game...
Avatar
ChillerDragon 2018-07-11 21:10:56Z
ddspeed.ovh is not valid
21:10
.-.
Avatar
ChillerDragon 2018-07-11 21:11:12Z
nobos
Avatar
32 slots servers sounds interesting tho
Avatar
ChillerDragon 2018-07-11 21:11:41Z
anti ddos
21:11
xd (edited)
Avatar
no i mean actually
21:11
gameplay-wise
21:12
maybe its a good compromise
Avatar
ChillerDragon 2018-07-11 21:12:02Z
no sucks
Avatar
ChillerDragon 2018-07-11 21:12:12Z
64 isnt enough
21:12
so 32 isnt better
Avatar
a full 64 server is rly spammy
21:12
and blocky
Avatar
32 is good
Avatar
ChillerDragon 2018-07-11 21:12:20Z
block is nice c:
21:12
just fix maps
Avatar
my server is only 32player
Avatar
not on ddrace
21:12
block is nice on block
Avatar
block is a bad thing pretty much everywhere except for block servers
Avatar
if u wanna block go block
Avatar
it's annoying if u can't join a srv
Avatar
ChillerDragon 2018-07-11 21:12:41Z
i would love to see 128 servers
Avatar
whats nice in fighting people who just wanna race
21:12
with each other
21:12
lol
Avatar
imagine trying to votekick someone when u need 64 f3's
Avatar
ChillerDragon 2018-07-11 21:13:16Z
xd
Avatar
@ChillerDragon i think it doesnt work rn tho
Avatar
ChillerDragon 2018-07-11 21:15:57Z
ye i know it
21:16
ddnet++ has stole it already hehe
Avatar
[quakenet] <heinrich5991> nighty night :)
Avatar
ChillerDragon 2018-07-11 22:29:37Z
?
Avatar
[quakenet] <heinrich5991> good night ^^
22:29
[quakenet] <heinrich5991> I'm going to sleep
Avatar
night heinrich
Avatar
ChillerDragon 2018-07-11 22:30:54Z
good n8 bro
22:31
important dev info
22:31
i guess ima tell u every day when i go to sleep in #dev now :p
Avatar
no idea to where report this info so I leave it here: link to forum missed on ddnet.tw website
Avatar
nothing new
23:18
deen made that
Avatar
ChillerDragon 2018-07-11 23:55:45Z
good night
Avatar
gn
Exported 401 message(s)