Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/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 2023-08-26 00:00:00Z and 2023-08-27 00:00:00Z
Avatar
I also had this problem, but on linux
00:00
switching to opengl3.3 worked for me
00:01
i noticed that somehow, on my 2GB vram GT 1030, the game was able to load my plethora of skins on OpenGL 3 but not on Vulkan
00:01
does GL have some sort of automatic system memory backing for textures (edited)
00:04
opengl manages the memory by itself
Avatar
that's gotta be possible in vulkan right
00:11
you just have to do it yourself
Avatar
https://github.com/ddnet/ddnet/assets/141338449/9be8b1bc-168f-458e-a9d7-488844fef917

Checklist

  • [x] Tested the change ingame
  • [x] Provided screenshots if it is a visual change
  • [x] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [x] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested th...
Avatar
Avatar
Yağız
Click to see attachment 🖼️
What's your hardware
Avatar
Avatar
Ewan
that's gotta be possible in vulkan right
Yes but swapping memory around can potentially be problematic
Avatar
Jup how to make async skin and asset loading work good
06:27
Still stuck with the wait x ms on main thread approach
Avatar
Why do u wait. What's the context for waiting?
Avatar
If I don't wait then it just goes again and the other thread misses its chance to do its work. This happens a bunch of times until eventually, the main thread's and other thread's window of having finished line up to where the other thread starts, and then it hogs the thread
06:32
By waiting I'm expanding this window so that the other thread can do what it needs to pretty much every time
06:33
but it's fickle because it will have to be a different amount of time depending on speeds of stuff that we can't predict. i want to avoid it entirely
06:33
make it smart
Avatar
So your problem is that new tasks are given too late?
Avatar
well, the other thread is responsible for loading the file from disk, decompressing the png, and preparing the CImageInfo. that CImageInfo is added to a fifo which is protected by a mutex, and the main thread takes the CImageInfo and slices it & uploads its texture to the GPU whenever it gets a chance
Avatar
Yep, and your problem is that the other thread blocks this mutex too often?
06:38
The other thread just works until its done, waiting only on the mutex. the main thread is obviously bound to the game refresh rate
Avatar
Sounds Like you want to introduce condition variables
Avatar
like a semaphore or smth?
Avatar
But the problem is not that you simply have two million tasks? Xd
Avatar
Avatar
Ewan
like a semaphore or smth?
It's more like a notifier
Avatar
they are not running in parallel, there are 2 tasks running at once
06:40
main & other
06:40
2 threads
06:40
im not using a thread pool or anything that would warrant one
Avatar
Notify as soon as I can continue work . It frees the mutex while waiting
Avatar
Avatar
Ewan
they are not running in parallel, there are 2 tasks running at once
In this case i meant the tasks scheduled for the file loading. Not threads^^
Avatar
ohhh ya i was gonna try that, and then i discovered that i couldn't do it without inheriting my other thread stuff from IJob iirc??
06:41
but now i am using a job
Avatar
As in: the file thread is always busy
06:42
maybe i could try and make the cimageinfo atomic as well
06:42
so it just reads whenever it needs to without waiting
Avatar
That doesn't work
06:43
not like std atomic <cimageinfo> lol
06:43
like fundamentally making the cimageinfo members lockfree
Avatar
But that has other guarantees than a mutex
06:44
Eg the timing could be off and lead to unexpected states on one thread
Avatar
what like data tearing
06:44
i mean i suppose so
06:44
my laptop is about to die
Avatar
Where is your gamer pc, you bought
06:46
i am not home
06:46
not been for a week
Avatar
@Robyt3 sorry for ping, i remember you telling me about a way to signal to the main thread using a job and I don’t remember what it is
Avatar
bro wtf is wrong with the gitlab search field for issues
08:01
who coded that shit lmao
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
Smort
Avatar
if you have the patience to sift through code subjected to the mangling that is compiler optimization
08:04
then all software is open source
Avatar
all code is open source for the underlaying hardware 😂
Avatar
this reminded me i wanna master asm with nasm
08:08
ill do that on work hours gigachad
Avatar
Avatar
Ewan
@Robyt3 sorry for ping, i remember you telling me about a way to signal to the main thread using a job and I don’t remember what it is
The only built-in way to synchronize with a IJob is its Status. You would start a job and keep a shared_ptr to it somewhere you started it. Then you periodically check if the job is done and use the result in that case.
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
things that never happen (edited)
Avatar
467de92 Add CProofMode and CMapGrid component - Marmare314 6b6ee21 Merge pull request #7017 from Marmare314/mapview - Robyt3
Avatar
sometimes i have the urge to make my own version of llvm
Avatar
Avatar
Ryozuki
sometimes i have the urge to make my own version of llvm
dont hold it back
Avatar
Error of failed request: BadRRCrtc (invalid Crtc parameter) Major opcode of failed request: 140 (RANDR) Minor opcode of failed request: 20 (RRGetCrtcInfo) Crtc id in failed request: 0x0 Serial number of failed request: 4058 Current serial number in output stream: 4058
09:46
wat
Avatar
can we maybe add something like https://github.com/arsenm/sanitizers-cmake to make it easier to use them?
CMake modules to help use sanitizers. Contribute to arsenm/sanitizers-cmake development by creating an account on GitHub.
Avatar
if u use the vscode workspace it's easy to use them
10:21
Avatar
I do, but these dont show up for me. Maybe I didnt install them correctly?
Avatar
Avatar
marmare_314
I do, but these dont show up for me. Maybe I didnt install them correctly?
other/vscode/ddnet.code-workspace ?
10:27
r u on windows?
10:27
on windows its probably harder to get them working
Avatar
Avatar
Jupstar ✪
other/vscode/ddnet.code-workspace ?
oh sorry thought you meant something different, in that case i am not
Avatar
Avatar
Jupstar ✪
r u on windows?
no im using linux
Avatar
got it working, thanks!
Avatar
ChillerDragon BOT 2023-08-26 10:39:27Z
for me the cmd from the readme for asan just works
10:39
what breaks for you?
Avatar
they probably work just fine, its just that I have no idea how to configure them with the cmake extension manually
Avatar
ChillerDragon BOT 2023-08-26 10:50:34Z
@Iza fyi i did release a new chillerbot-ux version
Avatar
This will automatically free your mouse when a breakpoint is hit under x11, using LLDB I also added it to the workspace so it works out of the box there. If you prefer to manually do, or not use the workspace it here are the steps: Note:! this only works with LLDB rn.. theoretically it should be ez to add support for GDB similary like this, but i rarely use GDB so i dunno how it works there ;) Setup xdotool manually to free the mouse on breakpoint hit
  • install xdotool pa...
Avatar
other/vscode/lldbinit.py:7:0: W0311: Bad indentation. Found 4 tabs, expected 1 (bad-indentation) other/vscode/lldbinit.py:10:0: W0311: Bad indentation. Found 4 tabs, expected 1 (bad-indentation) other/vscode/lldbinit.py:13:0: W0311: Bad indentation. Found 4 tabs, expected 1 (bad-indentation) other/vscode/lldbinit.py:14:0: W0311: Bad indentation. Found 4 tabs, expected 1 (bad-indentation) other/vscode/lldbinit.py:15:0: W0311: Bad indentation. Found 4 tabs, expected 1 (bad-indentation) python 😬
hypervomit 2
justatest 1
Avatar
ChillerDragon BOT 2023-08-26 11:11:01Z
axaxax
Avatar
ахаахх
Avatar
no puy
11:25
py
Avatar
good that GPT wrote most of the python code for me
11:26
it's against my pride to write python code 😬 cringe mode on
Avatar
As much as I hate writing python, using gpt is more 😬
Avatar
ChillerDragon BOT 2023-08-26 11:30:20Z
agreed with lerato
11:36
i feel the energy flowing
Avatar
ChillerDragon BOT 2023-08-26 12:06:32Z
lmao no way thats gpt shading on scripting langs
Avatar
the screenshot itself is unedited xd
12:08
but maybe i told it smth before xd
Avatar
ChillerDragon BOT 2023-08-26 12:12:30Z
rigged
12:12
jopsti full time prompt engineer
12:17
woah i just noticed the emscripten section in the ddnet readme
12:17
so it has smooth official support? To compile a web client that is fully functional? o.O is there some official instance?
Avatar
it worked once havent tried lately
12:20
UDP support does not exists
12:20
so it's basically useless not working
Avatar
ChillerDragon BOT 2023-08-26 12:21:48Z
yea the udp thing i knew due to web. But the ddnet servers hhave websocket support dont they?
Avatar
yes, but i guess 1. not enabled, 2. too bugy
Avatar
ChillerDragon BOT 2023-08-26 12:22:15Z
Also i saw some web clients that were functional just no file access so no mapping or demo viewing because of that.
12:22
but all those were someones toy project
Avatar
ChillerDragon BOT 2023-08-26 12:22:38Z
thats why im surprised to see it in offical ddnet readme
12:22
^ watch demos
12:22
watch maps
Avatar
ChillerDragon BOT 2023-08-26 12:22:50Z
oh pog
12:22
full client
12:23
15.9.1
Avatar
ChillerDragon BOT 2023-08-26 12:23:19Z
15
12:23
cring
12:23
ye that one i know
12:23
but no ddnet.org instance huh?
12:24
this emscripten wrapper looks like it was made with scratch game maker by a 10yo
12:24
watermark moment
Avatar
xdd
12:24
there is nothing hosted by ddnet.org yes
Avatar
ChillerDragon BOT 2023-08-26 12:25:49Z
time to put it into an iframe and slap into a facebook ad. Make it connect to some server on load and buy 1mio impressions. Easy ddos.
12:26
yea cool stuff jopsti
12:26
when finish android client
Avatar
it's finished xd
Avatar
ChillerDragon BOT 2023-08-26 12:27:14Z
sure xd
Avatar
just plugin mouse and keyboard
12:27
i tested it over scrcpy
Avatar
ChillerDragon BOT 2023-08-26 12:27:25Z
compiling is not finished bruv
Avatar
works without problems xD
Avatar
ChillerDragon BOT 2023-08-26 12:27:42Z
bro u gotta honor the mlg china gamer
12:28
who gamed more ddnet points in one year not paying attention in school than me tryharding over decades on bleeding edge hardware
12:28
he also deserves a android dev team
12:28
alone*
Avatar
lol
Avatar
yes
12:29
you should sponsor that dev team for him
Avatar
ChillerDragon BOT 2023-08-26 12:29:29Z
._.
Avatar
chiller transfering to mobile
Avatar
hey, was there a change regarding audio? i have a custom audio folder with some of the sounds deleted on purpose, and ever since a few days ago, those sounds now came back as the default sounds, even tho they are not in my custom audio folder.
13:04
before this, those deleted sounds would not make a noise ingame
Avatar
If the files exist in your default data folder then they will get loaded from there anyway
13:06
If you want to disable some sounds, keep the files there but entirely empty
Avatar
TIL that x86 actually has a instruction named "syscall"
13:07
i only knew int 80h
13:07
The syscall instruction is the primary trap instruction in 64-bit x86 systems. Earlier x86 programs performed system calls by triggering an interrupt with the int $0x80 instruction; the kernel would use iret to return from the interrupt.
13:07
ohh
13:08
int 80h is used for 32bit i think
Avatar
Avatar
Robyt3
If the files exist in your default data folder then they will get loaded from there anyway
is this new tho? i havent changed anything and now i get the default sounds back (edited)
13:10
For a 32bit kernel, SYSENTER/SYSEXIT are the only compatible pair. For a 64bit kernel in Long mode only (not Long Compat mode), SYSCALL/SYSRET are the only compatible pair. For Intel 64bit, IA32_EFER.SCE must be set, or SYSCALL will result in a #UD exception. IA32_EFER is an MSR at 0xC0000080, and SCE (SYSCALL Enable) is its 0th bit.
Avatar
renamed default data audio folder and its good now, thanks :)
Avatar
Avatar
bencie
is this new tho? i havent changed anything and now i get the default sounds back (edited)
It's not new, the storage system has always worked like this. I don't know why it just started happening now.
Avatar
Avatar
bencie
renamed default data audio folder and its good now, thanks :)
If you change the default data then it will eventually come back when you do a Steam update or use the ingame updater
👍 1
Avatar
Avatar
Ryozuki
For a 32bit kernel, SYSENTER/SYSEXIT are the only compatible pair. For a 64bit kernel in Long mode only (not Long Compat mode), SYSCALL/SYSRET are the only compatible pair. For Intel 64bit, IA32_EFER.SCE must be set, or SYSCALL will result in a #UD exception. IA32_EFER is an MSR at 0xC0000080, and SCE (SYSCALL Enable) is its 0th bit.
nice u doin x86 reverse engineering now?
Avatar
im learning nasm
13:19
aka x86 xd
Avatar
Suggested by Jurai! on Discord. We currently use ISO 3166-1 for country flags but add our own codes for countries not covered by that standard. For example the flags of England, Scotland, and Wales currently use the codes XEN, XSC and XWA respectively. We could use ISO 3166-2 in addition to ISO 3166-1 for these cases, so we would use GB-ENG, GB-SCT and GB-WLS instead.
Avatar
ChillerDragon BOT 2023-08-26 13:23:58Z
cring even i knew syscall
13:24
and int 80h
13:24
used both in hello world xd
Avatar
ChillerDragon BOT 2023-08-26 13:28:40Z
!p 04 00 00 42 3e fa 38 03
Avatar
Avatar
ChillerDragon
!p 04 00 00 42 3e fa 38 03
Command not found!
Avatar
chillerbot1 BOT 2023-08-26 13:28:43Z
[twnet_parser v0.8.0][huffman=rust-libtw2] udp payload: 04 00 00 42 3e fa 38 03
13:28
--- 0.7
13:28
error
13:28
--- 0.6
13:28
error
Avatar
ChillerDragon BOT 2023-08-26 13:29:00Z
watafak is that
13:29
my client sends this -.-
13:29
i have virus sos
13:31
oh 04 is ctrl isnt it?
13:31
and 03 is the ctrl accept that heinrich trol did do stuff with
13:31
!p 04 00 00 42 3e fa 38 04
Avatar
Avatar
ChillerDragon
!p 04 00 00 42 3e fa 38 04
Command not found!
Avatar
chillerbot1 BOT 2023-08-26 13:31:41Z
[twnet_parser v0.8.0][huffman=rust-libtw2] udp payload: 04 00 00 42 3e fa 38 04
13:31
--- 0.7
13:31
<class: 'PacketHeader'>: {'flags': <class: 'PacketFlags7'>, 'ack': 0, 'token': b'B>\xfa8', 'num_chunks': 0, 'connless_version': 1, 'response_token': b'\xff\xff\xff\xff'}
Avatar
ChillerDragon BOT 2023-08-26 13:31:51Z
yep!
Avatar
chillerbot1 BOT 2023-08-26 13:31:53Z
<class: 'CtrlClose'>: {'message_type': 'control', 'message_name': 'close', 'message_id': 4, 'reason': None}
13:31
--- 0.6
13:32
error
Avatar
ChillerDragon BOT 2023-08-26 13:32:02Z
it the last byte is 04 it detects ctrl close
13:32
and 03 doesnt exist
13:32
@heinrich5991 idk if i shouldnt send it but maybe it would be nice to show it in the dissector even if its a removed message
13:33
13:35
yea idk maybe it should also not be parsed
13:35
since it never was part of the 0.7 spec during a release i think
Avatar
ChillerDragon BOT 2023-08-26 13:46:24Z
when merge #5949 ? :D
Avatar
chillerbot1 BOT 2023-08-26 13:46:24Z
While keeping 0.6 fully working and untouched This adds the option to connect via 0.7 This is the first working version there is still work todo There are a few known bugs and missing featues to na...
Avatar
git rem //////////*/
Avatar
ChillerDragon BOT 2023-08-26 13:47:07Z
:c
Avatar
woah apparently PIE is default on modern 64bit linux
13:50
it makes assembly harder xd
Avatar
ChillerDragon BOT 2023-08-26 13:50:24Z
u nob
13:50
lea eax, rax
Avatar
lea rath, 2
Avatar
ChillerDragon BOT 2023-08-26 13:51:05Z
axaxax
13:55
opsi i broke 0.6
Avatar
proof that we can't have both ;9
Avatar
ChillerDragon BOT 2023-08-26 14:00:29Z
time to kick 0.6
14:00
i fixed alr
14:00
because i speak better tw protocol than english
Avatar
time to kick 0.7
Avatar
ChillerDragon BOT 2023-08-26 14:00:55Z
im native in 0.7
Avatar
i'd be ok with kicking 0.6 too xd
Avatar
kick c++
Avatar
but not after the pr is merged
Avatar
and python
Avatar
ChillerDragon BOT 2023-08-26 14:01:08Z
ddnet2 moment
Avatar
and kick windows support
Avatar
but at the same time
Avatar
also kick opengl
Avatar
ClosedGL
Avatar
ChillerDragon BOT 2023-08-26 14:01:46Z
Metal all the way
Avatar
MS ClosedGL
Avatar
and kick <2022 distros
Avatar
ChillerDragon BOT 2023-08-26 14:01:58Z
distros?
Avatar
Metal rusts
Avatar
ChillerDragon BOT 2023-08-26 14:02:00Z
kick linux
Avatar
xd
Avatar
like debian 11
Avatar
ChillerDragon BOT 2023-08-26 14:02:04Z
DirextX and Metal only
14:02
kick chiller bot
Avatar
ChillerDragon BOT 2023-08-26 14:02:23Z
:c
14:02
no proof
Avatar
direct x metal = vulkan
Avatar
ChillerDragon BOT 2023-08-26 14:02:46Z
metal / direct = opengl
Avatar
chillerdragon is an important person in our community
Avatar
with his blabber
14:03
jopsti this, ryo tell me that, heinrich is x correct, lerato how to do this in C
14:03
chiller in a nutshell
14:03
actually idk what chiller asks learath
14:04
also: robyt drop 0.6
14:04
trollet
Avatar
ChillerDragon BOT 2023-08-26 14:04:11Z
xaxaxaax
14:04
average chiler value
Avatar
robyte works on server browser
14:04
i am scared
14:04
we promote closed servers soon
14:05
closed source
Avatar
but he improved 200% perf in text
Avatar
ChillerDragon BOT 2023-08-26 14:05:09Z
ryowo good chiler impression but i say robsti instead of robyt
Avatar
RawByte
Avatar
ChillerDragon BOT 2023-08-26 14:05:47Z
robi
Avatar
robyt next job interview: "i improved the perfomance by 200% and brought 0$ profits to ddnet, but jupstar was happy"
14:06
gigachad
Avatar
tbf
Avatar
chiller r u still on that java job?
14:06
u must be a java pro now
Avatar
90% of news i read about performance, dont really improve the absolute performance a lot they simply optimize smth that is already insanely fast
14:07
and optimizing that by 2000% is not really the thing that will be noticable to the end user
Avatar
ChillerDragon BOT 2023-08-26 14:07:05Z
ryo i do not code for a living
Avatar
it's still nice
14:07
if u look at the feature individual
Avatar
this is true, and compilers already know how to squeeze more with novel techniques, but the problem is those techniques are just research and dont take into account compile times
14:07
which increase drastically
14:07
u dont chiller?
14:07
i thought u did
Avatar
ChillerDragon BOT 2023-08-26 14:07:58Z
i had a javaish job for like half a year
Avatar
what u do now
Avatar
ChillerDragon BOT 2023-08-26 14:08:13Z
my code was so bad company went bankrupt
Avatar
u travel with ur laptop showing tw 0.7 to the world
Avatar
ChillerDragon BOT 2023-08-26 14:08:22Z
ye
Avatar
ChillerDragon BOT 2023-08-26 14:08:27Z
i quit work to focus on 0.7
14:08
jk
14:08
i rather not disclose to much about my job
14:08
since it can be used for finger printing my identiy
Avatar
but is it code related
Avatar
Avatar
Jupstar ✪
and optimizing that by 2000% is not really the thing that will be noticable to the end user
Yeah, the atlas performance improvements mostly apply when new glyphs are rendered for the first time, so it would only be noticeable if new glyphs keep being spammed in chat or something like that. Though using std::unordered_map and a better hash function for glyph lookup was also a good improvement for rendering cached glyphs.
Avatar
or tech
14:09
or ur a farmer now
Avatar
ChillerDragon BOT 2023-08-26 14:09:27Z
its tech related ye
Avatar
top5 things that will never happen in teeworlds: 1. learath admitting c is shit 2. breaking backward compability 3. ddnet 2 4. accounts 5. rust being replaced by smth better
Avatar
ChillerDragon BOT 2023-08-26 14:09:31Z
farmer xd
Avatar
Avatar
Robyt3
Yeah, the atlas performance improvements mostly apply when new glyphs are rendered for the first time, so it would only be noticeable if new glyphs keep being spammed in chat or something like that. Though using std::unordered_map and a better hash function for glyph lookup was also a good improvement for rendering cached glyphs.
and i hear std::unordered_map itself is slow
Avatar
ChillerDragon BOT 2023-08-26 14:10:08Z
@konsti someone said accounts
Avatar
compared to other impls
Avatar
ChillerDragon BOT 2023-08-26 14:10:28Z
jopsti i think lerato openly hates C
Avatar
@Robyt3 we know all glyphs right? cant we use a perfect hash function too?
14:10
In computer science, a perfect hash function h for a set S is a hash function that maps distinct elements in S to a set of m integers, with no collisions. In mathematical terms, it is an injective function. Perfect hash functions may be used to implement a lookup table with constant worst-case access time. A perfect hash function can, as any has...
Avatar
@Robyt3 what would be your opinion if a closed source mod is insanely successful.. much more than ddnet and ddnet advertised it bcs of new server browser xdd would you just accept it as progress or would u be mad or do u simply not care
Avatar
Avatar
Ryozuki
@Robyt3 we know all glyphs right? cant we use a perfect hash function too?
xd so much not worth it
Avatar
@Jupstar ✪ all for perf
14:12
i follow ur religion
Avatar
i bet the hash functions for integers are already really good
Avatar
Avatar
Ryozuki
@Robyt3 we know all glyphs right? cant we use a perfect hash function too?
The hash consist of (font face, font size, glyph), I guess it could fit perfectly somehow, but hashing the font face pointer isn't ideal
Avatar
u make multiple hashmaps
14:12
for each font face
Avatar
how to join game?
Avatar
but its prob not worth it
Avatar
Avatar
Ryozuki
i follow ur religion
well tbf, whenever i feel like i have a design flaw: fixing it usually also resulted in more performance 😄
14:13
it seems to correlate up to a certain point
Avatar
same with minimizing code
Avatar
good design leads to good perf usually
14:13
less code means better cache? or smth like that
14:13
idk
Avatar
Avatar
flurcxy
how to join game?
install linux apt install ddnet DDNet f1 -> connect ger.ddnet.org
Avatar
Avatar
Jupstar ✪
@Robyt3 what would be your opinion if a closed source mod is insanely successful.. much more than ddnet and ddnet advertised it bcs of new server browser xdd would you just accept it as progress or would u be mad or do u simply not care
where is new server browser idea
Avatar
Avatar
Jupstar ✪
@Robyt3 what would be your opinion if a closed source mod is insanely successful.. much more than ddnet and ddnet advertised it bcs of new server browser xdd would you just accept it as progress or would u be mad or do u simply not care
I wouldn't say it's much advertisement. DDNet community would still be the default selection. And all the communities get is an icon in the server list that says they are a bit more trustworthy than the rest.
Avatar
Avatar
Jupstar ✪
top5 things that will never happen in teeworlds: 1. learath admitting c is shit 2. breaking backward compability 3. ddnet 2 4. accounts 5. rust being replaced by smth better
once these things are broken updates will be so much fun
Avatar
Avatar
Voxel
once these things are broken updates will be so much fun
i know
14:14
i am team future
Avatar
Avatar
Ryozuki
where is new server browser idea
bro
14:15
it's your own issue xD
14:15
The current situation is unfair to good faith server owners whose servers don't have the checkmark, a more healthy way is to provide a way to apply to have the checkmark or be added to this new...
Avatar
idk how to START with any of those minus the logo
Avatar
The current situation is unfair to good faith server owners whose servers don't have the checkmark, a more healthy way is to provide a way to apply to have the checkmark or be added to this new...
14:15
deens proposal
Avatar
Avatar
Jupstar ✪
install linux apt install ddnet DDNet f1 -> connect ger.ddnet.org
?
Avatar
i kinda dislike it tbh
14:15
dunno why
Avatar
i think ddnet should take a clear stance, and only support free software mods, we can create a environment where open source mods are the norm, and closed source mods get a massive disadvantage, we shouldnt support a community that doesnt give back, it will lead to tw and ddnet itself to die, specially in the case a new mod network like ddnet erupts due to modding
Avatar
can't explain logically
Avatar
Avatar
flurcxy
?
well i answered your question
Avatar
teeworlds lasted this long thanks to free software
Avatar
if that wasnt the right answer. do a better question
Avatar
and the excuse kog gives to not be open source is stupid af
14:16
its just that they dont want to admit
14:16
kog is user hostile
Avatar
Avatar
Jupstar ✪
and optimizing that by 2000% is not really the thing that will be noticable to the end user
2000% is a lie my fps didnt go from 120 to 2400
Avatar
i want to have my essential freedoms
14:17
have the four essential freedoms: (0) to run the program, (1) to study and change the program in source code form, (2) to redistribute exact copies, and (3) to distribute modified versions.
Avatar
the truth is simple: kog source code is probably a mess and he ain't wanna maintain it xD
Avatar
Avatar
cyberFighter
2000% is a lie my fps didnt go from 120 to 2400
buy new hardware past human
Avatar
he doesnt wanna open source it claiming "he doesnt want to accept contributions" but thats not a reason not to open source it
Avatar
i am from future and can ensure you. Buy new hardware
Avatar
u can open source it with a free software license AND not accept contributions
Avatar
Avatar
Jupstar ✪
well i answered your question
who you
Avatar
says the white name
Avatar
Avatar
flurcxy
who you
I am an AI trained to answer questions quickly
Avatar
Avatar
Jupstar ✪
i am from future and can ensure you. Buy new hardware
i started thinking about it since every other game runs at 10-20 fps
14:18
troll
Avatar
How are you?
Avatar
Avatar
Voxel
says the white name
Hey buddy.
Avatar
Avatar
Jupstar ✪
I am an AI trained to answer questions quickly
no
Avatar
hi new person
14:18
monkalaugh
Avatar
@Jupstar ✪ the problem though is that kog existing is appealing to deen and heinrich due to ddnet having such a big exposure in the ecosystem, but i think this is just accept a "lesser evil" to fix the problem
14:19
and its bad
Avatar
@flurcxy for more questions use #questions also make sure to explain in your question what you did on your own questions like "How can i join game" are not useful
Avatar
kog is evil? i fucking knew it.
Avatar
thanks for coming to my ted talk
Avatar
i have to ask: What did you try
14:19
or What is your exact problem
14:19
so pretty obvious annoying questions
Avatar
Avatar
Jupstar ✪
@flurcxy for more questions use #questions also make sure to explain in your question what you did on your own questions like "How can i join game" are not useful
Avatar
"Play"
Avatar
cikis to you as well
Avatar
Avatar
Ryozuki
@Jupstar ✪ the problem though is that kog existing is appealing to deen and heinrich due to ddnet having such a big exposure in the ecosystem, but i think this is just accept a "lesser evil" to fix the problem
yeah i personally don't even care if KoG is advertised as trusted I just dunno why ddnet, which allows to host almost any open source mod suddenly has to do "fair" server browsers
14:21
as if these closed source mods have done anything for us
Avatar
Why doesn't Avo simply do account system the ideas are clear
Avatar
ngl i made my thing open source because i suck at coding and cant do half the features i want to do
Avatar
i also wanna keep ddnet tab itself
Avatar
Avatar
Jupstar ✪
"Play"
and
Avatar
Avatar
flurcxy
and
click on DDNet (edited)
♥️ 1
Avatar
r u using a bot client
14:22
why doesit look like that
Avatar
Avatar
Jupstar ✪
click on DDNet (edited)
thanks
Avatar
bro put the ddnet screenshots through ai
Avatar
Avatar
Ryozuki
r u using a bot client
i think he indeed translated his text somehow xD
14:22
google lense looks similar
Avatar
lmao true
14:23
he is the true ai enjoyer
Avatar
xd
14:23
future human
14:23
welcome to community
14:23
support unique
🔥 1
14:23
we open source
Avatar
xDD
Avatar
unique-clan has 11 repositories available. Follow their code on GitHub.
Avatar
most random advertisement
Avatar
also coolest logo around
14:23
better than ddnet
Avatar
ddnet logo is perfect wym
14:24
sketch out a better logo
Avatar
wh ytf it look like that
14:24
you made it with ms paint
Avatar
did u just assume my OS
14:24
ill report u
Avatar
cope harder
Avatar
ms paint best
Avatar
xd
Avatar
Avatar
Voxel
sketch out a better logo
ok give me a moment
Avatar
"Epic powerpoint logo generator online free"
Avatar
each map has a download button too
14:25
14:26
international
14:26
Kapp
Avatar
Avatar
Voxel
sketch out a better logo
heres a logo for fng i made
14:28
(optional background)
Avatar
Avatar
cyberFighter
heres a logo for fng i made
oh fantastic
Avatar
Avatar
Ryozuki
u can open source it with a free software license AND not accept contributions
yeah true.. if i look at smth like sqlite xD impossible to contribute for normal humans
Avatar
Avatar
cyberFighter
heres a logo for fng i made
not good, but still better than ddnet logo
Avatar
jupstar when logo sketch
Avatar
Avatar
Voxel
jupstar when logo sketch
assisted by ai
14:31
weird ai yankovic*
Avatar
i kinda like if the logo itself tells a story
Avatar
theres no story in ddnet
Avatar
"Now i am become Rust, Destroyer of Unsafe code"
14:31
i need this quote on my bio
Avatar
i need that quote on my underwear
Avatar
Avatar
flurcxy
how can i be moderator
sub to #announcements sometimes it's announced
14:32
else no way!
Avatar
do i have to hit the notification bell too
Avatar
yes
14:33
leave a like
Avatar
comment below
Avatar
be polite
Avatar
btw broken hammer is still skippable why are they not fixing it again i literally reported it what the hell
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-addresss...
14:51
Under the new rules, online platforms must implement ways to prevent and remove posts containing illegal goods, services, or content while simultaneously giving users the means to report this type of content.
14:51
Additionally, the DSA bans targeted advertising based on a person’s sexual orientation, religion, ethnicity, or political beliefs and puts restrictions on targeting ads to children. It also requires online platforms to provide more transparency on how their algorithms work.
14:52
@Voxel r u proud
14:52
when america does this
Avatar
Avatar
Jupstar ✪
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19125 I guess the other is only for xwayland?
Ye
14:55
Have you tried? :d
Avatar
@Jupstar ✪ new quote
14:56
"a bit of rust a day keeps the segfault away"
Avatar
Avatar
nori
Have you tried? :d
not yet, when mesa creates a new release i can test it on arch 😄
Avatar
Avatar
Ryozuki
"a bit of rust a day keeps the segfault away"
xd
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-addresss...
15:16
fixes #7050

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/...
Avatar
fixes #7053

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/...
Avatar
ChillerDragon BOT 2023-08-26 15:27:32Z
ryo xd "did you just assume my OS"
Avatar
ChillerDragon BOT 2023-08-26 15:35:13Z
15:35
average bash
Avatar
Avatar
Ryozuki
Additionally, the DSA bans targeted advertising based on a person’s sexual orientation, religion, ethnicity, or political beliefs and puts restrictions on targeting ads to children. It also requires online platforms to provide more transparency on how their algorithms work.
does it change physics
Avatar
@Jupstar ✪ someone
16:29
first comment
16:29
While I agree that the state of the art is rather pathetic, and all of this should be verified by machines instead of relying on human analysis, there is no easy way to get there using Rust or even C with LLVM. This will require dramatic and novel changes through the entire compiler stack.
16:30
Language for high-assurance and high-speed cryptography - GitHub - jasmin-lang/jasmin: Language for high-assurance and high-speed cryptography
Avatar
Avatar
Ryozuki
@Jupstar ✪ someone
yes please today xd
16:30
not tomorrow
Avatar
Last summer Intel published guidance around the Data Operand Independent Timing (DOIT) instruction mode that can be enabled with recent generations of Intel processors to ensure constant time execution for a subset of the Intel instruction set, which can be particularly important for cryptographic algorithms.
Avatar
Avatar
Ryozuki
Under the new rules, online platforms must implement ways to prevent and remove posts containing illegal goods, services, or content while simultaneously giving users the means to report this type of content.
no more pirating ?
Avatar
thats impossible
Avatar
well its an attempt at it i guess 😹
Avatar
Closes #7011

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/...
Avatar
@louis do note this is for big online social communities
16:33
like twitter
16:33
facebook
16:34
in fact they list them
16:34
its for webs with over 45M monthly users iirc
16:34
they already have moderation teams though
Avatar
the important bit is actually the fight against adverts using personal info btw
16:35
well for me
16:35
xd
16:37
i think the children part is more important in terms of advertising and content moderation* (edited)
16:37
personal info doesnt pertain only to advertising
Avatar
CGameClient::OnPredict() says "don't predict anything if we are paused" and yet we predict different stuff based on CGameClient::Predict() result which leads to flickering here and there (e.g. for projectiles and characters). Steps to reproduce: 1. Check 'AntiPing' in the settings 2. Join a server 3. Pause the round (rcon pause_game) Expected result: The game is paused and characters, projectiles and other entities do not move (until the server moves them) Actual result: The game ...
Avatar
(original idea from murpi) Don't allow players to give custom vote-kick reasons themselfs, but let them select reasons from a list instead. If the player isn't doing any of the listed reasons, that would be considered a fun vote. This would also make it a whole lot easier for us moderators, because we wouldn't have to deal with vote reasons that are in a non-english language. My current suggestions for the vote reasons:
  • Blocking
  • Inappropriate behaviour
  • Botting/Unnallowed third...
Avatar
btw, could you lobby for unique to open up their ranks database? I'd hate all that to be gone if they ever die
Avatar
@timakro can u?
Avatar
Avatar
Ryozuki
@Voxel r u proud
I actually don't like it that much ^^
Avatar
Avatar
ChillerDragon
Click to see attachment 🖼️
posting code as images is annoying :/
18:05
Under the new rules, online platforms must implement ways to prevent and remove posts containing illegal goods, services, or content while simultaneously giving users the means to report this type of content.
this sounds like easier censorship to me
18:05
e.g. youtube-dl's homepage got removed IIRC
Avatar
dont only therse apply to the super big social media webs?¿
Avatar
then you can't talk about youtube-dl on a super big social network anymore? sounds bad to me
Avatar
c68350a reset operation status after creating envelope context menu - Marmare314 dcf7696 Merge pull request #7074 from Marmare314/issue-7050 - Robyt3
Avatar
c528268 clamp value-range for color envelopes in popups - Marmare314 8effc20 Merge pull request #7075 from Marmare314/issue-7053 - Robyt3
Avatar
Avatar
Robyt3
The only built-in way to synchronize with a IJob is its Status. You would start a job and keep a shared_ptr to it somewhere you started it. Then you periodically check if the job is done and use the result in that case.
can i have a custom status
Avatar
Avatar
Ewan
can i have a custom status
Yes, but either you only read it when the job is done or you need to synchronize access to it
Avatar
6555799 Cleanup declarations - Kaffeine 63ed421 CGameClient: Move Predict() implementation to .cpp file and reformat it - Kaffeine ec7d1f8 CGameClient::Predict: Disable prediction if the game is paused - Kaffeine 48d0228 Merge pull request #7077 from infclass/ddnet-fix-pause - def-
19:05
859efe5 Update Serbian translation (by Jurai!) - Robyt3 7e0e4ab Merge pull request #7073 from Robyt3/Serbian-Update - def-
Avatar
9733cff Update Ukrainian translation (by Jurai!) - Robyt3 90cf635 Merge pull request #7072 from Robyt3/Ukrainian-Update - def-
19:16
87743bd Automatically release the mouse for x11, when breakpoint is hit - Jupeyy c4ba06a Merge pull request #7070 from Jupeyy/pr_x11_mouse_release - def-
Avatar
6781717 Ability to search for demos. - furo321 4f3a4c4 Whops - furo321 1b20a96 Fix requested changes. - furo321 0ebc40e Naming: Item -> pItem - furo321 ac775ec Fix style - furo321 c9557b2 Merge pull request #7069 from furo321/pr_demo_searchbar - def-
Avatar
Is there a version of html.escape() for python that handles file management (symbols like /, ?, <, >)? so nobody manages to mess up their computer by typing in weird command line arguments? (edited)
19:49
idk this might only be an issue for server stuff
Avatar
how would those symbols screw up command line arguments
19:55
probably worst case the program doesn't understand and aborts (edited)
Avatar
i dunno im still learning
Avatar
you shouldn't have to worry about all that. as long as you sanitize your inputs
Avatar
and how do i do that
19:57
that was the exact thing i was asking, how do i sanitize my inputs
19:57
i tried googling but all that came up was html.escape()
20:00
im not a python idk
20:00
i would probably end up writing my own fn which strips a string of bad characters
20:01
but it would definitely not be enough to prevent from bugs and potential security issues in a high traffic environment
Avatar
Avatar
Ewan
im not a python idk
you're a human
21:15
troll
Avatar
anyone gotten a MSVC build of DDNet to work with Vulkan? CMake seems to not be finding the Vulkan SDK by default (-DSPIRV_OPTIMIZER_PROGRAM:FILEPATH=SPIRV_OPTIMIZER_PROGRAM-NOTFOUND, -DGLSLANG_VALIDATOR_PROGRAM:FILEPATH=GLSLANG_VALIDATOR_PROGRAM-NOTFOUND)
21:52
so the game will compile but can't run because there are no shader tools
21:54
oh nvm it's included in ddnet-libs lol
21:54
that's crazy
21:54
i have 3 and it finds none
21:55
oh but the spirv optimizer isn't included in ddnet libs
21:57
this is probably a me issue
Avatar
Hm, you're right, we don't ship the spirt-opt.exe, but require the vulkan sdk
21:58
I don't know how to add paths for MSVC
Avatar
typically you'd just tell cmake where it is (cmake source dir / ddnet-libs / yadda yadda)
Avatar
i got it to work, though it's definitely not linking against vulkan 1.1.0
22:13
i just gave it the SDK paths manually
Avatar
Just made an update to my image slicer, with a much needed QoL feature: https://github.com/VoxelDoesCode/ddnet-image-slicer
A tool to slice and package DDNet's assets. Contribute to VoxelDoesCode/ddnet-image-slicer development by creating an account on GitHub.
22:28
Now you don't have to delete the output folder every time you do another test run.
22:29
shoot i wish i had the Xynthix skin pack on my laptop
22:29
i thought i did but i guess not
22:29
would make testing much easier
22:29
nvm i do they're in my documents
22:29
😈
23:12
wonder how it's crashing here
23:12
i didn't think that was possible
23:12
bizarre
Avatar
sounds like there's a memory access in that line
23:18
sounds plausible for a crash
Avatar
this is a crash in the msvc stl
23:25
fundamentally it's kinda hard to imagine an atomic<int> crashing on load like this, even if there was no value
Avatar
yes. if you give bad pointers to msvc stl, it'll crash
23:26
in msvc stl
23:26
it manages the only ptr
Avatar
load() is a member function
23:26
it gets the this pointer as input
23:26
maybe you can check what this is
Avatar
if that was the issue the top line would be highlighted
Avatar
likely an invalid pointer
23:27
why is that?
Avatar
that's what i've seen windbg do for bad method calls
Avatar
I see. in gdb that was sometimes the issue
Avatar
can you print the this pointer?
Avatar
hmm, maybe you're right, it says this is 0x00000038
23:33
i wonder how that is possible
Avatar
the parent object wasn't initialized
23:50
oops
23:51
i was like... how is it getting a bad pointer if every single pointer dereference is checked
Avatar
Figured out how to package all the folders into ZIP files (edited)
Avatar
i guess my tarball idea wasn't a hit
Exported 590 message(s)