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 2021-01-24 00:00:00Z and 2021-01-25 00:00:00Z
Avatar
28cf3b3 rescue on freeze/dfreeze - gerdoe-jr 319c382 Merge #3343 - bors[bot]
Avatar
Trafalgar Law 2021-01-24 00:31:18Z
has anyone a invite link to the tw data discord?
Avatar
Avatar
Trafalgar Law
has anyone a invite link to the tw data discord?
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 09:28:00Z
o.O whats a tw data discord
Avatar
it has gameskins and skins and stuff
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 09:28:20Z
nice
09:28
irc bridge when?
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 09:28:54Z
who runs the discord? and who made the gameskins?
Avatar
the one who runs that discord doesnt even know what irc is bro
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 09:29:21Z
do i know him?
Avatar
idk they put all gameskins they find
09:29
u find him finding him
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 09:29:34Z
sounds good
Avatar
7d972ab Admins: Remove gdin (inactive), add murpi - def-
Avatar
idea for a new game mode: CatchTheTee (CTT)
  • one tee trying to escape the others, let's call this tee a rabbit
  • one or more tees trying to catch the rabbit, let's call them wolves
  • to win as wolves, you have to hit the rabbit with a hammer
  • to win as a rabbit, you have to avoid the wolves and reach a certain point on the map
  • wolves are delayed at start by a few seconds
  • rabbit can be chosen randomly at round begin
  • some special maps are needed probably what do you think?
Avatar
Isnt that like xPanic ?
10:10
there were some zombie escape type mods already
Avatar
i've never played that one
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 10:27:06Z
does someone know a fast ftp tool to upload a lot of files at once?
Avatar
put the files into zip/tar archive, upload and extract
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 10:29:10Z
thats not an option
10:29
i only have ftp access
10:29
or can i extract using ftp?
Avatar
probably no
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 10:39:57Z
since i have multiple directorys i wonder if running multiple ftps uploads at the same time is dangerous
Avatar
[quakenet] Ryozuki BOT 2021-01-24 10:52:01Z
ChillerDragon rsync?
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 10:52:20Z
it cant be run over ftp :/
10:52
i wish rsync is so nice and fast
Avatar
[quakenet] Ryozuki BOT 2021-01-24 10:52:27Z
ftp nobo
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 10:52:30Z
yea irk
Avatar
[quakenet] Ryozuki BOT 2021-01-24 10:52:32Z
u live in the 2000s
10:52
or wut
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 10:52:39Z
my hoster does
10:52
i picked it because it offers unlimited diskspace :D
10:52
lifetime
10:52
pay one
Avatar
[quakenet] Ryozuki BOT 2021-01-24 10:52:57Z
doesnt ssh have sftp or smth
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 10:53:07Z
i dont have sftp nor ssh
10:53
only ftp
Avatar
[quakenet] Ryozuki BOT 2021-01-24 10:53:12Z
omg
10:53
switch hoster
10:53
why u dont have full control
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 10:53:29Z
other hosters are too expensive
Avatar
[quakenet] Ryozuki BOT 2021-01-24 10:53:33Z
???
10:53
hetzner vps can go as low as 3€
10:53
ur getting scammed wiht ftp stuff
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 10:53:49Z
but that wont run my stuff
Avatar
[quakenet] Ryozuki BOT 2021-01-24 10:53:53Z
what stuff
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 10:53:56Z
mc server
Avatar
[quakenet] Ryozuki BOT 2021-01-24 10:54:08Z
howmuch u pay
10:54
for ur ftp
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 10:54:14Z
nothing
Avatar
[quakenet] Ryozuki BOT 2021-01-24 10:54:20Z
xd
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 10:54:21Z
well i paid once
10:54
its lifetime server xd
Avatar
lifetime doesn't mean your lifetime, but the lifetime of the company, which can be dissolved when it's not making money anymore.
troll 3
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 11:16:16Z
yea ik
11:20
i still expect the lifetime of the company to be long enought that its the cheapest option for a server with strong cpu ram and infinite disk
Avatar
infinite disk? what's that? 😄
Avatar
Time to write a teehistorian to mc map converter
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 11:39:45Z
xd
Avatar
a3702e8 Inform player about possibility to keep the hook when loading - Zwelf ab897f2 Merge #3539 - bors[bot]
Avatar
@ChillerDragon
Avatar
@heinrich5991 hi, do you happen to know if there is a reliable way to know if after a server info request, there may be "more" packets?
16:17
without having to do another recv obviously
16:19
im using this magic number
16:19
@Learath2 how
Avatar
If you don’t have all the players yet
Avatar
The extra packets only contain players
Avatar
i see that works
Avatar
Tho the server can always send more or less
Avatar
I mean in an adverserial situation
Avatar
u mean there may be a case where serrver will never send all players?
Avatar
Proper servers send either no players or all the players
16:21
I mean a server with malicious intention can send more or less. You should account for that too
16:22
What do you need this for?
Avatar
im making a server info requester in rust
16:22
i know libtw may have it or not
16:23
but i want to do my own
16:23
xd
16:23
i also been inspired by status.tw
16:23
i think i want to do my own teeworlds spider/crawler
Avatar
Well why does it matter if there is a next packet?
16:30
You should always just recv everything you get, not like discarding the rest of the rx queue is cheap, nor can you know how much of the ex queue to discard without recving
16:42
\o/
16:42
🙈
16:43
@Learath2 do u know if the token is in big endian ?
16:43
i have to figure out this token stuff
Avatar
!ʎø1øʞıƝg 2021-01-24 16:59:38Z
Hetzner has almost to none ddos protection i can be the judge of that
17:00
it has basic ddos protection yes but Just needs ports closed
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
what's that?
Avatar
my program
Avatar
thanks cap
17:10
i actually said what i want to do a bit more up
17:10
i also been inspired by status.tw i think i want to do my own teeworlds spider/crawler
Avatar
oh, cool
17:11
would it have more information about players?
Avatar
i will try ye
17:11
the annoying thing is dealing with old servers
17:12
they dont have all the fields
Avatar
are there many old servers?
17:12
with players
Avatar
i mean
17:12
vanilla 0.6.5
17:13
doesnt have map src
17:13
and map size
Avatar
is it necessary btw? xd
Avatar
so it's web api
Avatar
right now its just a rust library
Avatar
it's just
Avatar
Library to retrieve information from teeworlds servers and related mods. - edg-l/teestatus
17:43
monkalaugh
17:43
hacked it fast
17:43
ill clean it up somewhen
Avatar
b28cdc9 rank/teamrank: Display how much better you are - def- 953ea87 Use sql PERCENTAGE_RANK() window function - Zwelf f528091 Merge #3541 - bors[bot]
Avatar
@Ryozuki best docs ever
Avatar
Some Teeworlds stuff in Rust. Contribute to heinrich5991/libtw2 development by creating an account on GitHub.
18:36
libtw2 docs really tell you all this stuff
18:36
the token is indeed big endian
Avatar
i was reading that for 4 hours
18:36
it doesnt say the response token is big endian
18:36
token must be the token from the request. If the server info isn't sent upon a request, it mut be -1.
18:37
token is an arbitrary byte chosen by the client which will be sent back with the server info. For the extended server info, the extra_token field needs to be included in the server info response.
Avatar
token is a single byte, there is no byte order in single bytes 😛
Avatar
but token is merged with extra token
Avatar
extra_token is big endian
Avatar
extra_token contains a 16 bit big-endian integer that should be shifted by 8 to the left and combined with token
i think this should give it away
Avatar
extra_token << 8 | token is the token you are sent back
18:38
and it never matches
18:38
atleast for me
18:38
ill try again tomorrow
Avatar
Do you go from big endian to host byte order?
Avatar
what are you doing ryo?
Avatar
Library to retrieve information from teeworlds servers and related mods. - edg-l/teestatus
18:39
i plan to make a better status.tw
18:39
backend in rust ofc
Avatar
You're just reading serverstatus or are you joining the server?
Avatar
reading
18:40
xd
18:40
@timakro what data would u get from joining
18:40
player positions? or maybe teams?
18:40
but idk
Avatar
idk nsa spy data
18:41
i will consider after i have a solid base
Avatar
So I guess you also need a handshake for extended serverstatus ^^
Avatar
Anyway, I bet it's probably just not you swapping around the bytes before appending the last one
Avatar
Wouldn't be cool to take a player slot anyways
Avatar
I need to go 😛
Avatar
yeah i guess its smth like that learath
18:42
ill look into it more tomorrow
Avatar
Since I'm obsessive I just had to check, the server doesn't swap it around
Avatar
659fe3f Livestream by KlexMikrowelle - def-
Avatar
does* 😛
18:51
?
18:51
or doesnt
18:51
xd
18:51
I just made a typo
Avatar
btw wdym by swap around bytes
Avatar
Well a lot of code in teeworlds (incorrectly btw) assumes the host is little endian
18:52
but network byte order is usually big endian, so when reassembling the integer you essentially swap around the bytes
18:53
but C abstracts that away for you by defining bitshifts the way it does
Avatar
can u send the link to the line
18:53
where it does it
Avatar
so you only need to remember where you put things, when crafting the request, we generate a 3 byte token. The least significant byte we put in the last byte named token in the protocol
18:55
The most significant byte we put in the first byte of the extra token, the middle byte we put in the second byte
18:56
so overall the token is extra_token[0] << 16 | extra_token[1] << 8 | token
18:57
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/ddnet
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 19:23:04Z
@Learath2 when finish ur wireshark dissector?
19:24
i pay u 20 bucks when u get it merged in upstream :)
19:25
Ryozuki: is teestatus 0.7?
Avatar
if the protocol hasnt changed then ye
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 19:26:41Z
it has
19:26
it has tokens now as far as i understood it
19:27
you could call it ddnet status orr teestatus deprecated :D
19:28
if i see "Request info about teeworlds servers." published in 2021 i expect it to support 0.7
19:28
tell me a 0.7 sv ip
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 19:29:19Z
139.59.215.82:8704
Avatar
u sure its online
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 19:30:15Z
yes
19:30
A service for displaying and analyzing the status and statistics of Teeworlds servers and players
Avatar
doesnt seem to work
19:32
do they use tcp for info or what
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 19:32:20Z
no
19:32
i never looked into it but i think its still udp just with tokens now
19:33
i really would love an update of https://github.com/Piepow/TeeStalker to support 0.7
Receive browser notifications for every move your Teeworlds stalkees make. - Piepow/TeeStalker
Avatar
wtf.
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 19:33:45Z
hm?
Avatar
Quakenet irc still exist ?
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 19:33:55Z
no
19:34
its just a custom discord tag i use
19:34
buoght it in discord store
Avatar
hm wait
19:36
rip it doesnt work with any server now
Avatar
@Ryozuki serverinfo now requires a two way handshake on 0.7
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 19:36:32Z
man this learath knows so much
19:36
write it down
19:36
in a dissector
Avatar
it works with ddnet
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 19:36:40Z
when
19:36
deen rq
Avatar
Ddnet implements the extended serverinfo protocol, not vanilla
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 19:37:34Z
so u ignoring me now?
19:37
im fan of ur work
19:37
dont tell me u have uni and work shit todo
19:38
had that excuse last time already
19:38
rude
19:38
wb
Avatar
One day i’ll finish it ;D
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 19:39:03Z
nice :)
Avatar
Dissecting stateful protocols is not fun
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 19:39:20Z
feel free to contact me when its merged
19:39
u get free money
Avatar
is it free money if he has to work for it?
Avatar
[quakenet] ChillerDragon BOT 2021-01-24 20:21:54Z
no he doesnt has to work for it because its something he wanted to do anyways
Avatar
0874a77 Add Tournament #54 results - def-
Avatar
b7c1164 Fix missing ranks in tournament results - def-
Exported 242 message(s)