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-03-09 00:00:00Z and 2024-03-10 00:00:00Z
Avatar
@deen Could you add my server 43.139.181.32 into the master whitelist? Thanks.
Avatar
Avatar
bamcane
@deen Could you add my server 43.139.181.32 into the master whitelist? Thanks.
Why would there be a whitelist
Avatar
does anyone know what they mean by "NFC patch."
08:28
It looks like the Core.h changes are just reformatting, which should be done in its own NFC patch.
Avatar
i rly dislike gitlab UI
Avatar
its so unintuitive
08:39
forgejo is nice
Avatar
Hello everyone
08:41
Now i meet a problem
08:42
I code a function SendChatLocalize and i use str_format to format the string
08:42
I tried use GNUC_ATTRIBUTE
08:43
but it was useless
08:43
What should I do?
Avatar
what is you actual problem right now? are you having trouble using the function? (edited)
08:44
a8b8c6e update slovak translations - dobrykafe b957107 Merge pull request #8075 from dobrykafe/pr-slovak-translations - def-
Avatar
No but the warning
Avatar
send a screenshot please
Avatar
code looks fine ? - what is the error/warning
Avatar
I think that's because the string: SendChatLocalize -> Localize -> str_format
09:06
and Localize read a variable so GCC couldn't know the format args.
Avatar
Avatar
meloƞ
code looks fine ? - what is the error/warning
pFormat being not string literal
09:15
we have the same rn cat
Avatar
Avatar
zhn
we have the same rn cat
stepfunnslam
Avatar
zhn: so how should i fix it?
Avatar
theres nothing to fix actually but if it annoys you, you can search for silencing this warning on all compilers you use
09:25
clang and msvc for example
09:27
Is there a way to disable just a single warning line in a cpp file with visual studio? For example, if I catch an exception and don't handle it, I get error 4101 (unreferenced local variable). Is ...
09:33
an answer has for msvc pragma warning( push ) #pragma warning( disable : 4774) // Your function #pragma warning( pop ) for clang #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wformat-nonliteral" // your function #pragma clang diagnostic pop
09:34
forgot # for first one x)
Avatar
Thanks, but i found a other way
09:38
the warning is because `void str_format(char *buffer, int buffer_size, const char *format, ...)
09:38
GNUC_ATTRIBUTE((format(printf, 3, 4)));`
09:38
so i code a str_format_nowarn without GNUC_ATTRIBUTE((format(printf, 3, 4)))
Avatar
Avatar
bamcane
so i code a str_format_nowarn without GNUC_ATTRIBUTE((format(printf, 3, 4)))
You should add GNUC_ATTRIBUTE((format(printf, X, Y))) to your new functions instead of ignoring the warnings
09:53
Also, I'd use regular varargs instead of templates for SendBroadcastLocalize and use str_format_v internally instead
Avatar
dune dev meme spoiler
SPOILER
Image attachment
10:42
its not rly a spoiler but anyway
Avatar
ee201ae guild_log: other -> admin-mail - murpii
Avatar
I'll never install arch again, it's rape my ass to fix EFI partition for dual boot cammostripes
Avatar
The problem is the dual boot, not arch For sure not worth the effort
Avatar
Avatar
Peakies
I'll never install arch again, it's rape my ass to fix EFI partition for dual boot cammostripes
Just use arch and no windows
12:37
Problem solved
Avatar
no that was my own fault that format my old efi partition then had to download windows iso file to able restore it
Avatar
Avatar
MilkeeyCat
Just use arch and no windows
I'm okay to have only linux but for some games and application really need windows
Avatar
ws-client BOT 2024-03-09 12:53:57Z
<ChillerDragon> @Peakies I also recommend against dual boot. You can still keep windows just get two disks.
Avatar
Avatar
ws-client
<ChillerDragon> @Peakies I also recommend against dual boot. You can still keep windows just get two disks.
you mean install linux on two different hard drive ?
Avatar
ws-client BOT 2024-03-09 12:55:04Z
<ChillerDragon> every os with their own boot loader on one hard drive
12:55
<ChillerDragon> then you can use your bios to boot from a disk and this way chose a os
Avatar
oh and for switch using bios boot menu right ?
Avatar
ws-client BOT 2024-03-09 12:55:36Z
<ChillerDragon> then on os install you can just let it take the entire disk and its easy and smooth
12:55
<ChillerDragon> yes
Avatar
they already installed on different hard but for grub I added both entry on same efi partition
Avatar
ws-client BOT 2024-03-09 12:56:53Z
<ChillerDragon> if that annoys you dont bother :D just use the bios
12:57
<ChillerDragon> set the boot order to match which os you boot into more often. And if you need another one spam f12 while booting your pc and select another one.
Avatar
for now it's fine just had some issues with nvidia fucking driver to install then I fixed everything and it's ready to compile ddnet 😄
Avatar
Avatar
ws-client
<ChillerDragon> set the boot order to match which os you boot into more often. And if you need another one spam f12 while booting your pc and select another one.
yeah I did this method for months before but I thought should try something new like grub boot loader
Avatar
ws-client BOT 2024-03-09 12:58:38Z
<ChillerDragon> if nvidia wasn't better performance and feature wise i would love to switch to amd seems to be smoother
Avatar
Avatar
ws-client
<ChillerDragon> if nvidia wasn't better performance and feature wise i would love to switch to amd seems to be smoother
on windows it's fine to use really easy to install it's driver and etc on linux it's trying to fuck everything and really hard to choice what driver version should install to after reboot be able see desktop manager once again 😄
Avatar
Previously, usage of void *, unsigned char * and uint8_t * was mixed in various places for pointers to raw image data and the pointers ended up being cast to uint8_t * at some point anyway. Now only uint8_t * is used consistently, which improves type safety and readability. Casts to uint8_t * are now only necessary when using malloc or when reading data from a map.

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [X] Teste...
Avatar
Avatar
ws-client
<ChillerDragon> if nvidia wasn't better performance and feature wise i would love to switch to amd seems to be smoother
and have question is there any opensource client that have some kind of shaking screen effect or something, I want to add jump scare for my client and want to add shake effect when scary screen load to be more effective
monkaS 1
Avatar
i would love to see progress on #7556 :(
Avatar
While discussing issues related to binds, one suggestion was to add bind categories/groups so we could do more actions not only in game but in menus, demo player, editor, etc. See #3995, #3995 (com...
Avatar
b672631 Use uint8_t * consistently for raw image data - Robyt3 bb4dd09 Merge pull request #8077 from Robyt3/Graphics-ImageData-uint8_t - def-
Avatar
Avatar
meloƞ
i would love to see progress on #7556 :(
Me too
Avatar
Avatar
archimede67
Me too
Avatar
is there something like vulkan available in rust? (edited)
Avatar
do you want like a wrapper for the vulkan api?
🇱 1
🇴 2
⭕ 1
🇰 2
🇩 2
Ⓜ️ 1
owo 2
Avatar
You can use vulkan through Rust. There is no Rust native gfx api
Avatar
Or you can use opengl through Rust if you don't feel like writing thousands of lines of boilerplate 😛
17:25
Or DirectX ™️ to piss everyone off
Avatar
Avatar
Learath2
Or you can use opengl through Rust if you don't feel like writing thousands of lines of boilerplate 😛
ill grab the first boilerplate i see on gh xDD
17:35
A Vulkan® API for Rust. Contribute to cogciprocate/voodoo development by creating an account on GitHub.
17:36
Safe and rich Rust wrapper around the Vulkan API. Contribute to vulkano-rs/vulkano development by creating an account on GitHub.
Avatar
Avatar
Teero
is there something like vulkan available in rust? (edited)
vulcano?
17:57
ah
17:57
xdddddd
Avatar
does anybody know if it's possible to configure github webhook to trigger only when commits are pushed to master branch upd. seems like it's not feelsbadman (edited)
Avatar
webhooks are not exactly supported to only trigger on specific branches, but iirc there was a workaround with ref
19:44
@MilkeeyCat why did you loose dev role :o
Avatar
macos ?!
Avatar
Avatar
meloƞ
webhooks are not exactly supported to only trigger on specific branches, but iirc there was a workaround with ref
i just have da webhook for discord server which sends message like in this channel and i want it to send these messages only when i push to master
Avatar
I done jumpscare 😛
Avatar
my worst jumpscare is trying to edit something in CMakeLists.txt 😬
Avatar
more like pepeW
Avatar
Avatar
MilkeeyCat
my worst jumpscare is trying to edit something in CMakeLists.txt 😬
i dont know when i did it and how to turn it off, but any change on cmakelists rebuilds it immediatly, so just adding 1 line takes ages - i really need to fix that
Avatar
but i can see the result only in workflow
19:50
fukcing hell =]
Avatar
Our product creates WebHooks at GitHub. One for each customer project. Each such project, is linked to a single branch. When a push to GitHub is performed, the corresponding WebHook is triggered,
Avatar
Avatar
Peakies
Click to see attachment 🖼️
i've seen worse!
Avatar
me too
19:53
it's just simple and basic
19:54
I should use gif or video for it's scary content
19:57
👍 2
Avatar
Avatar
Peakies
Click to see attachment 🖼️
@meloƞ maybe use like what did I for intro to do for jumpscare too
Avatar
Avatar
Peakies
Click to see attachment 🖼️
@-StormAx when your client that cool?
Avatar
teach him cpp
Avatar
teach me cpp justatest
Avatar
bros cooking ddnet_server MonkaX
Avatar
im home btw
Avatar
what the hell is ddts
20:21
:o
20:21
commit!
Avatar
wait for some pushies
Avatar
Avatar
meloƞ
what the hell is ddts
that.. hurs feelsbadman
Avatar
ure literally in dat discord server
Avatar
i have 21 discord servers man
Avatar
Avatar
MilkeeyCat
teach me cpp justatest
just had to put bang after ) ez clap
Avatar
Avatar
meloƞ
what the hell is ddts
ddteamspeak?
20:23
justatest
Avatar
dd tits
Avatar
ddtypescript
Avatar
Avatar
zhn
ddtypescript
forget 100% rust, 100% TS it is
20:24
100% typescript wrapped in c++
Avatar
Avatar
zhn
ddteamspeak?
team searcher 😏
Avatar
Avatar
meloƞ
dd tits
omagad
20:24
oh
20:24
wrong replay xd
20:24
i eas about to say deen zuts
20:24
but forgor to
Avatar
deen seeing this stare
Avatar
Avatar
MilkeeyCat
teach me cpp justatest
replace -Werror with -Wall in compile flags to ignore everything and be happy Pepechill
Avatar
just remove github workflow files
Avatar
Avatar
Anime.pdf
replace -Werror with -Wall in compile flags to ignore everything and be happy Pepechill
pepeW
Avatar
Avatar
MilkeeyCat
just remove github workflow files
just rm -rf ~/, who needs a home anyway (edited)
justatest 1
Avatar
you dont need home if you do everything from root gigachad
Avatar
you guys have root? i do everything on /mnt
Avatar
Avatar
meloƞ
@-StormAx when your client that cool?
what the
Avatar
@zhn explain the 69 additions - lewd
Avatar
and yes i use light mode gitlab, hate me for it
Avatar
gitlab dark mode sucks
Avatar
yeah its still in beta and sometimes it just looks ass
Avatar
@Anime.pdf go contribute for blockworlds
20:38
we are hiring
Avatar
who said we're hiring
Avatar
7ban Nouaa
Avatar
Avatar
Nouaa
we are hiring
what is hour pay
20:38
owo
Avatar
-2 sanity each month
20:38
oh yeah and 5 bp
Avatar
0.05 bp/hour
Avatar
@Nouaa damn im like, 20 bp richer!
Avatar
didn't I mention "contribution" ? lol
Avatar
Avatar
meloƞ
@zhn explain the 69 additions - lewd
@zhn i still want an explanation
Avatar
im horny furry
20:42
what do you want
Avatar
Avatar
zhn
im horny furry
Avatar
Avatar
zhn
im horny furry
proof of fake
Avatar
Avatar
meloƞ
@-StormAx when your client that cool?
its fucking 2fps gif
20:52
i cant
20:52
how bad
Avatar
i'm trying to make smooth animation for text
20:52
but i cant
Avatar
6bb97f0 Add 100 € funding by archimede67 for South Africa and DDNet.org - def-
👍🏻 2
Avatar
@archimede67 Thanks a lot!
❤️ 1
Avatar
lemme cook
Avatar
cemme look
Avatar
we miss jupsti
Avatar
Avatar
zhn
we miss jupsti
where did he go?
Avatar
noooooo
Avatar
d4929b6 Add 98 € donation by Nouaa - def-
Avatar
@Nouaa Thanks!
Avatar
it was 101
Avatar
I guess paypal siphoned 3
troll 3
22:17
@archimede67 alright looks like you won
kek 2
Avatar
Paypal deducted a 2.86 € fee. I could try sending it back to you and you can try transferring it to "to a friend" instead of "for a product", then there is no fee (at least in some countries)
22:18
I'm afraid though that maybe the fee still stays at Paypal if I return the payment
Avatar
meh it's fine I guess
Avatar
If you refund a payment for goods or services, there are no fees to process the refund, but the fees you originally paid as the seller are not returned to you.
Avatar
I refunded it, I think 101 € should be back. Try again 😄
Avatar
about to send another donation of 101e
22:19
haha
22:19
alright
22:22
balance still shows 0, elon's tweaking
22:23
22:24
"bank processing, to complete by March 14"
Avatar
Avatar
Nouaa
"bank processing, to complete by March 14"
pepeW
Avatar
can you transfer paypal balance to bank wallet?
22:26
otherwise will need to wait a bit, got my rent to pay lmfao
Avatar
yes, you can
22:30
I do that all the time because I don't trust Paypal, they are not a bank and they can just lock your money for whatever reason
22:30
but anyway, don't sweat the timing, just wait a few days, not in a rush
Avatar
Are there any options that don't involve paypal?
Avatar
Avatar
Peter0x44
Are there any options that don't involve paypal?
We took bitcoin for a while, and I think @deen let some people do a bank transfer
Avatar
Avatar
Robyt3
You should add GNUC_ATTRIBUTE((format(printf, X, Y))) to your new functions instead of ignoring the warnings
is it real to forward format string (which are never user-provided) into constructor without getting -Wformat-no-literal?
22:46
just slapping attribute on top does nothing as i see
Avatar
Avatar
GitHub
Click to see attachment 🖼️
Damn you cooked
Avatar
Avatar
zhn
is it real to forward format string (which are never user-provided) into constructor without getting -Wformat-no-literal?
I guess you need one location where you ignore the warning, if you unpack the format string from a netmessage or something like that. But you should add proper validation there to ensure it's a valid format string for the given arguments.
Avatar
i added derived class from CHttpRequest and instead of putting here raw urls i did a little hack to pass just an arguments to build the url
22:52
so instead of doing another layer between derived and base class that just formats all the things (but it will require to pass format string into ctor anyway ig) i did some private struct that just does the same with proxy-ctor
Avatar
What problem are you trying to solve?
Avatar
url building to pass into CHttpRequest ctor
Avatar
You don't need to add a derived class for that
Avatar
derived class has another functionality, i just have this problem too
Avatar
See for example the CEditor::ShowFileDialogError function on how to pass varargs from one functions to str_format_v
Avatar
nah the problem is not passing the arguments but passing the format string that comes straight into ctor
22:58
and ctor for some whatever reason don't get this attribute
22:58
doesn't*
22:58
like it just ignores it
Avatar
hmm, if that's the case then you could either try adding a function to set the URL, or ignore the additional two lines of code which would be necessary if this function doesn't support varargs
Avatar
yeah just was curious
23:00
thanks anyway!
Avatar
i had two first arguments as const char * and used ...format(__printf__, 2, 4)... instead of 3 (forgor about this passing as well in ctor)
Avatar
does anyone know how to contact the owner of this account? https://github.com/MyNewBie
MyNewBie has 36 repositories available. Follow their code on GitHub.
Exported 228 message(s)