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 2024-09-07 00:00 and 2024-09-08 00:00
Avatar
since when are hook teleporters predicted?
03:04
like actually how is this possible lol I thought these aren't predicted
Avatar
ws-client BOT 2024-09-07 04:25
<ChillerDragon> @Pathos look tw chat
04:25
<ChillerDragon> @pathos
Avatar
chillerdragon BOT 2024-09-07 06:05
Does someone have access to ddnet persian client for Linux? I wanna do some gaming on their servers but their website does not load for me
Avatar
MilkeeyCat 2024-09-07 06:55
morning ddrace enjoyers and others
Avatar
Avatar
chillerdragon
Does someone have access to ddnet persian client for Linux? I wanna do some gaming on their servers but their website does not load for me
ɢͥᴏᴊᴇ ɢʀᴇᴇͣɴͫ ! 2024-09-07 06:59
download link is available on their discord server.
07:04
and really gn
Avatar
ws-client BOT 2024-09-07 07:22
<ChillerDragon> @ɢͥᴏᴊᴇ ɢʀᴇᴇͣɴͫ ! could you send that download link please? :)
Avatar
Avatar
ws-client
<ChillerDragon> @ɢͥᴏᴊᴇ ɢʀᴇᴇͣɴͫ ! could you send that download link please? :)
ɢͥᴏᴊᴇ ɢʀᴇᴇͣɴͫ ! 2024-09-07 07:35
Check irc.
Avatar
Avatar
chillerdragon
Does someone have access to ddnet persian client for Linux? I wanna do some gaming on their servers but their website does not load for me
You would download a binary closed source client?
justatest 1
Avatar
ws-client BOT 2024-09-07 08:24
<ChillerDragon> I would download anything :D
08:25
<ChillerDragon> I would probably not run it on my main machine tho but in a sandboxed environment.
08:29
<ChillerDragon> But yes I totally might run a binary closed source client even on my main system @Learath2 If I think its legit. Its basically the same as running something you compiled from source but did not read and understand every line of code in it.
Avatar
MilkeeyCat 2024-09-07 08:30
How can the quality of an image be so bad in a book pepeW
Avatar
Avatar
MilkeeyCat
How can the quality of an image be so bad in a book pepeW
Handdrawn in the 90s
Avatar
ws-client BOT 2024-09-07 08:30
<ChillerDragon> Would you run ddnet persian client on your machine lerato?
08:31
<ChillerDragon> omg dont afk on me @Learath2
Avatar
Nope. I only run binaries from sources I trust one way or another
Avatar
ws-client BOT 2024-09-07 08:33
<ChillerDragon> would you run t-client?
Avatar
Isn't t-client open source? I'd rather compile my own
Avatar
ws-client BOT 2024-09-07 08:33
<ChillerDragon> it is
08:33
<ChillerDragon> if compiled on your own would you run it?
08:34
Modification of DDNet teeworlds client. . Contribute to sjrc6/TaterClient-ddnet development by creating an account on GitHub.
Avatar
Avatar
ws-client
<ChillerDragon> if compiled on your own would you run it?
Sure
Avatar
ws-client BOT 2024-09-07 08:35
<ChillerDragon> would you read the code before?
Avatar
I'd take a glance at the diff from ddnet
08:35
Though, no I wouldn't read all of it
Avatar
ws-client BOT 2024-09-07 08:35
<ChillerDragon> and thats what makes you feel safe?
08:36
<ChillerDragon> or is it the fact that you like tater as a person and have something against persians?
Avatar
What makes me feel safe is that the source is out in the open, so there are many more eyes on it
Avatar
ws-client BOT 2024-09-07 08:36
<ChillerDragon> I see
08:36
<ChillerDragon> I act similiar tbh. But actually I think its a bit of a flawed mindeset
Avatar
Way to make it personal, lol
Avatar
ws-client BOT 2024-09-07 08:37
<ChillerDragon> That might work for ddnet where it is known that many contributors look at pullrequests. But something small like tater client which is basically developed by one person is not really audited.
08:38
<ChillerDragon> I would assume not a single person audited tater client for security concerns.
Avatar
Avatar
ws-client
<ChillerDragon> I act similiar tbh. But actually I think its a bit of a flawed mindeset
It is only slightly flawed. The intricate ssh backdoor was snuck in secretly in front of everyones eyes, but if xz was closed source it may have never been spotted ever and that same dude might still be injecting backdoors to this day (edited)
Avatar
u can literally see the diffs to main repo
Avatar
ws-client BOT 2024-09-07 08:39
<ChillerDragon> technically you can but nobody reads them if they get to big. Everyone just says "someone else probably checked it" @Gumba
Avatar
MilkeeyCat 2024-09-07 08:39
just read a few thousands loc of diff
08:39
and compile that in your noodle
Avatar
Also, there are reasons I trust some binary blobs more than others
Avatar
ws-client BOT 2024-09-07 08:39
<ChillerDragon> its the persians!
Avatar
ah gg
Avatar
Nvidia is a huge corporation, if people find a secret backdoor in there their reputation is ruined
Avatar
why do you even need their client to connect?
Avatar
ws-client BOT 2024-09-07 08:40
<ChillerDragon> idk maybe antibot @Gumba
08:41
<ChillerDragon> @Gumba go send download link
Avatar
It's a very effective anticheat
Avatar
ws-client BOT 2024-09-07 08:41
<ChillerDragon> @Learath2 ppl still use windows
Avatar
Avatar
ws-client
<ChillerDragon> its the persians!
MilkeeyCat 2024-09-07 08:41
didn't persian people who had access to database inserted fake records? xd
08:41
i wouldn't trust them 😬
Avatar
Avatar
ws-client
<ChillerDragon> @Learath2 ppl still use windows
Whenever I use windows I just hope that I'm not important enough for the NSA to use their secret zero days
Avatar
Avatar
MilkeeyCat
didn't persian people who had access to database inserted fake records? xd
Not the same group of people to be fair
Avatar
ws-client BOT 2024-09-07 08:42
<ChillerDragon> yes but i mean that windows is known spyware and people don't care. So companies dont have to worry too much about their reputation.
Avatar
Avatar
ws-client
<ChillerDragon> @Gumba go send download link
Avatar
ws-client BOT 2024-09-07 08:42
<ChillerDragon> thanks @Gumba
08:42
<ChillerDragon> wish me luck
08:43
<ChillerDragon> wait i wrote tw client in assembly ..
08:43
<ChillerDragon> every binary is open source to me now
Avatar
MilkeeyCat 2024-09-07 08:43
:clueless:
Avatar
Avatar
ws-client
<ChillerDragon> yes but i mean that windows is known spyware and people don't care. So companies dont have to worry too much about their reputation.
That is true. Maybe I should run more sus binaries
Avatar
I'm sorta surprised ddper is allowed on the masterserver tbh
Avatar
ws-client BOT 2024-09-07 08:44
<ChillerDragon> look the sus malware client dev woke up
Avatar
Avatar
Tater
I'm sorta surprised ddper is allowed on the masterserver tbh
Weren't they removed? I remember heinrich working on it
Avatar
oh idk
08:44
I have not checked lol
Avatar
ws-client BOT 2024-09-07 08:45
<ChillerDragon> @Tater did you know lerato hates persians?
Avatar
??? Slander
Avatar
ws-client BOT 2024-09-07 08:46
<ChillerDragon> heinrich is afk i can do huge trolling now
Avatar
I'm sueing you rn
Avatar
ws-client BOT 2024-09-07 08:46
<ChillerDragon> i got lawyer jopsti
08:46
<ChillerDragon> u already lost
Avatar
He can argue how 86000 fps is better than 85750 fps
Avatar
ws-client BOT 2024-09-07 08:46
<ChillerDragon> @Tater I scrolled through the ENTIRE diff https://github.com/ddnet/ddnet/compare/master...sjrc6:TaterClient-ddnet:master and I approve
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
Avatar
now I will put chiller dragon approves stamp on repo and launch menu
Avatar
ws-client BOT 2024-09-07 08:47
<ChillerDragon> t-client at commit 2473ef86519e9b5a7548e2b7626178c74c2e0fbc is now officialy safety approved by ZillyHuhn Conglomerate Incorporated
08:48
<ChillerDragon> I have to admit its more legit than chillerbot-ux which does ip grabbing and user tracking
Avatar
ws-client BOT 2024-09-07 08:49
<ChillerDragon> ?
08:49
<ChillerDragon> poggies the persian client ships with symbols
08:50
reminds me of that 1 time valve accidently shipped CSGO with symbols and it caused a huge increase in cheats
Avatar
ws-client BOT 2024-09-07 08:51
<ChillerDragon> strings DDPER looks quite innocent
08:51
<ChillerDragon> im tempted to yolo it xd
Avatar
Avatar
ws-client
<ChillerDragon> I would assume not a single person audited tater client for security concerns.
i trust tater myself, i wouldn't use anything like cactus client or s client though, theyre closed source
09:02
is there any benefit for tater to include malware batteries in
Avatar
ws-client BOT 2024-09-07 09:03
<ChillerDragon> cactus is sus to me personally because they ripped off all chillerbot-ux features without credit -.-
Avatar
MilkeeyCat 2024-09-07 09:03
to steal all ddcoins from others (edited)
Avatar
Avatar
Tater
I'm sorta surprised ddper is allowed on the masterserver tbh
same here
Avatar
ws-client BOT 2024-09-07 09:05
<ChillerDragon> @zhn yes there is lots of benefits of distrubting malicious software. He could scan for credentials such as crypto keys/discord tokens/credit card info/chatgpt tokens etc to gain money
Avatar
ye and get kicked out from community immediately
Avatar
ws-client BOT 2024-09-07 09:05
<ChillerDragon> or he could obtain power with a bot net of tw clients that could be used for ddos or for vote bots in game
Avatar
gg 1 time money grab
09:05
for year of development
Avatar
ws-client BOT 2024-09-07 09:05
<ChillerDragon> ye its exit scame unless its sneaky
Avatar
MilkeeyCat 2024-09-07 09:05
@Learath2 is it ok to build symbol table after parser made ast?
Avatar
ws-client BOT 2024-09-07 09:06
<ChillerDragon> mine btc can be sneaky for example @zhn
09:06
<ChillerDragon> but it also doesnt do too much harm to users
Avatar
you could post malware.exe on a website but if you say it has a TW bot then 100s of people will run it anyway even if there's not even an actual client in it (edited)
Avatar
ws-client BOT 2024-09-07 09:07
<ChillerDragon> yea closed source bots are for sure more risky than open source legit clients
Avatar
Avatar
ws-client
<ChillerDragon> mine btc can be sneaky for example @zhn
$1.00/day if you ship this with steam version kek
Avatar
This command was not found.
Avatar
ws-client BOT 2024-09-07 09:08
<ChillerDragon> stonks
Avatar
BTC mining is probably less profitable than begging people to give you money
Avatar
Jupstar ✪ 2024-09-07 09:10
Can you give me some money?
Avatar
ws-client BOT 2024-09-07 09:10
<ChillerDragon> wait but all these reasons also apply to the evil persian client right?
Avatar
Avatar
Jupstar ✪
Can you give me some money?
maybe if you ask a billion more times
Avatar
ws-client BOT 2024-09-07 09:10
<ChillerDragon> also tater can just rebrand him self with a new fake nick
09:12
<ChillerDragon> @Jupstar ✪ i can give you money! I am persian prince!!!! But I am stuck in uganda jail I need steam giftcard to get out!!!! THEN I MAKE YOU BILLION DOLLAR
Avatar
Jupstar ✪ 2024-09-07 09:13
sounds like a fair deal
Avatar
Avatar
zhn
is there any benefit for tater to include malware batteries in
Well ofc, he can collect discord tokens and sell them
Avatar
ws-client BOT 2024-09-07 09:16
<ChillerDragon> it might get detected before a substential amount of money is gained
09:16
<ChillerDragon> but yes then he just comes with the new name legitgamer69 and the l-client
Avatar
Avatar
MilkeeyCat
@Learath2 is it ok to build symbol table after parser made ast?
Well ofc, you can scan through the ast in a second pass to build your symbol table
Avatar
Avatar
Learath2
Well ofc, he can collect discord tokens and sell them
its easy to discover, no?
09:21
i mean i do read every pr popping on ddnet gh just to check if its good feature and how its implemented
Avatar
After seeing how creative the xz backdoor was I'm not so sure
Avatar
i bet theres someone like me but on taters master
Avatar
With sufficient creativity you can sneak in things piece by piece
Avatar
ws-client BOT 2024-09-07 09:22
<ChillerDragon> @zhn i really dont think there is someone like that on taters master
Avatar
Avatar
ws-client
<ChillerDragon> strings DDPER looks quite innocent
What exactly did you expect?
Avatar
Sneak your payload into the menu screen background map
Avatar
Avatar
TacTic
What exactly did you expect?
string STEALDISCORDTOKEN.PY is what he was expecting probably
troll 1
Avatar
ws-client BOT 2024-09-07 09:23
<ChillerDragon> @TacTic i expected some suspicious strings like cnc http endpoints or evil method names etc
Avatar
Avatar
ws-client
<ChillerDragon> @zhn i really dont think there is someone like that on taters master
didnt u just read whole diff nobo
Avatar
ws-client BOT 2024-09-07 09:24
<ChillerDragon> @Learath2 you can also add a auto updater its free malware delivery system and the users would think its epic feature. Thats how ddnet ships most of its targeted backdoors right?
Avatar
It's funny, sometimes I read the chats here and see comments about the DDPER server when none of them have even downloaded the client yet.
Avatar
Avatar
ws-client
<ChillerDragon> @TacTic i expected some suspicious strings like cnc http endpoints or evil method names etc
there http endpoints, its account based client
09:25
there are*
Avatar
ws-client BOT 2024-09-07 09:25
<ChillerDragon> whats funny @TacTic
09:25
<ChillerDragon> are you persian client defender @TacTic ?
Avatar
Avatar
TacTic
It's funny, sometimes I read the chats here and see comments about the DDPER server when none of them have even downloaded the client yet.
chillerdragon literally debugging it rn
Avatar
I did some static analysis on an old ddper client and it appeared safe to me by eye. But spotting things in assembly is pretty hard
Avatar
he got debug symbols of ddper client and just going thru it
Avatar
ws-client BOT 2024-09-07 09:27
<ChillerDragon> I am not sure if I understood your "It's funny" correctly but I read some subtone @TacTic almost like you are implying that we are saying ddper is malware without having tried it or am i misinterpreting?
Avatar
yeah literally
Avatar
ws-client BOT 2024-09-07 09:27
<ChillerDragon> okay then i beg to disagree
Avatar
To be fair no one is saying it is malware
Avatar
ws-client BOT 2024-09-07 09:28
<ChillerDragon> I have downloaded the client and nobody here claimed that ddnet persian client is malware to my knowledge
Avatar
zillyhuhn is trying to prove or disprove it
Avatar
We were having a larger discussion about closed source binary releases in general
Avatar
ws-client BOT 2024-09-07 09:28
<ChillerDragon> only lerato has something against persians in general
Avatar
stop zillying
Avatar
HEY stop slandering slanderer
Avatar
ws-client BOT 2024-09-07 09:28
<ChillerDragon> :p
Avatar
People will actually think you are serious then I'll get cancelled
Avatar
ws-client BOT 2024-09-07 09:29
<ChillerDragon> @TacTic are you associated with the project?
09:29
<ChillerDragon> axaxaxax @Learath2
Avatar
Avatar
Learath2
People will actually think you are serious then I'll get cancelled
Racist
Avatar
ws-client BOT 2024-09-07 09:29
<ChillerDragon> already established
Avatar
Avatar
fokkonaut
Racist
ddRacist
09:29
heyho fokko
Avatar
ws-client BOT 2024-09-07 09:30
<ChillerDragon> lmao ddracist
Avatar
GitHub BOT 2024-09-07 09:30
1. Callvote to change map to any map, e.g. ctf1 2. Use change_map ctf1 or sv_map ctf1 in rcon 3. The server reloads the map even though the map name did not change 4. Use change_map ctf1 or sv_map ctf1 in rcon again 5. As expected, now the server does not reload the map
Avatar
Avatar
zhn
heyho fokko
Hey
Avatar
Avatar
GitHub
Click to see attachment 🖼️
i thought its by design
09:31
like why do u need change map if its still the same
09:31
go push ur buttons and type reload
Avatar
Avatar
zhn
i thought its by design
Not sure, something definitely felt inconsistent in the behavior. If you execute a config file that contains the same sv_map value, should the map be reloaded? I think change_map in vanilla also ends the rounds and shows the scoreboard, whereas it works like changing sv_map on ddnet servers
Avatar
Avatar
ws-client
<ChillerDragon> I have downloaded the client and nobody here claimed that ddnet persian client is malware to my knowledge
ɢͥᴏᴊᴇ ɢʀᴇᴇͣɴͫ ! 2024-09-07 09:40
In fact, the client does not have any additional items than other clients and ddnet, in fact, the only reason that the client is not open source is only because of the special ban system that they use and also to prevent bots from entering the servers, no virus or Malware and... have not existed and will not exist, it is not logical for them to destroy their credibility after having a server for so many years. Off topic: I think the image of Iranians has been ruined because of political issues and false and fake propaganda among the people of other nations, otherwise the truth is that in every country and ethnicity and nationality there are good and bad people, and I know that the people of Iran are honorable people and They are good and have thousands of years of culture.
Avatar
Avatar
Robyt3
Not sure, something definitely felt inconsistent in the behavior. If you execute a config file that contains the same sv_map value, should the map be reloaded? I think change_map in vanilla also ends the rounds and shows the scoreboard, whereas it works like changing sv_map on ddnet servers
does it? i don't even remember using change_map on 05/06 vanilla
09:42
and sv_map always worked like that
Avatar
Avatar
zhn
and sv_map always worked like that
You mean always reloading? Maybe it was (unintentionally) changed at some point
Avatar
Avatar
zhn
does it? i don't even remember using change_map on 05/06 vanilla
I think it shows the scoreboard for a few seconds and then changes the map, but ddnet removed most of the round-related code I guess
Avatar
m_MapReload = str_comp(Config()->m_SvMap, m_aCurrentMap) != 0;
09:44
found this on 07 codebase
Avatar
ws-client BOT 2024-09-07 09:45
<ChillerDragon> 07 mentioned
Avatar
its the only thing it does on 07 when change_map is triggered
Avatar
Avatar
zhn
its the only thing it does on 07 when change_map is triggered
That's ddnet's code though
09:47
void CGameContext::ConChangeMap(IConsole::IResult *pResult, void *pUserData) { CGameContext *pSelf = (CGameContext *)pUserData; pSelf->m_pController->ChangeMap(pResult->NumArguments() ? pResult->GetString(0) : ""); } void IGameController::ChangeMap(const char *pToMap) { str_copy(m_aMapWish, pToMap, sizeof(m_aMapWish)); m_MatchCount = m_GameInfo.m_MatchNum-1; SetGameState(IGS_GAME_RUNNING); EndMatch(); }
09:47
This is 0.7
Avatar
Avatar
Robyt3
That's ddnet's code though
xd, never use github search
09:51
btw no its 07 code too
09:51
but from server.cpp
Avatar
Avatar
zhn
xd, never use github search
I searched locally, GitHub search doesn't work very well (edited)
Avatar
Avatar
Robyt3
I searched locally, GitHub search doesn't work very well (edited)
ye, i addressed this to myself
Avatar
GitHub BOT 2024-09-07 10:11
Specify android:installLocation="auto" so the app can be installed on and move to the external storage. Specify optional features which the app may use (touchscreen, game controller, external mouse). Specify android:preferMinimalPostProcessing="true" so lower latency HDMI mode is enabled when available. Specify android:hardwareAccelerated="true" for consistency (it is already the default setting). Specify same android:configChanges and android:alwaysRetainTaskState values a...
Avatar
TIL u can avoid the ABA problem using quadword compare and swaps
10:46
A simple CAS operation may not be sufficient to guard against what is commonly referred to as the ABA problem in such algorithms that manipulate pointer variables. To avoid the ABA problem, the algorithms associate a reference counter with the pointer variable and perform updates using a quadword compare and swap (of both the pointer and the counter). The double and quadword CAS instructions support implementation of algorithms for ABA problem avoidance.
10:46
from the risc docs
Avatar
GitHub BOT 2024-09-07 10:46
attempt to fix #8814 Absolutely no idea if this has any effect - but if i understand m_aPlayerSpeed correctly this should prevent the color from rendering if any of both values is 0. one other possible fix seems to use m_aLastPlayerSpeedChange[i] = ESpeedChange::NONE; instead - hard to fix something you can't reproduce. two other things i found out were that when you spam a and d the Y value spasm's a little bit and the X speed value isnt actually properly aligned with the position val...
10:48
9832288 Adopt changes to AndroidManifest.xml from SDL sample project - Robyt3 306d3c7 Merge pull request #8910 from Robyt3/Android-Manifest-Flags-SDL - def-
Avatar
ws-client BOT 2024-09-07 11:54
<ChillerDragon> There has to be a simple way to get this to run on my machine right?
11:54
<ChillerDragon> I have glew 2.2 from apt but the binary wants 2.1
Avatar
apt-cache search glew maybe you can simply downgrade to 2.1 (e.g sudo apt install --reinstall libglew2.1) or smth like that
11:57
maybe you want to use aptitude tho because it checks if anything is dependent on glew2.2
Avatar
ws-client BOT 2024-09-07 12:21
<ChillerDragon> meh i got no glew2.1 in cache so i can also not reinstall it
12:25
<ChillerDragon> Well this worked but not sure how nice it is xd
12:25
<ChillerDragon> wget http://ftp.de.debian.org/debian/pool/main/g/glew/libglew2.1_2.1.0-4+b1_amd64.deb
12:26
<ChillerDragon> dpkg -i libglew2.1_2.1.0-4+b1_amd64.deb
12:29
<ChillerDragon> oh gosh so many peer dependencies i might as well edit apt/sources and downgrade my debian to 11
Avatar
Jupstar ✪ 2024-09-07 13:01
chiller
13:01
did 0.7 touch font rendering?
13:01
or any graphics component
Avatar
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
13:05
The only change in the graphics backends is the removal of the unused Cmd_Texture_Update
Avatar
ws-client BOT 2024-09-07 13:16
<ChillerDragon> nah @Jupstar ✪
13:17
<ChillerDragon> jopsti vulkan is so heavy -.-
13:18
<ChillerDragon> i bought cheapest vps on digitalocean and running cmake .. is full denial of service for a few minutes on the step -- Building vulkan shaders
Avatar
Avatar
ws-client
<ChillerDragon> i bought cheapest vps on digitalocean and running cmake .. is full denial of service for a few minutes on the step -- Building vulkan shaders
Jupstar ✪ 2024-09-07 13:25
building rust version of ddnet takes 30 minutes on my vps xD
13:25
and you cry about few mins
Avatar
ws-client BOT 2024-09-07 13:33
<ChillerDragon> it does take a lot of time to build ddnet yes but at least it does not take up 100% cpu and render the entire vps unusable
Avatar
Jupstar ✪ 2024-09-07 13:33
ah you mean bcs it uses parallel commands
13:33
maybe you can tell cmake to be more gentle instead of just spamming all cmds at once
Avatar
ws-client BOT 2024-09-07 13:34
<ChillerDragon> imo it should be a bit more chill by default
13:35
<ChillerDragon> meh 400mb ram cant run a ddnet client?
Avatar
Avatar
ws-client
<ChillerDragon> imo it should be a bit more chill by default
Jupstar ✪ 2024-09-07 13:35
contribute to cmake
13:36
i don't like if ddnet adds workarounds for everything
Avatar
Avatar
ws-client
<ChillerDragon> meh 400mb ram cant run a ddnet client?
Jupstar ✪ 2024-09-07 13:36
should be enough
13:36
well except if u load textures
13:36
you should downscale all to 1x1
13:36
ah wait
13:36
better use 32x32
Avatar
ws-client BOT 2024-09-07 13:36
<ChillerDragon> how?
Avatar
Jupstar ✪ 2024-09-07 13:37
am i bash god, or are you?
Avatar
ws-client BOT 2024-09-07 13:37
<ChillerDragon> you mean go to data dir and edit stuff like skins and mapres?
Avatar
Jupstar ✪ 2024-09-07 13:37
yes
Avatar
ws-client BOT 2024-09-07 13:37
<ChillerDragon> can i not just delete them
Avatar
Jupstar ✪ 2024-09-07 13:37
I guess our client even supports that
13:37
But if not, don't make a pr
Avatar
ws-client BOT 2024-09-07 13:38
<ChillerDragon> im trying to launch ddper on my secure sanboxed vps
Avatar
Jupstar ✪ 2024-09-07 13:38
k
13:39
but pls dont contribute ddper bridge
13:39
thanks
Avatar
ws-client BOT 2024-09-07 13:39
<ChillerDragon> meh deleting the data folder segfaults
13:39
<ChillerDragon> @Jupstar ✪ cant make any promises
13:39
<ChillerDragon> gotta support those persian protocols
Avatar
Jupstar ✪ 2024-09-07 13:40
i'd laugh now if i wouldn't know you could be serious about it
Avatar
ws-client BOT 2024-09-07 13:40
<ChillerDragon> xd
Avatar
ws-client BOT 2024-09-07 13:53
<ChillerDragon> jopsti sos ddpersian client segfaults
Avatar
Jupstar ✪ 2024-09-07 13:53
install validation layers & start with "dbg_gfx 4"
13:54
is your VPS using a recent OS?
Avatar
ws-client BOT 2024-09-07 13:54
<ChillerDragon> aaaa
13:54
<ChillerDragon> im in
Avatar
Jupstar ✪ 2024-09-07 13:54
hacker
Avatar
ws-client BOT 2024-09-07 13:54
<ChillerDragon> ez gfx_backend OpenGL
Avatar
Jupstar ✪ 2024-09-07 13:54
illegal
Avatar
ws-client BOT 2024-09-07 13:54
<ChillerDragon> no i use debian 11 because ddper does not run on debian 12 xd
Avatar
Jupstar ✪ 2024-09-07 13:55
yeah i think lavapipe in debian11 was broken for me too
Avatar
ws-client BOT 2024-09-07 13:55
<ChillerDragon> is ssh -X xrdp even a secure sanbox?
13:55
<ChillerDragon> i got ddper client gui on my main desktop now xd
Avatar
Jupstar ✪ 2024-09-07 13:56
hackerboi
13:56
compile to WASM, then u safe af
13:56
run in browser
Avatar
ws-client BOT 2024-09-07 13:57
<ChillerDragon> 2024-09-07 13:57:22 I chatresp: No such command: connect.
13:57
<ChillerDragon> persian moment
Avatar
ws-client BOT 2024-09-07 14:05
<ChillerDragon> oh cmn the fakin servers dont answer me
14:06
<ChillerDragon> @TacTic help i cant connect
Avatar
Avatar
ws-client
<ChillerDragon> is ssh -X xrdp even a secure sanbox?
you're still exposing your entire environment to the application through this
Avatar
ws-client BOT 2024-09-07 14:14
<ChillerDragon> opsi
14:15
<ChillerDragon> really? @meloƞ i mean it loads all the ddnet configs etc from the vps not from my machine
Avatar
you're running the client on your vps like a normal application - so instead of running it on your main machine you're running it in your vps, so you "theoretically" still expose your vps to the client in one way or another
Avatar
ws-client BOT 2024-09-07 14:16
<ChillerDragon> oh yes the vps is fully exposed but not my laptop right?
14:16
ssh is secure
Avatar
ws-client BOT 2024-09-07 14:16
<ChillerDragon> well i mean i used ssh -X and xrdp so it spawned a gui on my laptop
14:16
<ChillerDragon> idk what black magic that was
14:17
<ChillerDragon> the vps was a fresh server only to launch the client. I burned some digitalocean coins for that stunt.
Avatar
remote desktop protocol
Avatar
ws-client BOT 2024-09-07 14:17
<ChillerDragon> Total disappointment that the servers did not respond
Avatar
ws-client BOT 2024-09-07 14:18
<ChillerDragon> yo @meloƞ go try on windows
Avatar
absolutely fucking not (edited)
14:18
kekw
Avatar
ws-client BOT 2024-09-07 14:18
<ChillerDragon> pusi
Avatar
????
14:18
dual boot windows
14:18
gigachad
Avatar
ws-client BOT 2024-09-07 14:19
<ChillerDragon> me?
Avatar
dont play on it if it requires a specific client
Avatar
virtualize it
Avatar
problem fixed
Avatar
ws-client BOT 2024-09-07 14:19
<ChillerDragon> @meloƞ hmm how hard is that?
14:19
<ChillerDragon> running a windows vm on debian
14:19
<ChillerDragon> do i need to buy windows?
Avatar
takes like 3 minutes
Avatar
ws-client BOT 2024-09-07 14:19
<ChillerDragon> woah nice
Avatar
it's as easy as installing debian on windows with virtualbox
Avatar
+ the downloading of the .iso
Avatar
ws-client BOT 2024-09-07 14:20
<ChillerDragon> does windows even leak the iso?
Avatar
ws-client BOT 2024-09-07 14:20
<ChillerDragon> so virtualbox u say?
Avatar
VMware, virtualbox, kvm
14:20
you name it
Avatar
ws-client BOT 2024-09-07 14:20
<ChillerDragon> which should i use xd
Avatar
whichever u want
14:20
are u on mac
Avatar
ws-client BOT 2024-09-07 14:20
<ChillerDragon> debian
Avatar
do u have secure boot
Avatar
ws-client BOT 2024-09-07 14:21
<ChillerDragon> dont think s
Avatar
use virtualbox
Avatar
ws-client BOT 2024-09-07 14:21
<ChillerDragon> k
Avatar
cuz virtualbox sux with secure boot, I mean u'll have to sign the modules at each boot
14:21
also vmware, since they got bought by Broadcom, sux, u need to search the installers on google (edited)
Avatar
ws-client BOT 2024-09-07 14:22
<ChillerDragon> virtualbox is propiratary justatest
🏴‍☠️ 1
14:22
<ChillerDragon> vmware too
Avatar
it's opensource
Avatar
then use kvm/qemu
14:23
:reeeeeee:
Avatar
where did u find that, what's the link
Avatar
ws-client BOT 2024-09-07 14:23
<ChillerDragon> omagwd there is GNOME BOXES
Avatar
bro that's written "extra"
14:24
u don't even need it bru
Avatar
ws-client BOT 2024-09-07 14:26
<ChillerDragon> ok im stoopid xd
Avatar
GitHub BOT 2024-09-07 14:52
I tried to reproduce #8899 but with Vulkan it crashes already when starting the demo rendering when the first frame is rendered. ``` ================================================================= ==18108==ERROR: AddressSanitizer: memcpy-param-overlap: memory ranges [0x7265ea8a5908,0x7265ea8a6a10) and [0x7265ea8a5940, 0x7265ea8a6a48) overlap #0 0x726652a3a1ed in __interceptor_memcpy ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:827 #1 0x6405e...
Avatar
MilkeeyCat 2024-09-07 14:56
@zhn can you time him out 😬?
Avatar
GitHub BOT 2024-09-07 14:58
The delete ms_pCurrentVideo deletes the current video instance (this) so the subsequent write to m_Stopped was invalid. Closes #8899.

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 ph...
15:19
c89509b Add icon button to open console in bottom right of start menu - Robyt3 3d30ce4 Merge pull request #8817 from Robyt3/Client-Start-Menu-Console - def-
Avatar
struggling with git 😂
Avatar
Avatar
kebs
struggling with git 😂
kek need help ?
Avatar
solved
16:00
i had to revert fork and it closed the pr
Avatar
Avatar
MilkeeyCat
@zhn can you time him out 😬?
i wuznt here
16:06
what happened
Avatar
Jupstar ✪ 2024-09-07 16:27
Today I learned another c shenanigan. If you memcpy where src == dst. it's not UB but if src and dst overlap it is BUT IT IS WRONG: (edited)
16:29
Interestingly it's hard to find evidence for that. but asan & ubsan decided so
16:29
@Learath2 where in the spec can you explain this?
Avatar
GitHub BOT 2024-09-07 16:32
fixes #8912 Only tested by removing the if, since I don't have a pitch that isn't equal to the width

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
  • [ ...
Avatar
Avatar
Jupstar ✪
@Learath2 where in the spec can you explain this?
Mh, it should be completely insane. s1 and s2 are restrict. Maybe ubsan is wrong?
Avatar
Avatar
Learath2
Mh, it should be completely insane. s1 and s2 are restrict. Maybe ubsan is wrong?
Jupstar ✪ 2024-09-07 16:34
That could be the reason too yeah, but would be surprising
Avatar
Jupstar ✪ 2024-09-07 16:34
as if they dont have tests for that
Avatar
Avatar
MilkeeyCat
Click to see attachment 🖼️
Jupstar ✪ 2024-09-07 16:34
yes, but i checked it with asan & ubsan
16:34
so maybe there is a hidden extra detail somewhere on page 55434324 where it says in font size 1 that if they are equal it's fine
Avatar
Avatar
Jupstar ✪
as if they dont have tests for that
They actually might have forgor that specific case since it's an edge case?
Avatar
Jupstar ✪ 2024-09-07 16:35
I could imagine past me tested the code exactly like that
Avatar
Have you enabled all warnings?
Avatar
Avatar
Learath2
Have you enabled all warnings?
Jupstar ✪ 2024-09-07 16:35
Yes and if i only add 1 byte difference to it, it also crashes
Avatar
GitHub BOT 2024-09-07 16:36
9e0ba8a Fix heap-use-after-free in CVideo::Stop - Robyt3 11fd820 Merge pull request #8913 from Robyt3/Video-Stop-ASAN-Fix - Jupeyy
Avatar
Well idk any exception, and restrict clearly disallows those referring to the same object in anyway
Avatar
Jupstar ✪ 2024-09-07 16:37
tja
16:37
I wait for ryo to say it
Avatar
If you wanna know for certain check in ##c on libera irc
16:38
There are some big c wizards there
16:38
I learned my C by being berated and insulted on there
Avatar
Jupstar ✪ 2024-09-07 16:39
Ah perfect
16:39
that totally motivates me to install a libera client
Avatar
Do you actually not have an irc client?
16:40
Do you not want to be called a retard?
Avatar
Jupstar ✪ 2024-09-07 16:40
I really don't have irc
16:40
i am huge GUI enjoyer
16:41
give me a vulkan enhanced irc with webrtc voice chat using 500MB ram
16:41
and i am in
Avatar
MilkeeyCat 2024-09-07 16:41
it also has to use electron
Avatar
Avatar
Jupstar ✪
I wait for ryo to say it
idk tbh this is more a libc wrapper impl detail is it not?
16:59
Copies count * size_of::() bytes from src to dst. The source and destination must not overlap.
Avatar
Avatar
Ryozuki
idk tbh this is more a libc wrapper impl detail is it not?
Jupstar ✪ 2024-09-07 17:00
ubsan shouldn't care about the actual implementation for std function IMO. So even if it's not a c thing, ubsan should still detect it
Avatar
Avatar
Jupstar ✪
Today I learned another c shenanigan. If you memcpy where src == dst. it's not UB but if src and dst overlap it is BUT IT IS WRONG: (edited)
how isn't that UB when they overlap 100% ?
Avatar
Avatar
Chairn
how isn't that UB when they overlap 100% ?
Jupstar ✪ 2024-09-07 17:00
i dunno why ubsan cannot detect it, maybe the memcpy has a check for ptr equally and skips the whole function
Avatar
or it just copies and given they are equals, it's an idempotent function call
Avatar
Jupstar ✪ 2024-09-07 17:02
i mean the asan warning is literally called memcpy-param-overlap
17:02
how can they not add a test for that then
Avatar
then asan is wrong
Avatar
@Jupstar ✪ i guess ubsan is not at rust level Cool
Avatar
Avatar
Chairn
then asan is wrong
Jupstar ✪ 2024-09-07 17:02
possible, but would be just as insane as c allowing it xd
Avatar
the funny thing is the memcpy intrinsic in llvm is a c call
Avatar
Jupstar ✪ 2024-09-07 17:03
@Ryozuki llvm contributor
17:03
when fix that bug
Avatar
but there is a memcpy inline intrinsic
17:03
but it only works with stack allocated arguments iirc
17:03
@Jupstar ✪ i only contributed to MLIR project in llvm
17:04
tbh i dont care about ubsan or asan or tsan
17:04
cuz the fix for that is Rust
17:04
gigachad
17:06
GitHub Gist: instantly share code, notes, and snippets.
17:06
@Jupstar ✪ depends on the size of the buffer
17:07
it does different routines
17:08
i think the most efficient is using rep
Avatar
MilkeeyCat 2024-09-07 18:29
@Learath2 I dided it 🥹 i can use types which are declared after the place where they are used
18:30
now there're two functions which go thru ast, first one checks if all symbols exist and second one checks variables types
greenthing 1
18:31
aaaand when I used Foo as type for field lol in struct Foo stack overflowed santatrollet (edited)
kek 1
Avatar
MilkeeyCat 2024-09-07 18:51
it feels so goood
19:01
@Learath2 they used arch in evangelion
Avatar
GitHub BOT 2024-09-07 19:15
3595b70 Add another row to do the copying for presented images in when pitch is bigger than width - Jupeyy a865354 Merge pull request #8914 from Jupeyy/pr_cpy_into_fake_buffer - Robyt3
Avatar
GitHub BOT 2024-09-07 19:45
The macro __ARM_ARCH is defined both for 32-bit and 64-bit ARM so it cannot be used to identify ARM64. Now __ARM_ARCH_ISA_A64 is used instead, which should only be defined for ARM64. This caused a warning due to the macro CONF_ARCH_STRING being redefined when compiling for Android. Furthermore, support for detecting big-endian ARM64 with the __ARM_BIG_ENDIAN macro is added. See https://developer.arm.com/documentation/dui0774/g/chr1383660321827

Checklist

  • [ ] Tested the ch...
Avatar
Avatar
Jupstar ✪
Today I learned another c shenanigan. If you memcpy where src == dst. it's not UB but if src and dst overlap it is BUT IT IS WRONG: (edited)
is it useful huh
Avatar
Avatar
zhn
is it useful huh
Jupstar ✪ 2024-09-07 19:56
it's useful to know that ubsan & asan are not always right xd
19:57
bcs this IS ub
Avatar
AddressSanitizer is not expected to produce false positives. If you see one, look again; most likely it is a true positive!
Avatar
Avatar
Jupstar ✪
bcs this IS ub
the most useless ub ever
20:00
its still an ub though
20:00
just no-op
Avatar
Jupstar ✪ 2024-09-07 20:02
yeah but that is the question with ub.. is it always noop^^?
Avatar
Avatar
Robyt3
AddressSanitizer is not expected to produce false positives. If you see one, look again; most likely it is a true positive!
Jupstar ✪ 2024-09-07 20:03
but does that mean it is allowed to not produce true positives xdd
Avatar
ask the compiler :p
20:03
they decide what they do with ub
Avatar
Jupstar ✪ 2024-09-07 20:03
is not generating a true positive also a false positive
Avatar
If an error is not reported by asan it would be a false negative
20:04
Consider the code below. No error is shown when I compile and run it with address sanitizer. But there should be an error right i.e assigning/accessing out of bounds memory location? Why doesn't ad...
Avatar
Avatar
Jupstar ✪
Today I learned another c shenanigan. If you memcpy where src == dst. it's not UB but if src and dst overlap it is BUT IT IS WRONG: (edited)
That seems very obvious to me, shouldn't it?
20:20
Depending on how it overlaps it might work and might not. Depending on what memory gets read and written first
20:20
But if it's copying from and to the same memory it should always work
Avatar
Jupstar ✪ 2024-09-07 20:20
theoretically yes, but the post is about that ubsan didnt detect it as ub
20:20
which it should
Avatar
Ahhhhh
20:21
Sorry didnt read the whole convo
Avatar
GitHub BOT 2024-09-07 21:22
8e45d0a Fix redefinition of CONF_ARCH_STRING for ARM architectures - Robyt3 337d5c7 Merge pull request #8915 from Robyt3/Base-Detect-ARM-Redefinition-Fix - def-
Avatar
Avatar
Jupstar ✪
Today I learned another c shenanigan. If you memcpy where src == dst. it's not UB but if src and dst overlap it is BUT IT IS WRONG: (edited)
how can you have src == dst without them overlapping?
Avatar
Jupstar ✪ 2024-09-07 23:05
Philosophically that is a interesting question. Do two parallel lines intersect if they are equal. xddd (edited)
23:05
no that was just an observation that ubsan doesnt find that case
Avatar
do you mean src and dst as pointers or the actual data?
Avatar
Jupstar ✪ 2024-09-07 23:07
it's the two pointers poiting to the same data
Avatar
Avatar
Jupstar ✪
Interestingly it's hard to find evidence for that. but asan & ubsan decided so
Jupstar ✪ 2024-09-07 23:07
i hope u read this
23:07
bcs this topic is simply about ubsan not reporting this, which is very likely a bug in ubsan
Avatar
I don't understand how you can have two pointers that point to the same memory and then not have it overlap if you copy from one to the other?
23:08
is that the bug?
23:09
you wrote it like src == dst is fine unless they overlap
Avatar
Avatar
Tater
is that the bug?
Jupstar ✪ 2024-09-07 23:10
it probably is a bug yes.
Avatar
Avatar
Jupstar ✪
it probably is a bug yes.
yeah but you can clarify what you meant by
a. If you memcpy where src == dst. it's not UB b. but if src and dst overlap it is
How can you have a without b? I think b is always true given a
Avatar
Avatar
Tater
yeah but you can clarify what you meant by
a. If you memcpy where src == dst. it's not UB b. but if src and dst overlap it is
How can you have a without b? I think b is always true given a
Jupstar ✪ 2024-09-07 23:21
yeah that is the whole point
23:22
this is why ubsan probably contains a bug
Avatar
how did you even figure this out tho
Avatar
Jupstar ✪ 2024-09-07 23:23
we had a overlapping bug in ddnet depending on the pitch size vs width in resolution for the video encoding process
23:23
robyte apparently had a non divisible by 4 resolution, i never tested it with that. I found a different bug, reported that. Robyte tried to reproduce and found this
23:23
i remove the if where it checked against the width and still didnt get his bug
23:24
bcs ptr == dst, bcs width == pitch
23:24
the code tried to repack itself without alignment, which was wrong anyway
23:24
but i'd probably never have found it bcs ubsan also didnt report this bug xD
Avatar
so what does ubsan even check for? it checks for src==dst but not for overlap?
Avatar
Jupstar ✪ 2024-09-07 23:26
i dunno why it didnt catch this one. i assume they simply rely on the memcpy impl, and if the memcpy impl does a src == dst check to skip the copying it might never trigger
23:26
or whoever added the check was drunk xd
23:27
the ubsan check
Exported 445 message(s)
Timezone: UTC+0