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 2017-12-04 00:00:00Z and 2017-12-05 00:00:00Z
lol fstd? aren't u dis super oldschool teewods dude with the picture of a tee with ❤ emotes and a shotgun i guess. I used it for my yt video which got claimed for copyright reasons because i was scammed xd
<deen> nemo2, fstd: yeah, lots of hosters threw us out following 10-100 gbit/s ddos attacks. still getting attacks now, but doesn't look so bad anymore, at least we're not taking down their entire data centers anymore
09:07
<deen> fstd: looks like fun, what are you doing?
09:07
<fstd> that pic is way old back in the blocker days; i was testing how far the player limit can be pushed
<deen> have some data structure for the world with tiles, players, implement moving the player and interacting with these tiles (bumping, standing, jumping), make a way to display this into graphics/terminal output, think about what data to send over the network to synchronize states
the problem is i have no idea how to send data over the network and i cant find a cross platform solution
09:18
the web only told me non crossplatform and or stuff i didnt undertsand or was abel to compile
09:19
i had the plan just to send the position of the players as a first test. But idk how to start ._.
09:22
as far as i understood there is no c++ crossplatfrom networking stuff because unix and winsockets are different. And i have to work with #ifdefs i guess
but do u know a nice place to learn this networking stuff?
@nemo2 there Is a ddos Motivation for teeworlds Server hosters who want more players on their Server ----> ddos all Other servers
Or for trolls who think its funny.
But i don't understand who is ddosing servers for days. Its clearly not for fun. But i can't find the ddosers Server that fills up. As far as i know the most played block Servers are ddnet and rei and i dont think that ddnet ddoses rei and rei ddoses ddnet lul. So i have no clue what the morivation these days is
<nemo2> I guess if you have a few thousand fairly tech savvy individuals accessing your server there's bound to be a few assholes who react that way to some minor slight
<nemo2> the dude who attacked us last time was annoyed that we kicked him off the server because he was deliberately sending messages that were screwing up the Qt frontend.
15:34
<nemo2> he was quite proud of his discovery and felt he should be allowed to randomly kill the lobby visitors at will
15:34
<nemo2> and tried to use threat of DDoS to force us to allow him onto the server
<heinrich5991> you don't have multiple of those on a single server
19:27
<nemo2> heinrich5991: uh. so when a game is started, that's a new server instance?
19:28
<heinrich5991> nemo2: everyone can start a server. the server host a game round. when the game round is over, it'll host the next game round
19:28
<heinrich5991> but note that game rounds aren't as special in teeworlds as they are in hedgewars
19:28
<heinrich5991> you just join the game at any time and leave it at any time
19:28
<nemo2> so... when I joined the network and several dozne rooms are listed
19:28
<nemo2> those are actually server instances
19:28
<nemo2> one server. one game.
19:29
<heinrich5991> yes
19:29
<nemo2> what is the thing that tracks those announcements then?
19:29
<heinrich5991> oh, the master server
19:29
<nemo2> ah
19:29
<heinrich5991> it just reports a list of IPs
19:29
<nemo2> no chat, no statistics, no info messages of any kind? that's all from servers?
19:30
<nemo2> but ok. in a model like that I can see why there's no point in threading
19:30
<heinrich5991> no global chat, no statistics, no info messages
19:31
<heinrich5991> it's kinda decentralized
19:37
<eeeee> more kinda worst of both worlds tho, in vanilla you still cant play when masters are down and there are spoofed responses and spam servers and clients' ips are exposed...
19:38
<heinrich5991> eeeee: we'll do https master server one day :)
19:39
<eeeee> better make sure it's REALLY switched to multithreading
19:42
<heinrich5991> ??!?
19:47
<nemo2> most web libs are threaded already
19:47
<nemo2> if you're doing an https master probably will get that as part of the package
19:47
<heinrich5991> in my PoC we just put a file for nginx to serve
19:48
<heinrich5991> I don't have to care about the https on the server side there ^^
19:50
<nemo2> sure why not
19:50
<nemo2> doubt it updates so often that static would be unreasonable
19:53
<heinrich5991> I was updating the file every second :D
19:53
<heinrich5991> or no, whenever sth changed
19:55
<heinrich5991> nemo2: the idea was to put cloudflare in front of our master server
19:55
<heinrich5991> in order to make DoSing it harder
19:56
<nemo2> heinrich5991: huh... they were only dosing the master? how odd
19:56
<nemo2> seems the natural approach would be to attack each of those poor weak subs
19:56
<nemo2> prioritising by number of players
19:56
<heinrich5991> no, they also attacked the master
19:56
<heinrich5991> :D
19:57
<heinrich5991> which made joining a new server pretty much impossible
19:57
<heinrich5991> not really fixed until now btw
19:58
<nemo2> so... in that decentralised model. how do players keep track of who they are playing with? is there a player db anywhere?
<heinrich5991> for original TW, this was sth to avoid, according to the original dev
20:05
<nemo2> huh
20:05
<nemo2> dunno why
20:05
<nemo2> heinrich5991: anyway FWIW, since we are super ultra lazy, we just took the existing Drupal accounts, that people were already using for the website, and checked 'em from the game
20:05
<nemo2> heinrich5991: there's an itsy bitsy little connector unc0rr wrote that does that
20:05
<nemo2> it also has caching since it used to be website and game were on separate machines so it helped perf a bit
20:06
<heinrich5991> ah
20:06
<nemo2> people do appreciate it I think. It lets them exclude trolls more easily for example
20:07
<nemo2> one thing we never got around to implementing was hashed (24h rotation or whatever) IP banning - some poor folks get harassed by same person using guest accoutns. workaround for now is disallowing guest accounts
20:07
<nemo2> (from your room)
20:08
<nemo2> heinrich5991: oh... if you do end up doing something just as lazy as us, here's a cute thing we added to mariadb
<nemo2> but yeah. I think it was intended to just be an enhanced IRC for existing company systems
20:53
<nemo2> which is probably why their integration still works pretty well. and probably would work even better if they didn't only reluctantly support it