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-07-20 00:00:00Z and 2021-07-21 00:00:00Z
09:17
09:17
is there a setting to color the friendmark? (edited)
09:18
like the friendmsg in chat?
09:19
all i can find is cl_nameplates_friendmark 1 0 but that just turns it on or off
Avatar
probs not implemented
Avatar
Previously, tees could go around the start line on some maps, going directly to the finish line while leaving one tee behind at the start. By letting that sole tee start and kill itself, the team could be directly at the finish at time 0:00. Fix this by requiring every tee of a team to hit the start line before being able to finish. Tees can still get some advantage by skipping the start line, but it will no longer be a 0:00 finish.

Checklist

  • [x] Tested the change ingam...
feelsamazingman 2
justatest 1
Avatar
@murpi ^
Avatar
brain and a half
Avatar
how to edit map's author and version in ddnet client?
File -> Save -> Map details
(edited)
Avatar
Discord api says I'm being ratelimited, but in the headers it reports me having 8 more slots in the bucket I'm supposedly being ratelimited in
Avatar
does it take more than one token?
Avatar
token? no there is one bot token
Avatar
more than one slot?*
Avatar
Ah, nope, atleast it always took one slot all my other previous requests
16:44
my error handling became such a mess today 😦
Avatar
@Learath2 how long do you think will it take for your bot to be deployable? The map debugging thing in map testing is kinda important imo, so it would be cool if maybe my change in the python discord bot could be accepted, even if the bot is just temporary
Avatar
I can accept it, the bot isn't working though
16:47
The thing is literally broken, why do you think I'm spending like 7 hours a day rewriting it?
Avatar
oh, I thought it was just that new maps aren't getting channels
Avatar
If you want to take over dealing with @jao being gone I'd be more than happy to let you take over
Avatar
I didn't mean to put on pressure, I'm sorry if I phrased that badly
16:49
the already existing testing channels work like normal though if i understood correctly?
16:50
aah, I forgot, you don't even have access to the old discord bot, right?
Avatar
The python bot is more than likely fine and has a little bug somewhere, but I can't check it out, because it's running on a server I don't have access to. The owner of the thing is not here for more than 10 minutes to transfer it to a ddnet server and he doesn't care to elaborate on what's broken except for "It's a permissions issue creating channels"
16:50
The bot has admin perms, what permission issue...
Avatar
that sucks, then good luck on the rewrite, hope you don't overwork yourself there :)
Avatar
Avatar
Patiga
the already existing testing channels work like normal though if i understood correctly?
I think those are fine, yes
Avatar
Avatar
Patiga
that sucks, then good luck on the rewrite, hope you don't overwork yourself there :)
A tad too late for that, I'm already exhausted
Avatar
oh man :/
16:54
I'm sorry to hear that
Avatar
Vacation coming up, a little bit of sea will fix me right up 😛
Avatar
I don't think that I can be very helpful for the rewrite (?)
Avatar
I doubt it, it's not really in a format that's conducive to collaborating on for now
Avatar
but please know that I really appreciate all the work that you are investing in those beautiful projects. I'm not following the ddnet development too closely, but I do see a lot of your work and I love what you are doing, thank you :)
Avatar
Thank you 🙂
17:41
lmao
17:41
"die a painful death"
17:41
we dared remove the ping numbers
17:41
time to die
17:41
monkaS
Avatar
Damn deen is too nice of a guy
Avatar
i mean its a pretty annoying update.
f3 1
17:46
also takes like 5 seconds for me to update the serverlist
Avatar
this in no way justifies the language used above
Avatar
but its understandable
Avatar
no
17:47
wishing another human death over a game update? ^^
Avatar
i mean its understandable he got mad. what he said ofc is just BS and should be ignored
Avatar
I should get master3 running again
17:48
then it should become less than 5 seconds, hopefully
justatest 1
Avatar
I have a doubt tho idk if it only happens to me When I'm in a server and refresh the browser the game behaves like connection problem. It only fixes after the servers are refreshed But before the update it didn't happen at all
Avatar
why is it his way now? like why doesnt it put in server after server in my list
Avatar
it downloads all the servers from a https URL
17:49
you can see it there
Avatar
my serverlist takes less than a sec to appear
Avatar
the actual download should take no time at all
Avatar
ye its defenetly my internet
Avatar
but the connection establishing takes some seconds for some people
Avatar
but before i had at least something to look at before all servers loaded 😄
Avatar
So there is always a list rendered(not the "Getting serverlist" string) This isn't really finished. The goal should be to also cache the server list to disk and load it, s...
17:51
this update should make it a bit more bearable
17:51
it won't clear the server list when refreshing, so you can look at the old list in the meanwhile
Avatar
cool
Avatar
Avatar
anonymous()
I have a doubt tho idk if it only happens to me When I'm in a server and refresh the browser the game behaves like connection problem. It only fixes after the servers are refreshed But before the update it didn't happen at all
What is this? Is it common?
Avatar
can websites be embeded as a whole in the client somehow? imagine if we could choose a map like we can on the webiste instead of somehow making the old voting system work
Avatar
Avatar
Im 'corneum
also takes like 5 seconds for me to update the serverlist
can you imagine how long it takes for USA xd
17:54
well actually it might also just be 5 seconds
Avatar
i didnt count
Avatar
@Learath2 the bot doesnt have admin perms else it couldnt be restricted from some channels
18:00
i dont know either what the issue is i can just repeat what the error message is
18:03
if you want to transfer the bot you can do it and dm me then i can help when i have time
18:05
you need to setup the git and postgres
18:05
if you have done that its not much more work
Avatar
We also need to move the db
18:06
And I'm guessing you have some crons making it run, also need to set those up
Avatar
the db is generated from files
18:06
the crons i can tell you yes
18:07
most what u need is in git
Avatar
Okay, while you are here can we please do this, just don't disappear for like 30 minutes and I think we can set it up
f3 2
Avatar
okay try with the git and posgres first
18:11
@Learath2 someone already made a setup guide in the repo
18:11
you can just follow that
Avatar
Avatar
Im 'corneum
also takes like 5 seconds for me to update the serverlist
no its def faster now
18:12
at least for me
18:12
before it'd be like u have to wait 8 seconds for the last servers to register in ur client
Avatar
now its just like 2 seconds for all of them to pop up
Avatar
for you its probably distance. for me its my shitty internet
Avatar
and u can do leak_ip_address_to_all_servers or smth to get the pings cant u
18:13
oh maybe
Avatar
Avatar
Im 'corneum
can websites be embeded as a whole in the client somehow? imagine if we could choose a map like we can on the webiste instead of somehow making the old voting system work
also yeah i thought about this
18:14
it would be cool to see people's player profiles ingame (edited)
Avatar
idk about new players but when i saw the ddnet map voting list for the first time i was pretty confused
Avatar
if we'd have a webkit lib, we could design the whole ui in html
18:15
would ofc be awesome xd
18:15
but makes the client 200mb or smth xD
18:17
has steam smth to automatically call the steam web browser and go into the steamoverlay?
Avatar
can someone with access copy the map that's currently being played on Trashmap? its from the guys with the 00:00s time (edited)
Avatar
why don't you ask them
Avatar
@jao how are you supposed to fill in the endpoints?
Avatar
Avatar
lynn
why don't you ask them
i am sure that's a map they use for exploits (i dont see a humanly-possible way to skip the start line on 0 to 100) (edited)
Avatar
Avatar
Scrumplex
can someone with access copy the map that's currently being played on Trashmap? its from the guys with the 00:00s time (edited)
we should stop talking here for now, the discord bot is a bit of an urgent matter lol
Avatar
@Learath2 what endpoints
Avatar
in the config, how are you supposed to input the [DDNET] UPLOAD e.g.
Avatar
Avatar
jao
@Learath2 what endpoints
full url?
18:28
i can give u that file
18:28
with all things
Avatar
That'd be nice
Avatar
The Red Hat Customer Portal delivers the knowledge, expertise, and guidance available through your Red Hat subscription.
Avatar
@Scrumplex nah its possible
18:36
i think
Avatar
real question is why is this allowed?
19:06
we will see gpl in court
19:07
Stockfish is free and open source. Chessbase used stockfish's derivatives as its product and sold it
19:07
few customers know they obtained a modified version of Stockfish when they paid for Fat Fritz 2 or Houdini 6 - both Stockfish derivatives - and they thus have good reason to be upset. ChessBase repeatedly violated central obligations of the GPL, which ensures that the user of the software is informed of their rights. These rights are explicit in the license and include access to the corresponding sources, and the right to reproduce, modify and distribute GPLed programs royalty-free.
19:09
apetresc 1 hour ago [–]
>
If this goes to trial, I think this might be the cleanest and most straightforward test of the GPL in court we've had up to this point?
19:09
poggers
19:10
nice
19:10
fck chessbase
Avatar
Off by default, cl_nameplates_strongweak 1 to enable; Also shown in debug mode (ctrl-shift-d); You can change the colors in the HUD.

Checklist

!WCZx_ZR8fQ0
  • [x] Provided screenshots if it is a visual change
  • [x] Tested in combination with possibly relate...
Avatar
It's one of the permission overwrites that's failing
19:22
poggers
19:23
the power of linux
19:23
laughs in windows users lacking this
19:23
All tokio-uring operations are truly async, unlike APIs provided by tokio::fs, which run on a thread pool. Using synchronous filesystem operations from a thread pool adds significant overhead. With io-uring, we can perform both network and file system operations asynchronously from the same thread. But, io-uring is a lot more.
19:24
Early benchmarks comparing io-uring against epoll are promising; a TCP echo client and server implemented in C show up to 60% improvement.
Avatar
Didnt anyone write collision code for larger entities?
20:52
Would be very needed right now :D
20:52
Current collision code sucks for bigger entities
Avatar
bigger entities?
20:53
you mean physsize?
Avatar
@Patiga mind if I take a look at your pr tomorrow? I think I'm done for the day
21:07
great that you got it running
Avatar
Avatar
Learath2
@Patiga mind if I take a look at your pr tomorrow? I think I'm done for the day
thank you so much
Avatar
i was watching the new test channels and was rooting for the map_render tool to get into action and wasn't disappointed :D
Avatar
@Patiga if you have some time and know better python than me maybe you could look into how to get V working (edited)
Avatar
I doubt my python is better than yours but I'll gladly take a look
21:15
(it probably requires a very little subset of ddnet.py, but I couldn't isolate how much of it is needed)
Avatar
shouldn't we update this to include NLD (edited)
Avatar
by getting it to work you mean executing it and having it terminate without an error? ^^
Avatar
Avatar
Patiga
by getting it to work you mean executing it and having it terminate without an error? ^^
Well, I'd hope that also implies the json output isn't broken 😄 so yes
Avatar
Avatar
lynn
shouldn't we update this to include NLD (edited)
uh, probably, idk if the cache that is generated even knows what nld is, it could still be doing just GER
Avatar
i have no idea of the cache xd
21:24
i guess just use best judgment
Avatar
the cache is really not supposed to be shared between machines like this imo, especially between python versions
Avatar
ah wait this is python 2?
21:27
ah no, just younger than python 3.8 apparently
21:27
I'm getting the error message "ImportError: cannot import name 'escape' from 'cgi'" when I try to use following code in pycharm: import nltk parser = nltk.ChartParser(grammar, trace=0) for tree in
Avatar
ah that makes more sense
Avatar
from html import escape seems to work, next up it tries to import the module mysql which I seem to be missing
Avatar
you should be able to strip out the mysql part
Avatar
found the package python-mysql-connector
🤢 1
21:39
oh mysql was actually just a script in that repo, now it tries to import MySQLdb, I guess I'll comment out that part
Avatar
didn't really get much further. got stuck on the
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1: ordinal not in range(128)
not sure how to approach this, haven't used a python debugger yet to figure out which file its trying to laod (while loading the cache with pickle)
23:17
distracted myself by getting help for smth different on the ffmpeg irc ^^
Avatar
@Patiga is it a python2 pickle?
23:25
might need to google about that
Avatar
I'm calling it with python3, not sure if the code was originally called with python2
Avatar
the error message sounds like such a problem, but it's just a guess
23:28
I'm trying to load the mnist character dataset (following the tutorial outlined here: http://neuralnetworksanddeeplearning.com/chap1.html ) when I run the load_data_wrapper function I get the erro...
23:28
(but "latin-1" isn't the correct answer. it might "fix" the exception, but it'll probably break the data)
23:28
try "utf-8", maybe
Avatar
ah that seems interesting, problematic could be that its not me calling pickle but diskcache. we'll need to see if I can pass it there too
23:31
from diskcache import Cache with with Cache('players-cache') as cache:. the error is raised on an access on cache
23:36
hm i should probably not edit /usr/lib/python3.9/site-packages/diskcache/core.py?
23:36
ah can I maybe copy that file into my directory and it will be preferred
Avatar
oh, diskcache is an official module
23:38
til
23:38
no, it's not
23:38
it'st third-party
Avatar
Avatar
Patiga
hm i should probably not edit /usr/lib/python3.9/site-packages/diskcache/core.py?
hm apparently not that easily
Avatar
try import .diskcache (edited)
Avatar
as a line above the from diskcache import Cache or from .diskcache import Cache?
23:46
both of my guesses don't seem to work for me ^^
Avatar
from .diskcache import Cache
23:55
to import it from the local directory
23:55
(I think)
23:56
I'll go to sleep for today though, gonna try tomorrow
23:56
gn :)
Avatar
good night
Exported 195 message(s)