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 10/22/2023 12:00AM and 10/23/2023 12:00AM
Avatar
He11o, wor1d 10/22/2023 4:03AM
GameServer()->CreateDamageInd(m_Pos, 0, (m_FreezeTime + 1) / Server()->TickSpeed(), TeamMask()); (edited)
4:04AM
Why are these stars in the frieze visible to all players, and not just allies?
4:04AM
As I understand it, TeamMask() is the same for both teams?
Avatar
3595578 A Killa1 - ddnet-maps 2f338bd A Borace - ddnet-maps
Avatar
Avatar
He11o, wor1d
As I understand it, TeamMask() is the same for both teams?
Team mask is using for ddnet teams, not for teeworlds teams
Avatar
Avatar
Mʎɹ シ
Team mask is using for ddnet teams, not for teeworlds teams
He11o, wor1d 10/22/2023 6:51AM
how to do it for TeeWorlds?
Avatar
Avatar
He11o, wor1d
how to do it for TeeWorlds?
Pass in Mask argument all teamates id's
Avatar
Avatar
Mʎɹ シ
Pass in Mask argument all teamates id's
He11o, wor1d 10/22/2023 6:56AM
in an array?
Avatar
Avatar
He11o, wor1d
in an array?
This is bitset, smth like array with bits, just get all teamates id's and add to bitset. Smth like this: CClientMask Mask; for(int i = 0; i < MAX_CLIENTS; i++) { if(m_apPlayers[i] && IsTeamate(i)) Mask[i] = true; } CreateDamageInd(arg1, arg2, arg3, Mask);
Avatar
He11o, wor1d 10/22/2023 7:01AM
Avatar
Avatar
deen
I feel like we still have a bug with not supporting old DDNet versions registering. @heinrich5991 Shouldn't http master pick that up from the tw master?
heinrich5991 10/22/2023 8:38AM
it should (and did when we saw the old oracle cloud servers revive)
8:38AM
but maybe something broke during the DoS
Avatar
Avatar
Mʎɹ シ
This is bitset, smth like array with bits, just get all teamates id's and add to bitset. Smth like this: CClientMask Mask; for(int i = 0; i < MAX_CLIENTS; i++) { if(m_apPlayers[i] && IsTeamate(i)) Mask[i] = true; } CreateDamageInd(arg1, arg2, arg3, Mask);
this is not a bitset
8:49AM
something similar can be achieved with a std bitset
8:49AM
but this is just a normal array
8:49AM
unless i am missing something
Avatar
Avatar
Ewan
this is not a bitset
This is typedef std::bitset<MAX_CLIENTS>
8:53AM
yes that typedef would have been helpful
Avatar
good morning
9:39AM
time to apply to moderator kek
feelsamazingman 1
Avatar
Avatar
Ryozuki
time to apply to moderator kek
Do you +1 applications which mention rust? justatest (edited)
Avatar
Avatar
Ryozuki
time to apply to moderator kek
why aren't you a moderator actually
Avatar
i was in the past but i fighted heinrich
9:53AM
honestly i probs could easily be moderator unless heinrich doesnt want cuz we sometimes dont go together
Avatar
that make a lot of sense actually
Avatar
owo i probably shouldn't be a mod as well, but i think i'm just here overseeing chn mods
Avatar
ur like the chinese messenger
Avatar
Catxplosion i guess so
Avatar
Jupstar ✪ 10/22/2023 10:27AM
xd
10:27AM
tsfreddie arrived for the chinese ppl
10:27AM
Avatar
Avatar
Ryozuki
honestly i probs could easily be moderator unless heinrich doesnt want cuz we sometimes dont go together
Jupstar ✪ 10/22/2023 10:28AM
😬
10:28AM
i'd like to mass ping all the ppl that asked to apply as moderator lmao
Avatar
I should eat more salad
10:35AM
🙂
Avatar
Avatar
Jupstar ✪
😬
😬
Avatar
Chronoveins 10/22/2023 11:04AM
how do I apply for an admin of ddnet
Avatar
for admin, no. for moderator, check #announcements . no idea why you haven't tho
Avatar
Jupstar ✪ 10/22/2023 11:11AM
xDDD
11:11AM
directly apply as admin
Avatar
cyberFighter 10/22/2023 11:11AM
gigachad
Avatar
He11o, wor1d 10/22/2023 11:18AM
Is it possible to somehow make a ban not by IP, but by hwid or mac address?
Avatar
That's not how the internet works, your mac address is only known in your local network
11:22AM
You'd need to change the client so it sends hardware ID and mac address to the server, but a malicious client could just send fake data (edited)
Avatar
He11o, wor1d 10/22/2023 11:24AM
DDNet client does not send hwid?
Avatar
Jupstar ✪ 10/22/2023 11:27AM
no why should it
Avatar
Chronoveins 10/22/2023 12:10PM
How can I find out if I have been successfully selected as a moderator?
Avatar
admins will reply on your application thread i'm pretty sure.
12:16PM
give it a week or two
Avatar
Usually after the applications close we reply within one to two weeks
Avatar
Avatar
Learath2
Usually after the applications close we reply within one to two weeks
did you announce a closing date
Avatar
No, but we usually do 2 or 3 weeks
Avatar
Avatar
Jupstar ✪
no why should it
He11o, wor1d 10/22/2023 12:34PM
and how to implement a ban except for nickname and IP
Avatar
Avatar
He11o, wor1d
and how to implement a ban except for nickname and IP
Jupstar ✪ 10/22/2023 12:34PM
i dunno, implement accounts
12:34PM
else u cant
12:35PM
nickname bans also have a disadvantage, that smone could fake them
Avatar
Avatar
Jupstar ✪
nickname bans also have a disadvantage, that smone could fake them
He11o, wor1d 10/22/2023 12:36PM
I know about nicknames. I need a ban that cannot be circumvented by changing the IP/nickname. accounts - not particularly suitable for this task, there are accounts, but they are not required, just for entering player statistics
Avatar
Avatar
He11o, wor1d
I know about nicknames. I need a ban that cannot be circumvented by changing the IP/nickname. accounts - not particularly suitable for this task, there are accounts, but they are not required, just for entering player statistics
Jupstar ✪ 10/22/2023 12:38PM
well what kind of thing should that be? XD no account and no IP
12:39PM
mac addresses are not safe as robyte already said
12:39PM
u can easily fake them
Avatar
He11o, wor1d 10/22/2023 12:39PM
That is, there is no way to do without accounts? right?
Avatar
Jupstar ✪ 10/22/2023 12:41PM
basically no
Avatar
See commit messages.

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added coverage to integration test
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet...
1:37PM
f8af754 Move CHostLookup to separate compilation unit - Robyt3 bea7aea Encapsulate CHostLookup member variables - Robyt3 7a2004e Merge pull request #7360 from Robyt3/Engine-Host-Lookup-Split - def-
Avatar
new bot
Avatar
bothub
Avatar
i would apply to mod but i like purple color more
3:50PM
i feel special
3:50PM
and if someone rejects me, i want it to be heinrich
3:50PM
justatest
3:52PM
honestly 16 is too young
Avatar
Jupstar ✪ 10/22/2023 3:52PM
lmao
3:52PM
do u even play this game? xd
Avatar
i do from time to time
3:52PM
but moderating is not like playing
Avatar
Jupstar ✪ 10/22/2023 3:53PM
well then just go ahead. your beef with heinrich is like 6 years ago. u got more adult and so on xdd
Avatar
Avatar
Jupstar ✪
well then just go ahead. your beef with heinrich is like 6 years ago. u got more adult and so on xdd
yeah been long since i think i had beef with him
3:53PM
but u know u never know
Avatar
Jupstar ✪ 10/22/2023 3:53PM
longer than me 😬
3:53PM
go for mod
Avatar
Jupstar ✪ 10/22/2023 3:54PM
mhh dunno xd
Avatar
my only grip is that it says u have to answer to calls for help but i wonder if they include technical stuff, i hate dms about technical stuff when they can ask in #questions and anyone can answer faster
3:54PM
i always redirect em to here
3:54PM
(this is not a complain to get the dev role removed, i like it xd)
Avatar
Jupstar ✪ 10/22/2023 3:55PM
no technical questions are not included
Avatar
i wonder why plp think a dm is better than asking in a public channel
Avatar
Jupstar ✪ 10/22/2023 3:55PM
maybe they think the question is stupid
3:55PM
understandable xdd
3:56PM
i wont apply anyway
3:56PM
gigachad
Avatar
Jupstar ✪ 10/22/2023 3:56PM
oke
Avatar
@Jupstar ✪ non staff ppl like us carry ddnet
3:56PM
its the way it is
3:56PM
justatest
3:57PM
now we should just remove back compat
3:57PM
further progress
Avatar
Jupstar ✪ 10/22/2023 3:58PM
we should instead split the project
Avatar
do u know when vulkan 1.4 releases
Avatar
Jupstar ✪ 10/22/2023 3:58PM
no
3:58PM
i am no krhonos member yet
3:58PM
xd
3:58PM
xd
Avatar
Jupstar ✪ 10/22/2023 3:58PM
sad that i am old
Avatar
so old
3:59PM
there are 60y old programmers there
3:59PM
i was about to make a joke but better not
Avatar
Jupstar ✪ 10/22/2023 3:59PM
these are basically my prime days.. so if i wont achieve anything now, then never
3:59PM
huge RIP
3:59PM
u will be a old wise coder
3:59PM
teaching the goods of rust
Avatar
Avatar
Ryozuki
there are 60y old programmers there
Jupstar ✪ 10/22/2023 3:59PM
yeah but they aren't really doing anything useful anymore xd
Avatar
Jupstar ✪ 10/22/2023 5:12PM
does someone have a tool to extract chat from a demo? @Patiga u once worked on demo stuff, maybe u have some code flying around for that?
Avatar
Not exactly a full tool, but you could play the demo in headless client on fastest speed and get the chat from the console log
Avatar
Jupstar ✪ 10/22/2023 5:13PM
yeah i think i did that once
5:13PM
but i want to analyze like 300-1000 demos xd
Avatar
Should be straightforward to create a tool for this though
Avatar
Jupstar ✪ 10/22/2023 5:29PM
yeah probably xd
Avatar
I'll probably do it eventually
5:30PM
Is chat enough or is someone going to ask for broadcast export etc. next? justatest
Avatar
Jupstar ✪ 10/22/2023 5:39PM
xDD
5:39PM
for me chat is enough
5:39PM
but u dont have to do it
5:40PM
i think i even still have a backup
Avatar
Provide a tool that uses CDemoPlayer to play a specified demo file and extract all the chat messages. Proposed tool name: demo_extract_chat Consideration: Should the chat be logged to stdout or printed to a file (name specified manually or automatically)?
Avatar
Opened an issue for now. Want to try implementing lazy skin loading first
Avatar
chillerdragon BOT 10/22/2023 5:47PM
3 lines of bash
Avatar
Avatar
Robyt3
Opened an issue for now. Want to try implementing lazy skin loading first
This is already implemented in the teewebs client, if you want inspiration
Avatar
Avatar
Robyt3
Opened an issue for now. Want to try implementing lazy skin loading first
wasn't there an already opened PR ?
Avatar
Avatar
Chairn
wasn't there an already opened PR ?
There's #6727 but it's mostly a draft. And I think that implementation is a lot more complicated than it needs to be.
Avatar
Summary: Currently, asset and skin loading are quite slow if you have a decent amount of them, even on a fast disk. I would like to create a generic, multi-threaded file loader system that can less...
Avatar
Yo, i recently made a game. It was my first time using opengl and c++ pepeW (i had to do it for uni). If you have nothing to do id be very happy if you could check the code and how fukcing bad it is, maybe i had to use x instead of y or smth. :D https://github.com/MilkeeyCat/diagonals (edited)
Avatar
Jupstar ✪ 10/22/2023 6:01PM
no vulkan, bad
Avatar
vulkan isnt for grugs
6:01PM
hard
Avatar
Jupstar ✪ 10/22/2023 6:01PM
xd
6:01PM
i like the CallGL macro
6:01PM
is that your idea?
Avatar
i yoiked it myself
Avatar
Jupstar ✪ 10/22/2023 6:02PM
nice nice
6:03PM
now pls maintain opengl code for ddnet
6:03PM
😏
6:03PM
i barely wrote a program with 3 shaders
6:03PM
and it already looks ugly
Avatar
Jupstar ✪ 10/22/2023 6:03PM
sounds like u talkn about ddnet
6:04PM
at least u can say u know all the OGL 3.3 techniques
6:04PM
vertex array index buffer
Avatar
yea :D
Avatar
Jupstar ✪ 10/22/2023 6:07PM
now learn vulkan and understand that vertex arrays are a lie
6:07PM
xd
Avatar
i wanted to write somehting like this
6:10PM
but muuuuuch simpler xD
6:10PM
this one looks like it will take a few years to do pepeW (edited)
Avatar
Avatar
MilkeeyCat
Yo, i recently made a game. It was my first time using opengl and c++ pepeW (i had to do it for uni). If you have nothing to do id be very happy if you could check the code and how fukcing bad it is, maybe i had to use x instead of y or smth. :D https://github.com/MilkeeyCat/diagonals (edited)
i also wanted to make a moaning anime sound when u lose but i didnt know what lib to use for it feelsbadman
Avatar
Avatar
MilkeeyCat
i wanted to write somehting like this
Jupstar ✪ 10/22/2023 6:17PM
could be cool
Avatar
Avatar
MilkeeyCat
i also wanted to make a moaning anime sound when u lose but i didnt know what lib to use for it feelsbadman
bass? OpenAL?
Avatar
i couldnt decide what to use xD
Avatar
OS API? kek
Avatar
i asked before but nobody answered xd
Avatar
Avatar
Mʎɹ シ
OS API? kek
windows just have function PlayAudio pepeW
Avatar
Avatar
MilkeeyCat
i couldnt decide what to use xD
Use Bass xd
Avatar
god i need to get into shader code
6:54PM
custom shaders for ddnet maps would be sick af
Avatar
Avatar
Voxel
custom shaders for ddnet maps would be sick af
Adding custom shaders in ddnet renders is so painful mission
6:56PM
And how I remember, vulkan and opengl have different shaders langs
Avatar
Jupstar ✪ 10/22/2023 7:45PM
and then thers is opengl 1
7:45PM
it doesnt even have a shader language in its core spec
Avatar
Hm, maybe shaders in maps is real, but it need smth like translator from GLSL to vulkan shaders and just turn off shaders on opengl 1. And I think it will make ddnet map files fat
Avatar
Jupstar ✪ 10/22/2023 7:49PM
well just saying shaders for maps is ez
7:49PM
u'd need a spec what exactly can be changed by a map shader
7:49PM
does it get any input (e.g. vertices?)
7:49PM
is it post processing only
7:49PM
stencil buffers
7:49PM
there is so much stuff
Avatar
i was thinking post processing stuff
Avatar
RTX in ddnet gigachad
Avatar
you can do a lot with shaders but post processing seems the most straight forward
Avatar
Avatar
Mʎɹ シ
Use Bass xd
cyberFighter 10/22/2023 7:50PM
@Voxel
Avatar
not reading that (edited)
Avatar
cyberFighter 10/22/2023 7:51PM
Ok but asking clyde
Avatar
clyde is ass
Avatar
Im so lazy for turning on vpn and ask normal gpt
Avatar
Jupstar ✪ 10/22/2023 7:51PM
well and another problem is that shaders can crash your GPU
monkaS 2
7:51PM
as stupid as it sounds
7:52PM
there isn't really a 100% safe shader
7:52PM
recently chromium also had a vulnerable related to webgl
7:53PM
probably nicer would be if the user has to manually enable mods (with some kind of disclaimer)
7:53PM
and if he gets virus... rip xd
7:53PM
his fault xdd
Avatar
color correction mod
Avatar
a damn circles 10/22/2023 8:02PM
where cock mod
Avatar
Jupstar ✪ 10/22/2023 8:03PM
teep*rn.com
Avatar
a damn circles 10/22/2023 8:03PM
hot
Avatar
Avatar
Jupstar ✪
teep*rn.com
prnworlds or smth
8:04PM
twinbop paste here ^
Avatar
guys the joke is porn laugh now
Avatar
Jupstar ✪ 10/22/2023 8:06PM
hahahaah
Avatar
a damn circles 10/22/2023 8:06PM
well you did make it
Avatar
Jupstar ✪ 10/22/2023 8:06PM
funny 18 years old jokes
8:06PM
sad that i'm old
Avatar
Avatar
a damn circles
well you did make it
and got 50 solid bucks out of it
8:10PM
now stop alting
Avatar
a damn circles 10/22/2023 8:10PM
money well spent
8:11PM
xd
Avatar
Avatar
Jupstar ✪
does someone have a tool to extract chat from a demo? @Patiga u once worked on demo stuff, maybe u have some code flying around for that?
no, could be easy to make, though
Avatar
Avatar
Jupstar ✪
well and another problem is that shaders can crash your GPU
my ethernet port just died on me 💀💀
9:12PM
When the world needed him most he disappeared. 200 yea....
Avatar
Jupstar ✪ 10/22/2023 9:16PM
No software is perfect xd
9:17PM
Except gamecore.cpp
Avatar
This adds the ability to disable the printing of regional rankings in /top5 and /rank. Most servers aren't split across multiple regions which leads to the /top5 being effectively printed twice. sv_regional_rankings 1 (default) !image sv_regional_rankings 0 !image

Checklist

  • [x] Tested the ...
Avatar
Avatar
Patiga
hey
whats this
Avatar
Godot :D
Avatar
and tilemaps were a bit painful
Avatar
looks funny (edited)
Avatar
Avatar
MilkeeyCat
i also wanted to make a moaning anime sound when u lose but i didnt know what lib to use for it feelsbadman
miniaudio
Avatar
good morning
Exported 231 message(s)
Timezone: UTC+0