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-04-24 00:00:00Z and 2021-04-25 00:00:00Z
Avatar
Hey, is it possible to add a server setting to disable weak hook? Would be awesome to see this as an option for trashmap, since a lot of gores mappers rely on it as well.
Avatar
[freenode] chillerdragon[m] BOT 2021-04-24 13:47:45Z
fddrace has it @mind
13:47
maybe u can convice timakro to add fddrace to trashmap
Avatar
@Learath2 know where https://info2.ddnet.tw/info?name=heinrich5991 is generated? I'd like to add location info
Avatar
Should be a script on ddnet.tw
Avatar
[freenode] chillerdragon[m] BOT 2021-04-24 13:51:24Z
in some secret python script thats closed src
13:51
!!!! grrr
Avatar
You sure? It should be part of either ddnet-web or ddnet-scripts
13:52
Anyway, if you can’t find it just check /etc/nginx
Avatar
The magic scripts that make DDNet run. Contribute to ddnet/ddnet-scripts development by creating an account on GitHub.
13:52
(very closed source!)
Avatar
[freenode] chillerdragon[m] BOT 2021-04-24 13:52:17Z
aaaa
13:52
at least its python^^
Avatar
Not sure if we run this exact version btw, ddnet-scripts can get outdated often
Avatar
@Learath2 so I just edit it on ddnet.tw and hope for the best? πŸ˜›
Avatar
[freenode] chillerdragon[m] BOT 2021-04-24 13:54:49Z
heinrich go fix ddnet infrastructure
13:55
make a proper secrets sub repo and a live synced scripts repo
Avatar
currently doing https masters, takes enough time, thanks πŸ˜‰
Avatar
[freenode] chillerdragon[m] BOT 2021-04-24 14:00:38Z
oh thats very good
14:00
prio https master
14:02
heinrich5991: btw i was told nodes has a working https master if that is of any help https://github.com/teeworldsnetwork/nodes
Contribute to teeworldsnetwork/nodes development by creating an account on GitHub.
14:05
seems like the master it self is not public but client and server code
Avatar
the code is mostly done, I'm in the finishing touches
Avatar
[freenode] chillerdragon[m] BOT 2021-04-24 14:05:50Z
Oh wow!
14:05
very cool
Avatar
Summary The idea of this is that clients will not have to ping each server for server infos which takes long, leaks the client's IP address even to servers the user does not join and is a D...
Avatar
[freenode] chillerdragon[m] BOT 2021-04-24 14:06:04Z
is it 0.7 or 0.6 ?
14:06
will it be for ddnet only or any plans of getting it into tw?
Avatar
I wrote it for ddnet
14:06
I'd extend it to 0.7 servers if ddnet gained support for connecting to them
Avatar
[freenode] chillerdragon[m] BOT 2021-04-24 14:07:05Z
i see
Avatar
I'm not considering porting it to teeworlds 0.7, it would be too much work, given that I was explicitly disallowed using C++11
Avatar
[freenode] chillerdragon[m] BOT 2021-04-24 14:07:41Z
yikes
14:08
so a masterserver fork
Avatar
if someone is willing to port the client part to 0.7, it can start working there too
14:09
but that's not going to be me (I might reconsider if they'd allow some more recent version of C++)
Avatar
[freenode] chillerdragon[m] BOT 2021-04-24 14:10:26Z
wait can i then use a simple curl command to get server info?
Avatar
yes
Avatar
[freenode] chillerdragon[m] BOT 2021-04-24 14:10:38Z
that is so cool
14:10
thanks for doing this :)
14:11
exciting times to be alive
Avatar
I'm glad you like it πŸ™‚
14:11
you can fetch the current server info right now πŸ˜‰ it's live at https://heinrich5991.de/teeworlds/temp/servers.json
Avatar
[freenode] chillerdragon[m] BOT 2021-04-24 14:11:43Z
oh wow
14:12
so stuff like cloudflare can be used to ddos protect masters huh?
Avatar
yes
Avatar
okay, I'm not so sure anymore that info2.ddnet.tw is hosted on ddnet.tw
14:31
@Learath2 nginx config says it forwards it to 127.0.0.1:9002, but netstat doesn't show anything listening on that port
Avatar
Did you netstat as root?
Avatar
no
14:32
root doesn't show anything on 9002 either
Avatar
[freenode] chillerdragon[m] BOT 2021-04-24 14:33:04Z
real hackers use ngrep and do a request
Avatar
$ curl -I 'http://127.0.0.1/info?name=heinrich5991' -H "Host: info2.ddnet.tw" HTTP/1.1 502 Bad Gateway
14:38
@deen do you know where info2.ddnet.tw is hosted?
Avatar
@heinrich5991 ah I think I do
Avatar
as I thought, this is indeed out of date
Avatar
do you know how I can reload this uwsgi? ^^
Avatar
Is teehistorian still useful in a pvp mod? Like compare to mods I guess. I'm assuming it is designed for run verification.
15:42
compare to demos*
Avatar
@TsFreddie I'd say it's only useful for stuff like cheat detection afterwards
Avatar
Got it. Thanks.
Avatar
what does the location key say for you @TsFreddie https://info2.ddnet.tw/info?name=heinrich5991
Avatar
as:cn
Avatar
nice πŸ™‚
Avatar
is Singapore ass g then
Avatar
no, singapore is as (edited)
15:59
af, as, as:cn, eu, na, oc, sa
15:59
justatest
16:01
Ok another question, would DM|TDM|CTF be considered spoofing standard game type? Like literally with the three together as one game type name.
Avatar
AFAIK only the exact strings "0", "1", "2", "CTF", "TDM", "DM" are reserved
16:02
I know which question comes next πŸ˜›
Avatar
"0", "1", "2" are compatibility, they're replaced with "DM" etc.
16:02
by the client
Avatar
Oh that's not what my second question would be
16:08
Anyway, we might be setting up a server with all standard game types with ddnet's team support next week. Like each team is a game instance and you can have different game types for each team.
Avatar
uh oh, nice πŸ˜„
Avatar
Just making sure what would be acceptable to call it
Avatar
shotgun shoots lasers though?
Avatar
They should bullets
16:09
Shoot*
16:11
But I did keep most ddnet things, and I (might) make some extra tiles for toggling ddnet laser and shotguns. Just in case some mappers get creative I guess.
Avatar
Contribute to danoon2/Boxedwine development by creating an account on GitHub.
Avatar
@heinrich5991 still need help to reload uwsgi
21:30
?
Avatar
I killed it and started it from the history
Avatar
Yes, that's how I do it too
21:31
It's running on db.ddnet.tw btw, but I guess your figures out
21:31
Since the ddnet.tw main server can have high latency while regenerating /ranks/
Avatar
ah πŸ™‚
21:35
I already deployed the change
Avatar
and I have it on my backlog to make us use ddnet-scripts live (but not ddnet-maps because of tournament map leakage), but it's some work and I'm busy with other stuff
Avatar
Somehow we ended up with a duplicate team rank on Big Sun, reported on Discord: ``` MariaDB [teeworlds]> select * from record_teamrace where Map = "Big Sun" and Name = "coradax"; +---------+---------+---------------------+--------+------------------------------------+--------------------------------------+--------+ | Map | Name | Timestamp | Time | ID | GameID | DDNet7 | +---------+---------+----------------...
22:10
892c226 ddnet-server*.sqlite exclude - def-
Avatar
https master server is down xDD
Avatar
hm @Deleted User
22:13
?
Avatar
nice works again, dunno
22:16
didnt work for like 5 minutes
Avatar
note that this is a temporary deployment anyway
22:29
at least one of the real ones will be behind cloudflare
Avatar
will cloudflare not cache?
Avatar
@Deleted User cloudflare will cache for the time period specified in the HTTP header
Avatar
k
Exported 110 message(s)