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-06-22 00:00:00Z and 2024-06-23 00:00:00Z
Avatar
ws-client BOT 2024-06-22 03:51:00Z
<ChillerDragon> The more i think about the protocol the more i think that control messages should be removed
03:51
<ChillerDragon> Imo they should just become system messages and have a proper chunk header
03:51
<ChillerDragon> them being their own type adds so much complexity with almost no benefit?
03:52
<ChillerDragon> It saves 2-3 bytes on a chunk header sure.. but who cares about 2-3 bytes in the control messages
03:52
<ChillerDragon> The control flag could be removed from the packet header
03:53
<ChillerDragon> The entire payload parsing of a packet will be way cleaner because the structure is always the same
03:54
<ChillerDragon> If their chunk header would set the system flag and not the vital flag they would behave in the exact same way as before
Avatar
yay new isp isnt behind cgnat
07:10
i can now self host some stuff
Avatar
Avatar
ws-client
<ChillerDragon> @Jupstar ✪ there are ego shooters on mobile. Thast a aim game isnt it?
but 2d
07:40
or do u click on screen in 3d and it aims where u clicked lmao
Avatar
sounds terrible any way without a joystick tbh
Avatar
ws-client BOT 2024-06-22 07:51:37Z
<ChillerDragon> watafak is 3d aim
07:51
<ChillerDragon> im mouse enjoyer i dont get it
Avatar
3d game
07:51
trollerdragon
Avatar
ws-client BOT 2024-06-22 07:52:04Z
<ChillerDragon> world is flat
07:52
<ChillerDragon> screen is flat
Avatar
flatland
Avatar
ws-client BOT 2024-06-22 07:52:17Z
<ChillerDragon> mousepad is flat
07:52
<ChillerDragon> flat aim
Avatar
now that u say it
07:52
everything is a plane
07:52
lol
07:52
plain
07:52
i am so genius
07:53
chatgpt can go home
Avatar
ws-client BOT 2024-06-22 07:53:08Z
<ChillerDragon> there is no 3d on a 2d screen
Avatar
true
07:53
except u have nintendo 3ds
Avatar
ws-client BOT 2024-06-22 07:53:26Z
<ChillerDragon> xxxxxxxxxxxxxD
07:54
<ChillerDragon> so how can controllers aim 3d?
Avatar
i am just waiting for headshot to post 3ds version
07:54
with 3d effects xD
Avatar
ws-client BOT 2024-06-22 07:54:18Z
<ChillerDragon> joysticks*
07:54
<ChillerDragon> isnt it the same as a mouse?
Avatar
totally the same
Avatar
time to sleep
Avatar
ws-client BOT 2024-06-22 07:54:40Z
<ChillerDragon> or the same as a joystick on a 2d phone screen?
07:54
<ChillerDragon> there are 3d ego shooter with aim on da phone
Avatar
@Ewan good night
07:55
chiller: question is about joystick vs directly clicking where u aim
07:55
the second doesnt really work in 3d games
Avatar
ws-client BOT 2024-06-22 07:56:40Z
<ChillerDragon> because your mouse is stuck in the center?
07:56
<ChillerDragon> funny stuff happens if you play csgo with a laptop that has a touch screen xd
Avatar
Avatar
ws-client
<ChillerDragon> because your mouse is stuck in the center?
yea also how the fuck would u flip with just clicking on screen xD
07:57
do u click multiple times?
07:57
click 5 times for 360° flip xd
Avatar
Avatar
ws-client
<ChillerDragon> funny stuff happens if you play csgo with a laptop that has a touch screen xd
u got experience with csgo & touch? XD
07:57
sounds funny
Avatar
ws-client BOT 2024-06-22 07:58:05Z
<ChillerDragon> 2mins 2yrs ago
07:58
<ChillerDragon> im basically an expert
Avatar
that qualifies you as the world bests csgo touch player
Avatar
ws-client BOT 2024-06-22 07:58:47Z
<ChillerDragon> the conversation is about ddnet mobile controls right?
Avatar
i mean - i can see it work if you just map mobile controls to the game with an overlay of some sorts
07:59
imagine getting 15 / 0'd by someone with a touchscreen taking a dumpy on the toilet with his laptop
Avatar
Avatar
ws-client
<ChillerDragon> the conversation is about ddnet mobile controls right?
sometimes
Avatar
ws-client BOT 2024-06-22 07:59:30Z
<ChillerDragon> bottom left should be a fire and hook button. bottom right should be a aim joystick. And walking left and right is ofc tilting the phone.
Avatar
but mostly it's about csgo touch controls
Avatar
Avatar
ws-client
<ChillerDragon> screen is flat
CRD can't say so
Avatar
flat joke
08:03
<ChillerDragon> just put buttons everywhere
08:03
<ChillerDragon> ddnet mobile gamers have 5 arms
Avatar
he aint doing flicks
Avatar
Avatar
Jupstar ✪
flat joke
Flat humor
Avatar
Ayo a crab
Avatar
anyway that looks like drag controlls
08:08
that would a third option xd
08:08
not direct click nor joystick, but dragging your cursor xddd
08:08
would probs suck hard
Avatar
ws-client BOT 2024-06-22 08:09:01Z
<ChillerDragon> ye drag works better in 3d
08:09
<ChillerDragon> i think
Avatar
it works when ur cursor is always the mid
08:09
like in free spec
Avatar
ws-client BOT 2024-06-22 08:09:38Z
<ChillerDragon> the og android release has click aim?
Avatar
we are still discussing about that, but yeah robyte wants to add huge cheats
08:10
xd
08:10
this botter
08:10
osu! ddnet edition
08:10
fng
Avatar
ws-client BOT 2024-06-22 08:10:33Z
<ChillerDragon> the old one
08:10
<ChillerDragon> does it have aim to click?
Avatar
i dont even know, but i think yes
08:10
it has both
Avatar
ws-client BOT 2024-06-22 08:11:01Z
<ChillerDragon> both woah
08:11
<ChillerDragon> that explains why i get banned less on fng when spoofing the client version of the android version
Avatar
forgottencat already told me that noby just bans
Avatar
ws-client BOT 2024-06-22 08:12:05Z
<ChillerDragon> cant antibot with touch flicks axaxa
08:12
<ChillerDragon> that would be an argument against it
Avatar
ws-client BOT 2024-06-22 08:12:23Z
<ChillerDragon> makes antibot harder
Avatar
yeah but we, the majority, oppress the minority of mobile players and just ban them
08:13
do you want to fight for their rights?
Avatar
ws-client BOT 2024-06-22 08:14:00Z
<ChillerDragon> I don't agree with them or understand them. But I still would fight for their rights yes!
08:14
<ChillerDragon> Same as windows or 0.6 players
Avatar
lmao
08:14
0.6 players
Avatar
ws-client BOT 2024-06-22 08:14:32Z
<ChillerDragon> In the end we are all tees!
Avatar
classic chiller
Avatar
ws-client BOT 2024-06-22 08:50:54Z
<ChillerDragon> headbot setup reveal
10:03
since when do wii fit boards have a screen
Avatar
Linux recently improved their page fault handling replacing Linked Lists and Red Black trees with a new data structure that offers better cache friendliness. This talk has some pointers to why linked lists fail on modern CPUs and what it takes to make a cache friendly data
11:07
lmao
Avatar
mapple trees
Avatar
epyc
Avatar
chillerdragon BOT 2024-06-22 11:14:53Z
They don’t xd
Replying to @louis since when do wii fit boards have a screen
11:15
MAPLE MAPLE MAPLE MAPLE
11:15
anyone remembers the epic maple clan?
Avatar
i remember that speedrunning bro of gdin being maple
Avatar
Avatar
chillerdragon
anyone remembers the epic maple clan?
ye
Avatar
chillerdragon BOT 2024-06-22 11:31:06Z
og fokkonaut
Avatar
mid
Avatar
Making a good amv is lost knowledge
Avatar
ws-client BOT 2024-06-22 14:30:54Z
<ChillerDragon> how can we help?
Avatar
Avatar
Learath2
Making a good amv is lost knowledge
oh bruh
14:34
you just made me remember I made one in middle school with windows movie maker
14:34
i didn't know it was called amv
Avatar
Is this my end or server end?
Avatar
client
15:24
well let's say it like that: it looks like a bug in the client
15:25
unsupported should never happen, which client is that?
Avatar
18.0.1
Avatar
Avatar
Draggory
18.0.1
mh ok, guess u have to manually update then
Avatar
Gotcha
Avatar
@ChillerDragon, can I merge my twapi stuff into your teeworlds-go repo?
15:54
(a little bit of the stuff)
Avatar
I can not believe after a decade since apple yoinked .local for their mDNS, the IETF still hasn't designated a TLD for internal use
17:52
After 4 months of public input, ICANN determined .internal can work, then they said "we'll present it to the ICANN board for futher consideration" then radio silence
17:52
Where were the considerations and months of approval processes when Apple yoinked .local?
Avatar
.localhost is traditionally statically defined in host dns imlementations to pointing to loop back ip addresses, no?
18:01
so you can even use it for my.localhost, another.service.localhost
Avatar
I need one that doesn't point back to 127.0.0.1
Avatar
What do you want to achieve?
Avatar
I want to give names to hosts within a vpn network
18:03
I'll just use .internal it's fine, I'm just surprised at how easy it was for a corporation to repurpose a previously designated private use tld and how difficult it was for us to get an alternative
Avatar
Basically you can get any TLD 😄
18:04
You just need to host your own DNS then & use it
18:04
like service.learath2
Avatar
With a caveat, you need to be careful to always only use your own DNS
Avatar
Yeah, so remove all root certificates from your browser & only use your own PKI
Avatar
It's unlikely ICANN will register the .learath2 tld to someone, but if they do and you are not careful with your setup now someone else has control of your dns (edited)
Avatar
Avatar
Learath2
It's unlikely ICANN will register the .learath2 tld to someone, but if they do and you are not careful with your setup now someone else has control of your dns (edited)
No, you host your own DNS server
18:06
how should they take over this dns server?
Avatar
Accidents happen, perhaps your server also needs access to traditional dns, so you set up your dns server to resolve those aswell
Avatar
Avatar
Learath2
Accidents happen, perhaps your server also needs access to traditional dns, so you set up your dns server to resolve those aswell
But if you own a TLD ( top-level domain ) like .learath2, then nobody can get it
18:07
Mostly DNS servers can resolve if they dont find any .zone on their own host
Avatar
Avatar
Avolicious
But if you own a TLD ( top-level domain ) like .learath2, then nobody can get it
You don't own it unless ICANN says you own it
18:07
If you want to have it in "public" internet, thats true
18:07
but not for DMZ
Avatar
As I said at the very start, if you are careful with your setup, it's fine
Avatar
You are talking about DMZ
18:08
VPN
Avatar
Did you know that devices don't have to be exclusively on one network?
Avatar
Thats actually how the internet works 😄
Avatar
I have a set of servers that has access to the public internet, and a private network between them
Avatar
Okay, if you know have a DNS server available in your DMZ & you are using it within all the hosts
18:09
it will resolve the stuff you have configured on the dns server
Avatar
and your DNS server is properly configured to ignore the case of ICANN giving your tld to someone else
Avatar
???
18:10
If you own the DNS server, you can resolve it to whatever you want to
18:10
You can resolve google.com to 1.1.1.1
Avatar
How do you propose I resolve .com domains with my local dns server?
18:11
You forward it along to an actual dns server that is authoritative for those
Avatar
You can be an authoritive DNS?
Avatar
Ok, we are getting nowhere. I know what I'm doing and I know how dns works. You are right, you can set it up in a way that is safe and just take whatever tld you want
18:14
(in a similar way to how you can by using routing tables steal any ip you want, yet we still have private-use subnets, exactly for the same reason we need a private-use tld)
18:17
((less important because tlds are strings with many more possibilities than the 4 bytes an ip address is))
Avatar
I just want to clarify. Just because you use a DNS server, you dont have to trust the results it gives back. Authoritive or Recursive. To face this problem, DNSSEC has been introduced for example.
18:18
You and me heavily trust our upstream aka ISP, that he routes the packages correctly to its destination. DNS Hijacking or even BGP hijacking is a known threat
18:20
So thats why I am saying, if you run it in your own DMZ, you can use whatever you want to use. But it will be hard for you to announce it to the broad public. The root zone . is owned by ICANN, so they delegate learath2. to you as TLD, so you can use hey.learath2. as domain
Avatar
I understand, but now consider situation where a machine has to resolve both traditional internet domains and domains within my own intranet. Then ICANN comes along and registers learath2. to you. Now if I'm not careful with my configuration, (whether it be the configuration of my dns server, or the resolving clients), you can make hey.learath2. resolve to an IP outside my intranet, now I'm leaking traffic to wherever you want
18:23
(Ignore for a second that ICANN has no reason to sabotage me by registering the extremely specific string learath2 to anyone else)
Avatar
Avatar
Learath2
I understand, but now consider situation where a machine has to resolve both traditional internet domains and domains within my own intranet. Then ICANN comes along and registers learath2. to you. Now if I'm not careful with my configuration, (whether it be the configuration of my dns server, or the resolving clients), you can make hey.learath2. resolve to an IP outside my intranet, now I'm leaking traffic to wherever you want
There are several ways to proof that its actually you
18:25
Either you use DNSSEC and configurate clients to trust your root key for a specific domain
18:25
or you do it based on HTTPS for example
18:25
application level
Avatar
Or I use a TLD that ICANN already agreed that they won't ever register to anyone
Avatar
.localhost
18:27
.localhost is always resolving to 127.0.0.1 until you change it in your local configuration
Avatar
Assuming the dns client implementation and the layers inbetween even let that localhost. resolution reach my dns server, sure
18:29
RFC 6761 clearly says:
...Users may assume that IPv4 and IPv6 address queries for localhost names will always resolve to the respective IP loopback address.
and
Application software MAY recognize localhost names as special, or MAY pass them to name resolution APIs as they would for other domain names.
18:30
Actually point 3 of 6.3 explicitly says:
Name resolution APIs and libraries SHOULD recognize localhost names as special and SHOULD always return the IP loopback address for address queries and negative responses for all other query types. Name resolution APIs SHOULD NOT send queries for localhost names to their configured caching DNS server(s).
18:31
Then you can use .test
18:31
2. Application software SHOULD NOT recognize test names as special, and SHOULD use test names as they would other domain names.
18:32
You can try to resolve grafana.intra.kog.tw, I'll tell you there is no result even tho it has a valid dns entry
Avatar
Avatar
Avolicious
You can try to resolve grafana.intra.kog.tw, I'll tell you there is no result even tho it has a valid dns entry
Well this is something you are completely free to do, you are afterall the authority for kog.tw.
18:34
test. is pretty good, it just sounds wrong 🙃
Avatar
Then go with example
Avatar
Add TUR blocker pla guys (edited)
Avatar
Avatar
Avolicious
Then go with example
That sounds even worse, anyway, I don't mind using .internal as it should be official within a couple months
Avatar
also kinda runs afoul of 6.5.1 anyway, they are reserved for use in documentation technically
Avatar
Hello, Grab your best lube, because it's time to talk about fluids!
Avatar
Pls add tur blockers
Avatar
chillerdragon BOT 2024-06-22 23:14:55Z
Idk what that means. But feel free to open prs I will have a look. Can’t promise I will merge anything. If you want to copy paste my code into yours also feel free to do so. I think I have no license file yet. But code I write is usually public domain or bsd 2. So feel free to do what ever with it. Credit is appreciated but not needed.
Replying to @jxsl13 ChillerDragon, can I merge my twapi stuff into your teeworlds-go repo?
Avatar
Hello, For a given tileset in the editor, the client seems to look for .rules files in the config directory first, and then in the game directory. So if there is a .rules file located in the config directory, it won't use the one located in the game directory (where the default .rules files are located). For example, I added a .rules file in my config directory (.local/share/ddnet/ on Linux) with custom rules for the tileset grass_main_0.7, but then I lost access (from the e...
Exported 207 message(s)