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-04-01 00:00:00Z and 2020-04-02 00:00:00Z
07:08
7fb46be Add spectate_closest now works when in Free-View - d3fault 2367cd0 Merge #2104 - bors[bot]
Avatar
@deen just wanted to let you know, your blog https://hookrace.net/ is down for some reason
08:12
well not down as is, its just blank
Avatar
[quakenet] deen BOT 2020-04-01 08:30:19Z
thanks, I accidentally overrode the index.html yesterday
08:30
overwrote*
Avatar
[quakenet] Learath2 BOT 2020-04-01 08:46:14Z
heinrich5991: is there a reason you didn't use the aio facilities of the host systems?
Avatar
[quakenet] Learath2 BOT 2020-04-01 08:58:59Z
ah, windows' console can't do overlapped io because it's a fake file
Avatar
does anyone know what int m_ColorEnv; int m_ColorEnvOffset; are for (in CMapItemLayerTilemap (game/mapitems.h))
Avatar
envelope for color, time offset
12:34
envelopes (I don't know the reason for the name) are basically teeworlds's animations; this is how you can make color-animated layers
Avatar
ah okay
12:34
so i guess they are only relevant in 'tiles' layers
12:36
would you consider all those version variables worth checking while parsing a map?
Avatar
no, also for quads
12:39
I do it (always with >=)
Avatar
ooh m_aName is for the layer name i guess?
Avatar
yes
Avatar
@Learath2 After your commit https://github.com/teeworlds/teeworlds/pull/2453/commits/165ab18cd230a1450832bef11835234d1627094f entering /map Kobra in the chat would trigger [chat-command]: calling 'm' with args 'Kobra', interpreting it as a /mute command. Will you fix or should I open an issue in the teeworlds repo? (edited)
Cleans up some of the code duplication between server and client, a little rough on the UI side.
Avatar
uhhh, what
Avatar
I tested only with /map not being registered as a chat command though. It should still be sent as a chat message to the server though I guess (edited)
Avatar
oh is that a failure of strcmp with different size strings?
13:28
actually no strcmp should be handling that ifne
13:28
fine*
13:28
I don't see how map resolves to m
Avatar
i didnt look at the commit, just did git bisect to find it :D
Avatar
@timakro do you get that dbg msg on the server or the client?
Avatar
client, the server gets no CL_SAY msg at all
13:29
i guess it would mute a client called Kobra clientside if it were on the server
Avatar
[quakenet] Learath2 BOT 2020-04-01 13:32:06Z
Ah, it's the last command that slightly matches
Avatar
@timakro you can send remove chat command packets, to remove the clientside commands from the 0.7 client
Avatar
[quakenet] Learath2 BOT 2020-04-01 13:44:04Z
@timakro #2532
Avatar
thanks @Learath2
Avatar
[quakenet] Learath2 BOT 2020-04-01 14:54:58Z
@timakro np, let's hope oy decides to start merging again :)
14:58
31 open prs
Avatar
11 of them mine
Avatar
@Learath2 really pumps out code every day ^^
Avatar
does anyone have experience with the 0.7 sv_map_download_speed setting? Is the default of 2 a good value?
15:37
I guess it's kinda similar to ddnets sv_map_window if not more conservative
Avatar
"Number of map data packages a client gets on each request'
15:38
each data packet is about a KB large
15:38
so, say you have a particular good ping of 10ms to the server
15:39
then we get 100 * 1000 * 16 B/s
15:39
so 1.6MB/s (or 12.8 Mb/s)
15:39
for the best ping that I can imagine. setting it to the max value (16) seems reasonable
Avatar
[quakenet] Learath2 BOT 2020-04-01 15:44:13Z
I have a roadmap to http map downloads on vanilla, first part is getting an extended serverinfo protocol in
15:44
then we convince oy to upgrade us to c++14, then getting the new engine jobs into vanilla
15:44
after that it's trivial to add in the http map downloads
Avatar
ha, goold luck
Avatar
thanks @heinrich5991
16:58
Does anybody know how connless tokens work in 0.7? From sniffing packets it seems to me like the client determines two tokens and the server responds with both. Do i miss something or where is the security for the server here? For example from serverstatus request flood
Avatar
there's a TOKEN message first, do you see that? @timakro
Avatar
@heinrich5991 so the server sends a token message before sending the serverinfo?
Avatar
no, the server doesn't respond to REQUESTINFO packets unless they carry the correct token
18:15
@timakro
18:16
the correct token can be obtained from the server using the TOKEN ctrl message
Avatar
maybe this isn't required for LAN?
Avatar
yes
Avatar
thank you ddnet discord admin
Avatar
it's perfect
Avatar
whoj changed it
Avatar
u just copied kog kek
Avatar
i made it
18:31
xd
Avatar
what xD
Avatar
it's perfect
Avatar
@jao you should also make that transparent outline for the 1
Avatar
it's @Ryozuki
Avatar
im not an artist
Avatar
gg you actually got me xD
Avatar
...
Exported 79 message(s)