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-01-06 00:00:00Z and 2024-01-07 00:00:00Z
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
in düsseldorf is every year a event called "Japan-Tag" with crazy food and more (https://www.japantag-duesseldorf-nrw.de/)
Am 1. Juni verwandelt sich Düsseldorf wieder in den Ort eines der größten japanischen Kultur- und Begegnungsfeste Europas und wird auch dieses Jahr die Besucherinnen wieder mit einem spektakulären japanischen Feuerwerk am Rhein begeistern. Die Düsseldorferinnen sowie alle Gäste erwartet ein Tag voller japanischer Kunst, Kultur und Kulinarik. B...
Avatar
Avatar
Learath2
Do we have anyone from dusseldorf here?
living close to dusseldorf
Avatar
is block server open source too?
02:16
i just wanna know how @ChillerDragon do the left-side broadcast
Avatar
Just add spaces
Avatar
Avatar
Daniel
i just wanna know how @ChillerDragon do the left-side broadcast
BlaiZephyr | meloƞ 2024-01-06 03:03:10Z
https://github.com/DDNetPP/DDNetPP is what you're looking for i guess?
DDraceNetwork + city + block! Based on ddnet (www.ddnet.tw) which is based on teeworlds (www.teeworlds.com). - GitHub - DDNetPP/DDNetPP: DDraceNetwork + city + block! Based on ddnet (www.ddnet.tw) ...
Avatar
Avatar
BlaiZephyr | meloƞ
https://github.com/DDNetPP/DDNetPP is what you're looking for i guess?
i looked into it but didn't found the part where he broadcasted it in a 1on1
Avatar
goood morning
Avatar
chillerdragon BOT 2024-01-06 07:12:32Z
What IDE do you use? And which broadcast exactly are you looking for? If you just want to know how to left align that was just adding spaces on the right if I remember correctly.
Replying to @Daniel i looked into it but didn't found the part where he broadcasted it in a …
Avatar
chillerdragon BOT 2024-01-06 07:42:45Z
I might be getting something wrong here but I feel a bit abused lately contributing to ddnet. It seems like touching code gives reviewers the power to request complete rewrites of the surrounding code that has nothing to do with it the actual pr. Makes the process very slow and not fun. I fix a bug A and get as feedback „yea but it would be nice if we also had feature B. And you better implement that if you want a merge“ Like robsti requesting I add entire command system in my pr to censor chat. Or Heinrich requesting to be his code monkey for refactoring entire net code generation when I’m just applying a patch that was already applied in another file. This has to stop. Or you need to convince me that this is a good process.
07:43
@heinrich5991: @Robyt3 ^
Avatar
chillerdragon BOT 2024-01-06 07:52:22Z
I thought ddnet policy was „do what you want but do it your self“ not „you can do what you want if you also do something for me“
Avatar
You keep wanting to add features that none of us want. We atleast want them done properly
08:27
The only way to properly censor chat was to have a command system. We aren't going to commit a hack because you don't feel like it. You are free to do that in your own fork
Avatar
ChillerDragon BOT 2024-01-06 08:36:32Z
i see
08:36
teeworlds/teeworlds#2688 #4741 Changes game/generated/protocol7.cpp from this: case NETOBJTYPE_CHARACTER: { CNetObj_Character pObj = (CNetObj_Character *)pData; if(sizeof(pObj) != Size) ret...
08:36
what about this
Avatar
Breakfast first, code review after. But I suspect you are right about that one after skimming over it on phone
Avatar
ChillerDragon BOT 2024-01-06 08:39:42Z
phone coder axaxax
08:39
wat u breakfastin
08:40
lerato are u in düsseldorf now or not?
08:40
a u alr replied
08:41
@Learath2 wat u doin in düsseldorf?
Avatar
There is a certain concert I'll be attending
Avatar
ChillerDragon BOT 2024-01-06 08:41:33Z
wowo
08:41
man of culture
08:41
travelin the world
08:41
do u have snow?
08:42
i got some pog snow today at my secret current location
Avatar
Not yet sadgely
Avatar
ChillerDragon BOT 2024-01-06 08:42:29Z
._.
Avatar
I love snow too so global warming is double bad for me
Avatar
ChillerDragon BOT 2024-01-06 08:42:51Z
yea they shouldve done global colding
Avatar
Lets all do a day of global cooling. We all run our fridges with their doors open
Avatar
ws-client BOT 2024-01-06 08:43:58Z
<ChillerDragon> justatest
Avatar
chillerdragon: ask yourself if your pr makes the code clearly better than before
Avatar
ChillerDragon BOT 2024-01-06 08:45:42Z
it does
Avatar
if so you're right, no need to rewrite all shit code xd
Avatar
ChillerDragon BOT 2024-01-06 08:45:58Z
before snap items that seemed to be validated were not
08:45
now they are
08:46
its a fakin patch that was applied on 0.6 protocol without any backlash
08:46
and adding the same shits to 0.7 gives me big headache from mr 5991
08:46
he is sending me on side quests
08:47
im literally fighting dragons here and hydras
08:47
and this npc5991 wants to send me on some goblin side quest
08:47
i reject!
08:47
i may have missused the world "literally" here xd
Avatar
xd
08:48
but your pr is useful for ddnet 0.6?
Avatar
ChillerDragon BOT 2024-01-06 08:48:30Z
no
08:48
well
Avatar
ah
Avatar
ChillerDragon BOT 2024-01-06 08:48:36Z
i removed tabs
08:48
xd
Avatar
xd
08:49
is it useful for ddnet 0.7 SERVER side translation layer?
Avatar
ChillerDragon BOT 2024-01-06 08:49:11Z
08:49
0.6 improvements be like
08:49
jopsti honestly idk
08:49
i need it for client
Avatar
see
Avatar
ChillerDragon BOT 2024-01-06 08:49:49Z
nonono
Avatar
and that's why it's not clearly improving stuff
Avatar
ChillerDragon BOT 2024-01-06 08:49:54Z
im not ziehing on that shoe
Avatar
it's ok
Avatar
ChillerDragon BOT 2024-01-06 08:50:02Z
it is a clear bug
Avatar
that shoe fits
Avatar
ChillerDragon BOT 2024-01-06 08:50:06Z
with a patch
Avatar
like the golden cinderella one
Avatar
ChillerDragon BOT 2024-01-06 08:50:15Z
that was forgotten to be applied to all files
08:50
a97wdh89awdh8awd
Avatar
welcome to the fairy tail of ddnet development
Avatar
ChillerDragon BOT 2024-01-06 08:50:46Z
indeed
08:50
has become a roleplay channel
08:52
deen is full yolo merger. No questions asked merges every shits 1s after he got the pr opend notifications
08:52
ok time to wait until heinrich wakes -.-
Avatar
i wish rust would have some kind of trait that allows you to just write the "real" definition of a generic parameter e.g. MyStruct {a:i32} -> <F> but now for the macro it's always called F.. and for error msgs it sucks to write F xDD
Avatar
ChillerDragon BOT 2024-01-06 08:53:31Z
F
Avatar
--> src/main.rs:19:5 | 19 | #[hiarc_macro::hiarc_safer_rc_refcell] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'hierarchical value indicates, that "F" is a higher level component (hierarchically) so it cannot be passed as parameter to a function in this component', src/main.rs:19:5 |
Avatar
ChillerDragon BOT 2024-01-06 08:54:20Z
common rust L with a program panick over here
08:54
panic*
Avatar
well this is a compile time safe Rc<RefCell> 😏
08:54
the panic here is good
Avatar
ChillerDragon BOT 2024-01-06 08:54:58Z
coping rust dev saying panic is good
08:55
axaxaxax
08:55
ok enuff trol
08:55
bye ping me on github
Avatar
k, cya on github
Avatar
lmao I discovered the worst troll website, superlogout
08:58
u send that to someone, he gets logged out from alot of known pages like google etc..
08:58
a way to annoy people
Avatar
ChillerDragon BOT 2024-01-06 08:59:52Z
im still logged in
Avatar
u didn't try
Avatar
ChillerDragon BOT 2024-01-06 09:00:15Z
09:00
i clicked OK a bunch of times
09:00
until it finished
Avatar
someone checked how the website does, it justs calls each /logout page on background
09:00
lmao it should be logged out on ur web browser then
Avatar
ChillerDragon BOT 2024-01-06 09:00:44Z
clearly bugged
09:00
the scam is a scam
Avatar
clever as chiller is, he opened it in ingocnito tab
Avatar
idk I did that to a friend, he told me fuck off & laughed lmao
Avatar
Avatar
Jupstar ✪
clever as chiller is, he opened it in ingocnito tab
true, he's smart
Avatar
i bet firefox is buggy, that's why
09:01
😬
Avatar
ChillerDragon BOT 2024-01-06 09:01:24Z
no i went full main browser
09:01
savage
Avatar
რილია 2024-01-06 09:01:36Z
hi everyone, how can i make a character send an emotion ? https://github.com/ddnet/ddnet/blob/master/data/emoticons.png
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
Avatar
in code or ingame
Avatar
რილია 2024-01-06 09:01:56Z
code 🙂
Avatar
ChillerDragon BOT 2024-01-06 09:02:06Z
void CGameContext::SendEmoticon(int ClientID, int Emoticon, int TargetClientID) const
Avatar
რილია 2024-01-06 09:02:08Z
i can change his eyes but can't send an emotion
Avatar
Avatar
ChillerDragon
void CGameContext::SendEmoticon(int ClientID, int Emoticon, int TargetClientID) const
რილია 2024-01-06 09:02:18Z
thank you ❤️
Avatar
ChillerDragon BOT 2024-01-06 09:02:20Z
GameServer()->SendEmoticon(GetCID(), EMOTICON_GHOST, -1);
09:02
why am i back on irc?
09:02
omg
09:03
@ReiTW i guess csrf tokes is a thing
09:03
you cant simply call logout from another site
Avatar
no clue but it works for some people
Avatar
ChillerDragon BOT 2024-01-06 09:03:59Z
seems like bad websites where this works on
Avatar
afterall it calls the website for u, like in a mini browser
Avatar
ChillerDragon BOT 2024-01-06 09:04:39Z
yes
09:04
but it can not read the html
Avatar
Answer: It's actually pretty clever. The "keep me logged in" feature you see on many websites is made possible by allowing websites to store a very small amount of private data within your browser, in the form of "cookies". When I first came across Super Logout, I wondered if maybe the creator ha...
Avatar
ChillerDragon BOT 2024-01-06 09:04:53Z
because browser blocks with cors
09:05
you need the html for the csrf token
Avatar
TL;DR: it's not exploiting any security vulnerabilities; it's telling your browser to go fetch each URL in a carefully-crafted list and load it in a tiny page element hidden slightly outside of the upper left corner of the window.
Avatar
ChillerDragon BOT 2024-01-06 09:05:40Z
if that would work they could also do `fetch("paypal.com/send/moni/reitw/420")
09:05
but it blocks the request without token
09:05
and the token can only be fetched from the html
Avatar
yes but afaik you don't need any token, as you have cookies stored
Avatar
ChillerDragon BOT 2024-01-06 09:06:12Z
and the html can not be fetched from another site because same origin policy shits
Avatar
the /logout page will just remove those cookies ig
Avatar
ChillerDragon BOT 2024-01-06 09:06:20Z
cookies wont help without token
09:06
every form has a new unique token
09:06
oh yea that might work
09:06
i see
09:06
but seems like github and gmail also have a protection against that
Avatar
# Morning
Avatar
prob yea
09:06
hey
Avatar
ChillerDragon BOT 2024-01-06 09:12:18Z
one thing i miss in C++ from rust is the {:?} dbg formatter to print struct fields
Avatar
so what you actually missing is derive macros
09:16
a.k.a. proc macros
09:16
i agree
09:16
proc macros are OG
Avatar
Avatar
MilkeeyCat
# Morning
# M O R N I N G
Avatar
@Steinchen99 reported:
Everytime i write on this server /tp brainless tee i get teleported to the upper left corner of the map ( 0 | 0 as coordinates )
Names containing spaces need to be quoted now to be used with /tp. In the above command the parts of the name are parsed as numbers instead, which gives (0,0) because they are invalid. When a number is invalid, the command should show an error message to the user instead of teleporting them to (0,0).
Avatar
you’re fired
Avatar
Avatar
Matodor
# M O R N I N G
# helo (edited)
Avatar
@Learath2 @Ewan hi i need audio advice again
Avatar
wzgzgzzzgz
Avatar
so the fioo i have has 2 outputs right, the main one and the line out on back
11:36
but software wise the fioo is recognized as 1 device
11:36
it will copy
Avatar
do u know a dac that has 2 outputs recognized differently
Avatar
no u need 2 dacs for that
11:36
cuz that’s what a dac does
Avatar
rly? damn
Avatar
converts 1 stream of digital audio into analog
Avatar
wanted to try learning mixing and i have my speakers and headphones
11:37
but both share input
11:37
xd
11:38
life is not daijoubu
Avatar
use software
Avatar
i use software for mixing
11:38
mixxx
11:38
it has a master and headphones output
11:39
but i can only listen to 1 at most
11:39
i want master to speakers and headphone to headphone but i guess i need another dac
11:39
or maybe just plug my speakers to the pc board lol
Avatar
effective use of ur expensive hardware
Avatar
i mean i would still use my dac for my headphones
11:40
which need the dac/amp
11:41
the speakers got a amp internally anyway
11:44
11:44
meme of the day
Avatar
chillerdragon BOT 2024-01-06 11:50:57Z
yikes war memes
Avatar
chillerdragon: its funny becuase tuohoo and wmoen gchartacter
Avatar
Avatar
cyberFighter
chillerdragon: its funny becuase tuohoo and wmoen gchartacter
so real
12:01
real asf
Avatar
ryo probably goes on r/animemes or some shit liek that
Avatar
average chatgpt 3.5 moment
Avatar
i've the feeling gpt 3.5 is getting worse and worse xd
12:08
the faster it gets
Avatar
it's not only a feeling. imo Gpt3 (end 2022) was better than current gpt3.5
Avatar
ChillerDragon BOT 2024-01-06 14:34:29Z
omagawd i have circulating dopendencies
14:35
heinrich started moving some enums to base/types.h and i am wondering if we could collect all enums in some enum file or maybe in multiple files
14:35
opinions?
14:36
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
14:36
some idiot put that widely used enum into client.h and now every mf has to import that bloated file
Avatar
Files were not being truncated on Windows anymore when using io_open with IOFLAG_WRITE due to a regression from #7254. Instead, the existing file contents were kept and the file pointer was set to the beginning of the file. This caused broken demo files to be created (#7349) when recording a shorter demo with the same filename as an existing longer demo. It also caused the map tools to produce maps with additional junk data at the end, if an existing map is overridden by a smaller map....
Avatar
1861e92 Fix files not being truncated when opening for writing on Windows - Robyt3 fe87fe6 Merge pull request #7766 from Robyt3/Windows-File-Write-Truncation - Chairn
Avatar
is this ok justatest (edited)
Avatar
Avatar
MilkeeyCat
is this ok justatest (edited)
Not ok! I'll fix it :)
Avatar
couldve been my first pr feelsbadman
Avatar
Oh, if so. go for it!
Avatar
how to protect my server against ddosa and bots
Avatar
chillerdragon BOT 2024-01-06 17:54:37Z
Ask Davide to host your server to protect it against ddosa and ask onbgy to share his antibot module for aimbots and similar
Replying to @Waxuel how to protect my server against ddosa and bots
Avatar
@Davide correct
Avatar
Avatar
chillerdragon
Ask Davide to host your server to protect it against ddosa and ask onbgy to share his antibot module for aimbots and similar
who are these labels?
Avatar
Avatar
chillerdragon
Ask Davide to host your server to protect it against ddosa and ask onbgy to share his antibot module for aimbots and similar
BlaiZephyr | meloƞ 2024-01-06 18:32:33Z
just set up both yourself - smh
Avatar
Avatar
BlaiZephyr | meloƞ
just set up both yourself - smh
not understand
Avatar
BlaiZephyr | meloƞ 2024-01-06 18:33:52Z
no worries, was a message to Chiller, not you ^^
19:08
why am I DMed
19:08
do I look like a hoster
Avatar
yes
Avatar
Avatar
furo
Oh, if so. go for it!
i cant. u can fix it feelsbadman
Avatar
Avatar
MilkeeyCat
i cant. u can fix it feelsbadman
Don't give up! Take a look at how I did it here, and do the same for hookcoll. https://github.com/ddnet/ddnet/pull/7294
Avatar
@TsFreddie anti bot anti ddos We need to do what we need to do.
Avatar
i don't know
19:26
why would i know
Avatar
It's just a question, you don't have to make a big deal out of it.
Avatar
HUH bite me
Avatar
Avatar
TsFreddie
HUH bite me
bro just answer -.- (edited)
Avatar
Avatar
TsFreddie
HUH bite me
I bet you taste disgusting. koggers
19:27
vaguely sexual
Avatar
ahahahahha zort baby ddnet_lgbt
Avatar
also it's 3am
19:29
going to bed
19:29
later guys
Avatar
Avatar
TsFreddie
later guys
Too late for you, too early for us.
Avatar
Avatar
furo
Don't give up! Take a look at how I did it here, and do the same for hookcoll. https://github.com/ddnet/ddnet/pull/7294
im destroyed and im not touching it again
19:42
im going to become a farmer (edited)
Avatar
Avatar
MilkeeyCat
im destroyed and im not touching it again
:(
Avatar
Don't use mouse position for drawing hook collision line when paused. Applies the same fix from #7294 to hook collision line as well. Before !image After !image

Checklist

  • [x] Tested the change ingame
  • [x] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly re...
Avatar
Avatar
MilkeeyCat
is this ok justatest (edited)
What is this for?
Avatar
Avatar
Cipy29
What is this for?
wdym?
Avatar
Is it a fix for something?
20:11
I don't get it from the photo
Avatar
im in spec. hookline and pistol in different positions (edited)
Avatar
Ah okay
Avatar
Avatar
GitHub
Click to see attachment 🖼️
bug fixed by this
Avatar
@ChillerDragon merge pr
Avatar
Avatar
chillerdragon
What IDE do you use? And which broadcast exactly are you looking for? If you just want to know how to left align that was just adding spaces on the right if I remember correctly.
what does my IDE have to do with it? okay, it sounds easier than I thought. Thought there was more spice in it then I'll test it like this
Avatar
d04cb7a actually fix happy ddnet message - swarfey a9b19ff Increment m_SentSnaps inside of FakeSnap() - swarfey ce47d01 Merge pull request #7761 from swarfeya/master - Robyt3
Avatar
Avatar
MilkeeyCat
is this ok justatest (edited)
i hate this shit
Avatar
Avatar
Ewan
i hate this shit
furo fixed it
Avatar
See #7762.

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
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#us...
Avatar
999119c Propagate unknown UUID-based map items in map tools - Robyt3 7aba25d Merge pull request #7747 from Robyt3/Map-UUID-Unknown-Handling - heinrich5991
Exported 256 message(s)