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-11-03 00:00:00Z and 2022-11-04 00:00:00Z
Avatar
Rust makes it impossible to introduce some of the most common security vulnerabilities. And its adoption can’t come soon enough.
07:12
Lol a normie news site wrote about rust
Avatar
oh btw
08:38
Today we published an advisory about CVE-2022-3786 (“X.509 Email Address Variable Length Buffer Overflow”) and CVE-2022-3602 (“X.509 Email Address 4- …
08:38
guess what would rust prevent..
Avatar
your comment mentioning rust 😉
Avatar
Pro tip, dont have "set title" option on vim when using vim from a ssh connection
10:01
Messes up things
Avatar
Avatar
Jupstar ✪
your comment mentioning rust 😉
BASED
11:20
081c2a3 Find skins of different case first to prevent naming collisions - Jupeyy f81e4ef Merge pull request #222 from Jupeyy/pr_unique_names - def-
Avatar
Hey, I would like to get an FNG server working thanks to the following github: https://github.com/Jupeyy/teeworlds-fng2-mod but I can't do it can you help me please?
FNG mod for teeworlds, that advances the original FNG idea by golden spikes and other features - GitHub - Jupeyy/teeworlds-fng2-mod: FNG mod for teeworlds, that advances the original FNG idea by go...
Avatar
Avatar
JaguarTordu
Hey, I would like to get an FNG server working thanks to the following github: https://github.com/Jupeyy/teeworlds-fng2-mod but I can't do it can you help me please?
What is the problem?
Avatar
Avatar
JaguarTordu
Hey, I would like to get an FNG server working thanks to the following github: https://github.com/Jupeyy/teeworlds-fng2-mod but I can't do it can you help me please?
make sure to use the 0.6 branch if u want to connect with ddnet client
Avatar
I didn't quite understand the readme, i'm on windows, should i run release.bat? when i run it i get this error :
Avatar
Avatar
JaguarTordu
I didn't quite understand the readme, i'm on windows, should i run release.bat? when i run it i get this error :
Run it again, show the error
12:36
The last line doesnt mean much
12:36
Just says an error happened somewhere before
Avatar
why do u use bam
12:41
mkdir build cd build cmake .. make -j12
12:41
the bam script seems to explicitly use python3
Avatar
Guess you just dont have python3 in your PATH
Avatar
anyway just use cmake, bam is trash xd
Avatar
Tbf I do like bam. I just like that cmake is the standard more
Avatar
i dislike lua a lot
12:44
so bam has no chance for me
Avatar
That explains it. I do enjoy a bit of lua
Avatar
chillerdragon BOT 2022-11-03 12:44:42Z
bam masterrace
Avatar
I have python in the path, it's not python3 but just python
Avatar
so did you try cmake
Avatar
Yeah give cmake a go if possible. It should handle python not being named python3
Avatar
Ok but what cmake command should I run?
Avatar
mkdir build cd build cmake .. make -j12
Avatar
does mkdir work on windows?
Avatar
is he on windows?
Avatar
mh well that sucks xd
12:55
why dont you use precompiled fng binaries @JaguarTordu ?
Avatar
mkdir works in powershell (edited)
Avatar
Avatar
JaguarTordu
I didn't quite understand the readme, i'm on windows, should i run release.bat? when i run it i get this error :
i'm on windows
Avatar
ig yeah he could just download the executable but then he wouldn't be able to make modifications
Avatar
but it doesnt sound like he is a developer
Avatar
Avatar
Jupstar ✪
mkdir build cd build cmake .. make -j12
else maybe mkdir build cd build cmake .. cmake --build . --parallel might work
12:58
or just run cmake and open the .sln if you use visual studio instead of mingw
Avatar
I already tried that but it doesn't work
Avatar
how that 😮
12:59
what error did it throw
Avatar
I run the executable, it displays this then the terminal closes
Avatar
mhh k
Avatar
Avatar
JaguarTordu
I run the executable, it displays this then the terminal closes
i can only imagine u already have a server running on port 8303
13:04
can u start the server in a terminal
13:05
did u start the server with -f fng.cfg ?
13:05
the cfg directly uses a port that isnt the default one
Avatar
Avatar
Jupstar ✪
did u start the server with -f fng.cfg ?
where do I put this argument?
Avatar
if u start in terminal just append it after ./fng2_svr.exe
13:08
else create a shortcut and add it to the target line input
Avatar
mh i'll upload a current version, dunno why it closes
13:12
ok updated it
13:15
[6363bc70][datafile]: loading data index=19 size=2745 uncompressed=137160 for me it also shows a different map size too
Avatar
ok, i succeeded but now there is this
Avatar
nice
13:19
then u can connect to it already: F1 -> connect localhost:8340
Avatar
Thanks !! it works
Avatar
You can also find lots of fng maps here https://github.com/35niavlys/teeworlds-fng-maps. Currently the server that hots those maps are Maps Musuem by RRT
Avatar
Okay!
Avatar
When packaging DDNet with both DISCORD and DISCORD_DYNAMIC build flags set to ON, the generated DDNet-Server binary comes with a library runpath '$ORIGIN/../lib/ddnet'. This does not happen with these two flags are disabled. Running namcap against the binary DDNet package, it complains: ddnet E: Insecure RUNPATH '$ORIGIN/../lib/ddnet' in file ('usr/bin/DDNet-Server') From readelf: ``` $ readelf -d /usr/bin/DDNet-Server | ...
Avatar
For context: #66151 (comment) This does not make it a FCW, but it does explicitly state in the docs that uninit integers are UB. This also doesn't affect any runtime behavior, uninit u32's ...
Avatar
Im gona migrate to podman
16:14
I need to use docker withiout root
16:14
To use cross
Avatar

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-ad...
Avatar
AMD is doubling its efforts in the server segment with three product launches planned for the next three quarters. Tom from MLID has made a detailed video on this. We already know about the Zen 4-powered Genoa lineup which will rock up to 96 cores across 12 CCDs in the final quarter of 2022. This …
16:50
@Jupstar ✪
16:50
AMD Prepping 400W Zen 4c Server CPUs with 128 Cores/256 Threads for 2023, 256 Core/512 Core Zen 5 “Turin” in Q4 2023 [Report]
16:50
yes 400w poggers
16:50
(its a cpu for servers)
Avatar
128 cores
16:51
thats what i call epyc
Avatar
i wonder how well a 128cores software renderer compares to a 4090 both 400watt xD
Avatar
more specialized should be more efficient, so GPU should definitely win
Avatar
probs
Avatar
@Jupstar ✪ i just tried vulkan and i get same fps with opengl now
Avatar
nice
16:55
newest radv drivers or what?
Avatar
is it can be new vulkan api xd?
Avatar
ah u mean since yesterday?
Avatar
Avatar
Jupstar ✪
newest radv drivers or what?
just cloned the repo and trying it, dunno what changed
Avatar
there were RADV improvements lately
Avatar
like i get between 6000 and 3000 fps on gles but it is stable 4500 on vulkan
Avatar
Vulkan 1.1?
16:56
Your PR from yesterday @Jupstar ✪ ?
Avatar
i mean checkout 16.5 and see if thats the reason
Avatar
Avatar
deen
Your PR from yesterday @Jupstar ✪ ?
yeah i mean that
Avatar
and if so, wtf going on xD
Avatar
Since the vulkan loader drops support for useful extensions (or the extension loading process changed between 1.0 & 1.1, not sure) Which causes OBS not to work
Avatar
Why didnt we use 1.1 before?
Avatar
we simply dont need any feature of it
16:57
and my reasoning was simply, lower value = more hardware support
Avatar
Is it true tho
Avatar
is driver can perform better on newer versions? or it is not related @Jupstar ✪
16:58
like if i use vulkan 1.3?
Avatar
i dunno, i guess most vulkan GPUs also got at least 1.1 update
Avatar
Avatar
nori
like if i use vulkan 1.3?
i really doubt it, except they actually do code branches specifically for specific apis
Avatar
@Ryozuki just try it out and report your result 😄
Avatar
but would be kinda weird programming style in this case, since vulkan is backward compatible
Avatar
Avatar
Ryozuki
Is it true tho
https://vulkan.gpuinfo.org/ when i sort for old GPUs i pretty much only see GPUs i either dont know, or simply old reports, but the GPUs should also support higher values
Vulkan hardware capability database.
17:01
but i guess especially android is a problem
17:01
where the manifacturors dont care about GPU updates 😄
17:03
RADV uses dynamic rendering internally
17:03
so our renderpass stuff is noop
17:03
on android its different
17:03
also godot 4 allows u to choose vulkan that target mobile too, and full desktop vulkan
17:06
@Ryozuki u hyped for rdna3? 😄
17:09
i hope they have smth on pair with rtx 4090 time for competition in high end gpu market
17:21
Empowering everyone to build reliable and efficient software.
Avatar
Avatar
Ryozuki
Im gona migrate to podman
I used it for a couple hours now. Works pretty well
17:28
GATs
Avatar
also this. if you still use mem::uninitialized(), it's probably UB and will panic
17:30
This stabilizes the raw-dylib and link_ordinal features (#58713) for non-x86 architectures (i.e., x86_64, aarch64 and thumbv7a): Marked the raw_dylib feature as active. Marked the link_ordinal att...
17:30
which allows to link to DLLs without having them present
17:31
I currently use a hack to do that
17:31
but it makes the cross-compiled build fail. so I decided to wait for this feature to implement it for cross-compiling: https://github.com/heinrich5991/libtw2/issues/62
Avatar
did something change with key names when using bind command
18:08
i think that i was able to do bind ctrl <command> before but now it says that ctrl doesnt exist but i can use lctrl
Avatar
it has been lctrl at least since SDL2 release (DDNet 10) I think
Avatar
Oh okay then
18:12
Bad memory =]
Avatar
ctrl only works if used in combination with other keys e.g bind ctrl+shift+q quit
Avatar
I just remembered because I have ctrl set to switch to next weapon and I thought that I wrote the command without the l before ctrl before
18:21
Okay sorry for annoying you guys but I have a question about dummy
18:22
Could there be something done about the thing when you have dummy connected and a chat message shows up for the dummy (or the currently not selected player) and you don't see it
Avatar
can you explain?
18:29
you should see chat messages from either of the players, I think
Avatar

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addres...
Avatar
how do u find so many small tweaks to do
19:17
i guess im just too lazy but i often open up my neovim on ddnet, look at some random code to see if smth is wrong and close it after 5 mins cuz im lazy
Avatar
I just read the #bugs channel lol
Avatar
oh lol
19:17
i should do too xD
Avatar
But I guess it's that day of the month again were the macOS build breaks
Avatar

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresss...
Avatar
See e.g. https://github.com/ddnet/ddnet/actions/runs/3373254688/jobs/5597624023: ninja: error: 'package_dmg', needed by 'CMakeFiles/package_default', missing and no known rule to make it Error: Process completed with exit code 1.
Avatar
Avatar
heinrich5991
you should see chat messages from either of the players, I think
Well if i connect a dummy and someone tries to /swap with me (for example) then I won't see the message while I'm using the main player
Avatar
were there any changes to physics of rocket?
Avatar
ah
Avatar
Happened to me many times when i'm playing with dummy and someone wants to swap
20:32
The 30 seconds would easily pass without me even knowing
Avatar
Avatar
Deeper
were there any changes to physics of rocket?
you mean recently? none that im aware of
Avatar
Avatar
Alexander
The 30 seconds would easily pass without me even knowing
you can probably open a bug for that
Avatar
For the no receive message from dummy on main player or /swap not showing for both
Avatar
either works
20:53
best ask for the first and provide the second as an example
Avatar

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-ad...
Exported 169 message(s)