Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2024-12-25 00:00 and 2024-12-26 00:00
Avatar
What do foes actually do?
01:28
I couldn't figure it out, I thought it was related to muting but that doesn't seem to be the case
Avatar
Avatar
Tater
What do foes actually do?
use add_foe "playername" "clan" to add a player name to mute permanently (unless removed with remove_foe)
01:55
then foes will list all the players that you muted with add_foe (edited)
Avatar
So it does mute them
Avatar
yeah
Avatar
add_foe is a permanent mute for that specific name, or name / clan combo
Avatar
unlike the tick in the Players tab ingame, foes get saved so the name you added is permanently muted (settings_ddnet.cfg) (edited)
Avatar
But muting in the player menu is completely separate
01:57
Foes don't show anywhere except foes command
Avatar
They used to show up in a list in the browser, similar to the friends list
01:58
iirc
Avatar
Why is the player list mute separated from foes? I assumed it would add a foe because the friend button is right next to it
Avatar
No clue, but I remember deen being worried about permanent mutes
02:02
Probably something along the lines of accidentally permanently muting someone and not realizing, which I could see happening I guess
Avatar
Avatar
Skeith
Probably something along the lines of accidentally permanently muting someone and not realizing, which I could see happening I guess
i could also imagine it being abused with fakenames, imagine someone spamming every server with the name of moderators names (or literally anyone), and a bunch of people mute them forever whereas if the majority of people only use the tick to mute permanently, its not an issue since they only mute the spammer (edited)
Avatar
I liked the context menu thing someone posted earlier for the scoreboard, I think a combination of that and some better interface windows would be an overall improvement to everything, maybe in combination of accounts
02:06
Though idk how well that'd work for a full server, would need to rework the scoreboard in general. especially 128 player
02:07
Every menu could use a overhaul tbh, but I'm just yappin greenthing
Avatar
Avatar
Skeith
I liked the context menu thing someone posted earlier for the scoreboard, I think a combination of that and some better interface windows would be an overall improvement to everything, maybe in combination of accounts
02:11
Seems like a good start to modernizing things imo
02:17
(Players tab is awful)
Avatar
needs something to enable cursor in menu cause i like to have my ingame cursor in menu sometimes
02:38
maybe same button for spectator menu or smth
02:39
actually, maybe just ditch that idea and force cursor in tab menu
02:39
there's not many cases where you really need it during gameplay so it might be better to force cursor and just have people get used to it
Avatar
@Anime.pdf @Skeith i made a quick concept for how i'd do the menu
02:57
the 3 icon buttons mean: Add friend, Add foe, and Report
Avatar
Avatar
Voxel
@Anime.pdf @Skeith i made a quick concept for how i'd do the menu
This looks goated, thanks a lot. I was thinking about adding all team stuff there join/leave, invite/kick, lock and copying nickname/id, do you think it will look ok to make some kind of tabs, to not put all actions in 1 menu?
Avatar
Seems good, dunno what I'd change but maybe have less options so it's not as big, I feel like mute emotes isn't used very often by most players
Avatar
Avatar
louis
needs something to enable cursor in menu cause i like to have my ingame cursor in menu sometimes
In the video, cursor is being toggled by mb3, I showed it in the end, ig no one noticed this feature (edited)
03:12
🤓
Avatar
Avatar
Skeith
Seems good, dunno what I'd change but maybe have less options so it's not as big, I feel like mute emotes isn't used very often by most players
i guess so, but i did kinda make this to replace the players tab
Avatar
Ya, fair enough
03:20
Scoreboard should be changed to make it more obvious you can click on people
Avatar
really as simple as highlighting the current player your mouse is over
03:21
which is already done
Avatar
Ya, I guess. I guess then it needs to be made more obvious you can turn mouse mode on
03:23
I don't like the idea of having it on by default when hitting tab, as louis suggested
Avatar
yea but that involves a... gulp ...option!
Avatar
@Voxel why do you have me blocked, I didn't mention twinbop for a year already, and I still can't add silly reactions to your messages 😭
Avatar
sighhhh fine
✨ 2
Avatar
Yapiiiiee3_
Avatar
GOOD MORNING
05:05
merry christmas y'all
05:08
Yo, is there anyone who may have a little super secret, retarded redacted article about culling textures that are completely covered by other textures which don't have any transparency at all? kek (edited)
05:09
I'm planning on implementing occlusion on textures which shouldn't be visible whatsoever and is wasting precious draw calls
Avatar
how much fps do you think it will save
Avatar
depends on how draw calls are handled
05:17
since I develop my own stuff in Godot, only Objects that are flagged visible will be checked for it's draw calls
05:17
so, the less draw calls, the more data can flow into the GPU, the more FPS owo
05:18
not exactly like that, but this will make sure the CPU can concentrate on more things, than sending data
05:19
For example, if 10 textures are overlapping each other and all 10 objects are flagged as visible, all 10 of them will be checked, waste of CPU usage. If I can manage to hide all 9 of them which are completely not visible to the camera's view, then 9 Objects are skipped from gathering data, which means CPU go wroom wroom
05:22
And for the love of god, I cannot find a single article about how they handle what to render and what not to render in a 2D space. I saw 3D videos about frustrum culling, but it's mainly used in 3D. Do we have an article similar to it, but in 2D space?
Avatar
2d is a subset of 3d aint it
Avatar
chillerdragon BOT 2024-12-25 06:00
Nice!!
Replying to @Koll Potato omg the server is working
Avatar
ChillerDragon BOT 2024-12-25 06:14
@deen i tried moving Input()->MouseModeRelative();Ui()->SetEnabled(true); to OnRender but that did not help
06:47
i hate tencent
06:48
wiki was still accesable within qq yesterday morning
Avatar
Is it possible to ask them for an explanation?
Avatar
it just says malicious content
06:49
but it says that for about every website
06:49
i can appeal it if i submit my ID and claim it is mine but idk if i want to
06:51
i think they just auto block every website that is not registered if more than a few people access it. cuz i send the link in the chat and it is just gone after that
Avatar
What??
Avatar
Avatar
eidderFsT
it just says malicious content
Does Tencent give any info on what is so malicious about it? It doesn't let the end user download content, drop ads or ever redirect them elsewhere no?
Avatar
Avatar
Cellegen
Does Tencent give any info on what is so malicious about it? It doesn't let the end user download content, drop ads or ever redirect them elsewhere no?
no
Avatar
Then wtf?
Avatar
but again, it just says that for basically every website
Avatar
There is no malice in giving documentary on a game lmao
Avatar
unless you are registered
Avatar
that is bs
06:58
that is not an intention for malice, that is a misuse of that word
06:58
jeez tencent
Avatar
i mean i assumed ddnet.org got banned bcs it contains twn in ddnet.org/status
06:59
maybe it auto detected the traditional chinese language settings in wiki too
Avatar
I thought so, cuz ddnet.org is in a way, allowing the end user to download content outside of chinese regulations no?
Avatar
again, no idea
Avatar
so maybe they immediately target the main website, instead of the wiki directly
Avatar
and i don't care. i just need to work around it
Avatar
again, this is so bullshit 😄
Avatar
i'm pretty sure is automatically banned
07:00
cuz no way they can manually ban 90% of all websites
Avatar
So, does Tencent force someone in the Easten region to register as an upholder that is .... gonna be responsible?
Avatar
there is not many websites you can just log onto unless it is gov or appealed by a register holder
Avatar
that is a super dangerious bet
07:01
so f.e Deen wouldn't be able to uphold it, but it would be your job to do so, if you register for it?
Avatar
luckly browsers don't do that in china yet. maybe they do, i just don't use chinese browsers
Avatar
and you get punished for it if anything they intent as malicious?
Avatar
Avatar
eidderFsT
luckly browsers don't do that in china yet. maybe they do, i just don't use chinese browsers
idk dude, no idea how it works there
Avatar
i don't need to register it for ddnet, and also i can't i have to be the one buying the domain in a chinese provider for me to register it to the gov
07:02
but i can just submit my id to tencent and say it is mine
07:02
not sure if that will work tho
Avatar
eh... not worth it
Avatar
and i don't really want to attach my id to a website that is not mine tho
Avatar
yeah, we shouldn't force a person to register it in behalf of ddnet
Avatar
you really shouldn't be able to claim it is yours too
07:04
i think they do check the registeries
Avatar
until Tencent properly reviews it and sees it as a conventional documentary site, it shouldn't be done
Avatar
cuz anyone can just submit an ID and appeal
07:04
they probably won't do it anyway
07:05
for now i'm just trying my best to make sure twcn is up to code and fully tracable to me, so if anything went wrong at least they can find me
07:05
just to show that i am (at least trying) to be lawful lol
Avatar
maaan, hopefully you won't get yourself to court because of it
Avatar
unless it is so serious that involves either heavy politics or violence, they will just call me to let me close the site i think
07:07
nouis mabye
07:07
not that we have that many users anyway
07:08
and i did remove the taiwan flag on the chinese version of the site just to be safe lmao. you can't do that on ddnet that would be discrimination.
Avatar
fantastic
07:10
hope it goes well
Avatar
Avatar
Voxel
@Anime.pdf @Skeith i made a quick concept for how i'd do the menu
I love the font. What is it?
Avatar
Inder (edited)
07:49
it's the closest default font to Deja Vu Sans I can get on Figma
07:49
(and i really dont want to have to go through the trouble of using the figma font thingy again)
07:51
Inder is a low contrast workhorse sans serif text face design. It was inspired by German art noveau style lettering and the Amsterdam School of architecture. In
Avatar
cyberfighter 2 2024-12-25 15:57
does someone here know um... some windows
15:58
i have an issue where my keyboard fucks up & randomly freezes the inputs, this is fixed if i plug in a second keyboard, probably something about drivers, does someone know how to force that driver to stay or smth? lmao
Avatar
throw away pc
Avatar
cyberfighter 2 2024-12-25 16:00
too expensive to throw away sorry
Avatar
Avatar
cyberfighter 2
i have an issue where my keyboard fucks up & randomly freezes the inputs, this is fixed if i plug in a second keyboard, probably something about drivers, does someone know how to force that driver to stay or smth? lmao
Avatar
cyberfighter 2 2024-12-25 16:21
still happening
16:22
well rn its happening outside of ddnet
Avatar
Maybe the keyboard, cable, connection or USB port are faulty. Try using a different USB port and for testing unplug all other devices that don't need. If it works with one keyboard and not with the other it seems like the keyboard or its cable are faulty. Uninstall the drivers for the broken keyboard in the Device Manager and then install the latest drivers from the manufacturers website. If that doesn't work, contact the manufacturer.
Avatar
cyberfighter 2 2024-12-25 16:37
happens for all usb ports on that one keyboard
16:39
the "broken" keyboard works completely fine if i put in a second keyboard plugged in like i said, there also doesnt seem to be any drivers online
16:39
guess im just gonna use a different keyboard
Avatar
can it be that when I write x = x || foo(); foo() won't be executed since x is true?
18:48
ig compiler is smart enough, ever for switching foo() and x places
Avatar
Avatar
Anime.pdf
can it be that when I write x = x || foo(); foo() won't be executed since x is true?
yes
18:51
that is also why something like if(some_pointer && some_pointer->att1 > 2) works even if some_pointer is NULL
Avatar
deprecated in favor of leap.nvim. Contribute to ggandor/lightspeed.nvim development by creating an account on GitHub.
19:06
anyone tried this? :D
19:06
looks cool
Avatar
Avatar
Voxel
@Anime.pdf @Skeith i made a quick concept for how i'd do the menu
smth like this, also team buttons are 'contextual', they appear only if they can be applied
Avatar
Avatar
Anime.pdf
smth like this, also team buttons are 'contextual', they appear only if they can be applied
oooooh nice
Avatar
the button prob need to be opaque if you can find a cool color for it imho. the background is too text heavy it blends with the button text a little bit
Avatar
whatd you change the report button to
Avatar
Avatar
eidderFsT
the button prob need to be opaque if you can find a cool color for it imho. the background is too text heavy it blends with the button text a little bit
yeah, I just made it less transparent, looks better
Avatar
Avatar
Voxel
whatd you change the report button to
spectate
Avatar
ooooh
Avatar
also turns out ddnet has only font awesome solid, and adding regular along with solid looks a little too complicated for me
Avatar
fair enough
Avatar
help pls
Avatar
Install a compiler
Avatar
Avatar
Maxim
help pls
Try Unix Makefiles instead of MinGW Makefiles
Avatar
better yet use ninja
Avatar
cyberfighter 2 2024-12-25 21:19
somethings bleeding?
Avatar
Avatar
Robyt3
Try Unix Makefiles instead of MinGW Makefiles
okay, ill try it tomorrow
21:26
can somebody build for me local host?
Avatar
GitHub BOT 2024-12-25 21:48

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/ddnet/#using-addres...
Exported 160 message(s)
Timezone: UTC+0