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 2025-01-27 00:00 and 2025-01-28 00:00
Avatar
GitHub BOT 2025-01-27 00:14
This fix prevents duplicate entries by rechecking if a LAN server with the same IP and port already exists. Since running two servers on the same IP and port is impossible, duplicates are most likely bridge servers. The recheck is applied only to 0.7 servers, as 0.6 packets should be received first Before: !image After: ![image](https://github.com/user-attachments/assets/0a8e0299-96e5-4ae2-a757-693528...
Avatar
GitHub BOT 2025-01-27 00:56
Fixes #9517 Maybe fixes #9586 Keeps infjump enabled by default for backward compatibility. However, it unfortunately breaks prediction for 18.7 - 18.9 clients if infjumps are disabled with invincible enabled - the sound and jump particles play but the player doesn't jump (no rubberbanding) I think it's fine as it doesn't affect gameplay and the feature is rarely used.

Checklist

  • [x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in com...
Avatar
ohhhh this is really annoying apperantly std::size() doesn't produce an int but instead a size_t and now it wont compile because its rather having to compate an int to a size_t in the for loop, or in the segment right below it if I change i to a size_t and chatgpt says to use static_cast<int> on the for loop part, which doesn't seem clean at all how do i do this properly? for context: what's being compared is a static const char s_apAutoMapReferenceButtonNames array (edited)
Avatar
fuck it im static_casting it and if github yells at me for it im gonna make myself 2 AM burritos
Avatar
Why not define i as size_t tho? (edited)
Avatar
Casting is the correct solution
06:29
or that
Avatar
Avatar
Pioooooo
Why not define i as size_t tho? (edited)
because (i - 1) == s_AutoMapReferenceCurrent is also present, which, again, would be comparing an int to a size_t if i changed it
06:30
trust me i tried
Avatar
Avatar
Tater
Casting is the correct solution
i'll take your word for it
Avatar
Idk what's the type of s_...current (edited)
Avatar
Cool bug facts! scroll up and re-read my original image
06:32
oh waitr
Avatar
Avatar
Pioooooo
Idk what's the type of s_...current (edited)
static int
06:33
dude idk why im torturing myself by trying to code this late at night
Avatar
Then maybe change that as well but idk these types don't matter I think
06:34
sorry im
06:34
really out of the loop right now. i think i might just try and rest
Avatar
is this normal by the way
Avatar
Avatar
Hecta
ohhhh this is really annoying apperantly std::size() doesn't produce an int but instead a size_t and now it wont compile because its rather having to compate an int to a size_t in the for loop, or in the segment right below it if I change i to a size_t and chatgpt says to use static_cast<int> on the for loop part, which doesn't seem clean at all how do i do this properly? for context: what's being compared is a static const char s_apAutoMapReferenceButtonNames array (edited)
use sizeof()
Avatar
Avatar
ReiTW
have you port forwarded on ur router ?
Yes, the ports are open, I tried to run a server from another provider with the same PC and everything works, then I talked to my provider, we checked that everything is open and there are no restrictions. I was told that the restrictions can only be on your side, and can you check my IP address?
Avatar
Avatar
zhn
use sizeof()
isnt that just for vector types?
Avatar
194.28.194.157
Avatar
Avatar
Hecta
isnt that just for vector types?
vector? sizeof is for arrays and type sizes
07:05
i just see a in notation, has to be an array then
Avatar
GitHub BOT 2025-01-27 07:22
Hello, the server does not start with an error on ports. I have 2 PCs (Linux and Windows), both have the same error. I have a white IP, ports on the router and in the firewall are open, I tried setting DNS to 1.1.1.1, did not help. I took my PC to a friend, he has a different provider, there the server starts and works without problems. Also, in my other games, servers start and work, this problem only with DDNet. I thought that the restrictions could be from the provider, but no, they checke...
Avatar
Avatar
Hecta
ohhhh this is really annoying apperantly std::size() doesn't produce an int but instead a size_t and now it wont compile because its rather having to compate an int to a size_t in the for loop, or in the segment right below it if I change i to a size_t and chatgpt says to use static_cast<int> on the for loop part, which doesn't seem clean at all how do i do this properly? for context: what's being compared is a static const char s_apAutoMapReferenceButtonNames array (edited)
wait using chatgpt?
Avatar
Avatar
Hecta
ohhhh this is really annoying apperantly std::size() doesn't produce an int but instead a size_t and now it wont compile because its rather having to compate an int to a size_t in the for loop, or in the segment right below it if I change i to a size_t and chatgpt says to use static_cast<int> on the for loop part, which doesn't seem clean at all how do i do this properly? for context: what's being compared is a static const char s_apAutoMapReferenceButtonNames array (edited)
static_cast is ok
07:27
but its cleaner to do the cast inside the body
07:27
and have i as size_t
07:27
imho
Avatar
Avatar
Ryozuki
struct A { a: i32, b: i32, } impl A { pub fn hello(&self, other: i32) -> i32 { return self.a * other; } pub fn set_a(&mut self, value: i32) { self.a = value; return; } } pub fn main() -> i32 { let mut x: A = A { a: 2, b: 3, }; x.set_a(4); return x.a; } this compiles in the lang im making at work
MilkeeyCat 2025-01-27 07:29
Yo, is this compiler open source?
Avatar
ill dm u since its work i dont want to share too much xd
Avatar
Avatar
Ryozuki
wait using chatgpt?
i hated doing it and i got a better answer by asking here anyways
Avatar
The MakeVersion function dates back to at least 72c06a2 but it seems obsolete and broken in its current state. The function call MakeVersion(1, *pTilemapItem) currently returns the version number 6...
Avatar
Avatar
zhn
use sizeof()
eh sizeof is more bug prone
Avatar
thx, how did I miss that one o.o
08:20
0558db2 Display ninja bar in 0.7 servers (DDNet style) - Bamcane c541d80 Refactor server's client address functions, handle debug dummies - Robyt3 15be6fe Merge pull request #9591 from Robyt3/Server-Debug-Dummy-Address - edg-l 97f21c9 Merge pull request #9577 from Bamcane/client-ninjabar7 - edg-l
08:26
b8ad945 Fix out-of-bounds reads during dummy connecting - Robyt3 76ac425 Merge pull request #9264 from Robyt3/Client-Dummy-Id-Checks - edg-l
Avatar
well im done for today
08:33
08:33
justatest
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
thx
Avatar
Koll Potato 2025-01-27 08:35
the goat
08:35
almost less than 90 prs left
Avatar
GitHub BOT 2025-01-27 08:36
e5b8140 Move NUM_TUNEZONES enum to protocol - Matodor 91a8350 Add m_TuneZoneOverride to DDNetCharacter net obj - Matodor d3b7476 Implemented m_TuneZoneOverride support - Matodor d0c88ca Fix style - def- 9e376be Merge pull request #8959 from Matodor/pr_character_tune_zone_override - edg-l
👍 1
Avatar
Koll Potato 2025-01-27 08:41
hell yeah
Avatar
GitHub BOT 2025-01-27 08:45
8879345 Refactor rcon command sending - Robyt3 a8f3c5f List available maps as console arguments for sv_map/change_map - Robyt3 5498e64 Merge pull request #9097 from Robyt3/Maplist - edg-l
Avatar
GitHub BOT 2025-01-27 08:53
a4ed85e Translate greensward skin in sixup server bridge - ChillerDragon 0573d7d Merge pull request #8866 from ChillerDragon/pr_sixup_greensward - edg-l
08:56
887dab1 Remove obsolete and broken MakeVersion function for map items - Robyt3 ea7a4ab Merge pull request #9235 from Robyt3/Editor-Map-MakeVersion-Cleanup - Patiga
Avatar
Avatar
Koll Potato
almost less than 90 prs left
poggers2 2
Avatar
GitHub BOT 2025-01-27 09:05
6229802 Add antiping_percent and repurpose antiping_limit - JSaurusRex 9f306fc Merge pull request #8375 from JSaurusRex/partialAntiping - edg-l
Avatar
Koll Potato 2025-01-27 09:06
ddnet 2.0 coming next week with those amounts of prs closed (edited)
Avatar
ChillerDragon BOT 2025-01-27 09:27
#ryo4president
09:28
@Ryozuki dont forget this one before u rq :D https://github.com/ddnet/ddnet/pull/9263
Closes #9229 I tested a little with sv_kill_delay 0 and tune laser_fire_delay 0 but would appreciate if someone more experienced can confirm it won&#39;t break anything Checklist Tested the c...
09:29
merging @Matodor pr was kinda ballsy i have the feeling we will regret bloating snaps as soon as 128 lands
Avatar
chillerdragon BOT 2025-01-27 09:31
Aren’t we already at 19.0 ? Xd
Replying to @Koll Potato ddnet 2.0 coming next week with those amount of prs closed
Avatar
is there any easy way of getting the next word in a string w/ quotes
Avatar
Avatar
ChillerDragon
merging @Matodor pr was kinda ballsy i have the feeling we will regret bloating snaps as soon as 128 lands
why? this field does not change, it will not generate snap deltas data
Avatar
chillerdragon BOT 2025-01-27 09:32
Oh true
09:33
I don’t remember if the max snap sizes are deltas or the unpacked ones
Avatar
Koll Potato 2025-01-27 09:34
ChillerDragon: to me ddnet is 0.6 xD
Avatar
Thank you @Ryozuki !
09:34
I'm only getting more busy it seems, so I'm very happy with everyone reviewing and merging PRs
Avatar
chillerdragon BOT 2025-01-27 09:35
lol true
Replying to @Koll Potato ChillerDragon: to me ddnet is 0.6 xD
Avatar
MilkeeyCat 2025-01-27 09:35
I can also press merge button santatrollet
Avatar
chillerdragon BOT 2025-01-27 09:35
Give merge rights and I’ll merge all my prs
Replying to @deen I'm only getting more busy it seems, so I'm very happy with everyone rev…
09:35
Haha catto same thought
09:35
Heinrich panicing right now
Avatar
Jupstar ✪ 2025-01-27 09:53
There is a difference in merging and thinking about the pr, reviewing it and then merging
09:53
So I really dunno what you are celebrating chiller
Avatar
GitHub BOT 2025-01-27 09:55
148f4d0 Separate infjump and invincible - KebsCS fb8ea35 Merge pull request #9593 from KebsCS/pr-separate-infjump-invincible - def-
Avatar
Avatar
ChillerDragon
@Ryozuki dont forget this one before u rq :D https://github.com/ddnet/ddnet/pull/9263
i looked at it but i need to test it before i merge smth like that
Avatar
Avatar
deen
Thank you @Ryozuki !
thanks! :D
Avatar
Avatar
Jupstar ✪
There is a difference in merging and thinking about the pr, reviewing it and then merging
are u implying smth here <.<
Avatar
Avatar
Ryozuki
are u implying smth here <.<
Jupstar ✪ 2025-01-27 10:02
Yes, that I don't want chiller to merge his chillerbot prs xD
10:02
himself
Avatar
ah xD
Avatar
if(!Error) { *pDst = '\0'; pStr++; for(Victim = 0; Victim < MAX_CLIENTS; Victim++) { if(Server()->ClientIngame(Victim) && str_comp(pName, Server()->ClientName(Victim)) == 0) { break; } } }
Avatar
chiller i merged ur pr about ur skin 0.7 thing
10:03
idk if u noticed
Avatar
Avatar
Solly
if(!Error) { *pDst = '\0'; pStr++; for(Victim = 0; Victim < MAX_CLIENTS; Victim++) { if(Server()->ClientIngame(Victim) && str_comp(pName, Server()->ClientName(Victim)) == 0) { break; } } }
what does this code do, it looks like nothing happens
Avatar
greensward
Avatar
Jupstar ✪ 2025-01-27 10:03
such a chiller pr xD
Avatar
Avatar
Solly
if(!Error) { *pDst = '\0'; pStr++; for(Victim = 0; Victim < MAX_CLIENTS; Victim++) { if(Server()->ClientIngame(Victim) && str_comp(pName, Server()->ClientName(Victim)) == 0) { break; } } }
Jupstar ✪ 2025-01-27 10:04
lol, where is that from
Avatar
Avatar
Jupstar ✪
lol, where is that from
gamecontext.cpp whisper
Avatar
Avatar
Solly
if(!Error) { *pDst = '\0'; pStr++; for(Victim = 0; Victim < MAX_CLIENTS; Victim++) { if(Server()->ClientIngame(Victim) && str_comp(pName, Server()->ClientName(Victim)) == 0) { break; } } }
it sets pDst to a null char, increments pstr pointer, for all clients if the clientt is ingame and their name is the same as pName stop the loop (edited)
Avatar
get the first part
10:04
why the loop
Avatar
yeah im wondering
10:05
xd
Avatar
clientingame and clientname have no sideeffects
10:05
kinda makes it hard to move it to a function (cu zi wana use it)
Avatar
Jupstar ✪ 2025-01-27 10:05
just casually wasting some CPU cycles
Avatar
surely the compiler cna tell thats silly
10:05
Victim
10:05
is defined outside the loop
Avatar
so its a loop t oget victim
10:05
victim id
Avatar
Jupstar ✪ 2025-01-27 10:05
ryo best reviewer EU
Avatar
monkalaugh Ryo purposely going to back to 88 - as all things should be alligned, fix it to be 666 issues ty
Avatar
it happens only if !error and at the end
10:06
so
10:06
im gonna move it
Avatar
Avatar
Jupstar ✪
ryo best reviewer EU
thats robyt tbh his reviews are rly nice
10:07
but thats cuz he has all the codebase in his mind
10:07
so he knows those smol details
Avatar
Jupstar ✪ 2025-01-27 10:07
true
Avatar
its our senior dev
10:07
kek
10:07
chiller is the junior dev pushing all the weird features cuz it improves
KEKW 1
10:07
kek
Avatar
Jupstar ✪ 2025-01-27 10:08
xDDD
Avatar
hey sorry but my NEW editor released in 2025 ships an AI LSP server, which tells me that THIS function should rather be a for loop (edited)
Avatar
Avatar
Solly
is there any easy way of getting the next word in a string w/ quotes
iirc there is a word method in str_
10:10
it allows u to get n words
Avatar
that doesnt od quotes does it?
Avatar
idk
Avatar
and the bit in server doesnt use anything
10:11
so im stealing that so 1. segfaults cant be blamed on me for writing string manip in c 2. i dont have to write it 3. it acts the same
Avatar
my little pr casually g etting 43 comments
Avatar
me when
Avatar
Avatar
Ryozuki
my little pr casually g etting 43 comments
is that a feature discussion or actual code review tho - remember chillers 0.7 compatibility PR? kekw
Avatar
@Learath2 if u can change ur changes requested review its fixed https://github.com/ddnet/ddnet/pull/9567 (edited)
Quick fix of #9566 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 (espec...
Avatar
chillerdragon BOT 2025-01-27 10:31
I did notice! Thanks a lot
Replying to @Ryozuki chiller i merged ur pr about ur skin 0.7 thing
Avatar
I wondered why #9594 didn't be replied, then I viewed it. And my brain was going to burn
Avatar
Hello, the server does not start with an error on ports. I have 2 PCs (Linux and Windows), both have the same error. I have a white IP, ports on the router and in the firewall are open, I tried set...
Avatar
chillerdragon BOT 2025-01-27 10:32
I am celebrating that stuff gets in I wanted in. And I was confident it’s good. Also I don’t think ryo just clicks merge without looking.
Replying to @Jupstar ✪ So I really dunno what you are celebrating chiller
10:34
Ah yes ofc that was troll. You should not merge your own prs. To at least have one other person looking at it. Reflecting as an outsider and have two responsible users.
Replying to @Jupstar ✪ Yes, that I don't want chiller to merge his chillerbot prs xD
Avatar
Avatar
meloƞ
is that a feature discussion or actual code review tho - remember chillers 0.7 compatibility PR? kekw
review xd
10:46
it counts a single review comment as 1 comment
10:47
most prs were already reviewed by robyt too
10:48
and yeah ofc i reviewed them and considered if they ok, i also closed some prs without merging
10:48
and if smth fails, thats why we have rc to test bugs
10:48
and i myself play using latest main commit
10:48
which imho every dev should do
10:49
its just gentoo makes it way easier
10:49
so all devs should migrate to gentoo
KEKW 1
10:49
thanks for coming to my ted talk
Avatar
Avatar
chillerdragon
Ah yes ofc that was troll. You should not merge your own prs. To at least have one other person looking at it. Reflecting as an outsider and have two responsible users.
Jupstar ✪ 2025-01-27 10:54
now i feel guilty xd (edited)
Avatar
Avatar
Ryozuki
so all devs should migrate to gentoo
Jupstar ✪ 2025-01-27 10:55
i switch to gentoo if you precompile me every package
Avatar
MilkeeyCat 2025-01-27 10:55
chillerdragon: merge from your second github account
Avatar
I just realized that you added the collapse all button in editor! Thank you very much, you guys are the best ❤️
Avatar
/** * Gets a client from a string * * @param pStr The string to get the client from, will be moved to the end of the next word, will be modified * @param ClientId The client id to be returned, -1 for no client found * @param NameToClientId Takes a string and returns an optional client id if it is a valid client name * * @return If parsing succeeded */ template <typename NameToClientIdType> static bool GetClientFromString(NameToClientIdType NameToClientId, char *&pStr, int &ClientId) where do i put this theres no shared/chat and console does something else
♿ 2
Avatar
What for/where are you going to use it?
Avatar
Avatar
Robyt3
What for/where are you going to use it?
parsing the name infront of /whisper in client, as well as in server (edited)
11:22
i want it to show up as <tee picture> <name>: whisper content when you type /whisper bun bun hello world
♿ 1
Avatar
Avatar
Solly
i want it to show up as <tee picture> <name>: whisper content when you type /whisper bun bun hello world
Does that need console support or can it be implemented locally in chat.cpp?
Avatar
Avatar
Robyt3
Does that need console support or can it be implemented locally in chat.cpp?
console does names differently and you cant tab names (edited)
11:38
i could just have the code copied in 2 files
11:39
bruh untabbale name
11:40
@Mʎɹ シ wats ur problem x-x
Avatar
What you described looks strange
Avatar
the name parsing of chat is strange
Avatar
Parsing is strange, ye
Avatar
you cant just pass back the name as a string since /w bun bun text acts differently if "bun" is a player or otherwise if "bun bun" is a player (edited)
11:42
so you need a way of checking if a name is valid
11:42
and between server and client there isnt
11:42
and cuz captures cant be passed as fnc ptrs it needs to be templated
11:43
i dont have to use the same code for both srv/client but i dont like duplicating code
Avatar
When rich text in ddnet?
Avatar
pr it
Avatar
nah
Avatar
then until someone else does, never
Avatar
Also gif support :P
Avatar
The biggest problem you'll have with rich text is finding a format that'll make everyone happy
Avatar
I'll recode chat xd
11:46
Also UM anticheat in client and AI/math for server-side xdd
11:46
Chromium in client
Avatar
you could strip any styling on server for clients which dont support it
Avatar
Heinrich will want something standard, I think last time this was discussed he did compromise to a derivative of xml. Most other people will want something easier to use that is stateful
Avatar
xml is simple and plp know it
11:47
although its bulky
Avatar
Avatar
Learath2
Heinrich will want something standard, I think last time this was discussed he did compromise to a derivative of xml. Most other people will want something easier to use that is stateful
This working like minecraft color codes
Avatar
coul just do like <r> all this text is red <b> now its blue (which if given correct css is corrected parsed html, cuz auto closing) (edited)
Avatar
Xml is also not easy to type and requires someone to code a parser since we wanted a less bulky derivative
Avatar
You can use short codes like &r, &g, &b, ... and <#FF00AA>
👍 1
Avatar
&#f0a?
Avatar
Anyway, if you do want to give it a go, know that you'll have 1000 comments on your PR about just the format
Avatar
I'll never commit to ddnet :P
Avatar
GitHub BOT 2025-01-27 11:53
e81f257 adds a button that opens the ddnet-saves.txt file within the game for convenience - dropalways 98ccc2c Update src/game/client/components/chat.h - dropalways a1d1c7d Merge pull request #9544 from dropalways/master - heinrich5991
Avatar
Avatar
Learath2
Heinrich will want something standard, I think last time this was discussed he did compromise to a derivative of xml. Most other people will want something easier to use that is stateful
Koll Potato 2025-01-27 11:54
steal minecraft rich text xD
11:54
ah its been suggested already
Avatar
I'd guess heinrich would prefer the newer raw json text minecraft has
👎 1
Avatar
GitHub BOT 2025-01-27 11:56
4ac0507 fix: only escape route part of sv_maps_base_url - gerdoe-jr 4d0d5e8 late commit: remove aBuf duplicate - gerdoe-jr 82d8112 Merge pull request #9567 from gerdoe-jr/patch-7 - Learath2
Avatar
Avatar
Learath2
I'd guess heinrich would prefer the newer raw json text minecraft has
bulkier than xml
Avatar
Koll Potato 2025-01-27 11:56
honestly i think the ability to have bold/italic text is already huge
Avatar
i dont think youll be able to fit rainbow (in rainbow) in the chr limit
Avatar
Koll Potato 2025-01-27 11:56
and colors shouldn't be allowed to be sent by normal users
Avatar
Trackmania also has a format I think. Anyway many were suggested. An xml derivative like unity rich text was the compromise we could come down to
Avatar
Avatar
Koll Potato
and colors shouldn't be allowed to be sent by normal users
well you can alraedy send ascii art of .... anything
11:57
and probably client feature flag aswell
Avatar
Avatar
Koll Potato
honestly i think the ability to have bold/italic text is already huge
md!!!
11:58
you can do that rn?
Avatar
Koll Potato 2025-01-27 11:59
i meant to write "would" instead of "is"
11:59
sorry for disappointing xd
Avatar
Avatar
Solly
well you can alraedy send ascii art of .... anything
Koll Potato 2025-01-27 12:00
colored text can be hard to read imo
12:00
like with rainbow patterns
Avatar
if you are making ur text colored badly, i doubt its expected to be read
Avatar
Avatar
Mʎɹ シ
I'll never commit to ddnet :P
Your potential of becoming one of the best client side devs is well used somewhere else to be honest. I've seen your stuff and know what you're capable of - but the ddnet client isn't the right place, kinda makes me sad tho, IRC chat when :(
Avatar
if its not already spam
Avatar
It definitely needs to be disallowed to regular players. We experimented with giving color to normal people back in irc times and it was disgusting
Avatar
Avatar
meloƞ
Your potential of becoming one of the best client side devs is well used somewhere else to be honest. I've seen your stuff and know what you're capable of - but the ddnet client isn't the right place, kinda makes me sad tho, IRC chat when :(
Thx ❤️ Thing that limits me from working is age xd
Avatar
Avatar
Mʎɹ シ
Thx ❤️ Thing that limits me from working is age xd
Age is a mother trucker rarely coming with brakes feelsbadman
Avatar
Thats why I coding for ddnet
Avatar
Avatar
meloƞ
Age is a mother trucker rarely coming with brakes feelsbadman
Koll Potato 2025-01-27 12:09
you can do some coding side hustles
12:09
age won't limit you
Avatar
Avatar
Koll Potato
age won't limit you
Trust me, it will My dad is a tech nerd being a network technician in software for around 40 years now - he has so many projects he can't finish because of his age restriction, day to day tasks are barely manageable for him and he's "only" 60, my old man can't even stand up properly from sitting to much back then
12:12
You can see how sad he is, coding in Java with my brother and stuff isn't working because now that one thing got superseded by another and it has somewhat different syntax and he has to look at it etc Being up to date is hard the older you get
12:13
But they managed to make a checkers game with fancy visuals, and game to learn European flags to help my brother learn em for school gigachad
Avatar
Avatar
meloƞ
But they managed to make a checkers game with fancy visuals, and game to learn European flags to help my brother learn em for school gigachad
hehe
Avatar
Java is a great language, but to complicated for me
Avatar
With all due respect, I'd rather use punchcards than Java
🔥 2
🎆 1
Avatar
Avatar
meloƞ
Java is a great language, but to complicated for me
Avolicious 2025-01-27 12:47
Indeed it is
12:49
You have a lot of developers on the market available. Using modern frameworks like Spring Boot isnt that slow tho.
Avatar
Avatar
Learath2
I'd guess heinrich would prefer the newer raw json text minecraft has
Jupstar ✪ 2025-01-27 12:51
what is that? never heard about it xd
Avatar
{"text":"text", "color":"red"}
Avatar
Jupstar ✪ 2025-01-27 12:56
why even add colored text.. looks horrible
12:56
like we have 1990 xD
Avatar
for highlighting :D
Avatar
Avatar
meloƞ
Trust me, it will My dad is a tech nerd being a network technician in software for around 40 years now - he has so many projects he can't finish because of his age restriction, day to day tasks are barely manageable for him and he's "only" 60, my old man can't even stand up properly from sitting to much back then
Koll Potato 2025-01-27 12:56
i wanted to specify that young age won't limit you
Avatar
bind a say &rIM REALLY FUICKING PISSED (edited)
Avatar
Koll Potato 2025-01-27 12:56
old age is complicated
Avatar
Avatar
Solly
bind a say &rIM REALLY FUICKING PISSED (edited)
Jupstar ✪ 2025-01-27 12:56
xd
Avatar
Avatar
Jupstar ✪
why even add colored text.. looks horrible
Koll Potato 2025-01-27 12:58
it would be useful for the server messages
👍 1
12:58
clickable links also would be nice (edited)
12:58
but thats another topic
Avatar
I don't see clickable links happening. Even if using shell_execute with user-defined input was possible without vulnerability, being able to immediately open links from the client already sounds like a recipe for trouble.
f3 1
Avatar
Avatar
Koll Potato
it would be useful for the server messages
Jupstar ✪ 2025-01-27 13:14
sure but ironically solly put highlighting into italic*. and i think formatting often looks better than coloring xd the problem i meant was also more about coloring individual words. coloring lines can be ok. but when i look at these minecraft servers it often looks so cheap. In the end sending server messages is a workaround. if you'd have full access to the client would probably show it in some proper UI (edited)
Avatar
Avatar
Jupstar ✪
sure but ironically solly put highlighting into italic*. and i think formatting often looks better than coloring xd the problem i meant was also more about coloring individual words. coloring lines can be ok. but when i look at these minecraft servers it often looks so cheap. In the end sending server messages is a workaround. if you'd have full access to the client would probably show it in some proper UI (edited)
once there is formatting in any variety then we can decide what is suitable or should be allowed and by whom as a start i think bold and italic is without question (i hope) i personally dont mind having colored text, if servers want to look "cheap" thats fine by me, alot of text in the chat is hard to read without highlighting at all, idk if bold will help with that as for per word/per line i think that would be hard to implement and inforce (ah_yes_look_at_my_big_word (unicode probably has more ways to add spaces))
13:36
and infclass does something really janky to get ui but it works.. well perfectly (minus entities, but what did you expect), i dont think server msgs are that bad. im not sure what servers would want more complex ui or if id be okay with them having it (minus new gamemodes maybe)
13:37
^ that is if you can do it with srv msgs i dont see why you shouldnt if it isnt too bad (eg zcatch round starting, block countdowns to the tournaments)
Avatar
Avatar
Mʎɹ シ
I'll never commit to ddnet :P
why?
13:40
i dont think colored text in chat from players is useful
🤷 1
13:40
maybe for server messages
👍 1
Avatar
Avatar
Robyt3
I don't see clickable links happening. Even if using shell_execute with user-defined input was possible without vulnerability, being able to immediately open links from the client already sounds like a recipe for trouble.
mins adertising of certain clients and spam (bad people) i dont see the problem as long as you cant do named links. even if not, it would be nice if it could be in console with alt-click or ctrl-click like vscode
Avatar
Avatar
Ryozuki
why?
nvm i know why now
😢 1
kek 2
Avatar
expression must have pointer-to-class type but it has type "__gnu_cxx::__normal_iterator<std::vector<CNamePlatePart *, std::allocator<CNamePlatePart *>>::pointer, std::vector<CNamePlatePart *, std::allocator<CNamePlatePart *>>>::pointer" (aka "CNamePlatePart **")C/C++(131)
13:42
average cpp error
13:43
std::vector<CNamePlatePart> m_aParts = { CNamePlatePartName() }; how am i allowed to do this if CNamePlatePart is inherited from the inherited objects have a bigger size?
Avatar
average cpp error
Avatar
Jupstar ✪ 2025-01-27 13:45
@Solly r u a native speaker?
Avatar
of cpp no
13:45
of english probably
Avatar
Jupstar ✪ 2025-01-27 13:45
ok
Avatar
why x-x
13:46
oh
13:46
lmao
13:46
it looks right if you dont read the words imbetween
Avatar
Avatar
Solly
why x-x
Jupstar ✪ 2025-01-27 13:46
I just wondered if you'd call it NamePlate or Nameplate
Avatar
i was ademant that it should be NamePlate
13:46
but now im not so sure
13:46
cant just be changing it back and forth everytime i rewrite the damn thing
Avatar
Jupstar ✪ 2025-01-27 13:47
xd
Avatar
which isnt something i should be doing anyway, cut once, measure twice sorta thing
Avatar
Jupstar ✪ 2025-01-27 13:47
but i think ddnet often uses it anyway
13:47
but now that i saw it in your code snip, i thought it looks wrong
Avatar
myr hates me because of the nameplate rewrite i did
Avatar
Avatar
Jupstar ✪
but now that i saw it in your code snip, i thought it looks wrong
yeah it does to me too
13:47
but old me was adement
13:47
im writing it so u can just add parts to the nameplate
13:48
maybe eventually youll be able to do move them around
13:48
then everyones happy
13:48
apart from heinrich cuz too many config variables
Avatar
Jupstar ✪ 2025-01-27 13:49
sounds interesting
Avatar
Avatar
Solly
myr hates me because of the nameplate rewrite i did
Give me my IDs back feelsbadman
Avatar
thats what im doing
Avatar
Jupstar ✪ 2025-01-27 13:49
having nameplates be more modular sounds cool too xd
Avatar
Thanks!
Avatar
it will mean also after all extra client devs kill me for rewriting nameplates again
13:50
you should be able to just add it to the list and have it work
Avatar
Avatar
Skeith
Can we allow nameplates to go smaller? The lowest size looks like it should be the default justatest
I got something that I wanted from your update though greenthing
13:57
and you can have all the knobs and bolts turned on without
13:57
not being able to see anything
13:57
which is why ids was merged down into the same line /: but
Avatar
Avatar
Solly
it will mean also after all extra client devs kill me for rewriting nameplates again
More than a decade of being here thought me that you will just never make everyone happy
14:00
The most benignest of changes have haters. Even proper freeze prediction has haters
Avatar
Avatar
Learath2
The most benignest of changes have haters. Even proper freeze prediction has haters
how
Avatar
I'm not one of the freaks, right Lear? right?
Avatar
freaks?
greenthing 1
Avatar
Avatar
Solly
how
They miss the weird rubberbanding behaviour when you try to move
Avatar
oh that is fun
14:01
except when its other people
Avatar
I only argue for what I think is best for the game! I swear!
Avatar
could just like add that back client side only lmao
Avatar
Avatar
Skeith
I'm not one of the freaks, right Lear? right?
Usually the things you want are reasonable
feelsamazingman 1
Avatar
Name one unreasonable thing pepesmug
Avatar
Avatar
Solly
could just like add that back client side only lmao
Heinrich's distaste for config variables really makes things pretty hard. He does have a point but that stance pretty much guarantees someone will hate any given change
Avatar
I'm a firm believer that hein needs to suck it up and make good choices on that matter
Avatar
Jupstar ✪ 2025-01-27 14:05
If features would have tests and be less influencial in existing components, config vars would be less annoying to keep track of
Avatar
but if you can do things w/o config variables i agree, i think its some vein of perfectionism (like me trying to make as close to json in cpp for no reason and complaing when cpp doesnt really like type inferencing nested init lists)
14:05
tests laughs
Avatar
Avatar
Skeith
I only argue for what I think is best for the game! I swear!
cyberfighter 2 2025-01-27 14:05
mhm
Avatar
Avatar
cyberfighter 2
mhm
NAME ONE
14:06
monkaStop don't dig too deep idk what the hell I've said tbh
Avatar
Jupstar ✪ 2025-01-27 14:06
not going to xd
Avatar
missing some EzPepe
Avatar
Jupstar ✪ 2025-01-27 14:07
wtf
Avatar
cyberfighter 2 2025-01-27 14:08
abuser
Avatar
no proof
Avatar
Avatar
Skeith
Name one unreasonable thing pepesmug
I'm sure there is one. You are a teeworlds player. One of the old guard even. You have to have had atleast one eccentric opinion
Avatar
Ya gotta name one, old man
14:09
Until then, I'm HIM
Avatar
Jupstar ✪ 2025-01-27 14:09
Did you just call lea an old man
14:09
He is in his golden ages
Avatar
I said it completely ironically, I'm older than that nerd
Avatar
Jupstar ✪ 2025-01-27 14:10
ofc you are
14:10
everyone is
Avatar
Stop bullying me
Avatar
Jupstar ✪ 2025-01-27 14:10
discord is 13+ he made his acc illegally
Avatar
cyberfighter 2 2025-01-27 14:10
skeith is old
Avatar
Avatar
Jupstar ✪
Did you just call lea an old man
I'm 80, it is old
Avatar
I'm only almost 30!
Avatar
cyberfighter 2 2025-01-27 14:10
go back to bed grandpa
👴 1
🛏️ 1
Avatar
Avatar
Skeith
I'm only almost 30!
Jupstar ✪ 2025-01-27 14:11
I don't consider this old. It's more like history at this point
Avatar
I was there when they released C
Avatar
Ya I'm not really old, I do feel old sometimes though, the weedies probably don't help. 🧠 📉
Avatar
Jupstar ✪ 2025-01-27 14:12
I think you didn't get my point. I'd not call dinos old
14:12
they are history
14:12
xd
Avatar
Jupstar ✪ 2025-01-27 14:13
sadly we both know i am close to your age
Avatar
I shall continue to assume you're 40
Avatar
cyberfighter 2 2025-01-27 14:13
oh weedies
14:13
i thought weenies
gay 1
ddnet_lgbt 1
14:13
wtf
Avatar
im no longer a zoomer
👴 1
Avatar
Avatar
Skeith
I shall continue to assume you're 40
Jupstar ✪ 2025-01-27 14:15
sry to make you depressed even further, but i am still younger than you
monkaStop 1
Avatar
i think most ppl want to be 21
14:15
its the perfect age
14:15
im 24 now and 25 in 4 months
Avatar
Jupstar ✪ 2025-01-27 14:15
< 25, >= 20
Avatar
I was young on this game once, time flies
Avatar
Avatar
Ryozuki
im 24 now and 25 in 4 months
Jupstar ✪ 2025-01-27 14:16
4 months left until old
Avatar
nooo
14:16
rust makes me younger
Avatar
Jupstar ✪ 2025-01-27 14:17
every metal in this world disagrees with you
Avatar
@Jupstar ✪ its a fungus so (edited)
Avatar
average cpp error
Avatar
gcc or clang
Avatar
no clue
14:25
its cuz its a * not a []
14:25
size unknown
14:25
but theres another error on the same loop but for std::begin
14:26
oh no theres one both for each
Avatar
Disclaimers before we start For those who don’t want to read/don’t care that much, here are the results. I hope after seeing them you are compelled to read. TL;DR: I wrote a super fast phrase search algorithm using AVX-512 and achieved wins up to 1600x the performance of Meilisearch. The source code can be found here, and here is the crate. The ...
Avatar
what a title
14:29
whats with the <voldemort client> detected
14:32
ive seen that thrice now
Avatar
@Davide I consistently have to join twice on 18.8. Is that expected?
Avatar
GitHub BOT 2025-01-27 14:53
!DiscordError Happens only on win32 msvc build with -DDISCORD=ON

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
-...
justatest 1
Avatar
Requires some experiments first Checklist Tested the change ingame Provided screenshots if it is a visual change Tested in combination with possibly related configuration options Written a u...
Avatar
those 2 prs are mine and old maybe i do them again in future
Avatar
i hate cpp so muich
Avatar
i dont like rust any more
Avatar
damn... !mute Solly
Avatar
and im dislking cpp for the same reason that i dont like rust
Avatar
which is
Avatar
type shenanigans (edited)
Avatar
rust errors are way better
Avatar
i know the problem
15:13
but i dont know why its a problem
Avatar
what problem
Avatar
and i know 2 solutions, both of which are dirty and i find unwaranted
Avatar
u need to learn more then
Avatar
/home/solly/Games/ddnet/src/game/client/components/nameplates.cpp:382:10: error: no member named 'Init' in 'std::unique_ptr<CNamePlatePart>' 382 | Part->Init(This); | ~~~~~~^
15:14
Init isnt defined in the derived classes
Avatar
CNamePlatePart has no init i guess
Avatar
and it doesnt like that
15:14
it very much does
15:14
class CNamePlatePart { protected: float m_Width = 0.0f; float m_Height = 0.0f; float m_Padding = 5.0f; bool m_NewLine = false; public: virtual void Init(CGameClient &This) {};
Avatar
Jupstar ✪ 2025-01-27 15:14
Having a init function is part of the design flaw
Avatar
i can see it
Avatar
Jupstar ✪ 2025-01-27 15:14
RAII ftw
Avatar
why virtual
Avatar
i guess i can stick it in the constructor
Avatar
ws-client BOT 2025-01-27 15:14
<ChillerDragon> @heinrich5991 omg why do i even ping u
Avatar
are u overriding init somewhere in another class?
Avatar
ws-client BOT 2025-01-27 15:15
<ChillerDragon> does someone know if heinrich still uses discord?
Avatar
Jupstar ✪ 2025-01-27 15:15
he is active in vanilla discord xxd
Avatar
he reads it for sure to spy
Avatar
part -> parttext, particon parttext -> partname some override init some dont
Avatar
but he doesnt write
Avatar
ws-client BOT 2025-01-27 15:15
<ChillerDragon> maybe i should ask him there
Avatar
Avatar
Solly
part -> parttext, particon parttext -> partname some override init some dont
same applies for reset, same error
15:15
but not for render which is in every one
15:15
i can use a raw pointer but it means i have to change evry instance of Part to (*Part) and thats ugly
Avatar
hm well i forgot the exact semantics of virtual and stuff sooo
Avatar
ws-client BOT 2025-01-27 15:15
<ChillerDragon> i got ddnet repo access because i keep requesting labels. I was wondering if i should use my access only for labels or if i can use everything i can now do?
Avatar
Avatar
Ryozuki
hm well i forgot the exact semantics of virtual and stuff sooo
the class structure i think is fine
15:16
its bloody pointers
15:16
(minus i should turn init -> constructor)
Avatar
Jupstar ✪ 2025-01-27 15:16
lol you got ddnet repo access?
15:16
time to merge bro
Avatar
ws-client BOT 2025-01-27 15:16
<ChillerDragon> read only
15:16
<ChillerDragon> no merges
Avatar
kekw - imagine chiller having merge access
Avatar
@Solly just to know, did u include <memory>
Avatar
ws-client BOT 2025-01-27 15:16
<ChillerDragon> but i can close issues and reopen closed prs and add reviewers and shits
Avatar
shii would turn into ddnet 2.0 in like a week
Avatar
non, should i?
Avatar
can u try Part.get()->Init()
Avatar
Avatar
Solly
non, should i?
try it
Avatar
surely it would error w/o if needed
15:17
did nothing
Avatar
Avatar
Ryozuki
can u try Part.get()->Init()
ill try but it would seem weird that Render() works
Avatar
is Render virtual?
Avatar
Jupstar ✪ 2025-01-27 15:17
nice chiller
15:17
same as init
Avatar
Jupstar ✪ 2025-01-27 15:17
ask for merge rights too
Avatar
this is cpp specific stuff so im a bit RUSTY about it (edited)
Avatar
Jupstar ✪ 2025-01-27 15:17
gonna be funny days
Avatar
bdum tch
15:18
expression must have class type but it has type "std::__shared_ptr<CNamePlatePart, __gnu_cxx::_S_atomic>::element_type *" (aka "CNamePlatePart *")C/C++(153)
Avatar
Avatar
Ryozuki
can u try Part.get()->Init()
did u try this
Avatar
Avatar
Solly
expression must have class type but it has type "std::__shared_ptr<CNamePlatePart, __gnu_cxx::_S_atomic>::element_type *" (aka "CNamePlatePart *")C/C++(153)
t this
15:18
Part rn is an iterator
15:19
which i thought u derefence like a ptr
Avatar
wot
Avatar
(*Part).Init(This) kekw
Avatar
yeah that should do the same thing
Avatar
if its a iterator u call begin and end right (edited)
Avatar
for(auto Part = m_aParts.begin(); Part != m_aParts.end(); ++Part) Part->get().Init(This); (edited)
Avatar
Avatar
Solly
which i thought u derefence like a ptr
Koll Potato 2025-01-27 15:19
explain me in fortnite terms
Avatar
Avatar
Koll Potato
explain me in fortnite terms
ive never played fortnite ):
Avatar
what iterator?
15:19
im confused now
Avatar
Avatar
Solly
ive never played fortnite ):
Koll Potato 2025-01-27 15:19
good
Avatar
m_aParts is a vector
15:19
Part is an iterator
15:20
std::vector<theclass>::iterator
15:20
*(std::vector<theclass>::iterator*) = the class
15:20
15:20
):<
Avatar
Avatar
Solly
Click to see attachment 🖼️
hot
Avatar
Koll Potato 2025-01-27 15:21
oh shit my ddnet broke
Avatar
that.. makes sense
Avatar
Koll Potato 2025-01-27 15:21
cant run a local server
Avatar
but i hate it so much
Avatar
Koll Potato 2025-01-27 15:21
15:21
epic
Avatar
even ddnet gets ignored job applications (edited)
Avatar
Avatar
Solly
for(auto Part = m_aParts.begin(); Part != m_aParts.end(); ++Part) Part->get().Init(This); (edited)
arch1t3cht 2025-01-27 15:22
(*Part)->Init(This) is more idiomatic imo
Avatar
damn what happened to archimede!
Avatar
arch1t3cht 2025-01-27 15:22
but also you could try to rework the loop
Avatar
Avatar
arch1t3cht
(*Part)->Init(This) is more idiomatic imo
yeah but you realise i use Part like 100 times
Avatar
he became an architect without us noticing
Avatar
Avatar
meloƞ
kekw - imagine chiller having merge access
Avolicious 2025-01-27 15:22
Then I would hard fork for sure
KEKW 1
Avatar
its never null so can i just go like ah yes reference
Avatar
Avatar
meloƞ
he became an architect without us noticing
Jupstar ✪ 2025-01-27 15:22
wait they are the same person?
Avatar
Avatar
Solly
Click to see attachment 🖼️
Use a for-each loop to avoid the iterator. Variable should be named m_vpParts
Avatar
Avatar
Jupstar ✪
wait they are the same person?
that was a joke :p
Avatar
Jupstar ✪ 2025-01-27 15:23
there are so many arch*
Avatar
Avatar
Robyt3
Use a for-each loop to avoid the iterator. Variable should be named m_vpParts
arch1t3cht 2025-01-27 15:23
yeah this
Avatar
Avatar
Robyt3
Use a for-each loop to avoid the iterator. Variable should be named m_vpParts
need the iterator
15:23
since i need to loop between the start of a line (of namepalte parts) and wher ei am now
15:23
before moving onto the next line
15:23
could make a nested array but that means its harder to toggle on and off a newline (needed for id)
Avatar
Avolicious 2025-01-27 15:24
@meloƞ Chiller would break backwards comp within a few days after he has merge perms oele
BASED 1
monkalaugh 1
Avatar
not here tho ill change it to a :
Avatar
Avatar
Avolicious
@meloƞ Chiller would break backwards comp within a few days after he has merge perms oele
Jupstar ✪ 2025-01-27 15:25
whaat CHILLERDRAGON, PLEASE GET MERGE PERMISSIONS
Avatar
sticky tiles inc!
Avatar
Jupstar ✪ 2025-01-27 15:26
zoned tunes
Avatar
Avatar
Jupstar ✪
whaat CHILLERDRAGON, PLEASE GET MERGE PERMISSIONS
Avolicious 2025-01-27 15:26
But then I want proper notification if he breaks server-side stuff
15:26
because he did in the past
Avatar
Avatar
Avolicious
But then I want proper notification if he breaks server-side stuff
he'd create 3 more bots you could sub to no worries
Avatar
Jupstar ✪ 2025-01-27 15:26
written in bash
Avatar
Avatar
Jupstar ✪
written in bash
Avolicious 2025-01-27 15:28
with first-class-citizen support for archlinux
15:29
i am still wondering how he managed to get internet access without proper drivers pre-installed
Avatar
second-class degrading if you dont use a cli editor
Avatar
Avatar
meloƞ
second-class degrading if you dont use a cli editor
Avolicious 2025-01-27 15:29
https://github.com/helix-editor/helix this is actually pretty insane
Avatar
i used helix, i didnt like the way it superseded visual mode, also it's not hackable yet™️
15:30
but it's pretty good
Avatar
arch1t3cht 2025-01-27 15:30
nvim clears
Avatar
Avolicious 2025-01-27 15:30
it works pretty well on macos
15:30
so it passed the vibe test for me
15:30
and it doesnt drain your battery like vscode 😄
kek 1
15:31
zed is currently my fav. editor
Avatar
was gonna say
15:31
have you tried the editor written in the nerdy ass programming language yet?!
15:31
i myself even have a merged PR there gigachad
Avatar
Avatar
meloƞ
have you tried the editor written in the nerdy ass programming language yet?!
Avolicious 2025-01-27 15:31
which one 😮
Avatar
zed ofc
15:31
written in blazingly fast rust!
Avatar
Avolicious 2025-01-27 15:31
i am using zed at work 😄
Avatar
i love their LSP ecosystem, it just.. works
15:33
that my friend.. is a vector not a function
Avatar
damn someone sudo rm -rf'd your function :(
Avatar
what function
Avatar
Avatar
meloƞ
i love their LSP ecosystem, it just.. works
Avolicious 2025-01-27 15:33
I like their architectural choice
Avatar
is it complaining i dont have a deconstructor?
15:33
somehow
Avatar
Avatar
Solly
what function
It is a deleted function are my jokes really that bad...
Avatar
Avatar
Solly
that my friend.. is a vector not a function
Avolicious 2025-01-27 15:34
Ask CodeGeeX to fix
Avatar
it cant even write fibbonacci in python
Avatar
Avatar
meloƞ
written in blazingly fast rust!
Jupstar ✪ 2025-01-27 15:34
last time i tested it it felt super unfinished
Avatar
ive tried it just spits out the same code as u put in
15:34
its good for single line autocomplete cuz its free :)
Avatar
Avatar
Jupstar ✪
last time i tested it it felt super unfinished
Avolicious 2025-01-27 15:34
What are you using? please no vim, neovim or anything related to vi* (edited)
Avatar
Avatar
Jupstar ✪
last time i tested it it felt super unfinished
really? i enjoyed using it, tho it didnt work on NixOS because of binary LSP-Servers, and they dont yet have a proper way of defining your own
Avatar
Jupstar ✪ 2025-01-27 15:35
i use vscodium
💪 1
Avatar
super neo vi vim tm [gone sexual] (edited)
Avatar
Jupstar ✪ 2025-01-27 15:35
but i dislike the performance of it
🎄 1
Avatar
i blame your 150K LoC project with rust-analyzer trying his best to understand what the hell you're doing
Avatar
Jupstar ✪ 2025-01-27 15:36
yes
15:36
i blame rust analyzer too
KEKW 1
15:37
ok i will install and try latest version
Avatar
rustrover was scaringly good when i used it, but it's just to heavy for quick tasks
15:37
rustrover is a super heavy IDE similar to Visual Studio tho, so i dont blame them for it
Avatar
Avatar
meloƞ
rustrover was scaringly good when i used it, but it's just to heavy for quick tasks
Avolicious 2025-01-27 15:37
Do I smell a jetbrains ide fan?
Avatar
i did start c++ coding in clion ^^
Avatar
Avolicious 2025-01-27 15:38
so you are buying an apple-like ide 😄
15:38
expensive but can do the same like vscode
Avatar
i only paid like 2 months of it! - until i realised free editors are also existent and can do what i tell em to kekw
Avatar
Avolicious 2025-01-27 15:38
just kidding, jetbrains is pretty solid. Their work is pretty good tho
15:39
They have solid products
Avatar
agreed
Avatar
Avolicious 2025-01-27 15:39
DataGrip is my fav. database explorer
Avatar
but tbh i used like every editor there is until i was stuck within neovim/vsc
Avatar
Jupstar ✪ 2025-01-27 15:39
yeah still feels unfinished after 10 seconds of using it
KEKW 1
Avatar
Avatar
meloƞ
but tbh i used like every editor there is until i was stuck within neovim/vsc
Avolicious 2025-01-27 15:41
well, editors arent built for your specific use-case only, the are built for general purpose. Best example, see Jupstar... all software feels unfinished after using it... you cant make everyone happy
kek 1
Avatar
maybe that's why there are so many different editors
Avatar
Avolicious 2025-01-27 15:41
exactly
Avatar
Jupstar ✪ 2025-01-27 15:41
it's just that vscodium has so many QOL things
🦈 1
Avatar
emacs was the most fun i had in an editor in a long time, ngl. it was fun going away from hjkl
Avatar
Jupstar ✪ 2025-01-27 15:42
if i need 10 seconds to know zed is inferior then yeah
Avatar
Avatar
Avolicious
zed is currently my fav. editor
I looked at their website recently and they felt kinda sus when the main thing that they seemed to advertise was the integration of AI assistance
Avatar
Avolicious 2025-01-27 15:42
ah, there he is the AI hater
15:42
i wondered why nobody stepped in earlier
15:43
you can disable the ai integration btw (edited)
Avatar
Look, I've been a grumpy old man since I was 10 years of age
Avatar
add another comma for swag
Avatar
Software that didn't exist before I was born is too new
Avatar
Avatar
Avolicious
ah, there he is the AI hater
arch1t3cht 2025-01-27 15:44
(based)
Avatar
therefore Rust is the devil's work!
Avatar
Avatar
risu
I looked at their website recently and they felt kinda sus when the main thing that they seemed to advertise was the integration of AI assistance
arch1t3cht 2025-01-27 15:44
real
Avatar
Avatar
meloƞ
add another comma for swag
Avolicious 2025-01-27 15:44
you cant 😄
Avatar
Avatar
risu
therefore Rust is the devil's work!
may i ask your year of birth
Avatar
arch1t3cht 2025-01-27 15:44
anything advertising ai as a selling point is a turn-off for me
Avatar
Avolicious 2025-01-27 15:44
json auto linter removes it ^^
Avatar
because IIRC rust is actually like.. 20 years old
Avatar
Avatar
meloƞ
may i ask your year of birth
1999
Avatar
chapeu young man
Avatar
wdym I was born last millennium that makes me a thousand years old
Avatar
Avolicious 2025-01-27 15:46
i really enjoy yappers talking bad about ai, because they fear that ai is better at hallucination (edited)
Avatar
chillerdragon BOT 2025-01-27 15:46
Tbh me having merge rights would be boring. I wouldn’t merge much. There isn’t a lot of prs where I can confidently say I fully reviewed them.
Replying to @Jupstar ✪ gonna be funny days
Avatar
Honestly I basically haven't used anything AI ever
Avatar
chillerdragon BOT 2025-01-27 15:47
Wot when
Replying to @Avolicious because he did in the past
Avatar
Avolicious 2025-01-27 15:47
ai is just a buzzword for the next 3 years, same like the term "cloud"
Avatar
chillerdragon BOT 2025-01-27 15:47
But yes I am all in for dropping 0.6
Avatar
at least not directly interfacing with it
Avatar
Avolicious 2025-01-27 15:47
beforehand it was "serverless"
Avatar
Avatar
chillerdragon
But yes I am all in for dropping 0.6
you and learath need to merge up for ddnet 0.7 ngl
15:47
monkalaugh
Avatar
Jupstar ✪ 2025-01-27 15:47
well the performance is defs insane
15:48
i hate typescript
kek 1
15:48
slow ass
Avatar
Avatar
Jupstar ✪
well the performance is defs insane
Avolicious 2025-01-27 15:48
are you talking about zed?
Avatar
Avatar
Avolicious
are you talking about zed?
Jupstar ✪ 2025-01-27 15:48
yeah
15:48
feels quicker
Avatar
Avatar
Avolicious
beforehand it was "serverless"
this is a big big nope came down directly from the council of bad ideas
Avatar
Avatar
risu
this is a big big nope came down directly from the council of bad ideas
Avolicious 2025-01-27 15:48
i do sell this stuff to multi billion dollar companies 😄
15:48
there is no bad idea if someone pays for it
Avatar
Avatar
Avolicious
ai is just a buzzword for the next 3 years, same like the term "cloud"
arch1t3cht 2025-01-27 15:48
blockchain
Avatar
Avatar
Avolicious
there is no bad idea if someone pays for it
real pepeW
Avatar
Jupstar ✪ 2025-01-27 15:49
but zed fells almost like lapce
15:49
without debugger and shit i cannot work
Avatar
Avatar
Jupstar ✪
without debugger and shit i cannot work
never seen you use a debugger when we did shii together ngl kekw
Avatar
Avatar
Jupstar ✪
without debugger and shit i cannot work
Avolicious 2025-01-27 15:49
in rust you dont need debugging 😏
15:49
it just works
Avatar
Avatar
meloƞ
never seen you use a debugger when we did shii together ngl kekw
Jupstar ✪ 2025-01-27 15:49
i dont use it very often, but i do use it
15:49
sometimes it's easier to follow the flow
Avatar
Avatar
Avolicious
in rust you dont need debugging 😏
Jupstar ✪ 2025-01-27 15:50
gotta admit often that's true 😂
Avatar
Avatar
risu
real pepeW
Avolicious 2025-01-27 15:50
if you want to sell stuff to c-level, you better not come up with "self-hosted"
15:50
cloud is the deal
15:51
data privacy, pff to expensive
Avatar
ah ik why i ddint use a constructor, since i needed cgameclient
Avatar
Avatar
Avolicious
if you want to sell stuff to c-level, you better not come up with "self-hosted"
I'm all for not dealing with physical hardware yourself
Avatar
Avatar
Avolicious
data privacy, pff to expensive
as long as this isn't an issue of course
Avatar
Avatar
risu
as long as this isn't an issue of course
Avolicious 2025-01-27 15:52
it mostly is
15:52
to effectively build software gdpr compliant, you need to rewrite
Avatar
You need to say "enterprise grade, cloud native, web 5.0, serverless, lambda aws"
Avatar
Avolicious 2025-01-27 15:52
software built 40 years ago isnt compliant
15:53
i've seen this too often. but because the roi (return of investment) is too far, they just keep it until something happens 😄
Avatar
DefAI Web 6.0 cryptocoin ddnet meme launch when?
Avatar
Avatar
Learath2
DefAI Web 6.0 cryptocoin ddnet meme launch when?
Avolicious 2025-01-27 15:53
ask trump
15:53
he can help with memecoins
Avatar
Avatar
Learath2
DefAI Web 6.0 cryptocoin ddnet meme launch when?
i would invest 0.0000000000000000000001 btc
Avatar
I earned 60~€ from the official trump coin. Making big strides in the crypto world
Avatar
Avatar
Learath2
I earned 60~€ from the official trump coin. Making big strides in the crypto world
Avolicious 2025-01-27 15:54
early investor?
Avatar
I'll be able to retire by 60 and become a burden to society
Avatar
Avatar
Avolicious
early investor?
Yep, got it at 20€ a piece, sold it at 60€ a piece
Avatar
Avolicious 2025-01-27 15:55
learath, today is a positive day
15:55
jupstar agreed on zed is fast
15:55
dont ruin it now
Avatar
Well isn't zed written in Rust?
Avatar
Jupstar ✪ 2025-01-27 15:56
what's so special about it? xd
Avatar
Avolicious 2025-01-27 15:56
yeah, but just because its in rust, doesnt mean its fast xD
Avatar
Jupstar ✪ 2025-01-27 15:56
vscode is slow af xD
Avatar
Jupstar is #2 biggest Rust fan
Avatar
noone beats ryo in that regard
Avatar
Jupstar ✪ 2025-01-27 15:56
i just buy new processor
15:56
i saw melons compile times
15:57
even tho we both have 16 cores
Avatar
Yeah ryo is on a league of his own. Jehova's Witnesses can't market their religion as good as ryo markets rust
Avatar
Jupstar ✪ 2025-01-27 15:57
disgusting
15:57
my cpu looks like a clown against it
kek 1
Avatar
How fast can you compile firefox?
Avatar
Jupstar ✪ 2025-01-27 15:57
why should i compile that xD
Avatar
Benchmark
Avatar
Avatar
Learath2
How fast can you compile firefox?
Avolicious 2025-01-27 15:57
is this the new benchmark?
Avatar
Or node.js
Avatar
Avolicious 2025-01-27 15:57
I thought linux kernel it is
15:58
or google chrome
Avatar
can confirm, jupsti had 3 tingly feelings back to back while watching me compile
Avatar
Jupstar ✪ 2025-01-27 15:58
i dunno but ryzen 9950x3d will be around twice as fast, single and multi core
15:58
that is some insane shit
15:58
i am bit hyped
Avatar
I was about to get an upgrade to my ancient ass 4770k, but the guy who sold me the mobo shipped it without tightening all screws. Heatsink took off a tiny resistor
15:59
And I couldn't figure out wtf was wrong until after the refund window ended
Avatar
Jupstar ✪ 2025-01-27 16:00
xd
Avatar
glue itback on
Avatar
Avatar
louis
glue itback on
I would have soldered it back on but sadly it ripped the pad when it got knocked off
Avatar
m_Visible = *(Member *)(&Data + offsetof(CNamePlateRenderData, Member));
16:23
hmmm
16:23
i doubt that will fly
16:26
'CNamePlatePart' is a private member of 'CNamePlatePart' thats a bold statement
Avatar
Avatar
Solly
Click to see attachment 🖼️
im amazed ppl call rust ugly but the mental overhead to parse cpp errors is insane
16:35
their use of underscores rly undermines readability
16:35
in the std
Avatar
Avatar
Ryozuki
im amazed ppl call rust ugly but the mental overhead to parse cpp errors is insane
ive seen some wonderfully fucked up rust errors i also have to fight with the borrow checker and the mental overhead of that is much more
Avatar
MilkeeyCat 2025-01-27 16:36
skill issue
Avatar
i dont wana need a phd in the borrow checker
Avatar
Avatar
risu
1999
i was born in 2000 therefore im special
Avatar
any good lsp just tells you "bro you have no access to this shii, it's consumed in include function here
16:37
doesnt get much better imo
Avatar
^ wow
Avatar
Avatar
risu
wdym I was born last millennium that makes me a thousand years old
old mf
Avatar
Avatar
Learath2
Yeah ryo is on a league of his own. Jehova's Witnesses can't market their religion as good as ryo markets rust
owo
Avatar
Avatar
Solly
i dont wana need a phd in the borrow checker
it’s not that hard
Avatar
Avatar
Learath2
How fast can you compile firefox?
6 mins iirc
Avatar
Avatar
Solly
ive seen some wonderfully fucked up rust errors i also have to fight with the borrow checker and the mental overhead of that is much more
rust errors tell u step by step what happens with code surrounding it in the snippet too
Avatar
Avatar
Ryozuki
rust errors tell u step by step what happens with code surrounding it in the snippet too
&*&&*&**&*&*&**&*&**&**&**&*&
Avatar
skill issue
16:41
reborrows ftw
Avatar
Avatar
Ewan
it’s not that hard
it is
Avatar
even if there is no suggested fix it will still usually tell you the problem
Avatar
whats bad about underscores
Avatar
Avatar
Solly
&*&&*&**&*&*&**&*&**&**&**&*&
ppl who learn C++ literally have to go through the same thing with different rules
Avatar
@louis did u look at the c++ std implementation? its the reason errors look bad in part too
Avatar
Avatar
Ewan
ppl who learn C++ literally have to go through the same thing with different rules
yep but the difference is im managing to get through it
16:42
ive gotten to the end of the ... messy bit i just gotta write shit ton of boiler plate
16:42
or well reput all the nameplate stuff into seperate classes
Avatar
c++ moment
Avatar
encapsulation baby
Avatar
template<typename _Tp, typename _Alloc, typename _Predicate> _GLIBCXX20_CONSTEXPR inline typename vector<_Tp, _Alloc>::size_type erase_if(vector<_Tp, _Alloc>& __cont, _Predicate __pred) { using namespace __gnu_cxx; _GLIBCXX_STD_C::vector<_Tp, _Alloc>& __ucont = __cont; const auto __osz = __cont.size(); const auto __end = __ucont.end(); auto __removed = std::__remove_if(__ucont.begin(), __end, __ops::__pred_iter(std::ref(__pred))); if (__removed != __end) { __cont.erase(__niter_wrap(__cont.begin(), __removed), __cont.end()); return __osz - __cont.size(); } return 0; }
16:44
average cpp std function
Avatar
thats glibc
16:44
you could write it much more readably (edited)
Avatar
Honestly remove the nasty __ and it's actually pretty understandable
Avatar
ah those underscores
Avatar
Avatar
Learath2
Honestly remove the nasty __ and it's actually pretty understandable
that to
Avatar
those are just reserved
Avatar
i swear i have trouble finding the function name sometimes
👍 1
Avatar
Avatar
Ewan
those are just reserved
not for local names
16:45
i guess you might shadow some other definition (or visa versa)
16:45
no different compilation units
Avatar
Can someone spare some time look at this tiny fix? https://github.com/ddnet/ddnet/pull/9582
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 add...
16:50
heartw
Avatar
Avatar
Learath2
Honestly remove the nasty __ and it's actually pretty understandable
why _ inside the function tho
16:51
isnt it local scope already
16:51
oh
16:51
its to not pick up symbols from outside
this 1
Avatar
Very annoying
Avatar
Avatar
Pioooooo
heartw
suprsigin you didnt get def insta merged
Avatar
Def said he's been busy
17:04
nouis
17:04
Now we only have ryozuki's merge Monday
17:08
lmao
Avatar
MilkeeyCat 2025-01-27 17:09
does anyone have any resources about generating assembly from ssa form ir? xd
Avatar
First decide the operations
17:13
Then do some register assignment
Avatar
MilkeeyCat 2025-01-27 17:14
the most important question is what the hell to do with phies(phis?)?
Avatar
Just add another block ahead of the original ones
17:15
Inside should be all phi assignments
17:15
Ah maybe not extra block
17:16
Or extra block is okay if you do optimization on asm
17:18
Add one block ahead of phis, and for each source add a new block
Avatar
found another assembler amogst our people
Avatar
Is it possible to use multiple dnsbl services?
Avatar
what was that compiler development reference for amateurs
Avatar
Avatar
Ewan
what was that compiler development reference for amateurs
Koll Potato 2025-01-27 17:32
Avatar
thanks
17:42
anyone have an idea as to why a ddnet-server process spawned by trashmap is randomly closing a second after it opens?
Avatar
called Graphics()->TextureSet within begin
17:56
darn
17:59
This.Graphics()->QuadsBegin(); This.Graphics()->SetColor(1.0f, 0.0f, 0.0f, 1.0f); This.Graphics()->DrawCircle(X, Y, 5, 10); // This.Graphics()->TextureClear(); This.Graphics()->SetColor(1.0f, 1.0f, 1.0f, 1.0f); This.Graphics()->QuadsEnd(); (edited)
17:59
how the fuck does this work
18:00
but not when i uncomment textureclear
18:00
draw circle also has a assert
18:00
if i remove the assert it works
18:00
:)
Avatar
Avatar
Pioooooo
Now we only have ryozuki's merge Monday
merge week i intend to do it from now on
Avatar
Avatar
MilkeeyCat
the most important question is what the hell to do with phies(phis?)?
phi doesnt rly translate to assembly its like a SSA graph thing, u just need it to verify all uses are dominated
18:06
and for register allocation look into register coloring algorithms or smth
18:07
the link u sent has stuff for this
18:07
the other day
18:08
Avatar
Avatar
louis
anyone have an idea as to why a ddnet-server process spawned by trashmap is randomly closing a second after it opens?
@Tim ^
Avatar
i've already asked him 😅
Avatar
I don't see an error, so no idea
18:13
is there a coredump?
Avatar
im not sure if its a trashmap or ddnet issue since i had it running just fine a while ago
18:19
not sure how to get coredump
Avatar
it needs to know to dump its core
18:19
seems like it’s being terminated
18:19
i think it’s like 200 lines of rust u can look thru
Avatar
when i upload another map i get [2025-01-27T18:18:24Z INFO trashmap] 2025-01-27 18:18:24 I host_lookup: host='localhost' port=0 3 [2025-01-27T18:18:24Z INFO trashmap] 2025-01-27 18:18:24 I net: failed to bind socket with domain 10 and type 1 (98 'Address already in use') [2025-01-27T18:18:24Z INFO trashmap] 2025-01-27 18:18:24 I econ: couldn't open socket. port might already be in use [2025-01-27T18:18:24Z INFO trashmap] 2025-01-27 18:18:24 I server: server name is 'shroobie' [2025-01-27T18:18:24Z INFO trashmap] 2025-01-27 18:18:24 I censorlist: failed to open 'censorlist.txt' [2025-01-27T18:18:24Z INFO trashmap] 2025-01-27 18:18:24 I sql: failed to open wordlist, using fallback [2025-01-27T18:18:24Z INFO trashmap] 2025-01-27 18:18:24 I server: version 19.0 on linux amd64 [2025-01-27T18:18:24Z INFO trashmap] 2025-01-27 18:18:24 I server: git revision hash: 00bb74c498992122 [2025-01-27T18:18:24Z INFO trashmap] 2025-01-27 18:18:24 E server: Failed load announcements from 'announcement.txt' [2025-01-27T18:18:24Z INFO trashmap] 2025-01-27 18:18:24 I server: +-------------------------+ [2025-01-27T18:18:24Z INFO trashmap] 2025-01-27 18:18:24 I server: | rcon password: 'pTSqot' | [2025-01-27T18:18:24Z INFO trashmap] 2025-01-27 18:18:24 I server: +-------------------------+ [2025-01-27T18:18:25Z ERROR trashmap] Error in handler: deadline has elapsed which is weird (edited)
Avatar
Error in handler: deadline has elapsed
18:20
This means trashmap is reading stdout and waiting for econ: bound to 127.0.0.1 but doesn't see it in time
Avatar
GitHub BOT 2025-01-27 18:25
kinda handy. variable limit is weird, cuz i set it to 1 year, a lot of 9's feels weird too.

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 ...
Avatar
ws-client BOT 2025-01-27 18:56
<ChillerDragon> it cant match bound to localhost:8303 ?
Avatar
it doesn't right now, no
18:56
but port is not printed
Avatar
ws-client BOT 2025-01-27 18:56
<ChillerDragon> might be the issue then
Avatar
if you've changed the econ binaddr from 127.0.0.1 to localhost that might be the issue
Avatar
ws-client BOT 2025-01-27 18:58
<ChillerDragon> in @louis screenshot it says localhost
Avatar
TextRender()->SetRenderFlags(ETextRenderFlags::TEXT_RENDER_FLAG_NO_FIRST_CHARACTER_X_BEARING | ETextRenderFlags::TEXT_RENDER_FLAG_NO_LAST_CHARACTER_ADVANCE); what is this meant to do (in rendering directions in nameplate, i just left it in last time) Wait how the frug does This.Graphics()->TextureSet(g_pData->m_aImages[m_ImageId].m_Id); not assert fail (edited)
Avatar
no, i was running the k2dd fork of trashmap, in there it checks for localhost not 127.0.0.1 i believe
18:59
i've tested both versions, i think my vps is just fucked somehow, i'll figure it out
Avatar
Graphics()->TextureSet(g_pData->m_aImages[IMAGE_STRONGWEAK].m_Id); Graphics()->QuadsBegin(); ehh???
19:02
void CGraphics_Threaded::TextureSet(CTextureHandle TextureId) { dbg_assert(m_Drawing == 0, "called Graphics()->TextureSet within begin"); dbg_assert(!TextureId.IsValid() || m_vTextureIndices[TextureId.Id()] == -1, "Texture handle was not invalid, but also did not correlate to an existing texture."); m_State.m_Texture = TextureId.Id(); }
19:02
void CGraphics_Threaded::QuadsBegin() { dbg_assert(m_Drawing == 0, "called Graphics()->QuadsBegin twice"); m_Drawing = DRAWING_QUADS; QuadsSetSubset(0, 0, 1, 1); QuadsSetRotation(0); SetColor(1, 1, 1, 1); }
Avatar
Avatar
Solly
TextRender()->SetRenderFlags(ETextRenderFlags::TEXT_RENDER_FLAG_NO_FIRST_CHARACTER_X_BEARING | ETextRenderFlags::TEXT_RENDER_FLAG_NO_LAST_CHARACTER_ADVANCE); what is this meant to do (in rendering directions in nameplate, i just left it in last time) Wait how the frug does This.Graphics()->TextureSet(g_pData->m_aImages[m_ImageId].m_Id); not assert fail (edited)
Try to take screenshot with and without. Actually seems like those flags are only used for nameplates, so maybe we could get rid of them if they don't have a purpose anymore
Avatar
Avatar
Solly
void CGraphics_Threaded::TextureSet(CTextureHandle TextureId) { dbg_assert(m_Drawing == 0, "called Graphics()->TextureSet within begin"); dbg_assert(!TextureId.IsValid() || m_vTextureIndices[TextureId.Id()] == -1, "Texture handle was not invalid, but also did not correlate to an existing texture."); m_State.m_Texture = TextureId.Id(); }
"WITHIN"
19:11
with flags
19:12
oh wait
19:12
its not related to directions at all
19:12
yeah it do nothing x-x
Avatar
It's only for text rendering
19:12
Probably very small difference so you'd have to send two fullscreen screenshots to compare side-by-side
Avatar
-pGlyph->m_OffsetX to first char -Advance + BearingX + CharWidth to last char (edited)
Avatar
Avatar
Robyt3
Probably very small difference so you'd have to send two fullscreen screenshots to compare side-by-side
oke doke
19:20
the second one has flags removed
Avatar
I can't tell if there's a difference with the screenshots having different sizes and not the same contents
19:21
uhh
Avatar
Try on a local server in exactly the same location
19:21
And send uncropped screenshots
19:22
it was added here
19:22
for seemingly no reason
Avatar
That already contains the flags in the old version as well
19:23
oh crap
19:23
it was moved
19:23
lmao
19:30
19:30
theyre the same picture
19:31
@Robyt3
Avatar
Can you send them separately?
19:32
That way you can compare the position by switching between two tabs
Avatar
uhh ill cut it in h alf
19:32
my prnt screen tool cant take a screenshot of 1 of my monitors at a time
Avatar
Maybe it only affects specific text or characters, or those flags become obsolete at some point
👍 1
19:33
19:34
minus the aniamtion and my mouse pos
19:34
theyre the same image
19:34
the text doesnt flicker at all
Avatar
Hmm, maybe causes problems only with specific names, see https://github.com/ddnet/ddnet/pull/1420 (edited)
This is a different implementation to #1419. Also this fixes character kerning, which I disabled default now, since it was never ever correctly implemented in the teeworlds code.
19:35
😭
19:35
im using container width to center names
19:35
thats how ure meant to do it right
Avatar
yeah, that's the most efficient way
Avatar
accurate?
19:36
¯\_(ツ)_/¯
Avatar
It only lays out the text once and gets the size from that, so it shouldn't add any more error like the alternative (TextWidth to get the width, then layout again)
19:37
Except due to pixel alignment maybe because text containers are layed out at position (0,0) but then rendered at the correct position
Avatar
does that make any difference
19:38
theres flickering with names when moving (edited)
Avatar
yeah, that's the pixel alignment
19:39
don't know if setting the flag for no pixel alignment would make it better or worse
Avatar
would it be worth with antialiasing
19:39
mmk
Avatar
we need a different text rendering approach for that
Avatar
it doesnt obther me unless i stare at it
Avatar
Avatar
Robyt3
we need a different text rendering approach for that
why cant u disable pixel alignment always
19:40
or rather what benefit does it give
Avatar
btw it's called TEXT_RENDER_FLAG_NO_PIXEL_ALIGMENT kek
Avatar
makes sense
Avatar
except the last word 🙂
Avatar
I wondered why I didn't find it with text search
Avatar
Avatar
Solly
or rather what benefit does it give
if u dont have antialiasing on then ... what happens
Avatar
I don't know, try it out. I suspect it will look off because letters have inconsistent spacing between each other
Avatar
kerning go brr
19:42
antialising = nearest => 2x2 or more
19:42
that might flicker /shrug
19:42
wait why does ur name even change position
19:43
shouldnt it always be centered
Avatar
yeah, but it wants to be aligned with a full pixel I guess
Avatar
but should it not pick the same one every time
Avatar
maybe for your own nameplate if it had special handling
19:44
I guess it depends on the tee's position a bit
Avatar
camera = tee position
19:44
floating pt error moving it about 0.5 mayb e
19:44
no a - a == 0 even in floating point
19:45
oh but (a - b) - a != -b
Avatar
Avatar
Robyt3
I don't know, try it out. I suspect it will look off because letters have inconsistent spacing between each other
looks... normal but no flickering
19:46
no fsaa samples
19:46
turned on
19:46
but then why no flickering
19:46
unless texture lookups are always aliased
19:47
in which case you get no performance benefit from no pixel alignement or not
19:47
since you are doing 4 lookups per pixel anyway
19:47
or not idk how it works
Avatar
Pixel alignment is most useful on low resolutions as far as I understand it
Avatar
a*1 + b*0 + c*0d + d*0 (edited)
Avatar
guys i finished a map twice cuz the rank didnt save
Avatar
If you disable pixel alignment in general it looks really blurry
Avatar
and again it didnt got saved
Avatar
Avatar
Robyt3
Pixel alignment is most useful on low resolutions as far as I understand it
a full pixel flickering is worse than color flickering
Avatar
Avatar
Robyt3
If you disable pixel alignment in general it looks really blurry
and the text is already blurry
Avatar
Avatar
PapotaV
and again it didnt got saved
Wait for 24 hours, open admin mail if it's still not added then
19:49
ty
Avatar
it apperas changing the resolution thru ddnet broke my monitor /:
19:49
19:49
no status bar on 2nd monitor xd
19:49
19:52
no alignment
19:52
no alignment in second one
19:52
the flickering is very noticeable
19:52
i say atleast for this keep it on
Avatar
GitHub BOT 2025-01-27 20:27

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
  • [x] Considered possible null pointers and out of bounds array indexing
  • [x] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssan...
Avatar
Avatar
Robyt3
btw it's called TEXT_RENDER_FLAG_NO_PIXEL_ALIGMENT kek
Jupstar ✪ 2025-01-27 20:29
😬
Avatar
Avatar
Solly
it apperas changing the resolution thru ddnet broke my monitor /:
yeah it does sometimes xd
Avatar
gosh my rustc is annoying - it builds fine, clippy doesnt find anything, it's included properly but yet this error doesnt go away. @Avolicious i blame zed editor for that btw
20:52
/:
20:52
idk
Avatar
Avatar
meloƞ
gosh my rustc is annoying - it builds fine, clippy doesnt find anything, it's included properly but yet this error doesnt go away. @Avolicious i blame zed editor for that btw
Jupstar ✪ 2025-01-27 20:53
lel
Avatar
Avatar
Ryozuki
deen_star
yay
Avatar
Avatar
Jupstar ✪
lel
i dont get it :c
Avatar
Jupstar ✪ 2025-01-27 20:53
i blame proc macros
Avatar
maybe that too
Avatar
Jupstar ✪ 2025-01-27 20:53
try to restart the editor
Avatar
Avatar
Solly
Click to see attachment 🖼️
why dum dum red and bun bun blu
Avatar
Koll Potato 2025-01-27 20:54
proc macros is the best and the worst thing ever created
Avatar
kekw - restart didnt help
20:54
what iiiz thiiiiiiiiiiz
Avatar
Koll Potato 2025-01-27 20:54
but i hate writing them from scratch
Avatar
Jupstar ✪ 2025-01-27 20:54
proc macros are all i ever wanted in any lang
20:54
patch the compiler
20:54
wait whats this icon
20:54
or is that text
Avatar
Avatar
meloƞ
kekw - restart didnt help
Jupstar ✪ 2025-01-27 20:54
rip
Avatar
the heart? text
Avatar
proc macros are amazing but also ez abuse
Avatar
Jupstar ✪ 2025-01-27 20:54
cargo clean
Avatar
iirc
Avatar
Jupstar ✪ 2025-01-27 20:54
and restart
Avatar
anyway proc macros made serde
20:54
serde is amazing magic
Avatar
Avatar
meloƞ
the heart? text
tsumagi is wanting heart icons, do i change it everywhere else?
Avatar
Jupstar ✪ 2025-01-27 20:55
proc macros made hiarc
20:55
amazing magic
Avatar
Avatar
Jupstar ✪
proc macros made hiarc
github?
Avatar
Avatar
Ryozuki
serde is amazing magic
Koll Potato 2025-01-27 20:55
i still couldnt figure out how to integrate into my teeworlds protocol library
20:55
skill issue ikr
Avatar
Avatar
Ryozuki
github?
Jupstar ✪ 2025-01-27 20:55
Contribute to ddnet/ddnet-rs development by creating an account on GitHub.
Avatar
Avatar
Solly
tsumagi is wanting heart icons, do i change it everywhere else?
not sure - any profit from that?
Avatar
Avatar
meloƞ
not sure - any profit from that?
consistency
Avatar
other than ig having it an .svg and having it look actually good (edited)
Avatar
Avatar
Ryozuki
github?
Jupstar ✪ 2025-01-27 20:56
dont really have docs for it, but it allows to use Rc<RefCell<>> without panics
Avatar
text heart is already svg
Avatar
no hiarc crate?=
Avatar
Avatar
Solly
text heart is already svg
o
Avatar
Jupstar ✪ 2025-01-27 20:56
in lib
Avatar
cuz fonts
20:56
but in game its rendered at low quality
Avatar
Avatar
Ryozuki
no hiarc crate?=
Jupstar ✪ 2025-01-27 20:56
maybe some day xd
Avatar
Avatar
Jupstar ✪
cargo clean
how tf did cargo clean fix that just now
20:56
gosh i cant with these language tweaks
Avatar
Jupstar ✪ 2025-01-27 20:57
it simply cleans all build stuff and regenerates it
20:57
did u by chance change any proc macro code?
20:57
sometimes it breaks by that
Avatar
Avatar
Jupstar ✪
did u by chance change any proc macro code?
ye
20:57
ah i guess it was that then.. weird
Avatar
Jupstar ✪ 2025-01-27 20:58
vscodium has a rebuild proc macros thing
20:58
from rust analyzer
20:58
dunno if u can call that too
20:58
that fixes it too
20:58
ok nvm they removed it
20:58
lel
Avatar
Has anyone successfully built and used the Discord integration with MSYS2 on Windows? It builds and initializes correctly for me but it doesn't show the activity in Discord. Using the Steam version works.
Avatar
Sometimes it's discord being weird
21:35
Discord has special detection for steam games in the steam folder
Avatar
Thanks, looks like it works if I replace the exe in the Steam folder
Avatar
cyberfighter 2 2025-01-27 22:06
seems like rus2 just crashed
22:07
like straight up crashed and got forced to another map
Avatar
GitHub BOT 2025-01-27 22:15
434f599 Don't switch cursor mode if ingame freecam is not supported by mod & not spectator - Jupeyy e4bfdc1 Merge pull request #91 from Jupeyy/pr_disable_spec_cursor_if_disabled - Jupeyy
Avatar
GitHub BOT 2025-01-27 22:24
In the CServer::DistinctClientCount function a check for the address being nullptr was missing in the inner loop. Before #9591 this was comparing addresses from uninitialized memory instead. Duplicate checks of the client state are avoided by first fetching the addesses of all clients which are ingame. Closes #9597.

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration opti...
Avatar
chiller level up
22:29
faith +1
Avatar
GitHub BOT 2025-01-27 23:03
8e90bc4 Fix crash with sv_dnsbl_vote 1 and debug dummies - Robyt3 f2cc434 Merge pull request #9600 from Robyt3/Server-DistinctClientCount-Cleanup - heinrich5991
Avatar
Avatar
Learath2
@Davide I consistently have to join twice on 18.8. Is that expected?
Sadly yes, older clients can't recognize the new reconnect packet
23:35
I may try to send both redirect & reconnect, but it will be a little bit hard, I'll try in the next days!
Avatar
@Davide just to confrim the old website does literally nothing now right? (edited)
Avatar
Avatar
Tater
@Davide just to confrim the old website does literally nothing now right? (edited)
Correct
Exported 972 message(s)
Timezone: UTC+0