Guild icon
Teeworlds
IRC / bridge
One-way IRC channel bridge. If you want to be able to send messages to IRC, contact @Dune or @heinrich5991. https://www.teeworlds.com/?page=docs&wiki=rules/irc_rules
Between 2023-12-30 00:00:00Z and 2023-12-31 00:00:00Z
10:53
can some1 explain me this code thank
10:53
i see a if statement and a teneary with the same condition
10:53
check if m_ClShowsocial is set
10:54
if it is set print pMsg->m_pDescription if it is not set copy pMsg->m_pDescription into aName and then print aName
10:54
i dont get it
10:55
Isnt aName either unset or the exact same as pMsg->m_pDescription at all times?
Avatar
if showsocial = 0, Name is not unset, it is equal to the value of Description
10:57
if showsocial = 1, we use pMsg->m_pDescription straight up
10:57
is that equivalent to just using pMsg->m_pDescription? looks like it to me
Avatar
ChillerDragon BOT 2023-12-30 10:58:49Z
ye so it either uses pDescription directly or copies it first into a buffer
10:58
whats the purpose?
Avatar
agreed, I think it was supposed to be something like Config()->m_ClShowsocial ? pMsg->m_pDescription : "" so it hides the player name with showsocial = 0
Avatar
ChillerDragon BOT 2023-12-30 10:59:33Z
drunk tw devs
Avatar
so many nonsense redundant options anyway, an artefact of diplomatic collaborative development :D
Avatar
Would have been better to introduce some placeholder names like the bots in counter strike instead of hiding the names completely though
Avatar
we at least escaped having player IDs on everyone by default...
Avatar
ChillerDragon BOT 2023-12-30 11:00:49Z
that was a thing for some releases wasnt it?
11:03
I cba to open another pr i already have 9 pending
11:03
robsti u still into fixing vani stuff?
Avatar
Not on teeworlds recently
11:05
You could open an issue or add it to that one "issues with the code" issue so at least it's not forgotten entirely
Avatar
only was a thing for the 0.7.0
Avatar
ChillerDragon BOT 2023-12-30 11:15:12Z
ok done robsti
11:18
btw @heinrich5991 you could mark "Why is Sv_Broadcast gone?" as completed in this issue https://github.com/teeworlds/teeworlds/issues/1120
CServer::RegisterCommands sets m_pConsole, m_pGameServer, m_pMap, m_pStorage, which it shouldn't do, it looks like a dirty fix someone did to make it work, whatever it was. network_server.cpp i...
11:18
it bak!
Avatar
done
Avatar
chillerdragon BOT 2023-12-30 15:10:03Z
ping
Avatar
ChillerDragon BOT 2023-12-30 15:10:07Z
pong
15:10
woah bridge lost my wall of text -.-
Avatar
max 2k characters per message are supported by discord
Exported 31 message(s)