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 2022-12-15 00:00:00Z and 2022-12-16 00:00:00Z
Avatar
Avatar
Voxel
how do i check if a packet is actually being sent?
check in wireshark
Avatar
Avatar
heinrich5991
check in wireshark
so i got wireshark uhhh how to i find ddnet packets LOL
Avatar
2fc9826 A Not Really Yo'Ci, M Supernova - ddnet-maps
Avatar
Avatar
Jupstar ✪
Generally you can add it to the backend. But ddnet is 2d don't expect any helper functions for projection matrices or similar.
i think i'm losing my mind trying to get this to work
Avatar
Avatar
Voxel
so i got wireshark uhhh how to i find ddnet packets LOL
Try with port
06:31
Or by receiver ip
Avatar
Avatar
Anime.pdf
Or by receiver ip
reciever ip should be my ip, right?
Avatar
Avatar
Voxel
reciever ip should be my ip, right?
Server ip you are sending packets to (edited)
Avatar
Avatar
Headshot
i think i'm losing my mind trying to get this to work
If you struggle with something specific just name it
Avatar
Avatar
Voxel
reciever ip should be my ip, right?
07:44
this is how you make it, kinda
07:44
im not wireshark guru
07:51
also there are wireshark plugins afaik, maybe someone already made one to decipher tw packet, or you can do it yourself brownbear (edited)
07:54
oh, heinrich made one, but its in rust, so idk how to install it
07:58
ok nvm, there is a guide
Avatar
@Jupstar ✪ no complaints from nightly users yet on Vulkan default, nice
Avatar
Probably not many using nightly tho^^
Avatar
More than RCs (edited)
09:36
Avatar
does the beta branch also have the updates of RCS? cuz i always run on RCS but if nightly updates earlier then i don't see a point in using it instead if nightly
Avatar
Usually yes. But sometimes one day delayed
09:50
E.g. If not merged yet
09:50
Versioning is sometimes different tho
09:50
But that's not related to the implemented features
Avatar
also, when running DDNET on steam, you can select whether to run the game or run starting with vulkan renderer, so wouldn't it make sense to make that button OpenGL now, since vulkan is default?
Avatar
Avatar
bencie
also, when running DDNET on steam, you can select whether to run the game or run starting with vulkan renderer, so wouldn't it make sense to make that button OpenGL now, since vulkan is default?
We want to remove that again
09:51
As long as the client starts some how it's fine
Avatar
That's nice to hear actually, its slightly annoying to always have to press an extra button when running from steam
Avatar
Definitely
Avatar
Avatar
bencie
also, when running DDNET on steam, you can select whether to run the game or run starting with vulkan renderer, so wouldn't it make sense to make that button OpenGL now, since vulkan is default?
Will be removed in next version if all goes well. In the meantime you can right click on the game and create a shortcut to desktop
10:22
then it's without the option I understand
Avatar
Avatar
bencie
does the beta branch also have the updates of RCS? cuz i always run on RCS but if nightly updates earlier then i don't see a point in using it instead if nightly
The point is that RC is more stable than nightly, but less stable than release. We need it to stabilize things for a week until release to catch the bugs without adding new features (and thus potential new bugs) in the meantime (edited)
Avatar
Right, thanks for the explanations
Avatar
9fb9b8b Hetzner price increases for 2023 - def-
10:43
5f055be Hetzner price increases for 2023 - def-
Avatar
@Ryozuki have you seen gccrs got merged?
13:01
It will be shipped on gcc 13.1
13:02
It doesn't even have the borrow checker yet, but still it is a start
Avatar
I think they told people not to get hyped over it
13:04
it's not usable (edited)
Avatar
tbh i dont know what to think
13:07
its good cuz gcc supports more
13:08
but i hope it doesnt become a problem like c++
13:08
where u gotta care about diferent impls
Avatar
do you have to care about different impls in c++?
13:09
i.e. can you give an example?
Avatar
I hope gcc backend is faster than llvm , performance of binary wise, like on c
13:11
I never touch gcc except for release builds xd. It's just too good
Avatar
Looking up someone else's points should not be visible to others (and in particular said someone), since it can be demotivating.
Avatar
If you care about different implementations in C/C++ you are very likely doing something wrong
13:13
I can foresee a problem with Rust where there is no standard to resolve implementation differences though
Avatar
Avatar
heinrich5991
do you have to care about different impls in c++?
isnt there implementation defined behaviour?
13:14
if gccrs follows rustc exactly same i got no problem
Avatar
Avatar
Ryozuki
isnt there implementation defined behaviour?
yes. I was asking where you care about different implementation behavior
13:15
not some hypotheticals
Avatar
just the fact it exists is bad design to me
13:15
i havent done much c++ lately so idk rn
Avatar
then rust is a lot worse
Avatar
rust only has 1 impl
13:15
so its not a problem
13:15
rustc is the only way rust is
Avatar
yes, and that implemetation will change behavior
13:15
since we have no spec, we don't know which behavior is correct
Avatar
well for me the one from rustc
Avatar
rustc which version?
Avatar
Implementation defined behaviour is veery specific stuff. Like locale specific behaviour
Avatar
good stuff of only having 1
13:16
anyway ur probs right it probs doesnt matter
Avatar
Avatar
heinrich5991
rustc which version?
The very latest version I presume
Avatar
but its the main concern
13:16
i seen in rust reddit
13:17
rust is mostly backwards compat
13:17
actually it is
Avatar
It’s imo good. This sort of uncertainty will finally hopefully force rust to write down the rules
Avatar
I just repeat what others say, without understanding it? ^^
13:17
c++ compilers are mostly compatible with each others
Avatar
also in rust docs they often clearly say when something should not be assumed
Avatar
Avatar
Learath2
It’s imo good. This sort of uncertainty will finally hopefully force rust to write down the rules
I hope not tbh
Avatar
Avatar
Ryozuki
also in rust docs they often clearly say when something should not be assumed
except when they don't and it changes
13:18
there is this tho
Avatar
I think it's great that rust can™️ just break any struct layout if it thinks it's faster
Avatar
Avatar
Jupstar ✪
I hope not tbh
Doesn’t mean they have to employ the wg14 method of standardization where nothing can change ever again
Avatar
Avatar
Learath2
Doesn’t mean they have to employ the wg14 method of standardization where nothing can change ever again
That's true^^
Avatar
It’s good to have a book of rules that you can refer to that concretely tells you what the prescribed behaviour is
Avatar
It also depends on if u want to mix both compilers
Avatar
Avatar
Jupstar ✪
I think it's great that rust can™️ just break any struct layout if it thinks it's faster
this seems unrelated to having a spec
13:19
in fact the reference currently says what you say (edited)
Avatar
Avatar
heinrich5991
this seems unrelated to having a spec
Didn't we talk about implementation defined behavior?
Avatar
Avatar
Jupstar ✪
I think it's great that rust can™️ just break any struct layout if it thinks it's faster
it doesnt break, it just says u cant rely on the order u put the fields cuz rust automatically moves them around to find the best align
13:20
or fitting idk
Avatar
Ok but if u static link a lib that could break between compilers can't it?
Avatar
u use repr(C)
Avatar
So it's not guaranteed
Avatar
for when u want known order
Avatar
Anyway I'm confused now bye
Avatar
hmm idk if it can break between compilers
13:21
oh ok bye
Avatar
yes, that's implementation defined behavior between versions of rustc, even
13:22
that implementation defined behavior seems alright to me
Avatar
Implementation defined behaviour is really niche stuff. The amount of bits in a byte. The way integers are represented. The values of signals
Avatar
anyway what we comment has no change on what will happen
13:23
we dont control rustc kek
Avatar
hence we shouldn't talk about it?
Avatar
and wdym? user input can change rustc decisions
13:24
in fact, that's e.g. why usize is called usize in rust
Avatar
well i think no matter the amount of input u cant stop someone from implementing gccrs
Avatar
this was a proposal that users had, which was declined once and then still added because people really didn't like the old names
Avatar
I don’t agree that all discussions have to lead to concrete change. It’s also for self improvement. I learn a lot of stuff just during idle discussions with people
Avatar
yeah my bad
13:25
xD
13:26
idk if a spec is good rn
13:26
maybe the language can still improve
13:26
well it can
13:26
i wonder how a spec makes changingg more difficult (edited)
13:27
also there is one spec made
13:27
or an attempt
13:27
but not oficial
Avatar
I doubt it’d change much. It just adds a bit more work to changes, you have to actually think about the prescribed behaviour
13:29
Aaaanyway, we’ll see in due time how they decide to handle the fact that there will now be more than one rust compiler
13:29
with this u can do the typical standard mention
13:29
they do in c++
13:29
ur wrong! point 4.3.2.1 says this!
Avatar
As you said, no one can really stop people from implementing a gccrs
Avatar
Avatar
Ryozuki
ur wrong! point 4.3.2.1 says this!
Idk how much value there is in a descriptive unofficial standard. Because the reply to this would be “rustc does this, so u and ur unofficial standard are wrong”
13:31
With C++ you can say “your compiler is wrong, period’
Avatar
Avatar
Learath2
Idk how much value there is in a descriptive unofficial standard. Because the reply to this would be “rustc does this, so u and ur unofficial standard are wrong”
i know, but they did this standard following what rustc does
13:32
dont think as c++ here
13:32
its not wrong to use rustc as the base point for the standard
13:32
since its the only one
13:32
rn
13:32
also its done by very important ppl in the rust scene
13:32
ferrous systems did rust-analyzer
13:33
and rust-analyzer is like a second compiler
13:33
made just to check
13:33
xD
Avatar
But at some point if the rustc and the standard disagrees. It’s what rustc does that’s important, right?
Avatar
rust-analyzer: building a better Rust IDE
Avatar
Avatar
Learath2
But at some point if the rustc and the standard disagrees. It’s what rustc does that’s important, right?
yeah
13:33
thats why at some point the standard needs to be made "oficial"
13:33
and then rustc follow the standard and not the other way around
Avatar
I guess something like gccrs can be a good push for that change
Avatar
i wonder if gccrs will split the compiler devs
13:35
its already lot of work to do one
13:35
Empowering everyone to build reliable and efficient software. - GitHub - rust-lang/rust: Empowering everyone to build reliable and efficient software.
13:35
is insanely big
13:35
by amount of contributors too
13:36
210.000 commits lol
Avatar
Avatar
Ryozuki
i wonder if gccrs will split the compiler devs
That is actually a concern, hopefully gccrs does get a dedicated team without pulling from rustc people
13:37
How big is the rustc team anyway? In clang and gcc there are a lot of small collaborators but there are some people that do an insane amount of work on their own
Avatar
anyone can make prs
13:41
but the team is here:
13:41
A language empowering everyone to build reliable and efficient software.
13:42
oli-obk has 196 repositories available. Follow their code on GitHub.
13:42
this guy does a lot
13:43
A language empowering everyone to build reliable and efficient software.
Avatar
Co-authored-by: Sean DuBois sean@siobud.com Co-authored-by: DDRBoxman colin@recursivepenguin.com First and foremost, thanks to the original author of the draft PR for webrtc Collin Edwards (DDRBoxm...
16:13
uses rust ^^
Avatar
2f5b96b More flags for codebrowser - def-
Avatar
Avatar
GitHub
Click to see attachment 🖼️
This suggestion was quite interesting to me, sometimes you don't want the guy to know you are looking at his points (while not knowing the website exists), it also makes the chat spammy imo, and as you mentioned (deen), I don't really think beginners need to deal with such numbers. It doesn't matter anymore because the guy ran away and closed the issue cammo
Avatar
Avatar
nouaa
This suggestion was quite interesting to me, sometimes you don't want the guy to know you are looking at his points (while not knowing the website exists), it also makes the chat spammy imo, and as you mentioned (deen), I don't really think beginners need to deal with such numbers. It doesn't matter anymore because the guy ran away and closed the issue cammo
join with dummy
Avatar
Avatar
Jupstar ✪
join with dummy
What if u're already playing with it
17:16
Did u mean like hiding?
Avatar
Avatar
nouaa
What if u're already playing with it
yeah just meant fake identity xd
Avatar
@Jupstar ✪ perhaps I have misunderstood something?
17:26
Oh ok
Avatar
dunno, i guess u simply didnt read deens msg xD
Avatar
Yeah, did not fully read (edited)
Avatar
Tho i didnt see a wrong prediction with hook which probably makes sense, it probs only affects weapons, as thats the main part the server code was updated for

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
  • [...
17:43

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/ddnet/ddnet/#using-addres...
Avatar
  • [ x] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [x] 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
  • [x] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefin...
Avatar
19928aa Adjust no weak prediction to updated server code - Jupeyy 2d57e04 Merge #6142 - bors[bot]
Avatar
Do you think we should move the borders button to the new Tools tab?
Avatar
Sounds good
Avatar
Avatar
nouaa
This suggestion was quite interesting to me, sometimes you don't want the guy to know you are looking at his points (while not knowing the website exists), it also makes the chat spammy imo, and as you mentioned (deen), I don't really think beginners need to deal with such numbers. It doesn't matter anymore because the guy ran away and closed the issue cammo
If you don't want someone to look at your points play on local server and host local db, or press kill on finishes on main servers and note in ut notepad that you did the map
Avatar
Avatar
Anime.pdf
If you don't want someone to look at your points play on local server and host local db, or press kill on finishes on main servers and note in ut notepad that you did the map
The point was to have a way to check someones points easily without them knowing for whatever reason
Avatar
Avatar
Anime.pdf
If you don't want someone to look at your points play on local server and host local db, or press kill on finishes on main servers and note in ut notepad that you did the map
uhm? you are free to give your opinion, but not to impose it. also, i wasn't really referring to someone looking at my points, but rather to the fact that you absolutely don't want the guy to know that you are checking his points, this can be for some reasons, like when you don't want to look "toxic" by checking someone's points because he did something wrong or because he is just bad
Avatar
Instead of a whole new command maybe it would be better to just add another optional parameter to the points command. Something like /points Aca^ local would print out the points of the player to you only
Avatar
Avatar
Alexander
The point was to have a way to check someones points easily without them knowing for whatever reason
Nouaa's reply sounded like he doesnt want someone to know how much points he has
kek 1
Avatar
Avatar
Alexander
The point was to have a way to check someones points easily without them knowing for whatever reason
can't you just switch the server?
18:40
or opening the game twice and joining another server? (edited)
Avatar
Avatar
nouaa
uhm? you are free to give your opinion, but not to impose it. also, i wasn't really referring to someone looking at my points, but rather to the fact that you absolutely don't want the guy to know that you are checking his points, this can be for some reasons, like when you don't want to look "toxic" by checking someone's points because he did something wrong or because he is just bad
I didnt impose my opinion? Maybe my reply sounded a bit aggressive, but no hate was intended
Avatar
Avatar
Anime.pdf
Nouaa's reply sounded like he doesnt want someone to know how much points he has
it doesn't, someone can check my points without me noticing
Avatar
Avatar
default
can't you just switch the server?
If im playing then it would be easier to open a browser or another client
Avatar
Avatar
nouaa
it doesn't, someone can check my points without me noticing
If guy want to be toxic he can just copy paste ur points into chat (edited)
Avatar
Avatar
Anime.pdf
I didnt impose my opinion? Maybe my reply sounded a bit aggressive, but no hate was intended
ye, no problem, so as not to create drama, let's forget it 🙂
Avatar
Avatar
Anime.pdf
If guy want to be toxic he can just copy paste ur points into chat (edited)
??????
18:42
0 points
Avatar
612ef83 Add separate ed_limit_max_zoom_level for editor - Robyt3 a0553f2 Fix editor smooth zooming when joining/reloading game - Robyt3 3f73b81 Merge #6143 - bors[bot]
Avatar
I still don't see a bad reason not to add it @Anime.pdf, you think it's useless but it's actually useful to me because it improves the player experience by reducing "awkward" moments
18:47
this is my point of view, and btw, showing the players points as suggested in the issue would be fire (edited)
Avatar
Avatar
nouaa
I still don't see a bad reason not to add it @Anime.pdf, you think it's useless but it's actually useful to me because it improves the player experience by reducing "awkward" moments
I think adding new command or argument to see them locally actually a good feature, but initial and heinrich's formulations made me thing you wont be able to look points publicly anymore
Avatar
yeah i think it should stay as it is where it shows globally but with an option to display it locally
Avatar
no option/argument needed if it's shown directly in the scoreboard (edited)
18:53
I have trouble writing from my phone lmao, always need to edit my messages
Avatar
Omg, why is Visual Studio git stuff so complicated... Another reason why I use VS Code
Avatar
Just use jetbrains IDEsgreenthing (edited)
Avatar
Avatar
Voxel
Do you think we should move the borders button to the new Tools tab?
delete it
Avatar
Avatar
louis
delete it
What do you think should replace it
Avatar
i mean the button is shared with everything else
Avatar
Avatar
Avolicious
Omg, why is Visual Studio git stuff so complicated... Another reason why I use VS Code
🤓
Avatar
windows notepad is the best for coding
Avatar
Microsoft word 2007 is best IDE so far
Avatar
happy kernel day to my os 🥳
Avatar
But had to reinstall nvidia drivers cuz they died for some reason
21:23
fedora gang
Avatar
What about the new gnome design
Avatar
gnome 43 ?
Avatar
way better than the previous versions imo
21:24
they removed icons on the desktop
21:25
it's simpler and more efficient
Avatar
Compilation error occurs when upgrading from 16.5 to 16.6. I am attaching the installation log. Installed via pi-apps. log >> install-fail-DDNet.log OS: Raspbian GNU/Linux 10 (buster) OS architecture: 32-bit Kernel: armv7l 5.10.103-v7l+ Device model: Raspberry Pi 4 Model B Rev 1.2 Cpu name: Cortex-A72 Ram size: 3.65 GB Raspberry Pi OS ...
Avatar
Raspberry pi gaming...?justatest
Avatar
better than the ppl with 1995 pc xd
22:16
but im scared about 32bit
22:16
i'd prefer it dies out xD
Avatar
I should try running ddnet on arduino and later create issue so you guys take care of itgreenthing
😂 1
22:47
i dont use laptops
22:48
i have a master race pc
22:48
imagine not compiling ddnet under 24 secs
Avatar
Xddddd
Avatar
so i read both this and got the plugin, but when i build my client and try to test my changes in a map the protocol isnt detected as TW (edited)
Avatar
Is a force push the only way the previous head of a branch gets orphaned?
Avatar
You could also delete the branch
22:53
or rebase
22:53
or squash commits
22:53
oh, but for the remote branch, all of that requires a force push
22:53
git is append only
Exported 244 message(s)