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 2022-10-30 00:00:00Z and 2022-10-31 00:00:00Z
Avatar
A surprising amount of industry professionals do use JetBrains stuff. But they are not real wizards. They are corpos
Avatar
if i were to update the killfeed in any way would i have to add a NetMessageEx for these changes?
Avatar
Avatar
Learath2
A surprising amount of industry professionals do use JetBrains stuff. But they are not real wizards. They are corpos
based
Avatar
Avatar
louis
@Jupstar ✪ how does extract skin zip on skin db work
Just upload a zip containing skins
Avatar
idk didnt work for me
Avatar
Did it do nothing? Can you pm me the file
07:04
for me it at least extracts it
07:05
the network payload looks correct, so weird that it doesnt work
07:06
make sure the zip is an acutal zip, not smth like 7z
07:07
"Zip archive data, at least v2.0 to extract, compression method=deflate" this is what i tested and works
Avatar
oh i think its cuz it was 7z
Avatar
does somebody know someone here that was a relatively modern macOS computer, that does not use apple sillicon?
Avatar
Avatar
Jupstar ✪
does somebody know someone here that was a relatively modern macOS computer, that does not use apple sillicon?
define relatively modern
Avatar
does it support the metal API? 😄
08:08
i have 2019 mbpro with os 10.15
Avatar
Avatar
Jupstar ✪
does it support the metal API? 😄
how to find out
Avatar
For fans of bulleted lists, the following models are supported: Late-2012 and later 21.5-inch iMac Late-2012 and later 27-inch iMac Late-2013 and later 27-inch iMac with 5K Retina display Late-2012 and later Mac mini Mid-2012 Mac Pro Late-2013 Mac Pro Mid-2012 and later 11-inch MacBook Air Mid-2012 and later 13-inch MacBook Air Mid-2012 13-inch MacBook Pro Late-2012 and later 13-inch MacBook Pro with Retina display Mid-2012 15-inch MacBook Pro Mid-2012 and later 15-inch MacBook Pro with Retina display Early-2015 12-inch MacBook
Avatar
relatively
Avatar
MoltenVK is a Vulkan Portability implementation. It layers a subset of the high-performance, industry-standard Vulkan graphics and compute API over Apple's Metal graphics framework, enablin...
08:10
so yeah my point is actually if it can run moltenvk for ddnet's vulkan backend
08:10
i want to know if the FPS are also so weirdly capped like on M1 for other hardware
08:11
or if apple somehow forces a max refresh rate to claim more efficiency xD
Avatar
i can test for u if my setup fits what u need
Avatar
yeah would be cool
08:11
do you have homebrew?
Avatar
brew install cmake ffmpeg freetype glew glslang googletest libpng molten-vk opusfile SDL2 spirv-tools vulkan-headers wavpack x264 you must compile the client with cmake .. -DVULKAN=ON
Avatar
which version client
Avatar
best is just the ddnet master branch
Avatar
fyi i need to change some things to get ddnet to compile on my setup
08:12
mostly a certain header and also certain math functions
Avatar
oh are you on an outdated macos version?
Avatar
i dunno, is 12.x their current? 😄
Avatar
¯\_(ツ)_/¯
08:14
would any version of ddnet 16+ work ? @Jupstar ✪
08:14
i already have a working copy
08:14
but its not newst
Avatar
yes
08:15
il go do stuff while this stuff installs
Avatar
ok nice
08:19
xd
Avatar
My fav lib
Avatar
well u dont need ffmpeg xD
08:21
i just copied it from the ddnet repo
Avatar
it seems to be taking a long time
Avatar
Avatar
ReiTW
pepesmile
:reitroll:
Avatar
-- Checking for module 'vulkan' -- No package 'vulkan' found CMake Error at cmake/BuildVulkanShaders.cmake:25 (message): glslangValidator binary was not found. Did you install the Vulkan SDK / packages ?
08:32
🤔
08:33
maybe not the task for someone who just got home at 3am x_x
08:33
unles this is easy to fix
Avatar
the brew install went through without errors?
Avatar
try removing ffmpeg
08:33
ah its cmake
Avatar
i dont think ffmpeg is the proble
Avatar
well remove that too 😄
Avatar
i nee cmake
08:34
right
Avatar
but u already have it right? 😄
Avatar
i wont have it if i remove it (?)
Avatar
i mean remove it from the command line
08:34
lol
08:34
still i dont know if this is the problem
Avatar
brew install molten-vk spirv-tools vulkan-headers (edited)
Avatar
Warning: vulkan-headers 1.3.232 is already installed and up-to-date. To reinstall 1.3.232, run: brew reinstall vulkan-headers
08:35
oky
08:35
both sintaleld except Warning: spirv-tools 2022.4 is already installed, it's just not linked.
Avatar
did someone change the command line arguments in our readme btw?
08:35
why arent the vulkan stuff grouped anymore
Avatar
Avatar
noby
both sintaleld except Warning: spirv-tools 2022.4 is already installed, it's just not linked.
wtf xD
Avatar
relevant error earlier: ==> Pouring spirv-tools--2022.4.catalina.bottle.tar.gz Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink lib/cmake/SPIRV-Tools /usr/local/lib/cmake is not writable. You can try again using: brew link spirv-tools
08:36
perms error ig idk
Avatar
well try it i guess xD
Avatar
still not writeable
Avatar
ok is there nothing like a root command?
08:36
sudo
08:36
dont break my laptop ps
Avatar
why is it not writable tho
08:36
really weird
08:37
actually no
08:37
Error: Running Homebrew as root is extremely dangerous and no longer supported. As Homebrew does not drop privileges on installation you would be giving all build scripts full access to your system.
08:37
lol
Avatar
but maybe you did that in the past?
Avatar
that would explain why it cannot write to cmake
Avatar
why would i need to
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:37:57Z
no brew should not be run as root
Avatar
what does ls -l /usr/local/lib/ show?
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:38:21Z
ask the brew doctor he also knows about permissions
Avatar
a lot of stuff
Avatar
ah
08:38
then do what chiller says 😄
08:38
ChillerDragon: dont u also own macos
08:38
or did u install linux on it
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:38:49Z
i do
Avatar
bcs u terminal hacker
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:38:52Z
xd
08:39
i just didnt touch my macbook in ages
08:39
i hope it still boots
08:40
what does brew link spirv-tools say when you run it?
Avatar
brew link spirv-tools Linking /usr/local/Cellar/spirv-tools/2022.4... Error: Could not symlink lib/cmake/SPIRV-Tools /usr/local/lib/cmake is not writable.
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:40:33Z
why does it want to write to cmake?
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:40:39Z
what even is spirvtools?
Avatar
virus that jupstar is making me install
Avatar
it wants to add cmake toolchain files probs
08:41
spirv is the shader bianry language
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:41:01Z
why cant it put that into /opt/homebrew ?
Avatar
basically bytecode for shaders
08:41
/usr/local sounds correct to me tbh
08:41
that path usually for local modifications
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:41:53Z
ye but not /usr/local/lib/cmake
Avatar
i see a bunch of other libs installed in there
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:41:58Z
homebrew has its own folders
Avatar
Avatar
noby
i see a bunch of other libs installed in there
what does the permissions say
Avatar
more importantly, most of them are owend by me
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:42:19Z
nice
Avatar
but some are owned by root including cmake
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:42:20Z
most? xd
08:42
idk how
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:42:26Z
then chown fix it
Avatar
is that a good idea
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:42:36Z
idk
08:42
tbh
Avatar
why not xd
08:42
idk
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:42:42Z
what could go wrong haha
Avatar
the question is, how did it end up like that
08:42
if u didnt run it as root
Avatar
what could go wrong doing random terminal commands
08:42
probably nothing
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:43:02Z
back in the days running brew as root was more common
08:43
old man noby
Avatar
i got this laptop in 2019
Avatar
this is how my /use/local looks like
08:43
but i also have to install with sudo
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:43:36Z
chown -R "$USER:$USER" /usr/local/lib/cmake
Avatar
changed $USER:$USER to something more correct then it let me symlink
08:46
but still a lot of the other libs arent linked, and give various errors upon trying
08:46
leme finish cleaning some more and il take another look at it if its still needed
Avatar
just ask deen he is macos pro now
08:47
if his /usr/local also dont use root, then u did smth wrong some day xd (edited)
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:47:18Z
Im having a hard time trying to understand what this even does :D https://github.com/Homebrew/homebrew-core/blob/master/Formula/spirv-tools.rb
🍻 Default formulae for the missing package manager for macOS (or Linux) - homebrew-core/spirv-tools.rb at master · Homebrew/homebrew-core
Avatar
Avatar
Jupstar ✪
if his /usr/local also dont use root, then u did smth wrong some day xd (edited)
im sure i did lol
08:47
i just doubted it was specifically running brew as root since afaik it never let me
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:47:55Z
are you on Ventura yet?
08:48
brew did not use to complain back in the days
08:48
it was even in the ddnet readme
08:48
or teeworlds idk
Avatar
do u remember if this was changed before or after 2019
08:49
Jun 16, 2019
Avatar
there we have it thanks chiller drache
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:50:15Z
hehe
08:50
maybe yo ran da sudo brew install cmake
08:50
because you are true vanilla maximalist following the readme in early 2019
08:51
you can check if your freetype and sdl is also owned by root
08:51
but that stuff should really be in a homebrew directory iirc something like /cellar/
Avatar
is there smth like sudo brew doctor fix-all so nobos like us can fix it xd
Avatar
libfreetype is not root
08:51
no idea waht i was trying to do that caused this lol
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:51:54Z
there is brew doctor and if it finds issues it prints commands you can run to fix them
Avatar
nice
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:52:12Z
brew is poggers
08:52
written in ruby
08:52
masterrace
Avatar
like half of sdl is root
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:52:23Z
but its so fucking slow
08:53
but brew can some cool stuff like build from source if binarys dont work and so on
08:53
do* xd
Avatar
Brew is such a shit package manager that you have to do some messed up shit to get it to install things, then it breaks in a later patch
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:58:27Z
yo @Jupstar ✪ there is also linuxbrew if you wanna have some poggers package manger on your linux
Avatar
yes totally want that
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 08:58:50Z
xd
08:59
So who wants to explain packet ack to me and the sequence numbers
09:00
when looking at heinrichs dissector output the client just seems to spam the seq 10 and the server 4
Avatar
Both sides have their own seq number iirc
09:02
So the server sent 4 vital packets up to now. The client 10. I thiink that's the case
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 09:04:12Z
ah so you count the vital packets?
09:04
thats a good hint thanks
Avatar
yes
12:01
both sides keep track of the last vital packet they received in order
12:01
(they discard all others)
12:02
then they request resends if vital packets are received out-of-order
12:03
this forms the foundation of the reliable message protocol that teeworlds built
Avatar
ChillerDragon: recieves → receives (in your blog post https://chillerdragon.github.io/teeworlds-protocol/)
12:18
ChillerDragon: the huffman compression is applied to all packets that benefit from it
12:18
if you choose to send a password that compresses really well, the INFO packet might also get compressed
12:20
thanks for the nice blog post 🙂
Avatar
is there a way to manage .map files with another thing that the teeworlds client ? i found an xml2map, but it was in 2008, and now its 404notfound
Avatar
There is patiga's twmap
Avatar
how does it work and <where i can find it ? is it public ?
Avatar
A Rust library for parsing, editing and saving Teeworlds and DDNet maps
13:13
There is also a python binding for it if you prefer to use python
13:22
insane
13:23
can you give me the python one :D
13:23
please
13:28
got it
Avatar
thanks
Avatar
thats pretty common thing for noby 💀
Avatar
chillerdragon BOT 2022-10-30 15:46:38Z
Omg that word fucks me every time thanks (@heinrich5991)
ChillerDragon: recieves → receives (in your blog post https://chillerdragon.github.io/teeworlds-protocol/)
Avatar
Print out your last 30/60 days of code and Elon Musk will review it.
Avatar
@Alexander with dxvk on windows it manages to load so far that i can see a cursor, which i also can move but it doesnt load the desktop and after a few seconds it hangs xD
Avatar
oh xd
17:18
too bad
Avatar
Avatar
Pinksky
got it
if you are missing features, please feel free to dm me them! happy
Avatar
Thanks !
17:26
Awesome work btw :)
heartw 1
Avatar
[quakenet] ChillerDragon BOT 2022-10-30 17:36:04Z
@heinrich5991 is it 4 bits flags now or 6 bits? https://github.com/ChillerDragon/teeworlds/blob/d6813bf4c9e3da7f155e448c747b87dbb511fe96/src/engine/shared/network.h#L17 seems like your dissector claims that the first byte of the header is uuffffaa not ffffffaa as the comment claims. u=unused f=flags a=ack
A retro multiplayer shooter. Contribute to ChillerDragon/teeworlds development by creating an account on GitHub.
Avatar
GPUs process monitoring for AMD, Intel and NVIDIA - GitHub - Syllo/nvtop: GPUs process monitoring for AMD, Intel and NVIDIA
Avatar
c6377ee Revert "Cendren livestream" - def-
Avatar
Hello. I've prepared a patch so that ddnet client predicts the dfng behaviour correctly (all /teams are on the same world). It relies on the DDRACE and FNG gameinfo flags and does not introduce any new. Also, since dfng is mostly compatible with DDRace, would it make sense to use the same entities png? Also, it would be nice if players' color would get mixed with their /team color (nameplates already get that color). I'm not sure how easy would it be to mix their color with their skin's instead of just overwriting it (as happens with red-blue teams) (a config variable would be useful here).
20:29
Also, I noticed that on DDNet 16.5 the client draws freezebars instead of the fng-style ninja stars at dfng. Is there a way to overcome this? (edited)
Avatar
ChillerDragon: well, you can either say that the upper two flags are unused or that the upper two bits are unused
21:00
it says the same thing
21:00
maybe the comment could be updated
21:02
(I think I wrote both 😅)
Avatar
[quakenet] Sad BOT 2022-10-30 21:15:15Z
Hi all. Suppose I am a programmer looking forward to support the ddnet project in my free time. Is there something I should focus on?
Avatar
we have 400 issues if you need a starting point ^^
Avatar
[quakenet] Sad BOT 2022-10-30 21:16:29Z
Yeah, just had a look at those.
21:17
anything from that that you guys would give priority to?
Avatar
problem is lot of these issues arent easy fixes, or require quite some knowledge, or can easily introduce physic changes etc.
21:19
but all issues with a bug label i'd consider a high prio
21:19
#5496 this one would be cool
Avatar
if you use add_path $DATADIR add_path $DATADIR add_path $CURRENTDIR as storage.cfg or for example have custom menuimages in your config directory it duplicates everything. It should merge directori...
Avatar
Avatar
zogtib
Hello. I've prepared a patch so that ddnet client predicts the dfng behaviour correctly (all /teams are on the same world). It relies on the DDRACE and FNG gameinfo flags and does not introduce any new. Also, since dfng is mostly compatible with DDRace, would it make sense to use the same entities png? Also, it would be nice if players' color would get mixed with their /team color (nameplates already get that color). I'm not sure how easy would it be to mix their color with their skin's instead of just overwriting it (as happens with red-blue teams) (a config variable would be useful here).
for the patch should we also include the "updated" ddnet entities png? (we are preparing a PR)
Avatar
[quakenet] deen BOT 2022-10-30 21:42:41Z
Sad: welcome, that's really cool. I'd recommend not changing physics :D Bug fixes are of course always welcome, lots of quality of life improvements possible in client
Avatar
[quakenet] Sad BOT 2022-10-30 21:49:31Z
I promise, I won't touch physics! :D I'll just go through the issues and pick a few arbitrarily then or choose a few depending on my mood, I'll see when the time has come
Avatar
Is it possible to add milliseconds to race timer? Would be great
Avatar
i think there is (edited)
Avatar
Where
Avatar
when you get a time cp
23:03
it shows the amount of ms you're off
Avatar
No, hud timer
23:04
That you see constantly
Avatar
it used to show milliseconds but they were wrong for years, and no one noticed
🇮 1
23:08
So I think it's more of a placebo and not required
Exported 255 message(s)