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-09-20 00:00 and 2024-09-21 00:00
Avatar
Avatar
Pathos
Also I want to report that this isn't just me
Restarting the client fixes it only for some people
Avatar
GitHub BOT 2024-09-20 00:39
Brings DM+ closer to DM instead of using a dark green.

before

!before

after

!after

Checklist

  • [x] Tested the change ingame
  • [x] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (especially base/) or added c...
Avatar
9000!
Avatar
ws-client BOT 2024-09-20 03:23
<ChillerDragon> yes its over 9000!
Avatar
Avatar
Vappy
9000!
8,09958998668719085829131208009794E31681
Avatar
iuwywuiywuiywiuwyuwyui 2024-09-20 03:50
where i can find firedelay
Avatar
ws-client BOT 2024-09-20 04:11
<ChillerDragon> i tunes
04:12
<ChillerDragon> rcon tune grenade_fire_delay 0
04:12
<ChillerDragon> see also tunes
04:12
<ChillerDragon> @iuwywuiywuiywiuwyuwyui
Avatar
Avatar
ws-client
<ChillerDragon> rcon tune grenade_fire_delay 0
iuwywuiywuiywiuwyuwyui 2024-09-20 04:13
tunes ok ,where i can find lines of this?
Avatar
ws-client BOT 2024-09-20 04:25
<ChillerDragon> wat
Avatar
iuwywuiywuiywiuwyuwyui 2024-09-20 04:26
nvm
Avatar
ws-client BOT 2024-09-20 04:30
<ChillerDragon> @Patiga can there be no gamelayer?
Avatar
MilkeeyCat 2024-09-20 06:36
Yo, anyone knows why there's no gmock.h header file :\ (I did steps described in Running tests (Debian/Ubuntu) part in readme)
Avatar
Avatar
MilkeeyCat
Yo, anyone knows why there's no gmock.h header file :\ (I did steps described in Running tests (Debian/Ubuntu) part in readme)
probably because you didn't install it?
06:45
Isn't this some lib? xd
Avatar
MilkeeyCat 2024-09-20 06:45
i have google-mock package installed (edited)
Avatar
chillerdragon BOT 2024-09-20 06:57
Try the download gtest cmake flag. Check what the CI does
06:58
Also deleting the build directory might help
Avatar
MilkeeyCat 2024-09-20 06:58
deleted it already 3 times xd
Avatar
chillerdragon BOT 2024-09-20 06:58
Which cmake command did you run?
Avatar
MilkeeyCat 2024-09-20 06:59
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DDEV=ON .. && make run_tests
Avatar
chillerdragon BOT 2024-09-20 07:02
Try the GTEST one
Avatar
MilkeeyCat 2024-09-20 07:05
with -DDOWNLOAD_GTEST=ON it works
07:05
thanks xd
Avatar
GitHub BOT 2024-09-20 07:18
b443b40 Change color of non standard vanilla gametypes - ChillerDragon 5558a69 Merge pull request #9001 from ChillerDragon/pr_dm_plus_colors - def-
Avatar
@Ryozuki https://github.com/edg-l/ddstats/blob/86940cd45074ea440bee048f8551252bd08eb557/src/routes/events/%2Bpage.svelte#L42 The close code must be either 1000, or between 3000 and 4999 otherwise switching between pages breaks (i.e. going from the /Events page to any other page raises an InvalidAccessError)
A DDNet / teeworlds fancy information frontend. Contribute to edg-l/ddstats development by creating an account on GitHub.
Avatar
GitHub BOT 2024-09-20 07:44
582e9fa add support for vertical arrow key navigation in multi-column listboxes - dobrykafe b6f80e5 Merge pull request #8999 from dobrykafe/pr-listbox-qol - def-
Avatar
Avatar
ws-client
<ChillerDragon> @Patiga can there be no gamelayer?
only when you create a map from scratch, you cant save a map without a gamelayer
Avatar
ws-client BOT 2024-09-20 08:11
<ChillerDragon> hm okay then the optional makes sense. Bit annoying for type checking if a map is loaded hmm..
08:12
<ChillerDragon> maybe it would be nicer if making a map from scratch creates a game layer for you? like the editor does.
Avatar
Avatar
ws-client
<ChillerDragon> maybe it would be nicer if making a map from scratch creates a game layer for you? like the editor does.
you should then pass everything for gamelayer to appear
08:24
current approach is not sane, but making default gamelayer for ::new(...) is kinda meh
Avatar
GitHub BOT 2024-09-20 08:48
https://github.com/user-attachments/assets/f41ae00f-3df8-474d-a7aa-d8a45036c9e8 Mouse based navigation is impossible without breaking your map if it looks like this: !image The group the quad is in needs para to be able to get moved under the cursor on move.
08:50
feels good
Avatar
ws-client BOT 2024-09-20 08:56
<ChillerDragon> where did the input field for envelope values go in the editor?
08:58
<ChillerDragon> and how to resize the envelopes field in general?
Avatar
Avatar
ws-client
<ChillerDragon> where did the input field for envelope values go in the editor?
Right click the envelope point
Avatar
Avatar
ws-client
<ChillerDragon> and how to resize the envelopes field in general?
Mouse wheel and Shift+mouse wheel
Avatar
ws-client BOT 2024-09-20 09:01
<ChillerDragon> woah segfault xd
09:01
<ChillerDragon> @Robyt3 that seems to zoom not make the view port bigger
09:02
<ChillerDragon> last time i used the editor clicking on "envelopes" multiple times would open it in 3 different sizes
Avatar
Avatar
ws-client
<ChillerDragon> @Robyt3 that seems to zoom not make the view port bigger
You can drag the envelope menu up to make it larger
Avatar
ws-client BOT 2024-09-20 09:02
<ChillerDragon> a
Avatar
You can also drag the setting editor and layers
Avatar
ws-client BOT 2024-09-20 09:03
<ChillerDragon> i see nice
09:03
<ChillerDragon> thanks
Avatar
GitHub BOT 2024-09-20 09:04
Add separate UI element IDs for the quick action buttons in the prompt dialog, to ensure that the UI element IDs are different from the IDs used for the regular menu buttons. Otherwise, some buttons could not be activated with clicks because the menu button with the same ID was rendered first. Closes #8998.

Checklist

  • [X] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Wr...
Avatar
n flips the tile, why shift+n doesnt
Avatar
Avatar
zhn
n flips the tile, why shift+n doesnt
In general I'd say it's better if hotkeys are only activated when no additional unnecessary modifiers are pressed, so we can more easily add new hotkeys in the future without breaking users' existing workflow
Avatar
Avatar
Robyt3
In general I'd say it's better if hotkeys are only activated when no additional unnecessary modifiers are pressed, so we can more easily add new hotkeys in the future without breaking users' existing workflow
yeah, and thats cool actually
09:20
i got used to these hotkeys tbh
10:03
not me but funny
Avatar
GitHub BOT 2024-09-20 10:16
3002183 Fix some editor quick actions not being clickable - Robyt3 9597241 Add margin between quick action label and description - Robyt3 7b64152 Remove unnecessary Skip and DescColor variables - Robyt3 034e497 Merge pull request #9003 from Robyt3/Editor-Prompt-Fix - def-
Avatar
Avatar
Ryozuki
Click to see attachment ๐Ÿ–ผ๏ธ
This might not be as bad as it seems with context. Hetzner offers dedicated system configurations where a tech has to setup and make changes for you. So it's probably not a vps, maybe someone asked for extra hard drives and they forgot to plug it back in.
10:26
Basically a non event if that's the case since your downtime was planned and an unspecified duration so who cares. (edited)
Avatar
ๆฃ‰่ฃค 2024-09-20 12:04
go ddnet.
12:04
12:04
what the fxxkin'
12:05
nightly builds
Avatar
Avatar
ๆฃ‰่ฃค
Click to see attachment ๐Ÿ–ผ๏ธ
Yes ? You're toggling it from 0 to 1 or 1 to 0 (NVM I didn't see the 100) (edited)
12:12
That's how a toggle works ^^
Avatar
Avatar
jxsl13
curse the person sending weird master server data: cannot unmarshal number into Go struct field Skin.servers.info.clients.skin.name of type string
heinrich5991 2024-09-20 12:14
the info data should be treated as free-form
Avatar
Avatar
Matodor
someone know what is MR prefix? map route?
heinrich5991 2024-09-20 12:17
move restriction
๐Ÿ‘๐Ÿป 1
Avatar
Avatar
Ewan
I think it would be cool if ddnet servers could just fork themselves when voting (up until a defined maximum). add a new type of map vote that will move anyone who presses f3 to the new server, and a command to join the last detached vote if u missed it
heinrich5991 2024-09-20 12:18
As discussed on irc @heinrich5991 suggested to move all players that voted yes on a map vote to a new server. This fixes the issue of players in the race being interrupted by map votes. And also so...
Avatar
how can I find hammer's hitbox implementation in source?
Avatar
Avatar
KemeL
how can I find hammer's hitbox implementation in source?
think_bot
Avatar
Avatar
meloฦž
think_bot
what
Avatar
Avatar
Learath2
https://www.ietf.org/archive/id/draft-ietf-tls-esni-08.html ECH seems rather shit to me. It seems they only really considered the case where you are behind some protection cartel
heinrich5991 2024-09-20 12:26
ech is great. change my mind. you just put anything into the client outer, it doesn't matter
Avatar
Avatar
Faulty
And when approximately do we plan on increasing this size? I would be extremely grateful. I can do a separate PR on this if needed to make it work now, not when the 128 server support PR is accepted since it might not be anytime soon
heinrich5991 2024-09-20 12:28
maybe we could try reducing the size of the json a little. 128 bytes per player doesn't sound too little, but I guess json is verboseโ€ฆ
Avatar
Avatar
ws-client
<ChillerDragon> @Teero nah i got no powers nowhere :c
heinrich5991 2024-09-20 12:31
ChillerDragon: if you want to maintain 0.7, it might be possible. the problem is that we have literally no one who wants to do that currently
Avatar
Avatar
heinrich5991
maybe we could try reducing the size of the json a little. 128 bytes per player doesn't sound too little, but I guess json is verboseโ€ฆ
Are you suggesting to add another endpoint to the master server and shorten the names of the json parameters?
Avatar
Avatar
heinrich5991
ech is great. change my mind. you just put anything into the client outer, it doesn't matter
How does it not matter? How is the "client-facing server" supposed to handle the case of ech rejection otherwise?
Avatar
Avatar
meloฦž
Yes ? You're toggling it from 0 to 1 or 1 to 0 (NVM I didn't see the 100) (edited)
ๆฃ‰่ฃค 2024-09-20 12:32
im doing 0 <-> 100, but it's 0 <-> 1
Avatar
It would of course be nice to use grpc serialisation, but it's not really appropriate in our case ๐Ÿ˜…
Avatar
GitHub BOT 2024-09-20 12:36
Regression from #8971.

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/ddn...
Avatar
Avatar
GitHub
Click to see attachment ๐Ÿ–ผ๏ธ
heinrich5991 2024-09-20 13:10
nice
Avatar
Avatar
MilkeeyCat
@heinrich5991 is it possible to make https://github.com/heinrich5991/libtw2/tree/master/wireshark-dissector work with wireshark 4.0?
heinrich5991 2024-09-20 13:16
check out the older version that worked with wireshark 4.0
Avatar
Avatar
heinrich5991
check out the older version that worked with wireshark 4.0
MilkeeyCat 2024-09-20 13:16
i already compiled 4.2 xd
Avatar
heinrich5991 2024-09-20 13:24
ChillerDragon: why would you be against quic?
Avatar
Avatar
jxsl13
doesn't like arm64
heinrich5991 2024-09-20 13:29
report a bug ๐Ÿ™‚
Avatar
GitHub BOT 2024-09-20 13:30
e1a21f5 Fix toggle command always setting value to 1 - Robyt3 b34edb6 Merge pull request #9005 from Robyt3/Client-Toggle-Fix - def-
Avatar
Avatar
heinrich5991
ChillerDragon: why would you be against quic?
is quic quick enough? did u see the reports from cloudflare?
13:35
ok not cloudflare
Avatar
heinrich5991 2024-09-20 13:35
that was about file downloads, probably doesn't matter for ddnet
13:35
IIRC
13:36
the diagrams show that current QUIC impls don't manage to saturate a data link if it has more than 500 Mb/s
13:37
I hope we don't have server-client connections with more than 1 Mb/s
Avatar
Avatar
Learath2
How does it not matter? How is the "client-facing server" supposed to handle the case of ech rejection otherwise?
heinrich5991 2024-09-20 13:43
I don't understand what you said. if the server gets a request from a client that doesn't do ECH, they'll include the normal SNI. if they don't, the server unpacks the actual SNI from the inner handshake, the outer one doesn't matter
Avatar
Avatar
heinrich5991
I don't understand what you said. if the server gets a request from a client that doesn't do ECH, they'll include the normal SNI. if they don't, the server unpacks the actual SNI from the inner handshake, the outer one doesn't matter
What if the server can not decrypt the inner hello? Then a connection is supposed to be established with the outer hello, through which the "client-facing server" needs to give out an ECHConfig to be used
13:50
6.3.2.1: When the server rejects ECH or ..., it continues with the handshake using the plaintext "server_name" extension instead. Clients that offer ECH then authenticate the connection with the public name, as follows:
  • The client MUST verify that the certificate is valid for ECHConfigContents.public_name. If invalid, it MUST abort the connection with the appropriate alert.
...
13:52
So I can't just put "anything" in there. I need to put a valid SNI for which I can produce a certificate as far as I understand. Now if you are behind cloudflare or akamai or whatever, that's great. You put cloudflare.com in there, cloudflare.com provides the ECHConfig great. What am I supposed to do with my topology? I'm forced to expose the one domain that I own in plaintext
Avatar
Avatar
Ryozuki
Click to see attachment ๐Ÿ–ผ๏ธ
lmaooo
Avatar
Unless I grossly misunderstand something. ESNI definitely had the better idea when they used DNS for the keys. ECH's approach seems to be designed around funneling people to using some "client-facing server" provider
13:56
Or making no assumptions about intent, at the very least completely designed around that usecase
Avatar
@heinrich5991
Issue 1. When downloading the same file, the in-kernel UDP stack issues much more packet reads (netif_receive_skb) than TCP, leading to a significantly higher CPU usage. This is because none of the QUIC implementations we examine uses UDP generic receive offload (GRO) where the link layer module combines multiple received UDP datagrams into a mega datagram before passing it to the transport layer. This is in sharp contrast to the wide deployment of TCP segmentation offload, and recent advocacy of UDP send-side offload (GSO). โ€ข Issue 2. In the user space, QUIC incurs a higher overhead when processing received packets and generating responses. This overhead can be attributed to multiple factors: the excessive packets passed from the kernel (Issue 1), the user-space nature of QUIC ACKs, and the lack of certain optimizations such as delayed ACK in QUIC.
13:59
it looks like some issues are also bad implementations
13:59
or not optimized
Avatar
Avatar
heinrich5991
report a bug ๐Ÿ™‚
It's more of a wireshark from brew does seem to be amd64 and my problem was cross compilation from arm64 to amd64
Avatar
Loco.rs is like Ruby on Rails for Rust. Use it to quickly build and deploy Rust based apps from zero to production.
14:00
loco
Avatar
I've grown to dislike ORMs in general over the course of the last 5 months
14:02
Any value I used to see in them has been destroyed by how annoying to use GORM was in golang
Avatar
it's great
14:03
that the Go community discourages ORMs
14:03
cuz gorm is literally shit
14:03
as are all orms that do more than basic crud
14:04
easier to debug sql than some orm (cough Java)
Avatar
Avatar
Learath2
I've grown to dislike ORMs in general over the course of the last 5 months
this is not a orm tho i think
Avatar
I think in the future I only want something that wraps the idea of a transaction, query and a row
Avatar
it uses sqlx
14:05
its built around axum + sqlx iirc (edited)
14:06
oh it has some kind like orm thing
Avatar
Avatar
Ryozuki
this is not a orm tho i think
It was talking about SeaORM in it's page that's why I wanted to talk about ORMs. Yeah this thing seems rather interesting and not an ORM
Avatar
maybe its sea orm
14:06
sea orm is kind of dope tho
Avatar
It'll take a long while to take the taste of GORM out of my mouth ๐Ÿ˜„
Avatar
Avatar
Learath2
6.3.2.1: When the server rejects ECH or ..., it continues with the handshake using the plaintext "server_name" extension instead. Clients that offer ECH then authenticate the connection with the public name, as follows:
  • The client MUST verify that the certificate is valid for ECHConfigContents.public_name. If invalid, it MUST abort the connection with the appropriate alert.
...
heinrich5991 2024-09-20 14:07
AIUI, if you know the server supports ECH, you don't need to hope for a fallback
Avatar
what does AIUI mean
14:08
(Internet slang) Initialism of as I understand it.
Avatar
Avatar
Learath2
Unless I grossly misunderstand something. ESNI definitely had the better idea when they used DNS for the keys. ECH's approach seems to be designed around funneling people to using some "client-facing server" provider
heinrich5991 2024-09-20 14:08
ECH also uses DNS for keys
Avatar
Avatar
heinrich5991
AIUI, if you know the server supports ECH, you don't need to hope for a fallback
But where are you supposed to get the keys to encrypt the inner hello?
Avatar
heinrich5991 2024-09-20 14:08
DNS
14:09
preferably over some encrypted transport
Avatar
Avatar
jxsl13
It's more of a wireshark from brew does seem to be amd64 and my problem was cross compilation from arm64 to amd64
heinrich5991 2024-09-20 14:09
I see
Avatar
I gave up, cuz dunno no rust toolchain
Avatar
heinrich5991 2024-09-20 14:09
eh ๐Ÿ˜ฆ
Avatar
would be cool if there was an example for cross compilation
14:10
too lazy xD
Avatar
heinrich5991 2024-09-20 14:10
I haven't done cross compilation except from linux
14:10
from there it was pretty easy
14:10
did you install rust with rustup?
Avatar
yeah
Avatar
heinrich5991 2024-09-20 14:10
maybe you can simply add a target there
Avatar
ehm, let.me see
Avatar
Avatar
heinrich5991
AIUI, if you know the server supports ECH, you don't need to hope for a fallback
btw, this fallback is something that can happen say as you rotate keys, or some ISP DNS server misbehaves
Avatar
Avatar
jxsl13
ehm, let.me see
heinrich5991 2024-09-20 14:11
rustup target add aarch64-apple-darwin
14:11
ah, you want cross-compilation
14:11
so
14:11
rustup target add x86_64-apple-darwin
Avatar
ehm, it's seemingly the one from brew, so no rustup command.
Avatar
heinrich5991 2024-09-20 14:12
uninstall that and use rustup
Avatar
Avatar
Learath2
btw, this fallback is something that can happen say as you rotate keys, or some ISP DNS server misbehaves
heinrich5991 2024-09-20 14:14
hmmm
Avatar
Avatar
heinrich5991
DNS
I seem to have missed this part of the proposal because it delegated it to another rfc, my bad. So it's not as insane as I thought it initially was
Avatar
heinrich5991 2024-09-20 14:14
it makes sense to encrypt the whole handshake, because otherwise data would leak left and right
14:15
and having an inner and an outer handshake is incredibly clever IMO
14:15
since it makes it hard (impossible?) to block ECH without blocking all connections that are pretending to do ECH (edited)
Avatar
Avatar
heinrich5991
and having an inner and an outer handshake is incredibly clever IMO
It's very clever, it allows this fallback, allows middleboxes to handle this easily and backwards compatibility in one fell swoop
14:16
but the chain of trust needs to hold so the fallback is only possible if you can produce a certificate for the outer hellos sni
Avatar
Avatar
heinrich5991
since it makes it hard (impossible?) to block ECH without blocking all connections that are pretending to do ECH (edited)
heinrich5991 2024-09-20 14:16
I was thinking that this is impossible. until I read that RFC. it was amazing. crypto people just sprinkle some magic pixie dust and the impossible works
Avatar
Avatar
Learath2
but the chain of trust needs to hold so the fallback is only possible if you can produce a certificate for the outer hellos sni
heinrich5991 2024-09-20 14:16
yes
Avatar
and now the sni is no longer hidden unless you are behind cloudflare or fastly or akamai or whatever
Avatar
heinrich5991 2024-09-20 14:17
or if you give up the fallback
Avatar
I guess you could always buy a throwaway domain
Avatar
heinrich5991 2024-09-20 14:17
(just like there would be no fallback with ESNI, as I understand it)
Avatar
I wonder if the RFC allows the server to behave that way
Avatar
is the teeworlds programming playlist still a good resource? the first video looks 4 years old
Avatar
heinrich5991 2024-09-20 14:22
I don't know the teeworlds programming playlist
14:22
care to share a link?
14:25
ddnet code is so retarded
14:25
they use sin() for the x component
๐Ÿ’€ 1
HUH 1
14:25
whoever did that
Avatar
What do you mean even?
Avatar
Avatar
heinrich5991
rustup target add x86_64-apple-darwin
done, and currently in the wireshark-dissector directory :0 what's the command for cross compilationm
Avatar
Avatar
Teero
they use sin() for the x component
stay without sin, son.
Avatar
Avatar
Learath2
What do you mean even?
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
14:31
2010 type of code
Avatar
It doesn't matter there, just makes the rotation start from 90degree up
14:31
and go cw instead of ccw
Avatar
i used direction() from vmath since i didn't see the difference
14:32
suddenly everything is wrong
Avatar
Avatar
Learath2
It doesn't matter there, just makes the rotation start from 90degree up
btw i have a question. can i just remove door.cpp/h entirely or are some mods somehow using that entity?
๐Ÿ”จ 1
14:33
it only initializes itself and is uselessly ticked afterwards
14:33
i put it in the initialization process of CCollision so it also gets predicted by the client.
14:34
wanted to make a pr for that
Avatar
bugs are used as features and you think a complete file is unused D:
Avatar
What? It is the laser doors that many maps use
Avatar
Avatar
Learath2
What? It is the laser doors that many maps use
yea bro look at the code
14:35
you dont need to store that entity in the gameworld
14:35
it literally sets stoppers with a switch number
14:35
nothing else
Avatar
It's snapped, what do you mean you don't need to store it
Avatar
it can never change
14:36
it is static.
14:36
atleast in normal ddnet
Avatar
moving doors
Avatar
Avatar
jxsl13
moving doors
thats not a thing...
14:36
right??
Avatar
just a thought of what you actually mean
Avatar
moving doors doesnt work.
Avatar
the door is stationarry
Avatar
Where do you propose to move that code even? Where will you snap it?
Avatar
chillerdragon BOT 2024-09-20 14:37
Sure when Iโ€™m piss drunk Heinrich decides to return to #develööper
Avatar
Avatar
Learath2
Where do you propose to move that code even? Where will you snap it?
why even snap it? the client doesn't use it
Avatar
chilleroni, pepperoni
14:37
heino is back
Avatar
Avatar
jxsl13
done, and currently in the wireshark-dissector directory :0 what's the command for cross compilationm
heinrich5991 2024-09-20 14:37
cargo build --release --target=x86_64-apple-darwin
๐Ÿ˜ฎ 1
Avatar
Avatar
Teero
why even snap it? the client doesn't use it
Ofc it does, it's a normal laser entity, where did you get the idea that the client doesn't use it?
Avatar
chillerdragon BOT 2024-09-20 14:37
Sounds backwards compatibility breaking. And hard to implement in assembly
Replying to @heinrich5991 ChillerDragon: why would you be against quic?
Avatar
Maybe the very new clients now have prediction for them and don't use it
Avatar
Avatar
Learath2
Maybe the very new clients now have prediction for them and don't use it
okay then it's fine.
14:38
can the collision check if it is used by the server or client?
14:39
i mean my change works fine and the client predicts the doors now but it would be basically double initializing the doors on the server. which does not cause any issues but it not that nice
Avatar
Avatar
chillerdragon
Sounds backwards compatibility breaking. And hard to implement in assembly
heinrich5991 2024-09-20 14:40
no more backcompat breaking than 0.7. just use a library in asm
Avatar
the boomerang, chiller
14:40
it's hitting
Avatar
chillerdragon BOT 2024-09-20 14:40
Libraries are. Bloat
Avatar
Avatar
Teero
can the collision check if it is used by the server or client?
I don't get it, sorry
Avatar
Avatar
Learath2
I don't get it, sorry
np, i will open a pr and describe it more carefully
Avatar
chillerdragon BOT 2024-09-20 14:41
0.6 is backwards and 0.7is forward
Avatar
debatable
Avatar
heinrich5991 2024-09-20 14:41
and quic is even more forward
14:41
chillerdragon: you already depend on third-party code, e.g. the linux kernel, to send UDP packets
Avatar
quic as in: an additional protocol, not a replacement?
Avatar
Avatar
jxsl13
ehm, it's seemingly the one from brew, so no rustup command.
remove it from brew install with rustup
Avatar
Avatar
Teero
np, i will open a pr and describe it more carefully
You likely can't remove that file unless I had whiskey instead of tea this morning and didn't notice. It would break all clients that don't have door prediction
Avatar
brew cargo cant do stuff like "cargo +nightly fmt"
Avatar
Avatar
Learath2
You likely can't remove that file unless I had whiskey instead of tea this morning and didn't notice. It would break all clients that don't have door prediction
i won't dw
Avatar
I got it to compile the x86_64 target
14:42
(Y) will check how wireshark likes that
Avatar
Avatar
jxsl13
quic as in: an additional protocol, not a replacement?
heinrich5991 2024-09-20 14:42
well. it's supposed to be a replacemet in the long run, but I'd support 0.6 for now
Avatar
Avatar
heinrich5991
cargo build --release --target=x86_64-apple-darwin
are u sure he wants x86 darwin?
Avatar
heinrich5991 2024-09-20 14:42
pretty
Avatar
urgh :'/
Avatar
chillerdragon BOT 2024-09-20 14:42
Omg
Replying to @GitHub GitHub: > heinrich5991 [โ€ฆ]
Avatar
โ€œZero setupโ€ cross compilation and โ€œcross testingโ€ of Rust crates - cross-rs/cross
Avatar
my wireshark (from bew) seemingly is x64
Avatar
heinrich5991 2024-09-20 14:43
buut?
Avatar
so it dislikes my shared library which was arm64
Avatar
Avatar
heinrich5991
well. it's supposed to be a replacemet in the long run, but I'd support 0.6 for now
I actually don't remember, is it literally as simple as teeworlds over udp and teeworlds over quic? As in after getting the raw bytes out is the protocol still the same?
Avatar
heinrich5991 2024-09-20 14:43
seems unrelated, we're just trying to cross compile on macos between different arches
Avatar
that's why I need a x64 shared library
Avatar
chillerdragon BOT 2024-09-20 14:44
The kernel is different imo
Replying to @heinrich5991 chillerdragon: you already depend on third-party code, e.g. the linux keโ€ฆ
Avatar
Avatar
Learath2
I actually don't remember, is it literally as simple as teeworlds over udp and teeworlds over quic? As in after getting the raw bytes out is the protocol still the same?
heinrich5991 2024-09-20 14:44
yes
Avatar
Avatar
chillerdragon
The kernel is different imo
When ring0 real mode tw client?
Avatar
Avatar
heinrich5991
seems unrelated, we're just trying to cross compile on macos between different arches
ahh
Avatar
I have high hopes that you come up with an abstraction in order to make protocols plug and play ๐Ÿ™
14:45
cough heinrich
Avatar
Avatar
Learath2
When ring0 real mode tw client?
UEFI ddnet
Avatar
Avatar
jxsl13
I have high hopes that you come up with an abstraction in order to make protocols plug and play ๐Ÿ™
heinrich5991 2024-09-20 14:45
yes, that's actually implemented
Avatar
Avatar
jxsl13
cough heinrich
probably not the higher layer, but after his changes I think the lower layer will be completely abstracted away
Avatar
it can be a interesting challenge
14:45
xdd
Avatar
Avatar
Learath2
probably not the higher layer, but after his changes I think the lower layer will be completely abstracted away
heinrich5991 2024-09-20 14:45
yes
Avatar
chillerdragon BOT 2024-09-20 14:46
Yew heino how is the abstraction layer progressing?
Avatar
then the maintenance of 0.6/0.7 and quic would be pretty "easy" and one would not necessarily need to throw away old workin protocols
Avatar
@Learath2 actually nvm my approach is bad. i should add the door collision when a snap with a door comes in and remove them when it's not there anymore ig
Avatar
Avatar
heinrich5991
yes
I have a small question about that. We have optimizations like recvmmsg for UDP, will those still be possible? I imagine recv for quic and udp would be quite different
Avatar
Avatar
Teero
@Learath2 actually nvm my approach is bad. i should add the door collision when a snap with a door comes in and remove them when it's not there anymore ig
If you tell me what you are trying maybe I can give you an idea? Door prediction and issues have been talked about for a decade now ๐Ÿ™ƒ
Avatar
just usual door prediction
Avatar
Avatar
Learath2
probably not the higher layer, but after his changes I think the lower layer will be completely abstracted away
heinrich5991 2024-09-20 14:48
the planโ„ข is to do the steam proxy thing next maybe, once we have the transparent protocol abstraction
๐Ÿš€ 1
Avatar
Avatar
chillerdragon
Yew heino how is the abstraction layer progressing?
heinrich5991 2024-09-20 14:48
chillerdragon: not at all, I postponed it after the 0.7 PR got merged
feelsbadman 1
Avatar
Avatar
Learath2
I have a small question about that. We have optimizations like recvmmsg for UDP, will those still be possible? I imagine recv for quic and udp would be quite different
heinrich5991 2024-09-20 14:48
both are UDP, not sure what would be different there
Avatar
chillerdragon BOT 2024-09-20 14:51
Can I help? I have time until December
Replying to @heinrich5991 chillerdragon: not at all, I postponed it after the 0.7 PR got merged
Avatar
heinrich5991 2024-09-20 14:51
do you like coding in rust? I could push my current state
14:51
it's not much more than a skeleton
14:51
it can translate messages
14:52
but I guess it needs some architectural things first, still
14:52
so maybe not the best moment to open it to contributions
14:52
what do you do in december?
Avatar
chillerdragon BOT 2024-09-20 14:52
No idea what you are replying to. Element iOS says (null) but yes I will maintain 0.7 until January then I will return to fulltime gaming
14:53
Return to Germany
Replying to @heinrich5991 what do you do in december?
Avatar
5991 is alive!
Avatar
chillerdragon BOT 2024-09-20 14:54
Do the architectural
Replying to @heinrich5991 but I guess it needs some architectural things first, still
Avatar
Avatar
Teero
@Learath2 actually nvm my approach is bad. i should add the door collision when a snap with a door comes in and remove them when it's not there anymore ig
I don't think this is the way to go, we already send switches and extended laser objects have their switch numbers assigned to them. So first time you spot them in the snap, add them to the world according to the switch. Then toggle them on switch changes instead. Atleast that's how I'd go about it. Keeping track of laser entities is janky
Avatar
Avatar
chillerdragon
Return to Germany
LETSGOOOOO
Avatar
Avatar
Learath2
I don't think this is the way to go, we already send switches and extended laser objects have their switch numbers assigned to them. So first time you spot them in the snap, add them to the world according to the switch. Then toggle them on switch changes instead. Atleast that's how I'd go about it. Keeping track of laser entities is janky
yea
14:56
doing it rn. my problem is how do i remove them once they are not in the snapshot anymore?
14:56
maybe the custom server removed them
14:56
we dont want mispredictions
Avatar
Avatar
heinrich5991
both are UDP, not sure what would be different there
The interface is what I was thinking about. idk what quic_recv looks like in whatever library you used but can you unify that with our udp_recv?
Avatar
ah, rip
Avatar
heinrich5991 2024-09-20 14:57
udp_recv is gone
Avatar
Avatar
Teero
doing it rn. my problem is how do i remove them once they are not in the snapshot anymore?
That's fair, maybe you do have to keep track of the lasers afterall. Mh
Avatar
heinrich5991 2024-09-20 14:57
only CNetServer::Recv remains
Avatar
chillerdragon BOT 2024-09-20 14:58
@jxsl13: rip teeworlds-go
Avatar
noooo
14:58
why
Avatar
Avatar
heinrich5991
only CNetServer::Recv remains
and different lower layers implement their own CNetServer::Recv?
Avatar
Avatar
Learath2
That's fair, maybe you do have to keep track of the lasers afterall. Mh
also on the master branch the "toggle" bind apparently doesnt work
14:58
xddd
Avatar
chillerdragon BOT 2024-09-20 14:58
Are you adding quic support? Xd
Avatar
can't toggle entities anymore lmao
Avatar
Avatar
Teero
also on the master branch the "toggle" bind apparently doesnt work
Robyt3 said he'd fix it I think
Avatar
ok :D
Avatar
Fix is already merged
Avatar
I mean, it's probably 5 lines of code in Go
Avatar
Avatar
Learath2
and different lower layers implement their own CNetServer::Recv?
heinrich5991 2024-09-20 14:59
no, all the different protocols pop out from there
Avatar
I was not talking about quic
Avatar
Avatar
Robyt3
Fix is already merged
within the last hour? xd
14:59
oke
Avatar
just more fun with wireshark
Avatar
Avatar
heinrich5991
no, all the different protocols pop out from there
and they provide some sort of mytransportlayer::recv?
Avatar
Avatar
Learath2
and they provide some sort of mytransportlayer::recv?
heinrich5991 2024-09-20 15:00
yes, wait a sec
Avatar
chillerdragon BOT 2024-09-20 15:00
@heinrich5991: why have you been afk so long?
Avatar
heinrich5991 2024-09-20 15:01
vacation (and taking time off of ddnet for my own sanity)
Avatar
fking discord
Avatar
chillerdragon BOT 2024-09-20 15:02
Where did you do vacation?
Avatar
can never load the message
15:02
i hope u had a good vacation heinrich
Avatar
chillerdragon BOT 2024-09-20 15:02
Lmao same problem
Replying to @Ewan can never load the message
15:02
I guess you could say yes to your question
Avatar
Avatar
Learath2
That's fair, maybe you do have to keep track of the lasers afterall. Mh
ah btw door rendering should also extend into infinity since their collision does (edited)
Avatar
now it's saying the dissector was compiled for wireshark 4.2 ._. and I got 4.4
Avatar
chillerdragon BOT 2024-09-20 15:03
lol
Avatar
@deen I vaguely remember you trying to implement postgres for ddnet, what went wrong there? Was the abstraction not abstract enough?
Avatar
chillerdragon BOT 2024-09-20 15:04
libtw2 blaze it 420
Avatar
heinrich5991 2024-09-20 15:04
I think @Zwelf is currently rewriting the db stuff in rust
Avatar
chillerdragon BOT 2024-09-20 15:04
woah Postgres for ddnet I didnโ€™t know that
15:05
Zwelf better not be breaking my two forks that depend on the db code xd
kek 1
Avatar
Avatar
Learath2
@deen I vaguely remember you trying to implement postgres for ddnet, what went wrong there? Was the abstraction not abstract enough?
I started a new job and had a baby I think ๐Ÿ˜„
Avatar
chillerdragon BOT 2024-09-20 15:06
lol
Avatar
Avatar
deen
I started a new job and had a baby I think ๐Ÿ˜„
Ah, that also explains it ๐Ÿ˜„
Avatar
chillerdragon BOT 2024-09-20 15:07
deen is only here to click merge button
Avatar
If someone is interested in adding more customization to the skin system in an easy maintable idea, here is my idea: https://discordapp.com/channels/252358080522747904/1286427778744586350
Avatar
Avatar
chillerdragon
deen is only here to click merge button
sometimes with a different finger
Avatar
chillerdragon BOT 2024-09-20 15:07
xd
15:08
lerato also didnโ€™t send a commit since 666
Avatar
Avatar
deen
I started a new job and had a baby I think ๐Ÿ˜„
nice
Avatar
makes sense
Avatar
congratulations
Avatar
can't get any better than 666
Avatar
heinrich5991 2024-09-20 15:09
yes
Avatar
Can I just say seeing ddnet capitalized like this doesn't spark joy in me? typedef struct DdnetNetEvent CNetEvent; ๐Ÿ˜„
15:13
@heinrich5991 so how functional is this nowadays? Can I join a server yet?
Avatar
chillerdragon BOT 2024-09-20 15:14
Ddnet
Avatar
Golang authors with another W, this language makes correct decision after correct decision
Avatar
chillerdragon BOT 2024-09-20 15:14
lmao jiggsaw had same thought
Avatar
Avatar
chillerdragon
lerato also didnโ€™t send a commit since 666
I'm collecting commits until I have 111 of them to push
Avatar
chillerdragon BOT 2024-09-20 15:19
Whatโ€™s 772?
15:19
Eh 777
15:20
It has no meaning has it?
15:20
@Learath2: until then then I will out rank you hehe
Avatar
Avatar
chillerdragon
@Learath2: until then then I will out rank you hehe
You are too far behind boss
15:25
If you get too close I'll start pushing typo fixes
๐Ÿ˜‚ 3
KEKW 2
Avatar
chillerdragon BOT 2024-09-20 15:26
Shit
Avatar
Avatar
oxyzo
8,09958998668719085829131208009794E31681
O.o
Avatar
Avatar
Learath2
@heinrich5991 so how functional is this nowadays? Can I join a server yet?
heinrich5991 2024-09-20 15:48
server joining works. mostly ancillary stuff that's missing. currently, I'm working on mastersrv registering
Avatar
heinrich5991 2024-09-20 15:49
Code generated by the protocol buffer compiler is exempt from this rule. Human-written code is held to a higher standard than machine-written code.
that's kinda meh
Avatar
dunno about protocol buffers but in general. it's kind of impossible to deduce the correct casing from ddnetAPIEndpoint where your target casing is for example capital camel case DDNetAPIEndpoint.
Avatar
Avatar
Gumba
If someone is interested in adding more customization to the skin system in an easy maintable idea, here is my idea: https://discordapp.com/channels/252358080522747904/1286427778744586350
skin accessories will always be not easy nor maintainable ๐Ÿ˜…
justatest 2
15:57
but i hope the day comes
Avatar
finland
16:58
stronk
17:59
]ะดั€
18:13
i got job interview in 15 mins
18:13
wish me luck
Avatar
Avatar
Ewan
wish me luck
u good owo
Avatar
unsure
Avatar
Avatar
Ewan
wish me luck
good luck
Avatar
Avatar
Teero
u good owo
tyronechamp
18:15
ty
Avatar
Avatar
Ewan
i got job interview in 15 mins
MilkeeyCat 2024-09-20 18:15
You got it!!!
Avatar
Avatar
Ewan
wish me luck
get luck EWAN! (edited)
๐Ÿงฑ 1
18:22
with all this luck i cannot fail
Avatar
MilkeeyCat 2024-09-20 19:15
I just got owned by my own compiler -.-
Avatar
Something on this computer is sending a sleep signal to my controller and I can't figure it out. I absolutely despise windows
Avatar
Avatar
Learath2
Something on this computer is sending a sleep signal to my controller and I can't figure it out. I absolutely despise windows
cammostripes
Avatar
Like if this was linux it was happening on, worst case I can just debug the driver itself
Avatar
wretched
Avatar
good luck
steamhappy 1
Avatar
Avatar
Learath2
Something on this computer is sending a sleep signal to my controller and I can't figure it out. I absolutely despise windows
re link
Avatar
Avatar
Ryozuki
re link
I tried about 8 times
Avatar
the problem is it links blue and then shuts down right?
20:22
u gotta press power and share iirc
20:22
atleast with ps5
20:22
until it blinks a lot
20:22
then try
Avatar
Avatar
Ryozuki
the problem is it links blue and then shuts down right?
It's not bluetooth, it's xbox one with the xbox wireless adapter
Avatar
also forget from pc
20:22
oh
20:22
idk
20:22
im playing poe
Avatar
i think i won
20:40
holy shit
20:40
late start on the league eh?
20:40
what build are u following
Avatar
Avatar
Ewan
i think i won
but ya u might be talking to the newest minion at warner bros... we'll see
Avatar
Avatar
Learath2
It's not bluetooth, it's xbox one with the xbox wireless adapter
never used those things. bluetooth has always worked very well for me for xbox controller
20:42
but that must be stupid
20:42
is it one of the first gen controllers?
Avatar
you have a windows computer?
Avatar
i wouldnt be surprised if he dualboots
22:49
most linux users do have it just in case
22:50
some real life stuff comes up and they have to put their OSS ideologies aside
Avatar
yup - i have windows for solidworks and cubase (and some games i cba to download twice kekw)
Avatar
Avatar
Ewan
some real life stuff comes up and they have to put their OSS ideologies aside
๐Ÿ’€๐Ÿ’€
Exported 417 message(s)
Timezone: UTC+0