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-02-22 00:00:00Z and 2022-02-23 00:00:00Z
Avatar
is cl_prediction_margin defaulted at 10 for any good reason
Avatar
I think because it was hardcoded to 10 before
Avatar
When pull request is closed, what then? It's getting rejected, accepted what 🤔
Avatar
Avatar
RadziSzop
When pull request is closed, what then? It's getting rejected, accepted what 🤔
ᶰ°Konͧsti 2022-02-22 04:29:06Z
Usually its getting merged then
Avatar
cheeser0613 reports:
old ddnet practice mode can be exit after team kill, but it wont in the latest server (idk is it a bug or intended, if its not a bug maybe add a new command to exit practice before start because the only way to exit now is to change team)
08:59
poggers
Avatar
@deen can I ask for another server request? It will be the last one from me. So there is 'fng japan' server, which Korean players play a lot because there is no Korean FNG server. Actually, it's almost all Korean players. So we're just wondering if you can host an FNG server for Korea as well.
Avatar
@noby you want to host it on korea too? ^
Avatar
@noby korea wants to cooperate with usa
Avatar
Where can I find tool skins like this one? Image Image
Avatar
@mikdad dz you haven't actually sent skins
Avatar
I have found
Avatar
wtf happened
Avatar
it's a new feature image of my coding setup Image
Avatar
ᶰ°Konͧsti 2022-02-22 10:23:38Z
Damn i cannot finish my new map without the weapon shields pepe
Avatar
make a teleporter that gives you the weapons needed but not the one you want to remove
Avatar
ᶰ°Konͧsti 2022-02-22 10:25:43Z
Ik thats exactly what im not wanting to do
10:26
And its not possible like that Ima just wait till the weapon shields get released
Avatar
Avatar
Jupstar ✪
it's a new feature image of my coding setup Image
why do you have vertical monitors
Avatar
Avatar
Jupstar ✪
it's a new feature image of my coding setup Image
why do u have weeb background
Avatar
interesting what your first imaginations are
10:29
ryo is a weeb, zombietoad wannts epic coding setups xD
Avatar
Did you like delete the image? :D
Avatar
is it me or no images are shown
11:48
ah it's a troll
11:48
wtf
Avatar
i can still see them, here's a screenshot Image
Avatar
[quakenet] seemslegit BOT 2022-02-22 12:15:25Z
imagine
Avatar
Image
Avatar
today is
12:19
2022/02/22
12:20
20220222
12:20
or 22022022
12:20
fits betters
Avatar
gotta wait for 22:22:22.2222 o'clock
12:21
finish a race with 22:22.22 minutes
12:22
then you are a legend xd
Avatar
@Jupstar ✪ did u rework the vid recorder in vulkan?
12:31
is it possible to render the video at 60fps but in like 1second? xd
12:31
for me there is no benefit on using the demo recorder over obs due to that rn
12:32
i think it was due to the sound being a problem
Avatar
yes
12:32
its very fast now
Avatar
and sound works fine?
12:32
thats epic
Avatar
yeah i also fixed 96000 hz sound, but have to push the changes
Avatar
this is the most poggers update
12:32
PepeA
Avatar
well it maxes out at around 85% CPU usage for me
Avatar
finally i can render 2 hour demos without wasting 2 hours in pc
12:32
xd
Avatar
Avatar
deen
@noby you want to host it on korea too? ^
yes
realnoby 1
Avatar
no idea why it cant reach 100% xd
Avatar
cant wait for ddnet 16.0
12:36
12:36
if ddnet 16.0 also has tutorial i think it might be good to add the tooltips too
Avatar
what good is the tooltip code without any explanations?
Avatar
ah u want me to add the tooltips?
Avatar
and if we have a text for the tooltip, then why not display it directly on the screen?
Avatar
u mean without a tooltip?
Avatar
because it doesnt fit?
12:38
idk
Avatar
I'm not sure how useful they are
Avatar
isnt that how everyone does it?
12:38
browsers do it too
Avatar
I thought the idea was for the tooltips to guide you where to go
12:38
as a kind of tutorial for the UI, but seems not
12:40
Maybe I just can't imagine what should be done with it
12:40
but if we have a button "Connect" and the tooltip says "Connect to server" this doesn't feel useful
Avatar
e.g. the editor pen says Open the editor
12:41
bcs the pen isnt intuitive
Avatar
But I don't think I'm the right person to go through and annotate the entire UI
Avatar
it allows to explain some settings in more detail for example
Avatar
i'd say it useful especially for settings and icononized buttons
12:43
or stuff that isnt directly clear "Click to add player as friend" in the server details player list
Avatar
85% ppl dont know what this does and wether they should enable them
12:44
12:44
"oh i just installed this game 5 mins ago, what are text entities?
12:44
what is a quad
12:44
what is old mouse mode?
12:45
antiping??
12:45
surely it must be good!
12:45
xd
12:45
12:45
oh look a ghost!!!
12:45
monkalaugh
Avatar
yeah its fine, maybe deen misunderstood, that he does not need todo that xD
12:45
sounded like he fears to go through the UI and do it himself
Avatar
sry for the sarcasm xd
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
boo
Avatar
no i can do most of it and we can ask others what would need expplanations
12:46
we will need to oask for translations tho
Avatar
in german date order, it's a palindrome:
12:48
22.02.2022
Avatar
Avatar
Pathos
@deen can I ask for another server request? It will be the last one from me. So there is 'fng japan' server, which Korean players play a lot because there is no Korean FNG server. Actually, it's almost all Korean players. So we're just wondering if you can host an FNG server for Korea as well.
servers up
👍 1
Avatar
ᶰ°Konͧsti 2022-02-22 13:16:53Z
Why is DDNet persian gone again monkaS
Avatar
Avatar
noby
yes
ᶰ°Konͧsti 2022-02-22 13:17:46Z
How will you divide between korean players and actual bots? monkaS
Avatar
same way the jpn server did it
13:18
by banning them anyway kek
Avatar
ᶰ°Konͧsti 2022-02-22 13:19:50Z
so u rather ban innocent players than letting one bot play?
Avatar
konsti didnt have time to ask persian owner to insert ranks
troll 1
13:37
@Jupstar ✪ @deen
13:38
monkaS
Avatar
Hm, looks good, maybe make the position of the tooltip fixed so it doesn't move with the mouse?
13:39
i like it moves with the mouse xd
13:40
feels more responsive
13:40
unless you have parkinson monkaS
kek 1
Avatar
Avatar
ᶰ°Konͧsti
so u rather ban innocent players than letting one bot play?
in all seriousness there are actually very very few false positives on jpn server
13:44
but yes as a whole across all servers occasionally innocent people get flagged
13:44
which i believe is worth being able to prevent bots from ruining the game
Avatar
Avatar
Ryozuki
monkaS
can it do multi line btw?
Avatar
@Jupstar ✪ no, cuz ur text width function is broken for multiline, it resets to 0 iirc
Avatar
there is a member in SCursor that is "BiggestLineWidth" or smth
14:04
that can be used for such stuff
Avatar
perf tool on linux and intel documentation are such a pain in the ass to find what you want 😦
14:17
i need to make at least a commit other than translation for ddnet 16, but don't know what i can do 😦
Avatar
Oh I have one for you
14:19
skins.cpp:L238-239 are both wrong, I just couldn't find time to fix it
Avatar
xD good luck fixing it without breaking some skins xD
Avatar
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/skins.cpp at master · ddnet/ddnet
14:21
what's wrong with that?
Avatar
but yeah the skin greyscale code is really weird
Avatar
No no
Avatar
yeah i agree, but it would break everyone's personification skin
14:23
so we would need a legacy mode and the new one
Avatar
If m_Format != FORMAT_RGBA the *4 is wrong
14:24
it should be * Step
14:24
But even that would be wrong
Avatar
ah you want to support RGB skins?
14:25
when does this make sense?
Avatar
I think you should pretend alpha is 255
Avatar
Avatar
Jupstar ✪
when does this make sense?
I'm not sure, but the rest of the code supports it, so that part should too
Avatar
ok, but you'll have intransparent squares
Avatar
As is now, you'll get a nice buffer overflow loading a RGB skin I think 😄
Avatar
generally RGB is not desirable format, GPUs want 4byte or 1 byte alignment
14:26
but not 3 bytes
Avatar
Okay, then your PR can be removing this useless branching 😄
Avatar
true 😄
Avatar
I cant Start DDNet Network Client with Steam. What can I do to fix this?! Thx ♥
Avatar
looks like it wants to run the server
Avatar
but I always klick on DDrace Network Desktop App. And not open a Lan svr or smt... and if I want Start DDnet it try's to Update and stopps direktly and than this Error comes
Avatar
mhh really weird, maybe reinstall and create a new desktop reference
14:31
i dunno how exactly you start it from desktop has steam created it for you?
Avatar
Yeah it is from Steam. And it is the Same problem if I start the game via Steam
14:32
OKOK I will try to reinstall. 😄
14:36
@Learath2
Avatar
Missing the frame where the top guy becomes a skeleton from the waiting
Avatar
The Server still writes to the steam directory ddnet-server.sqlite & autoexec_server.log I guess it would be nicer to see the steam directory as read-only, who knows what permission problems this can cause on Windows
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
why aren't they changing the default wait time for desktops I mean, if it's such a meme they must have been quite a bit of discussion about that, shouldn't there?
Avatar
Avatar
GitHub
Click to see attachment 🖼️
@Chairn you wanted a task
Avatar
It's because poettering is a huge narcissist, I bet he thinks he knows better than everyone so he won't let them even discuss it
Avatar
Ok :/
14:44
really weird, especially if its a component that is not writing to disk
14:44
for those it almost doesnt matter anyway
Avatar
Avatar
Jupstar ✪
@Chairn you wanted a task
meh, i don't use steam, so i have no way to test this
Avatar
the normal ddnet server does this too 😄
Avatar
Avatar
Chairn
meh, i don't use steam, so i have no way to test this
then remove the RGB support in skins.cpp 😄
Avatar
xD
Avatar
he used netsh winsock reset chkdsk c: /f /r /x in cmd and it works now if anyone else has the problem
Avatar
@HappyFray helped me in direktly Discord Call with CMD Commands chkdsk c: /f /r /x netsh winsock reset and PC restart. Now I reinstalled it and it worked. Thx to all! ♥
Avatar
ok nice 😄
Avatar
Happyfray customer call support poggers
Avatar
How did that even help?
14:48
I'm of confusion
Avatar
yeah xD
14:48
his game is on D:, and he checks C:
14:48
probs it was the restart xD
Avatar
Avatar
Jupstar ✪
his game is on D:, and he checks C:
it was a permission problem from steam on the drive
Avatar
that would be classic windows
14:48
ok 😄
Avatar
chkdsk fixed the permission problem
14:49
thats why it helped
Avatar
always interesting how this even happens in first place
Avatar
Yeah, only allah himself knows what's going on there
Avatar
who is that?
14:51
a new dev? 😛
Avatar
If only we had an omnipotent omniscient deity as a contributor
Avatar
Avatar
GitHub
Click to see attachment 🖼️
i can't even find the definition for CreateSqliteConnection
Avatar
m_SvSqliteFile
14:55
in server.cpp
Avatar
damn stupid vscode
Avatar
could just move it to the save dir
Avatar
it cannot find it, but grep did ^
Avatar
i use vscodium
14:56
so its basically also vscode
14:56
and i found it xd
Avatar
and obviously, now it does...
14:57
i miss my mouse with previous button
Avatar
i still have this at home, if you need programmable buttons https://m.media-amazon.com/images/I/5197yBtWRnL._AC_SY450_.jpg
Avatar
hum, seems like it just opens the raw string, without using the storage interface
Avatar
yeah
15:00
for the log the same, but i dunno if ddnet's official servers depend on that
Avatar
i guess a call to GetBinaryPath would fix it
Avatar
char aFullPath[IO_MAX_PATH_LENGTH]; pStorage->GetCompletePath(IStorage::TYPE_SAVE, pPath, aFullPath, sizeof(aFullPath));
15:03
that's what the client sqlite uses
Avatar
damn function returning void, didn't see it
15:10
weird that one returns a c string, and the other one, void
15:16
how do i test format with clang-format?
15:20
never mind, was written in readme.md
15:26
well, i think i lack knowledge to this part of code, because it doesn't have a pointer or a function to get a handle on the storage interface 😦
Avatar
in neovim with clangd i press gd on a function and i go to definition ez
Avatar
hum, there are some files that are RGB in data
15:33
./data/editor/checker.png: PNG image data, 32 x 32, 8-bit/color RGB, non-interlaced ./data/editor/background.png: PNG image data, 256 x 256, 8-bit/color RGB, non-interlaced ./other/dmgbackground.png: PNG image data, 1280 x 832, 8-bit/color RGB, non-interlaced
15:36
should we completely drop RGB support in skins?
Avatar
No need, as @Jupstar ✪ said, without transparency the skins would all be squares 😄
Avatar
so yes need 😄
15:38
(to drop RGB support in skins)
Avatar
We’re saying goodbye to the Bethesda.net Launcher this year. Starting in early April you’ll be able to migrate your games and Wallet to your Steam account. For more details on what this process will look like, read on.
15:40
good news
Avatar
Avatar
Chairn
how do i test format with clang-format?
in general, if those tools (clang-format, clang-tidy) are hard to figure out for people, just ignore them. I can run them later.
Avatar
When does ddnet gets bought by microsoft
Avatar
never, makes no sense to buy an open source project that anyone can just fork
15:45
I can sell them DDNet, and 1 day later start a new project DDNet2 with the same data and code 😄
Avatar
confirmed no transparency is not the best idea:
Avatar
Avatar
deen
in general, if those tools (clang-format, clang-tidy) are hard to figure out for people, just ignore them. I can run them later.
maybe we can add them to dependencies
Avatar
well, most people just want to build, not contribute
Avatar
ᶰ°Konͧsti 2022-02-22 16:11:26Z
I wonder if deen has siblings he told about tw
Avatar
Yes, but they are not interested 😄
pepe 1
Avatar
same here
16:28
they say "oh you are playing that game about balls moving again" (edited)
16:28
or smth like that
16:29
xd
Avatar
what's the difference between CImageInfo::FORMAT_ALPHA and CImageInfo::FORMAT_RGBA?
16:49
file utility reports both as 8-bit color RGBA, non interlaced
Avatar
Avatar
Ryozuki
they say "oh you are playing that game about balls moving again" (edited)
Exactly my parents.
Avatar
ᶰ°Konͧsti 2022-02-22 18:07:29Z
nobos
Avatar
Avatar
deen
Yes, but they are not interested 😄
ᶰ°Konͧsti 2022-02-22 18:08:32Z
If my brother would invent a game ten thousands of players are playing id 24/7 run it and tell anyone to respect my autoritaeh or i call my brother justatest
Avatar
a997e8d Add 50 € South Africa funding by Mariac - def-
Avatar
demo recording shouldnt "stop/erase" while having a timeout. like i couldnt use save_replay in the timeout screen.
f3 1
Avatar
about wrong writing there websites to writing invert and we can copy and pasy to be correct in game invert +invert = correct i just want say if you do invert like them more one invert in game maybe become correct idk
18:47
i write 1 and copy 2 put 2 in game get one
Avatar
Avatar
Ryozuki
they say "oh you are playing that game about balls moving again" (edited)
my father calls it "pew pew"
19:00
monkalaugh
Avatar
its called kirby
Avatar
src/game/client/components/skins.cpp is using some fixed step suitable for RGBA png but it can be given a RGB which surprisingly doesn't crash it. Anyway, RGB pictures cannot be used as skins: !image

Checklist

  • [x] Tested the change i...
Avatar
DDraceNetwork, a cooperative racing mod of Teeworlds - GitHub - ddnet/ddnet: DDraceNetwork, a cooperative racing mod of Teeworlds
19:35
i get /usr/bin/ld: CMakeFiles/engine-shared.dir/src/base/system.cpp.o: undefined reference to symbol 'pthread_detach@@GLIBC_2.2.5' //lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status
19:36
trying with LDFLAGS=-lpthread
Avatar
did you use a clean build dir?
Avatar
what is your clang version?`
19:45
clang --version
Avatar
it works if i had -lpthread manually at the end of the command because LDFLAGS adds it at the start
19:45
i used gcc
Avatar
ah gcc doesnt support all sanitizers
Avatar
gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 on ubuntu 18.04
Avatar
uff that's also very old
19:46
welcome in 2022 bro xd
Avatar
clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
Avatar
xD
19:46
i am on clang 15.
Avatar
not my fault if apt installs outdated soft
Avatar
you need to dist upgrade
19:47
change sources.list and then apt update apt dist-upgrade
19:47
but since its ubuntu there is probs some gui tool doing that for you anyway
Avatar
called here: your boring gamesaddo
Avatar
? xD
Avatar
Avatar
Chairn
clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
thats rly old bro
19:51
❯ clang --version clang version 13.0.1
19:51
monkaS
19:52
rolling releases are def better for desktop imho
Avatar
at least the most recent stable
Avatar
ubuntu 22 releases in 2 months too
Avatar
@Jupstar ✪ help
19:56
"Multiple texture units (disable for macOS)"
19:56
whats a good tooltip for this option
Avatar
you dont need to tool tip those 3
19:56
xd
Avatar
they are gone with vulkan update
Avatar
opengl too?
Avatar
(from gui at least)
19:57
19:57
thats the new version
Avatar
looks good
Avatar
https://github.com/ddnet/ddnet/issues/3050 seems like some of these are still here, i got similar ones
CC=clang CXX=clang++ CXXFLAGS="-fsanitize=undefined" CFLAGS="-fsanitize=undefined" cmake -GNinja -DWEBSOCKETS=OFF -DMYSQL=ON -DCMAKE_BUILD_TYPE=Debug -DVIDEORECO...
Avatar
yeah they are annoying to fix, and the compilers we use seem to output correct results but if you want try to fix them 😄
Avatar
i got the same for vptr CCharacter into CEntity
Avatar
yeah thats one example
20:29
the compiler will probs do 1 vptr for that and not change it during runtime
Avatar
i also got a lot of leaks coming from libX11....
Avatar
mhh, i only get leaks from SDL i think xd
Avatar
lot in numbers but mostly small stuff (16 bytes)
Avatar
as long it doesnt leak during runtime it also doesnt really matter
Avatar
chillerdragon BOT 2022-02-22 20:47:37Z
Do you do that with your brother already? (@ᶰ°Konͧsti)
If my brother would invent a game ten thousands of players are playing id 24/7 run it and tell anyone to respect my autoritaeh or i call my brother [:justatest: https://mau.lu/hkjgy- ] (@deen)
20:48
Looks like worms. No wait! It’s Kirby with guns!!!! (@Ryozuki)
they say "oh you are playing that game about balls moving again"
Avatar
Avatar
Jupstar ✪
yeah thats one example
i think, i fixed it with just using dynamiccast ^^
Avatar
Avatar
chillerdragon
Do you do that with your brother already? (@ᶰ°Konͧsti)
ᶰ°Konͧsti 2022-02-22 21:00:21Z
did but nobody knows Kog admin kamillentee these days pepe
Avatar
chillerdragon BOT 2022-02-22 21:15:35Z
ᶰ°Konͧsti: I do and I respect your authoritae
21:16
ALL HAIL THE PINK RAT
Avatar
>fixed it >dynamic cast pepeW
21:21
a lot of data seems unitialized
21:22
but there's not a default entity type 😦
Avatar
chillerdragon BOT 2022-02-22 21:49:16Z
Aaa any status tw dev here? Is the server list broken? https://status.tw/server/list/
A service for displaying and analyzing the status and statistics of Teeworlds servers and players
21:50
you don‘t have discord i guess, i‘ll do it
Avatar
CCharacter.m_KeepHooked is written but never read?
Avatar
@Headshot hang and swing game
Avatar
chillerdragon BOT 2022-02-22 22:50:41Z
Thanks babe <3 (@deen)
you don‘t have discord i guess, i‘ll do it
🤨 1
Avatar
wait if chiller doesnt have discord what do they have that allows this type of communication? (edited)
Avatar
Avatar
Voxel
wait if chiller doesnt have discord what do they have that allows this type of communication? (edited)
Read the channel description :D
Avatar
76064bd Drop non RGBA images - Chairn 0ea66bc Clang format - Chairn c0d398d CheckImageFormatRGBA --> IsImageFormatRGBA - Chairn ba0e4a4 Merge #4756 - bors[bot]
Exported 319 message(s)