Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/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 2021-06-20 00:00:00Z and 2021-06-21 00:00:00Z
Avatar
Avatar
heinrich5991
@TsFreddie I knew I forgot something. I forgot to disallow HTTP 😦
BTW does this drop xp anyway? Saw somewhere in code it uses http, but maybe bcs of a different reason? (edited)
Avatar
kek how else would those netcafe people connect to the serverlist
Avatar
you scratch cat
Avatar
Can you improve the clan system?, for example, a player must have a certain score to create a clan, the founder can and assign any person to the clan.
07:35
Avatar
@WarHammer probably not. it's just a text field, it's ok to keep it simple. we don't even have accounts, so how would you track clan membership?
Avatar
i just updated aur to 15.5.3 but im getting an error compiling due to tests: https://pastebin.ubuntu.com/p/8NZbQ5HWCK/
09:22
In member function ‘void CTestInfo::DeleteTestStorageFilesOnSuccess()’: error: ‘sort’ is not a member of ‘std’; did you mean ‘qsort’?
09:22
mainly this
09:24
@deen know anything?
09:24
i just searched cppref and sort definitly exists xD
Avatar
i also have a question
09:25
is there a way to pipe stdin to a command somehow, like to answer prompts mid-command
09:25
cus there's a systemd service that i have but it prompts for an option partway
Avatar
what do u mean by command
09:26
check out xargs(1)
Avatar
specifically, im trying to run ./TerrariaServer with systemd but it asks for a number (world selection)
09:26
oh, alright
Avatar
@lynn are u into tshock?
09:26
i made some plugins for that back in the days
09:26
poggers
Avatar
they want me to use tshock lol
09:27
ill set it up soon... someone is already duping
Avatar
ofc u should use tshock
09:27
any other option is bad
Avatar
yeah i didnt realize how important it was
Avatar
@Ryozuki thanks, will fix
Avatar

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 if it works standalone, system.c especially
  • [ ] 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-addresssanitizer--u...
Avatar
WHY DOES SYSTEMD KEEP LIKE A MILLION LINES OF LOGS
Avatar
37c4232 Fix test.cpp compilation - def-
Avatar
journalctl just crashed my terminal session
Avatar
@Ryozuki try again
Avatar
does this update the tar.xz?
09:34
i guess u want me to test the branch
09:36
@deen it works
09:36
ur pr
Avatar
oh, right. I didn't update the tar.xz
09:37
meh, that's a bit messy to update
Avatar
its also probs cached so its better to make a new version
09:37
i think
09:38
(well i probs can put a subtick or whathever it is called)
Avatar
nah, I'll release it
Avatar
[ddnet/ddnet] New branch created: 15.5-devel
09:46
Avatar
Avatar
TsFreddie
kek how else would those netcafe people connect to the serverlist
these people can surely visit https sites in a browser in an internet cafe, no?
Avatar
two of them can
11:05
one of them can't
11:05
Three of them don't know how to use browser.
Avatar
they literally can't visit an https site in the browser?
11:06
oof
Avatar
Avatar
TsFreddie
Three of them don't know how to use browser.
this is the one that confuses me
11:07
They don't know what a browser is
Avatar
ask them to open facebook
Avatar
they don't even look at bilibili?
Avatar
They probably just go to these places and click on the game
Avatar
or the chinese equivalent
Avatar
Avatar
Learath2
they don't even look at bilibili?
Probably they just use phones. And I think qq have these services built-in
Avatar
ah, qq is the monopoly dream
Avatar
I think we need you to go to such an internet cafe 😄
Avatar
But I think maybe the two that can visit https site are still getting mitm since some Chinese browser intentionally let insecure site through?
Avatar
make sure to bring an oscilloscope and a hoodie to blend into the crowd
Avatar
but really:
11:11
if you don't want to visit such an internet cafe, do you maybe know someone with minimal technical ability that could go?
11:11
I'd guess the visit isn't that expensive, but I can probably pay it if that's the problem
Avatar
justatest ye cost isn't the problem.
Avatar
f5c2748 Fix test.cpp compilation - def- a79d7b1 Version 15.5.4 - def- c55bb39 Merge #3921 - bors[bot]
Avatar
@TsFreddie don't know someone who might go? ^^
Avatar
not really
11:16
I'm not usually with kids
11:17
I say we just wait. There got to be someone that knows how to check ssl eventually.
11:18
my ddnet client gets crashed
11:19
before the gui comes
11:19
on mac os
Avatar
Avatar
TsFreddie
I'm not usually with kids
try 2 ounces of whiskey before going, it helps a lot with social anxiety 😄
11:21
I don't drink either
11:22
I must be so boring
Avatar
Avatar
afterfx
my ddnet client gets crashed
Try 15.4 from ddnet.tw/downloads
11:23
justatest
Avatar
discord on macOS is being weird again
11:25
I right clicked a message it deleted another
Avatar
tbh I thought you would help the poor guy crashing before dealing with me.
11:26
Also irc never forgets
Avatar
Well I don't have much advice for him 😛
Avatar
@Learath2 do you think we could get some kind of crashreporting?
Avatar
telemetry time
Avatar
china loves it pepeH
11:48
i wonder how u make a crash report stuff
Avatar
can be a button to press
Avatar
or something like a template message, that can be posted by the user
12:01
games based on X-Ray game engine use this
12:01
for bug reports
Avatar
lets just add a try catch on mina
12:01
main
12:01
monkalaugh
Avatar
+ segfault handler
Avatar
do steam and ddnet.tw releases have debug symbols?
Avatar
Avatar
heinrich5991
@Learath2 do you think we could get some kind of crashreporting?
I was looking at crashpad for a while, it is very doable
Avatar
A crash-reporting system. Contribute to chromium/crashpad development by creating an account on GitHub.
12:03
monkalaugh google
Avatar
Avatar
Ryozuki
do steam and ddnet.tw releases have debug symbols?
no
Avatar
We can strip and keep the symbols
Avatar
would be cool yeah
12:06
especially bcs this doesnt increase the release by like 50mb xd
Avatar
We should btw even if we dont do crashpad
12:07
We can read windows and mac error reports with it
Avatar
the function name would already be gold indeed xd
Avatar
but i feel like its a bug not inside the client, if it only happens on macos
Avatar
or maybe its some macos specific code we have there
Avatar
this is the best one so far
12:36
@heinrich5991
12:37
oh wait. wrong url. i'm stupid.
Avatar
Avatar
Patiga
@jao on $ready, with which function does the ddnet bot find the most recent map file in the channel to use?
it doesn’t
Avatar
@Zwelf any idea? Reported by Dan_cao. Works for me on Arch Linux. !unknown1 !unknown
Avatar
@heinrich5991
12:48
hmm. he's gone before i can let him click "detail"...
Avatar
@TsFreddie what brwser is this?
Avatar
chinese ones
Avatar
but yea, the certificate looks wrong
12:50
also the second row says 360 isn't trusting this root
Avatar
oof
12:50
but it's still displaying the green lock?
12:50
so they're MITMing in the internet cafe and our curl doesn't pick up on the additionally trusted CAs
Avatar
it says it may stop trusting it in the future
12:50
so it still counts as trusted for now
Avatar
So our curl is working as designed 😄
Avatar
where does our trust source for curl come from?
12:51
not from the OS? we're not shipping root CAs, are we?
Avatar
maybe the machine has 360 (firewall + antivirus thing. although i don't like these) and it's blocking the cert system wise
12:51
has 360 installed *
Avatar
Sigh, I'm wondering if we should fall back to http if https is broken. Probably still better than the old udp server info
Avatar
that sounds less useful than falling back to insecure https
Avatar
what sensitive information do we really have in the list tho
Avatar
but I don't think I like such a fallback either way
Avatar
ah right, we could just allow https without valid certificate
Avatar
okay, globalsign organisation validation ca - sa256 - g2 is a real CA, apparently?
Avatar
apparently
12:55
can you fake a cert name? for example the netcafe have a central server that repackage all http/https request and resign them.
Avatar
yes, you can
Avatar
is that a possible thing to do
Avatar
it'd need to be set as trusted in the OS (very possible in the internet cafe setting)
Avatar
maybe they are doing that and installed the root ca themselves on their machine
Avatar
ye. but why isn't our curl picking that root CA up?
Avatar
the 360 thing maybe
Avatar
we're not shipping our own root CA store AFAIK
Avatar
that's my guess
Avatar
we are not anymore
Avatar
so they (the netcafe) installed their own cert in the machine but still using a firewall that isn't trusting their cert.
12:57
justatest
12:58
tbh it is not so bad to let me keep telling them to use http override on a case by case bases. that part is much easier to let them paste a link into a browser for some reason.
Avatar
how 😄
12:59
I'll eat something
Avatar
idk either
13:01
just had some crawfish
Avatar
a239bb9 Add DDNet.tw https master1 costs (10 € covered by heinrich5991) - def-
Avatar
heinrich do be rich tho
20:36
this is actually incredible
20:36
1 au = distance from earth to sun
20:37
a dward planet passing by so close like as if it were asteroid
20:37
and from what i read it will be rly bright
20:37
2031 tho
20:37
poggers
20:37
dward -> dwarf
20:41
Saturn ranges from being about 7 to 11 AU away from Earth. Voyager 1 is 152 AU away. This object is excitingly close and will be fun to study.
Avatar
Avatar
Ryozuki
1 au = distance from earth to sun
But 11 au is still incredible far. We will just notice it as a star then? (edited)
20:47
saturn is aroudn 11 au too
20:47
its like having another planet in the solar system
20:47
idk if u can see it with bare eye
Avatar
Ah i was thinking it would be big or good visible since you said it will be really bright
Exported 187 message(s)