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-05-06 00:00:00Z and 2020-05-07 00:00:00Z
Avatar
4b82e17 Remove duplicates in settingscommands - Ekidoxx
00:34
didn't check any other removed ones, these 4 just caught my eye
Avatar
just use kill on/off bind
@louis how?
Avatar
cfg files
02:05
search up "just bind it ddnet"
02:05
its at the bottom of the original post
Avatar
The problem was that the string is empty after going through the trim, thus the main displaying loop doesn't run, but the sound still does. Verified that it works.
09:00
741c97c Fix empty sound (fixes #2163) - def- 295a479 Merge #2164 - bors[bot]
Avatar
Maybe it is possible to show binds when you just type bind and then comes the bind which is on the key right now Like I bind on Q Kill and then I type bind q thats shows something like bind q kill or something else xd
Avatar
Bind q kill = best
Avatar
I have it on grave (`~) and happen to hit it accidentally
Avatar
I'd kill myself accidentally 50 times if I put it anywhere near WASD
Avatar
[quakenet] NeXus BOT 2020-05-06 14:29:24Z
14:31
looks like -{decimal}- is replacing all URL-unsafe characters
Avatar
[quakenet] NeXus BOT 2020-05-06 14:39:38Z
Ah you are using unicode decimals for that
Avatar
[quakenet] deen BOT 2020-05-06 14:40:03Z
yeah, but it's not so nice. maybe we should switch to some standard way
14:40
like the percent encoding
Avatar
[quakenet] NeXus BOT 2020-05-06 14:41:56Z
yes urlencode is better
14:42
Do you have a "user" table in the database? Best way would be to pass a user id in the url and search in the database with that id
Avatar
[quakenet] deen BOT 2020-05-06 14:42:29Z
i don't remember why I didN't use it
14:42
no, we don't, by design
14:43
otherwise we'd have to keep all db servers around the world in sync
14:43
just check in record_race
Avatar
[quakenet] deen BOT 2020-05-06 14:55:31Z
uwsgi converts %2F to /, so we can't use percent encoded player names, that's the reason
14:55
Here's an example: from flask import Flask app = Flask(name) @app.route('/<urlvar>') def hello_world(urlvar): return 'Hello World! ' + repr...
14:57
could fix this by using ddnet.tw/players?name=foo%2Fbar, but I wanted to have it without the "?name="
Avatar
I can't for the life of me guess why they would do that
15:16
isn't there a setting somewhere to stop uwsgi from being stupid?
Avatar
if you find it we can fix it, I don't think so
Avatar
ah, the problem is probably that %2F is equivalent to /
15:22
or that it should be
Avatar
exactly. but i need to tell them apart
Avatar
well, can you accept a literal / instead?
15:22
ah, that runs into all sorts of troubles
15:23
there are things that normalize URLs, I don't think you can count on browsers etc. not normalizing %2F to /
Avatar
for /player/ yes, but not for /compare/
15:23
yeah, that as well
Avatar
because (haven't looked it up) they're probably supposed to be equivalent for software dealing with URLs
15:24
like %41 and A
15:24
so, what could we do
15:24
we could use xn-- encoding 😛
Avatar
As suggested by Konsti. The idea is to remember the previous checkpoint a player had. The tile would then reset the current checkpoint to it. Afterwards on touching the tile again nothing would happen. Konsti says this would be useful for deepfreeze parts. Implementation would be rather easy, but I'm not sure on the impact it would have. Opinions?
Avatar
www.githubsatellite.com. Fantastic stuff if you want to watch
Avatar
Oh, pretty interesting
16:53
the guy on the play track is literally coding music
Avatar
[quakenet] Konsti BOT 2020-05-06 22:14:31Z
pls some mod come adrenaline 4.1 ppl funvoting at finish
22:20
nvm i ded
lol 3
Avatar
On Kobra 3 on 0.7.4 servers the tune zone 1 setting hook_drag_accel -3 isn't working (edited)
22:33
reported by @Konrad, confirmed moment ago
Avatar
indeed ❤️ thx for looking into it!
Exported 56 message(s)