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-23 00:00 and 2024-09-24 00:00
Avatar
Avatar
Ewan
otherwise you would not be able to see the tees unless you did /showall
This would work if the client only sent the camera position. But it also sends the id of who you are speccing. I think that was the question
00:07
Even tho you could check that even if the client didn't send any info about who they're speccing
Avatar
ws-client BOT 2024-09-23 00:19
<ChillerDragon> #someone4president
00:19
<ChillerDragon> can we start a vote to make SP | Someone ddnet admin?
f3 8
f4 2
Avatar
i don't think chiller can see the vote
Avatar
current standings are 5/1 in his favor
Avatar
ws-client BOT 2024-09-23 03:07
<ChillerDragon> poggers2
Avatar
anyone know why there is a -1 at the end of these 2 lines? https://github.com/ddnet/ddnet/blob/master/src/game/client/render_map.cpp#L591-L592 it just seems to make things look weird in my opinion because it cuts off 1 pixel from the edge of the tile
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
04:32
The default option is on. So nothing in the logging output changes. But users now have the option to set dbg_sql 0 which hides all the sql logging unless there is an error.

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 a...
Avatar
GitHub BOT 2024-09-23 05:01
This fixes the bug that moved spectators in game on hot_reload

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...
Avatar
Avatar
art0007i
anyone know why there is a -1 at the end of these 2 lines? https://github.com/ddnet/ddnet/blob/master/src/game/client/render_map.cpp#L591-L592 it just seems to make things look weird in my opinion because it cuts off 1 pixel from the edge of the tile
cuz old mapres were shifted justatest afair
05:31
any experts of tile render there
Avatar
ws-client BOT 2024-09-23 05:31
<ChillerDragon> patiga is pro
Avatar
chiller does my pr affect any existing mod?
05:32
because now id predefines tunes for all mods
Avatar
ws-client BOT 2024-09-23 05:32
<ChillerDragon> i think so
05:32
and my pr makes it only for ddrace and ddnet
Avatar
ws-client BOT 2024-09-23 05:33
<ChillerDragon> im not sure i would have to test it
05:33
<ChillerDragon> so many things to think about
Avatar
if you have time and will pls
Avatar
ws-client BOT 2024-09-23 05:34
<ChillerDragon> also why u ignore ma comment xd
Avatar
because i couldn't figure out how ur issue connects with my pr
05:34
what exactly is wrong
Avatar
ws-client BOT 2024-09-23 05:34
<ChillerDragon> then ignore the issue and only respond to the question
05:34
<ChillerDragon> why is tunes ddrace tiles
Avatar
because if server wants to predict ddrace tiles its supposedly ddrace based
05:35
and needs these tunes to operate
Avatar
ws-client BOT 2024-09-23 05:35
<ChillerDragon> i disagree
05:35
<ChillerDragon> gun curvature and speedups are two different things
Avatar
but now it does affect all mods
05:36
what do you want, to remove ddrace tiles check?
Avatar
ws-client BOT 2024-09-23 05:36
<ChillerDragon> why have PredictDDrace and PredictDDraceTiles if tiles does not mean tiles
05:36
<ChillerDragon> @zhn well as proposed in the issue i might even want a PredictDDraceTunes flag :p
Avatar
i want to fix vanilla demos, not to make another protocol entry xd
05:37
i wonder how it works good in game and doesnt in demos
05:37
something is wrong
Avatar
ws-client BOT 2024-09-23 05:37
<ChillerDragon> but why did you add predicttiles whats the use case?
Avatar
if server sent no predict ddrace but predict ddrace tiles xd
05:38
why would u need to predict ddrace tiles and not to have default ddnet tunes
Avatar
ws-client BOT 2024-09-23 05:38
<ChillerDragon> which server does that? and why does that mean that the tunes are ddrace based?
05:38
<ChillerDragon> @zhn ddnet-insta
Avatar
also it affects only demos
Avatar
Avatar
ws-client
<ChillerDragon> @zhn ddnet-insta
do u send predict ddrace tiles in ddnet insta?
05:39
i would 1 tick freeze by prediction if u did
05:39
on health pickup touch
Avatar
ws-client BOT 2024-09-23 05:39
<ChillerDragon> well yea thats what https://github.com/ddnet/ddnet/issues/8923 is about
When introducing vanilla pickups (armor, health, weapons being collectable and having a different effect than ddrace) the GAMEINFOFLAG_PREDICT_DDRACE has to be removed otherwise ddnet's anti pi...
05:40
<ChillerDragon> currently vanilla weapons plus ddrace tiles such as speedups and stoppers is a mess to get predicted correctly
05:40
<ChillerDragon> your pr looks like it would make it even worse and i dont see the use case
Avatar
why would u need speeders and stoppers in vanilla xd
Avatar
ws-client BOT 2024-09-23 05:40
<ChillerDragon> its cool?
Avatar
Avatar
ws-client
<ChillerDragon> your pr looks like it would make it even worse and i dont see the use case
join jsaurus server with ddnet
05:40
pew pew with shotgun
05:40
and pistol
05:40
move to demos
05:41
and voila
05:41
wrong tunes by default
05:41
join any vanilla server
05:41
even infclass is affected
05:41
its 7 year issue that was introduced by defaulting ddrace tunes
Avatar
ws-client BOT 2024-09-23 05:41
<ChillerDragon> yes sounds good to fix that but my question stands
05:41
<ChillerDragon> why ddracetiles
Avatar
tell me what it would break in your current setup
Avatar
ws-client BOT 2024-09-23 05:42
<ChillerDragon> it just seems wrong
05:42
<ChillerDragon> tiles should mean tiles
Avatar
what exactly
Avatar
ws-client BOT 2024-09-23 05:42
<ChillerDragon> your prediction is not about tiles
Avatar
what about ddrqce tune zones? arent these tiles?
Avatar
ws-client BOT 2024-09-23 05:43
<ChillerDragon> hmm
Avatar
i wouldn't mind if theyre handled differently
Avatar
ws-client BOT 2024-09-23 05:43
<ChillerDragon> yea imo this should be PredictDDraceWeapons
Avatar
it affects only demos btw
05:45
if u will encounter anything like that in the future we can hop in making new protocol entry
05:45
i just don't want it to be protocol dependent
05:45
unless existing ones
Avatar
ws-client BOT 2024-09-23 05:45
<ChillerDragon> why not prepare something clean now for the future?
Avatar
ws-client BOT 2024-09-23 06:06
<ChillerDragon> the prediction code is such a rabbit hole. TIL the ddnet client hardcodes a specific hammer tuning for fng https://github.com/ddnet/ddnet/blob/f9df4a85be4ca94ca91057cd447707bcce16fd94/src/game/client/prediction/entities/character.cpp#L334-L346
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
Avatar
I guess tuning can't work if you're a vanilla server?
06:11
or the server simply doesn't care about correct prediction
Avatar
Avatar
Tater
or the server simply doesn't care about correct prediction
everything is fine ingame
06:32
demo tunings fuck ups on these hardcoded values
Avatar
I'm not taking about demos
Avatar
Avatar
Tater
I'm not taking about demos
what then
Avatar
Avatar
Tater
I guess tuning can't work if you're a vanilla server?
but vanilla servers have their tunings justatest
Avatar
Why doesn't the fng server simply send hammer strength tunes so the client doesn't need these hard coded values?
Avatar
Avatar
Tater
Why doesn't the fng server simply send hammer strength tunes so the client doesn't need these hard coded values?
for the same reason why ddnet tunes are hardcoded ig
06:34
idk which though xd
Avatar
Avatar
zhn
for the same reason why ddnet tunes are hardcoded ig
I think it's not the same but ok
Avatar
Avatar
Tater
I think it's not the same but ok
afair jupeyys or whatever fng we have has hardcoded strength instead of tuning
06:35
not 100% information
Avatar
Why do demos need tunes at all? They run physics?
Avatar
demo is just replaying received snapshots as far as i can tell
Avatar
so how can tunes mess it up
Avatar
so its a game runningz actually
Avatar
Avatar
zhn
join jsaurus server with ddnet
@Tater
Avatar
That doesn't answer my question
06:39
I just don't understand why tunes should affect the demo
06:40
Do you mean the demo playback is wrong or the demo saving is wrong?
06:41
ah waiy
06:41
wrong one
Avatar
Is it saving or playback tho?
Avatar
Avatar
Tater
Is it saving or playback tho?
and it was like this for a long time
06:42
justatest
Avatar
Can you just answer the question I don't have my pc to test it
Avatar
wdym by saving or replaying?
06:43
both
06:43
rendering is just capturing demos playback
Avatar
If you save the demo on a patched client and play it back on an unpatched one does it work? If you save the demo on an unpatched client and play it back on a patched one does it work?
Avatar
only playback
Avatar
That's ambiguous just put yes/no for each
Avatar
you can watch this demo with patched client and everything is fine
😎 1
Avatar
Ok thanks
🇹🇷 1
Avatar
Avatar
Tater
That's ambiguous just put yes/no for each
im typing in -2 by celcius, just wait pls xd
👍 1
06:52
hm interesting what if i hardcode gravity to 0 xd
🫡 1
06:52
would demo also try to render it like this
😳 1
Avatar
Are gun projectiles not part of snapshot data?
👍 1
07:01
So the client has to predict them during playback?
👍 1
07:01
so weird
👍 1
07:02
I thought for sure they should be in snapshots so idk what's happening
👍 1
🤯 1
Avatar
@Fantrap can you stop please
👍 1
Avatar
cyberfighter 2 2024-09-23 07:21
block him to stop reactions
07:21
easy solution
Avatar
An idea to ponder and consider: We already have few states Default, Freeze, Deep Freeze. Is it possible to somehow make a new state? let's call it "Mechanized" ofc need two blocks like a Freeze / Unfreeze, but for this state. (for example Mechanize / Unmechanize) One gives this state and second removes state from Tee. Tee with this state "Mechanized" is like a frozen Tee. Player can not control it by inputs, but Mechanized Tee can be control by another way. By touch to the {Mech Command Blocks}. for example: if state of Tee is "Mechanized" and it touches to Mech Command Block "HOLD LEFT", then it will automatically hold it's virtual key [LEFT] all time... until it touches another {Mech Command Block} "RELEASE LEFT" It can hold or release he's virtual keys [LEFT, RIGHT, JUMP, SHOOT, HOOK] and change look direction (by touch to Mech Command Blocks). i think for it need 13 blocks or more... 1) "Mechanize" set state "Mechanized" 2) "Unmechanize" clear state "Mechanized" 3) "HOLD LEFT" starts holds it's virtual key [LEFT] 4) "HOLD RIGHT" starts holds it's virtual key [RIGHT] 5) "HOLD JUMP" starts holds it's virtual key [JUMP] 6) "HOLD SHOOT" starts holds it's virtual key [SHOOT] 7) "HOLD HOOK" starts holds it's virtual key [HOOK] 8) "RELEASE LEFT" releases it's virtual key [LEFT] 9) "RELEASE RIGHT" releases it's virtual key [RIGHT] 10) "RELEASE JUMP" releases it's virtual key [JUMP] 11) "RELEASE SHOOT" releases it's virtual key [SHOOT] 12) "RELEASE HOOK" releases it's virtual key [HOOK] 12) "HOOK DIRECTION" i do not know how it can be realized but may be like speedup blocks Or it can be realized by tune layer and then we need only first 2 blocks (Mechanize / Unmechanize) I think this will add more variety to the game in many modes. This mechanic can create new unique maps. Will open a new window for creativity.
Avatar
Avatar
Tater
Are gun projectiles not part of snapshot data?
they are part of it
08:00
at least their existence
08:01
in the snapshot they only store their start point + direction, not all that much
08:01
so the client does need to work out the flight path of the projectile
Avatar
Avatar
Tater
Why do demos need tunes at all? They run physics?
yes they also run a subset of physics, its called "dead reckoning" in the code
Avatar
Server should send parabolic coefficients kek
happy 2
Avatar
in essence, as long as a tee doesnt change inputs and doesn't interact with projectiles/tees, it will be viewed as easily predictable (with dead reckoning, a subset of physics) so a tee with none of the interactions will not show up as changed in the snap to save space, and the client kknows to predict the movement of that tee thats also why teecore has a tick field. with it you know how many ticks of physics this tee needs to advance
Avatar
Avatar
Patiga
yes they also run a subset of physics, its called "dead reckoning" in the code
I assumed this was only used during actual gameplay to save bandwidth
Avatar
I was hoping that too, but then I needed to implement it for my demo renderer
Avatar
Avatar
Zabenom
An idea to ponder and consider: We already have few states Default, Freeze, Deep Freeze. Is it possible to somehow make a new state? let's call it "Mechanized" ofc need two blocks like a Freeze / Unfreeze, but for this state. (for example Mechanize / Unmechanize) One gives this state and second removes state from Tee. Tee with this state "Mechanized" is like a frozen Tee. Player can not control it by inputs, but Mechanized Tee can be control by another way. By touch to the {Mech Command Blocks}. for example: if state of Tee is "Mechanized" and it touches to Mech Command Block "HOLD LEFT", then it will automatically hold it's virtual key [LEFT] all time... until it touches another {Mech Command Block} "RELEASE LEFT" It can hold or release he's virtual keys [LEFT, RIGHT, JUMP, SHOOT, HOOK] and change look direction (by touch to Mech Command Blocks). i think for it need 13 blocks or more... 1) "Mechanize" set state "Mechanized" 2) "Unmechanize" clear state "Mechanized" 3) "HOLD LEFT" starts holds it's virtual key [LEFT] 4) "HOLD RIGHT" starts holds it's virtual key [RIGHT] 5) "HOLD JUMP" starts holds it's virtual key [JUMP] 6) "HOLD SHOOT" starts holds it's virtual key [SHOOT] 7) "HOLD HOOK" starts holds it's virtual key [HOOK] 8) "RELEASE LEFT" releases it's virtual key [LEFT] 9) "RELEASE RIGHT" releases it's virtual key [RIGHT] 10) "RELEASE JUMP" releases it's virtual key [JUMP] 11) "RELEASE SHOOT" releases it's virtual key [SHOOT] 12) "RELEASE HOOK" releases it's virtual key [HOOK] 12) "HOOK DIRECTION" i do not know how it can be realized but may be like speedup blocks Or it can be realized by tune layer and then we need only first 2 blocks (Mechanize / Unmechanize) I think this will add more variety to the game in many modes. This mechanic can create new unique maps. Will open a new window for creativity.
this could get lost in this chat, maybe post your idea in #town-hall or open a github issue :)
Avatar
Sounds kinda cool but also probably a nightmare to implement.
08:14
I think except for hook and shoot you can achieve most of the same effect with freeze and speedups but probably not to the precision you want
Avatar
Avatar
Patiga
this could get lost in this chat, maybe post your idea in #town-hall or open a github issue :)
thx i do not know where is allowed write ideas that's why i write here thx i will write it in town-hall github issue <--- i do not know where is it 😄
Avatar
Avatar
art0007i
anyone know why there is a -1 at the end of these 2 lines? https://github.com/ddnet/ddnet/blob/master/src/game/client/render_map.cpp#L591-L592 it just seems to make things look weird in my opinion because it cuts off 1 pixel from the edge of the tile
are you sure your grid is correct? pls send that mapres that -1 is only in affect if your renderer doesn't support array textures, in which case that range is inclusive (as texture coordinates) and thereby needs -1 note that your renderer peobably supports array textures
Avatar
Avatar
Zabenom
thx i do not know where is allowed write ideas that's why i write here thx i will write it in town-hall github issue <--- i do not know where is it 😄
heartw town-hall is a good place, a github issue is not required
❤️ 1
Avatar
Avatar
Zabenom
An idea to ponder and consider: We already have few states Default, Freeze, Deep Freeze. Is it possible to somehow make a new state? let's call it "Mechanized" ofc need two blocks like a Freeze / Unfreeze, but for this state. (for example Mechanize / Unmechanize) One gives this state and second removes state from Tee. Tee with this state "Mechanized" is like a frozen Tee. Player can not control it by inputs, but Mechanized Tee can be control by another way. By touch to the {Mech Command Blocks}. for example: if state of Tee is "Mechanized" and it touches to Mech Command Block "HOLD LEFT", then it will automatically hold it's virtual key [LEFT] all time... until it touches another {Mech Command Block} "RELEASE LEFT" It can hold or release he's virtual keys [LEFT, RIGHT, JUMP, SHOOT, HOOK] and change look direction (by touch to Mech Command Blocks). i think for it need 13 blocks or more... 1) "Mechanize" set state "Mechanized" 2) "Unmechanize" clear state "Mechanized" 3) "HOLD LEFT" starts holds it's virtual key [LEFT] 4) "HOLD RIGHT" starts holds it's virtual key [RIGHT] 5) "HOLD JUMP" starts holds it's virtual key [JUMP] 6) "HOLD SHOOT" starts holds it's virtual key [SHOOT] 7) "HOLD HOOK" starts holds it's virtual key [HOOK] 8) "RELEASE LEFT" releases it's virtual key [LEFT] 9) "RELEASE RIGHT" releases it's virtual key [RIGHT] 10) "RELEASE JUMP" releases it's virtual key [JUMP] 11) "RELEASE SHOOT" releases it's virtual key [SHOOT] 12) "RELEASE HOOK" releases it's virtual key [HOOK] 12) "HOOK DIRECTION" i do not know how it can be realized but may be like speedup blocks Or it can be realized by tune layer and then we need only first 2 blocks (Mechanize / Unmechanize) I think this will add more variety to the game in many modes. This mechanic can create new unique maps. Will open a new window for creativity.
You should probably open an issue for a feature request since it will get lost quickly in this channel
Avatar
cyberfighter 2 2024-09-23 08:24
he knows already
Avatar
I already redirected them to #town-hall , github issues tend to be complicated ^^
Avatar
i added that message in town-hall with tag Features it's correct?
Avatar
looks good 👍
❤️ 1
Avatar
morning peeps
Avatar
Avatar
Ryozuki
morning peeps
mornin
Avatar
MilkeeyCat 2024-09-23 08:39
@Learath2 treesitter is soo good
Avatar
im working on ddlauncher
08:40
ddlaunch
Avatar
heinrich5991 2024-09-23 08:41
transparent launcher?
Avatar
Avatar
Ryozuki
im working on ddlauncher
melons working on that too
08:41
in rust
08:41
justatest
Avatar
Avatar
zhn
melons working on that too
well i mentioned it yesterday i would give it a try
08:48
xd
Avatar
Avatar
Ryozuki
well i mentioned it yesterday i would give it a try
does it have ads? (edited)
Avatar
Avatar
zhn
in rust
No in golang kek
08:52
But I'm not sure if I'll stick with lyne as my way of gui'ing, it's supposed to run on a toaster and I'm not sure if that may be to heavy (edited)
Avatar
Avatar
meloƞ
No in golang kek
waaaaaat
Avatar
ikr, I'm crazy!
Avatar
mine will be crazy fast
Avatar
blazingly xD
Avatar
Avatar
Teero
does it have ads? (edited)
why would it have ads? tf
Avatar
Avatar
Ryozuki
why would it have ads? tf
Ad revenue to pay for better fishy food
Avatar
are you anti rust?
Avatar
just a joke
Avatar
that repo was already shared
Avatar
it misses the point completly anyway of rust
Avatar
im doing rust right now!
09:02
i couldn't be antirust
Avatar
even if the implementation may (and probs have some CVEs), or even if there is a broken thing in a very obscure code that breaks the borrow checker
09:03
rust is still useful
09:03
in c++ u just need to pop a empty vector to get a segfault
09:04
Exception safety If the container is not empty, the function never throws exceptions (no-throw guarantee). Otherwise, it causes undefined behavior.
Avatar
i mean that would be a skill issue
Avatar
all is skill issue
Avatar
just dont code
09:04
no segfaults
09:04
go start a farm
Avatar
Avatar
Ryozuki
go start a farm
Can I join
Avatar
I take care of fishies
Avatar
just do some asan/ubsan/tsan and almost everything is easily solveable
Avatar
copium
09:05
we do that in ddnet
09:05
i still see segfaults in issues
Avatar
and else you'd just panic
09:06
it's still a crash xd
Avatar
panics are controlled
09:06
segfaults arent
09:06
its far from the same
09:06
a panic is like a thrown exception in c++ kinda
09:06
anyway being panicless is easier than being segfaultless
Avatar
You wouldn't reach the state of a panic unintentionally like you would a segfault
Avatar
but its not comparable
09:07
panic != segfault
09:07
also panics can have user friendly messages
09:07
u can pinpoint a issue faster with that msg
09:07
a segfault a user faces usually just has an address
Avatar
sometimes i just don't like ownership stuff in rust. i feel like i could write the same thing in c or c++ in less loc
09:08
the crate system and stuff are done really well though
Avatar
i dont care about locs that much
09:08
rust maybe has more locs due to style not code itself
Avatar
Avatar
Ryozuki
also panics can have user friendly messages
"uwu, my tummy hurts at reading the file, file not found"
Avatar
in fact c++ has longer names usually too
09:08
hi mom i want a std::pmr::monotonic_buffer_resource
Avatar
im not talking about style xd
Avatar
i think it makes no sense to relate locs to ownership
09:09
ppl dislike ownership because it 90% of time finds their code is faulty
09:09
most ppl are dumb
09:09
xd
Avatar
C++ gives me the sheer power to shoot my own leg off and I like it!
Avatar
you probs have some UB issues in your code
09:10
and u wont know it
Avatar
idk i can do fancy smart stuff in c++ that juggles memory but if i know all the cases nothing goes wrong
Avatar
"if i know all the cases nothing goes wrong"
09:10
said everybody
Avatar
Avatar
Ryozuki
you probs have some UB issues in your code
ubsan is there
Avatar
yet it segfaults
Avatar
skill issue
Avatar
yeah ur skill too probs
Avatar
ye you can't always do it first try xd
09:11
just a quick google
09:11
and already 3 misses
09:12
rust doesnt miss, but it tradesoff some valid cases
09:13
ubsan is nice, but its just a monkeypatch
09:13
like the bare minimum
09:14
have u considered zig?
Avatar
Avatar
Ryozuki
have u considered zig?
not yet
Avatar
hoping to see another great lang popping off
09:17
building on rust greatness
09:17
zig is not that tho
09:17
but the comptime is interesting
Avatar
GitHub BOT 2024-09-23 10:01
Also remove the translations, they don't add value anymore since it's not a warning that everybody must understand.
Avatar
@heinrich5991 ur pr is missing a li tag
Avatar
heinrich5991 2024-09-23 10:37
thanks, will fix later
Avatar
Avatar
Ryozuki
@heinrich5991 ur pr is missing a li tag
what is li an abbreviation for?
Avatar
heinrich5991 2024-09-23 10:37
list item
10:38
but the html element is just <li>
10:38
@Robyt3 maybe we can publish ddnet on https://f-droid.org/ once the android port gets out of beta 🙂
F-Droid is an installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform. The client makes it easy to browse, install, and keep track of updates on your device.
Avatar
AssassinTee 2024-09-23 10:42
with the announcement from @heinrich5991 (1287179183205781575) I wonder if you can use dns poisoning in order to make people download hacked clients. Does the ddnet client check the certificate before updateing?
Avatar
heinrich5991 2024-09-23 11:05
yes
11:05
certificates are checked
👍 1
❤️ 1
Avatar
Avatar
heinrich5991
@Robyt3 maybe we can publish ddnet on https://f-droid.org/ once the android port gets out of beta 🙂
yeah. I plan to release a small update to the beta this week. if that doesn't add any news bugs we could think about building a real release for the website and f-droid.
11:07
Maybe we should switch default graphics backend to OpenGL for Android though, since Vulkan is unstable for some users and the memory usage is also too high for some users
Avatar
Avatar
Teero
sometimes i just don't like ownership stuff in rust. i feel like i could write the same thing in c or c++ in less loc
heinrich5991 2024-09-23 11:18
can you give an example?
Avatar
GitHub BOT 2024-09-23 11:33
This now shows 0 errors or warnings: valgrind --tool=memcheck --gen-suppressions=all --suppressions=../memcheck.supp --leak-check=full --show-leak-kinds=all ./DDNet-Server Closed #8943

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 ...
Avatar
heinrich5991 2024-09-23 12:00
@Headshot btw, old client versions are unbanned again, all the different ported versions should work aagain
Avatar
Ellipsis is python are so confusing. I thought its only used for a field that is required but can be set to None, aka code that doesn't exist yet, but apperantly the actual intended use is in the numpy which adds a multidimensional array types
12:05
I'm using them as a placeholder in my code anyway greenthing
Avatar
heinrich5991 2024-09-23 12:05
😄
Avatar
Avatar
Patiga
are you sure your grid is correct? pls send that mapres that -1 is only in affect if your renderer doesn't support array textures, in which case that range is inclusive (as texture coordinates) and thereby needs -1 note that your renderer peobably supports array textures
it's 1024x1024 and each grid tile is 64x64 px, but it can be noticed with basically any mapres with a symmetrical tile, and rotate it 180 degrees it will be 1 pixel off (this is how I originally found this issue), here's a picture with ddnet_walls and it still has this. also I think that code is ran regardless of if your renderer supports array textures, I don't see any check that would prevent it.
Avatar
Avatar
art0007i
it's 1024x1024 and each grid tile is 64x64 px, but it can be noticed with basically any mapres with a symmetrical tile, and rotate it 180 degrees it will be 1 pixel off (this is how I originally found this issue), here's a picture with ddnet_walls and it still has this. also I think that code is ran regardless of if your renderer supports array textures, I don't see any check that would prevent it.
12:42
but tru, your mapres appears correct
12:44
have you tried out a different renderer backend?
Avatar
I have not. will try it now
👌 1
Avatar
could you send me the map?
12:45
(I'm on my laptop where map stuff is kind of a hassle)
Avatar
ohh so for some reason my render was opengl 1.5, switched to vulkan and it does not chop off the last pixel
Avatar
ah nice, yea opengl does some buggy stuff
Avatar
here's the map if you still want it
12:49
but I don't think it should ever chop off the last pixel even if your renderer doesn't support array textures
Avatar
yea its definitely not perfect
12:57
my guess is that it solves some other problem, maybe texture bleeding, where you'd see the edge of the next tile or something similar
Avatar
Without the - 1 you get small gaps between tiles when zooming in with OpenGL 1
Avatar
remove ogl1 support
13:08
Parchive (a portmanteau of parity archive, and formally known as Parity Volume Set Specification) is an erasure code system that produces par files for checksum verification of data integrity, with the capability to perform data recovery operations that can repair or regenerate corrupted or missing data. Parchive was originally written to solve...
13:08
@heinrich5991 @Learath2 did u know about this?
Avatar
heinrich5991 2024-09-23 13:10
no, what's the use case?
Avatar
Nope, looks interesting
13:10
I'm too young to have used Usenet. It was just about to perish when I started internetting
Avatar
Avatar
Robyt3
Without the - 1 you get small gaps between tiles when zooming in with OpenGL 1
I still see those either way, but I guess with the -1 it's less visible
Avatar
Avatar
art0007i
I still see those either way, but I guess with the -1 it's less visible
Seem like it's related to the mipmap level. You can replace all GL_LINEAR_MIPMAP_LINEAR with GL_NEAREST_MIPMAP_NEAREST and CL_LINEAR with CL_NEAREST and remove the - 1 to get rid of the gaps, but everything will be more pixelated then.
13:22
(replace in backend_opengl.cpp)
Avatar
usenet is big
13:53
building a project with llvm deps kek
13:53
in rust
13:53
well its more a linker thing tbh
Avatar
Avatar
heinrich5991
@Headshot btw, old client versions are unbanned again, all the different ported versions should work aagain
yeah they work now
Avatar
Avatar
murpi
Ellipsis is python are so confusing. I thought its only used for a field that is required but can be set to None, aka code that doesn't exist yet, but apperantly the actual intended use is in the numpy which adds a multidimensional array types
it has use? i just use it like pass 😹
Avatar
Avolicious 2024-09-23 14:35
@Patiga Unable to find installation candidates for twmap (0.6.2) on MacOS M2 via Poetry 😄
Avatar
Avatar
Avolicious
@Patiga Unable to find installation candidates for twmap (0.6.2) on MacOS M2 via Poetry 😄
I haven't looked into cross compilation to macos yet, currently there is no twmap for macos on pypi
Avatar
Avatar
Patiga
I haven't looked into cross compilation to macos yet, currently there is no twmap for macos on pypi
Avolicious 2024-09-23 15:22
Yeah 😦 Noticed too
Avatar
you can ofc always build the python module locally if you do start to use it on macos regularly, I'll try to get it into my release process
Avatar
Avatar
Patiga
you can ofc always build the python module locally if you do start to use it on macos regularly, I'll try to get it into my release process
Avolicious 2024-09-23 15:23
Well, I tried to integrate the compile with poetry, but I havent managed so far
15:24
I would use it on a atleast weekly basis as I have to stay long in the office, so I can work on it our maps-workflow 😄
Avatar
I'll take a look tomorrow or in a couple of days later. if I forget it and you have that problem again, feel free to ping me :)
Avatar
Avatar
Patiga
I'll take a look tomorrow or in a couple of days later. if I forget it and you have that problem again, feel free to ping me :)
Avolicious 2024-09-23 15:26
Sure, I can try to build too & submit it into the build process if you want to
15:26
Maybe gitlab ci?
Avatar
would be neat :)
Avatar
i've been using neoqwertz as my keyboard layout for a little over a week now and i'm loving it so far, highly recommend it for people coding alot on a german keyboard layout, much easier to type things like {} () " ' | ~, ( and since it's an executable it's not as annoying to setup like other keyboard layouts)
Avatar
just dont use german keyboard kek
16:01
I use US keyboard with EurKey layout (US with alt+a = ä etc)
Avatar
i very much dislike the US key layout :P
16:05
so beautiful harold
Avatar
Avatar
meloƞ
so beautiful harold
ah yes
Avatar
teero when try it out
16:17
what us key layout is that?
16:17
mine doesnt look like that
Avatar
Avatar
Ryozuki
what us key layout is that?
nah its the one i currently use kekw
16:17
it uses modifiers so i dont have to lift of my fingers to type anything, pretty neat if you get used to it
Avatar
Avatar
meloƞ
so beautiful harold
wtf
Avatar
qwerty is ok for typing but ye lots of coding symbols are in annoying places
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
which mac?
16:18
i saw macos is getting a rly nice update
Avatar
m3 max pro iirc, it has 36gb ram
justatest 2
Avatar
Avatar
Ryozuki
m3 max pro iirc, it has 36gb ram
pepeW how much was it
Avatar
@meloƞ i think its over 3.5k€, but i got it for free my company gave it for work
Avatar
ayo???????????
Avatar
its not mine but i can use it for anything
16:20
as long as i work here xd
Avatar
Avatar
meloƞ
it uses modifiers so i dont have to lift of my fingers to type anything, pretty neat if you get used to it
lmao are those math symbols latex or unicode characters
Avatar
if u want ur devs to be productive, specially in rust, provide them with good hardware kek
16:20
but the cost to $$ ratio is insane
16:21
only bad companies dont spend on hardware for devs
16:21
i think for example in nvidia 1 dev equals millions in profit
16:21
or more
16:21
hard to estimate tbh xd
16:21
but when im at home i use my nasa pc
16:22
16:22
its funny i swapped when i compiled some rust stuff
Avatar
where 1440p
Avatar
Avatar
louis
lmao are those math symbols latex or unicode characters
both
Avatar
otherwise nasa pc
Avatar
Avatar
meloƞ
teero when try it out
gonna build cyberdeck with that layout
KEKW 1
Avatar
idk i never got into 1440p
16:28
ddnet/build on  master [$!] via △ v3.30.2 ❯ clang --version clang version 19.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/19/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg ddnet/build on  master [$!] via △ v3.30.2 ❯ time ninja [0/315] Generating release/libddnet_engine_shared.a Updating crates.io index Downloaded proc-macro2 v1.0.40 Downloaded cc v1.0.73 Downloaded quote v1.0.20 Downloaded unicode-ident v1.0.1 Downloaded cxxbridge-macro v1.0.71 Downloaded syn v1.0.98 Downloaded link-cplusplus v1.0.6 Downloaded cxxbridge-flags v1.0.71 Downloaded cxx v1.0.71 Downloaded 9 crates (664.7 KB) in 1.18s Compiling cc v1.0.73 Compiling proc-macro2 v1.0.40 Compiling unicode-ident v1.0.1 Compiling quote v1.0.20 Compiling syn v1.0.98 Compiling cxxbridge-flags v1.0.71 Compiling ddnet-engine-shared v0.0.1 (/home/edgar/data/ddnet/src/engine/shared) Compiling ddnet-test v0.0.1 (/home/edgar/data/ddnet/src/rust-bridge/test) Compiling link-cplusplus v1.0.6 Compiling cxx v1.0.71 Compiling cxxbridge-macro v1.0.71 Compiling ddnet-base v0.0.1 (/home/edgar/data/ddnet/src/base) Compiling ddnet-engine v0.0.1 (/home/edgar/data/ddnet/src/engine) Finished `release` profile [optimized] target(s) in 4.54s [315/315] Linking CXX executable DDNet real 0m18.661s user 5m1.126s sys 0m31.497s
16:28
ddnet 18s in release
16:28
clean build
16:29
and with download x
16:29
xD
16:29
ddnet/build on  master [$!] via △ v3.30.2 ❯ time ninja [0/315] Generating release/libddnet_engine_shared.a Compiling cc v1.0.73 Compiling proc-macro2 v1.0.40 Compiling quote v1.0.20 Compiling unicode-ident v1.0.1 Compiling syn v1.0.98 Compiling cxxbridge-flags v1.0.71 Compiling ddnet-test v0.0.1 (/home/edgar/data/ddnet/src/rust-bridge/test) Compiling ddnet-engine-shared v0.0.1 (/home/edgar/data/ddnet/src/engine/shared) Compiling link-cplusplus v1.0.6 Compiling cxx v1.0.71 Compiling cxxbridge-macro v1.0.71 Compiling ddnet-base v0.0.1 (/home/edgar/data/ddnet/src/base) Compiling ddnet-engine v0.0.1 (/home/edgar/data/ddnet/src/engine) Finished `release` profile [optimized] target(s) in 2.35s [315/315] Linking CXX executable DDNet real 0m3.421s user 0m7.581s sys 0m7.394s "clean" build too, but i have ccache
16:29
guys u should use ccache its nice
Avatar
Avatar
louis
qwerty is ok for typing but ye lots of coding symbols are in annoying places
huh, US ANSI keyboard layout is imo not too bad for programming
Avatar
its actually quite good yeah
16:30
idk how to type tyhe ñ there
16:30
tho
Avatar
Look at something like turkish, every brace is behind a combination
Avatar
the*
16:31
ç
16:31
áéíìùúòó
16:31
üï
Avatar
I'm guessing you get an IME for those or learn the compose thing that I still didn't learn in years
Avatar
in slack
16:31
if u hold the n
16:31
u can type ñ
Avatar
Avatar
Learath2
huh, US ANSI keyboard layout is imo not too bad for programming
brackets are annoying for me
Avatar
You can do like Compose - ~ - a to get ã but I don't have a compose key defined 😄
Avatar
i guess id rather have it as a super key near the middle of the keyboard
Avatar
Avatar
louis
brackets are annoying for me
hum, what do you code on normally?
Avatar
normal us ansi
16:34
i also use a lot of latex for school
16:34
things like escaping curly brackets always drops my wpm to 50 or smth
Avatar
Maybe I'm just not a fast enough typer to notice, or maybe since I used to code on turkish Q this one feels very good relatively
Avatar
on my es keyboard escape is altgr and º
16:36
\
Avatar
Compose is nice, I should learn to use compose
16:39
ç
Avatar
anyone know of a bluetooth DAC that supports aptX lossless?
Avatar
Avatar
Ryozuki
m3 max pro iirc, it has 36gb ram
nice
16:45
they love u there XD
Avatar
@Ewan i have a fiio k7 bt
16:50
it claims to have aptx iirc
16:50
its 200€ tho
Avatar
A bluetooth DAC is an interesting concept
Avatar
mine has BT
16:50
its nice
16:50
i switch mode and connect the phone
16:51
16:51
the stick behind is the antenna xd
Avatar
Avatar
Ryozuki
it claims to have aptx iirc
it even has aptx-ll heh
16:53
269,99€ now
16:53
it went up in price lol
16:53
stonks
Avatar
I wonder how well the software supports it, the file needs to go directly over bluetooth to the dac for it to matter
16:53
no re-encoding allowed
Avatar
idk
16:53
i use it with usb on pc
16:53
it runs nice on linux
16:54
i wanted to try a audio interface, but apparently its wierd for audio interfaces to have RCA outs???
16:54
i just wanted to connect my mic with XLR instead of usb c
Avatar
Avatar
Ryozuki
i wanted to try a audio interface, but apparently its wierd for audio interfaces to have RCA outs???
huh, wym?
Avatar
most audio intefaces i searched on amazon dont have rca
16:56
16:56
should i use a audio interface AND my DAC?
Avatar
Ah, I guess these things all have ADCs in them
Avatar
interface for inputs only?
16:57
and dac for output
16:57
idk
Avatar
Avatar
Ryozuki
it claims to have aptx iirc
ye
Avatar
i want RCA cuz my monitors use rca
Avatar
aptx lossless is a new codec
16:57
different from aptx
16:57
but seems too new
16:57
nobody has it yet
Avatar
Avatar
Ryozuki
interface for inputs only?
Well yes, and I think I understand why they only have digital outputs, they probably mix in digital
Avatar
what u think about this combo?
16:58
its in my wanted list
16:58
upgrade
16:58
Avatar
I haven't looked at speakers in a decade now, I've always been a headphone person
Avatar
i love speakers
16:58
i dont use headphones
16:59
@Learath2 do u have lot of hair btw?
Avatar
Avatar
Ryozuki
@Learath2 do u have lot of hair btw?
Yes
16:59
i think il lgo bald in 10y
16:59
kek
16:59
but for now im good
16:59
but i prefer no headphones
16:59
justatest
Avatar
i would just buy presonus eris
Avatar
what is that
Avatar
calculate what driver size based on ur room's volume
17:00
monitors
Avatar
hmm
17:00
i like more how the vulkano look
Avatar
Avatar
Ryozuki
i think il lgo bald in 10y
I have a very meh hairline but it seems to have kinda stopped going back, so idk. It's a coinflip for me
Avatar
the presonus are very proven monitors
17:00
but ye
17:01
ive never heard of the other brand
17:01
so i cant speak to it
Avatar
Avatar
Ryozuki
should i use a audio interface AND my DAC?
Why do you want an audio interface anyway? Don't trust the ADC inside the mic itself?
Avatar
Avatar
Learath2
Why do you want an audio interface anyway? Don't trust the ADC inside the mic itself?
aparently my mic is quite low
17:01
i probs need a interface to drive it better
17:01
with XLR
17:01
im using it with usb-c
Avatar
a good interface has a very high quality DAC in itself
17:02
you wouldnt need both
Avatar
im using this mic
Avatar
Avatar
Ewan
a good interface has a very high quality DAC in itself
tell me a good interface with rca out
Avatar
rn i have scarlett solo out to headphones in the front, speakers in the back, at2020 in via. XLR, and i have a 1/4" TRRS input for recording musics (edited)
Avatar
Avatar
Ryozuki
tell me a good interface with rca out
i bought 1/4" TRS to RCA
17:03
cable
17:03
works very well
Avatar
is it losless?
Avatar
it's just a different connector
Avatar
i also have a 100€ mix table xd (edited)
17:03
would be cool to have it connected to the interface too or smth
Avatar
expensive cables are audiophile bait
17:04
just buy a decent gague
Avatar
Avatar
Ryozuki
is it losless?
The "lossy" part of the process is going from A -> D or D -> A
17:04
After that's done there is only cable losses for analog and no loss for digital
Avatar
i guess
17:04
mixer
17:04
lol
Avatar
my interface has volume knobs for the inputs so i have no need
17:05
i thought u misspell cable
Avatar
Things like XLR to usb-c adapters hide an ADC inside there, that's why there is loss
Avatar
XLR is analog right?
Avatar
whats special about xlr
Avatar
it doesnt destroy ears
17:06
when not plugged in
17:06
no exposed contacts
17:06
and the cable usually locks in
Avatar
u mean the plug pop?
17:06
ic
17:06
xd
Avatar
well if u touch a TRS connector it makes crazy sounds
Avatar
not like i connect or disconnect my cables
Avatar
bad for really high volume
17:06
audio mixing bugs/delays actually can deafen ppl at live shows
17:07
pops from buffer underruns lol
17:07
they care a lot about that
Avatar
XLR is also balanced, balanced cables eliminate environmental noise
Avatar
i have to write a docker thing now
Avatar
(TRS is also balanced)
17:08
RCA is unbalanced
Avatar
wait
17:08
all TRS is balanced?
17:09
are all jacks TRS?
Avatar
No
Avatar
i wouldnt depend on it
17:09
for sure
Avatar
my headphones have the big jack
17:09
it doesnt mean anything right
Avatar
not really
17:09
it's just that u dont need adapter for most hifi equipment
17:11
there is a reason the bigger jacks are used
17:11
but for headphones
17:11
eh
Avatar
your headphones probably don't take a balanced input anyway, if it's TRS it'll be left right ground, no balance
Avatar
no they arent balanced
Avatar
You need 5 conductors for balanced stereo
Avatar
balanced headphones usually take 2.5mm
Avatar
(honestly the length of cable you run for your headphones doesn't pick up any significant environmental noise unless you have something in your house that is extremely noisy and poorly shielded)
17:14
and if u use IEMs u can (usually) use whatever kind of cable u want
17:14
that is why i was asking about bluetooth dac. i broke my last pair walking around and catching the cable on a drawer handle xd
17:15
u can get IEM bluetooth receivers that are just 2 pin in but the only ones with AAC (need for my iPhone) are like $80 and if i can't even get lossless then it's not that worth
17:16
so i was considering a bluetooth dac instead that i just keep in my pocket
17:16
cable tucked away
Avatar
Avatar
Learath2
You need 5 conductors for balanced stereo
Actually 4 conductors are enough, I checked my balanced 2.5mm cable and it's trrs, just 4 conductors
Avatar
i had a hunch but ive never owned any equipment like that lol
17:17
i need to lock in tho
17:17
bbl
Avatar
whats lock in
Avatar
Avatar
Ryozuki
whats lock in
new zoozer phrase, "focus"
Avatar
i think it comes from champ select xd
Avatar
im getting old justatest
Avatar
i thought for sure u would know it
17:19
i think its popular with that sigma gym bro stuff
Avatar
i just go to gym and when i go i think about rust
17:20
justatest
Avatar
hell yeah
17:20
not to accuse u of anything XDD
17:21
best time to go to gym is 7 morning
17:21
no kids
17:21
and focused ppl
17:21
today i went late at 17
17:21
kids doing shit
Avatar
yea (edited)
17:24
i gotta get into it
17:25
gym expensive and they try to lock you into predatory contracts
Avatar
true
17:25
but i found one that doesnt lock you in
17:25
i pay 25€
17:25
per month or day pass
Avatar
gym is a must tbh
17:25
i feel so good afterwards
Avatar
even if my day sucked
Avatar
i work out a home
17:25
but its much easier at gym (edited)
17:26
esp when u mad and driving with nowhere to go
17:26
i do that all the time
Avatar
go to gym instead of meaningless driving
Avatar
not meaningless
Avatar
atleast u improve while mad
17:26
xd
Avatar
i get to drive fast until the road or the weather puts the fear of god in me
17:26
then i go home
17:26
this may just be a Colorado thing
17:27
speed limits essentially are not enforced on the interstate
17:27
unless you do something actually dangerous
17:28
it is meditative to drive really really fast
17:29
we had the first rain of the season 2 days ago
17:29
and there was a huge college football game so there was lots of traffic but only the opposite direction of the way i was driving
17:30
so i went out and put the windows down and drove (edited)
Avatar
how fast justatest
Avatar
my speedometer is not the most accurate
17:31
it read 100 in some spots
17:31
mph
Avatar
can u translate
17:31
to km
17:31
about
Avatar
Ewan's a stoner that speeds recklessly, poor dude's gonna perish
Avatar
maybe i wouldnt be opposed
Avatar
well 160 is ok
Avatar
some of u guys have autobahn
Avatar
Just don't take someone out with you
17:32
fair
Avatar
i went at 185 with a friend (he was driving) on a audi a4 from 2001 iirx
Avatar
i have 1999 honda accord with mechanical issues
17:33
so it takes a while to get up to speed
17:33
it also has awesome death wobble
Avatar
i have a volkswagen tcross rline 2019 justatest
17:34
i just like that my car can start at level without giving gas xd
Avatar
this may not mean anything to u but i was on us 36 going towards boulder so we have awesome mountainous terrain
17:34
treacherous highways
Avatar
is it manual?
Avatar
i wish
Avatar
its so weird
17:35
here most are manual
Avatar
they manufactured and sold both in that time
17:35
there are domestic U.S. 1999 honda accords that are manual
17:35
just not mine
Avatar
but auto should be more fuel efficient right
17:35
i was considering doing a sequential transmission mod
17:36
but that's expensive kid shit
17:36
the car moves.
Avatar
in us u can mod ur car easily without beinh lawless?
Avatar
Avatar
Ryozuki
i have a volkswagen tcross rline 2019 justatest
Avolicious 2024-09-23 17:36
Thats a nice one tho 😄
Avatar
here it needs to be approved
17:36
and u need to pass ITV
Avatar
not at all
17:36
depends on the mod basically
Avatar
Avatar
Avolicious
Thats a nice one tho 😄
ye i like it
Avatar
lots of tards drive around with custom hellcats and the first time they get pulled over they get crazy ticket or their car impounded
17:37
cuz they have illegal mods
Avatar
i have driven a audi a4 from 2001 and a nissan micra from 2013 iirx
17:37
i love my vw
17:37
(all manual)
17:38
my cousin has a 2003 subaru impreza
17:38
manual
17:38
he wont let me drive it
Avatar
subaruuu
Avatar
Avatar
Ryozuki
i have driven a audi a4 from 2001 and a nissan micra from 2013 iirx
Avolicious 2024-09-23 17:38
Audi is great as well, had a few of them, but sadly often at the mechanic
17:38
german cars lately get a bad rap here
17:38
because they are expensive to maintain
Avatar
toyota :3
Avatar
honda :3
Avatar
ur mom :3
Avatar
immortal japanese engineering
Avatar
cheap, don't die
17:39
no maintenance
Avatar
i always wanted to have a cool mustang
Avatar
if i buy another car in the next 5 years it'll be the v6 version of my car XD
Avatar
Avolicious 2024-09-23 17:39
I am not into cars anymore... they get lame, even with 600+ hp... bikes it is guys
Avatar
Does anyone for whatever reason have a 1:1 screen? (edited)
Avatar
Avatar
Avolicious
I am not into cars anymore... they get lame, even with 600+ hp... bikes it is guys
cat_whaaa
Avatar
Avatar
Avolicious
I am not into cars anymore... they get lame, even with 600+ hp... bikes it is guys
Death awaits
Avatar
Avatar
Learath2
Does anyone for whatever reason have a 1:1 screen? (edited)
i think chancho has crt but idk aspect ratio
17:40
but he can select 1:1 res
Avatar
was never into cars :D
Avatar
cuz crt
Avatar
Avatar
Learath2
Death awaits
Avolicious 2024-09-23 17:40
You can die in cars too
Avatar
im not crazy about cars either
Avatar
Avolicious 2024-09-23 17:40
Or you cross the street and someone ran you over
Avatar
i love rust
Avatar
There is someone complaining in a ticket that he gets grey bars with 1:1
Avatar
tell them to send a screenshot
Avatar
Avatar
Avolicious
Or you cross the street and someone ran you over
I'm sure you can tell the very obvious difference between the 3 examples 😄
Avatar
or it never happened
Avatar
1:1 is unsupported? i think we only do 5:4
17:41
so he will have the slightest bars
Avatar
18.5.1
Avatar
ok, it happened
Avatar
15.5.4
Avatar
whata (edited)
Avatar
egirl tee
Avatar
img dead
17:42
for me
Avatar
Avatar
Learath2
I'm sure you can tell the very obvious difference between the 3 examples 😄
Avolicious 2024-09-23 17:42
I am driving cars, I am into motorcycles now and I am pedestrian sometimes 😄
Avatar
i dont see bars
Avatar
now i want a 1:1 screen
Avatar
Avatar
Learath2
18.5.1
grey bottom where the map is cut off?
Avatar
Avatar
louis
now i want a 1:1 screen
Avolicious 2024-09-23 17:42
xDDDD this is pain
Avatar
i think a decision was deliberately made to not support 1:1 between 15.5.4 and now
Avatar
Avatar
Avolicious
I am driving cars, I am into motorcycles now and I am pedestrian sometimes 😄
The odds of getting into an accident and the odds of surviving that accident is vastly different for a pedestrian, a motorcyclist and a car driver 😄
Avatar
too hard for robsti to maintain compact UIs
Avatar
Avatar
Ewan
i think a decision was deliberately made to not support 1:1 between 15.5.4 and now
If that's the case that's what I'll tell the dude. So it's just that we don't support the aspect ratio that's the issue?
Avatar
odds of dying is always 50%
Avatar
hello
Avatar
i believe so
Avatar
you either die or don't
Avatar
Avatar
jxsl13
odds of dying is always 50%
True, all odds are always 50%
Avatar
Avatar
jxsl13
odds of dying is always 50%
depends on speed
17:44
i think at 70km ur nearly always ded
Avatar
odds are always 100% if ur still around to calculate them
Avatar
just odds when you have a choise of two things
Avatar
Avatar
Learath2
True, all odds are always 50%
Avolicious 2024-09-23 17:46
Glad to have 217 PS on 200kg, so 50% sounds good
Avatar
Avatar
Ryozuki
i think at 70km ur nearly always ded
At 70kmh you can most definitely survive in a good car, you will be maimed in a motorcycle accident and you will meet the big man himself as a pedestrian
Avatar
Avolicious 2024-09-23 17:46
Speed doesnt kill, becoming suddenly stationary does
Avatar
slide 500m in protective gear
Avatar
if u drive fast u need to brake early and often
17:47
even if u cant see the thing that will kill u
Avatar
Avatar
jxsl13
slide 500m in protective gear
Avolicious 2024-09-23 17:47
Okay, I havent done 500m yet
17:47
Dont prepare for the ride, prepare for the slide ^^
😂 1
Avatar
half km sliding? xd
Avatar
Yeah if you aren't wearing gear you'll likely lose a limb. With gear you get to slide around before a car runs over you at highway speeds
Avatar
i hit sketchy turns sometimes that 100% would have killed me had i not precautionarily braked
Avatar
Avatar
Ryozuki
half km sliding? xd
Avolicious 2024-09-23 17:48
Race track
17:48
They are built to stop you pretty quick, even with 200 km/h+
Avatar
did you know u dont feel the temperature itself with ur skin, but the transfer of heat?
17:48
xd
Avatar
Avolicious 2024-09-23 17:49
I wasnt enjoying it tho
17:50
@Learath2 This is how teeworlds looks on 32:9 😄
17:50
a massive cursor
Avatar
Avatar
Ryozuki
did you know u dont feel the temperature itself with ur skin, but the transfer of heat?
crazy
Avatar
basically
Avatar
Avatar
jxsl13
Click to see attachment 🖼️
i would've won the lottery by now
👀 2
17:54
some ppl say the human body is a perfect machine xd
Avatar
not mine
17:55
maybe some ppl
Avatar
if u win lottery what would u do
Avatar
retire
17:56
natural serotonin deficit makes life very hard for a very large portion of the world
Avatar
Avatar
Ryozuki
if u win lottery what would u do
Avolicious 2024-09-23 17:56
Not being in the ddnet discord
Avatar
why not
Avatar
Avatar
Ewan
natural serotonin deficit makes life very hard for a very large portion of the world
i cant say that sounds perfect
Avatar
its one of the most interesting places
Avatar
Avolicious 2024-09-23 17:56
You asked me what I would do. You can do what you'd like to do 😄
Avatar
he just asked xd
Avatar
but u can do that without winning lottery
Avatar
it's free
Avatar
Avatar
Ryozuki
but u can do that without winning lottery
Avolicious 2024-09-23 17:57
True
Avatar
kog #developer channel when
Avatar
Avatar
Teero
i would've won the lottery by now
It's 50/50, you either win or you don't, if you think it's not 50/50 tell me the other option GalaxyBrain
Avatar
Avatar
Ewan
kog #developer channel when
Avolicious 2024-09-23 17:57
We have
17:57
kog always ripping ddnet off
17:58
xD
17:58
(i am kidding)
Avatar
do u think if u knew how would u die it would change the way u act and change how u die or not?
Avatar
Avatar
Ewan
kog always ripping ddnet off
Avolicious 2024-09-23 17:58
Accounts 👀
Avatar
fair enough
17:58
i still dont know what we're waiting on
17:58
jopsti's implementation seems very agreeable
17:58
why are we waiting on just him to port the changes xd
Avatar
Avatar
Ryozuki
do u think if u knew how would u die it would change the way u act and change how u die or not?
Avolicious 2024-09-23 17:58
Yes
17:59
I would drive even more crazier on my bike 😄
17:59
Enjoying as long as you can enjoy
Avatar
Avatar
Learath2
It's 50/50, you either win or you don't, if you think it's not 50/50 tell me the other option GalaxyBrain
now you can use this insider whenever someone aks for "what are the chances to ... or ..."
Avatar
Avatar
Ryozuki
do u think if u knew how would u die it would change the way u act and change how u die or not?
If you can change it, just knowing it will definitely instantly change it. If you can't change it, by knowing how/when it happens you might augment your behaviour if it's very close
Avatar
asks
Avatar
Avatar
Learath2
If you can change it, just knowing it will definitely instantly change it. If you can't change it, by knowing how/when it happens you might augment your behaviour if it's very close
I would definitely live differently if I knew I'd get hit by a car in 3 weeks no matter what
18:01
And I'd make sure I'll be indoors on the day of, because I want to see how a car will get there to hit me
Avatar
what if u knew for certain u would die as a symptom of old age
18:02
and you knew for sure you would have a long life
18:02
not necessarily prosperous
Avatar
Then I'd change nothing. It's just a normal death
Avatar
Avatar
Learath2
And I'd make sure I'll be indoors on the day of, because I want to see how a car will get there to hit me
truck-kun (edited)
Avatar
If I'm guaranteed a date of death then I might change a couple things. I'll first start doing all the harmful things
Avatar
Avatar
Learath2
If I'm guaranteed a date of death then I might change a couple things. I'll first start doing all the harmful things
Avolicious 2024-09-23 18:03
Are you talking about drugs now? xD
Avatar
well why not
18:03
actually
Avatar
Avatar
Avolicious
Are you talking about drugs now? xD
Mostly smoking and alcohol to look cool
Avatar
there are some amazing reasons why not
Avatar
the highs are higher maybe but the lows are much much lower
Avatar
Since I can't get cancer who cares might aswell be 500% cooler
Avatar
sobriety is wisdom
Avatar
the black smoker lung is a hoax
18:04
the more you know
Avatar
I'd get a motorcycle but I'm not told whether I'm dying of old age as a quad or not, so maybe not
18:05
assuming you had all of your limbs
18:05
smoking is terrible do not get into it
Avatar
Avatar
Learath2
I'd get a motorcycle but I'm not told whether I'm dying of old age as a quad or not, so maybe not
Avolicious 2024-09-23 18:05
You should
18:05
Get a bike
Avatar
it can make you a different person within a week
18:06
you can preach all you want but the compulsion to smoke does not go away for a long while
Avatar
Avatar
Ewan
smoking is terrible do not get into it
but it's well established that you look 500% cooler if you smoke like a trucker
Avatar
start smoking, so my stocks go brrrr
Avatar
to be fair it also tastes disgusting, so maybe not. I guess I'd change nothing if I knew I'd die of old age at 90
Avatar
you learn to love it after your third cigarette or so
Avatar
try vaping, same result for my stocks
Avatar
in my experience
Avatar
Avatar
Ewan
you learn to love it after your third cigarette or so
nah, I tried getting into it for a while, it just doesn't work
18:08
immunity
Avatar
I can get hooked to vaping or smoking shisha though
Avatar
have you ever smoked weed
18:08
like real flower
Avatar
Something about cigarettes taste absolutely disgusting to me. It's like a mix of asphalt and burnt bush
Avatar
maybe i got over the taste of cigs so easy bcs weed tastes so damn terrible
18:09
at least bad weed does
Avatar
Avatar
Ewan
maybe i got over the taste of cigs so easy bcs weed tastes so damn terrible
huh, I'd actually disagree, I kinda like the way weed smells/tastes
Avatar
got no Tegridy Farm stocks, tho
Avatar
not like I've smoked weed in years now
Avatar
i've enjoyed the taste of weed before but it's fancy shit my dad buys
18:09
14er pancakes is a good one
18:10
but u probably cant get that anywhere else
Avatar
Avatar
Ewan
14er pancakes is a good one
what does this even mean
Avatar
brand name + strain name
18:10
i havent been doing weed for a week or so tho
Avatar
Avatar
Ewan
i havent been doing weed for a week or so tho
good for you
Avatar
either of my leads will test me
18:10
i would be shooting myself in the foot otherwise
Avatar
that's tegridy
Avatar
I can't believe they drug test in the US for random jobs
Avatar
integridy
Avatar
Avatar
Learath2
good for you
thanks. really it's terrible for someone my age
Avatar
I can't believe it's even legal with the 4th amendment and all
Avatar
Avatar
Learath2
I can't believe they drug test in the US for random jobs
one's a dev job the other is a govt job
18:11
they have their reasons
Avatar
Avatar
Ewan
thanks. really it's terrible for someone my age
i watched it undo basic executive functions that you learn as a normal person
Avatar
If you were say operating heavy machinery I'd get it
Avatar
even when not high i would spend several minutes formulating simple texts
Avatar
weed at the workplace could lead to some unforseen table drops
Avatar
it jjust isnt good in that volume
Avatar
(╯°□°)╯︵ ┻━┻
Avatar
if i ever do pick it back up i'd hope it's when my frontal lobe is at least fully developed
Avatar
Yeah very very bad if you are young, you can't afford to turn into a sea cucumber while your brain is not fully developed yet
18:13
but im becoming functional again ish
18:13
just dont smoke it if you're depressed tbh
18:14
too prone to over indulgence
Avatar
We turned this place into #off-topic again. We should stop before heinrich comes online
Avatar
I'll go find food
Avatar
but also we’re the devs aren’t we xd
18:15
this is the topic that the developers are discussing
Avatar
was rust in the linux kernel a mistake?
Avatar
the channel isn’t called development
Avatar
Avatar
jxsl13
was rust in the linux kernel a mistake?
I heard it was controversial but not why
Avatar
is rust commnity too religious about their language?
Avatar
only 10%
Avatar
are those 10% loud enough to annoy 100% C devs?
18:18
10% sounds a lot if I think about it
Avatar
only took me real 34m51.495s user 33m44.645s sys 1m10.158s to compile ddnet :D
18:20
on a single core mini pc
🥔 2
Avatar
sometimes you loose, sometimes someone else wins
Avatar
Avatar
jxsl13
is rust commnity too religious about their language?
yes
18:22
i genuinely believe rust evangelism is only counterproductive
18:23
it is a fantastic language, but it doesn't matter what it is, if you want someone to share your love for something you absolutely do not start by shitting on what they're using
🚀 1
Avatar
I wonder if in 15 years there will be 4 competing memory safe languages but rust will still be dominant because of legacy.
Avatar
Avatar
Tater
I wonder if in 15 years there will be 4 competing memory safe languages but rust will still be dominant because of legacy.
Avolicious 2024-09-23 18:28
there will be c++ng (edited)
Avatar
@Ewan poggers2
Avatar
Avolicious 2024-09-23 18:30
python 4 ever
Avatar
python 4 4ever
Avatar
Avatar
Ryozuki
@Ewan poggers2
nice
Avatar
Avatar
Ryozuki
@Ewan poggers2
vw polo 2023 ?
Avatar
Avatar
zaerin
vw polo 2023 ?
this looks similar to my old vw 5 from 2008
19:48
the A/C is newer tho (edited)
Avatar
GitHub BOT 2024-09-23 19:50
See commit messages.

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...
Avatar
roby at this point i'm convinced you touched every piece of code at least once kek - insane work
Avatar
Avatar
meloƞ
roby at this point i'm convinced you touched every piece of code at least once kek - insane work
you are using nixos right?
Avatar
Avatar
meloƞ
yes
can you suggest some resources to learn it?
20:01
im considering switching from arch
Avatar
watch this guy: https://www.youtube.com/@vimjoyer and join his discord - i'm very active on it
20:02
he does great resources to understand what nix and nixos is, how to use it effectivly and some gimmicks inbetween
20:02
in general - keep in mind nix and nixOS is a declarative operating system, with nix beeing it's own scripting language, so even getting the most simplest of things like setting up docker can be annoying and time consuming (edited)
20:03
if you love to rice your system to the max - i highly recommend it tho :3
Avatar
Avatar
meloƞ
watch this guy: https://www.youtube.com/@vimjoyer and join his discord - i'm very active on it
you sent a gold mine ty
Avatar
Avatar
zaerin
you sent a gold mine ty
feel free to either join his discord or dm me if you have any questions
20:12
(please join his discord or i loose ad revenue)
Avatar
GitHub BOT 2024-09-23 20:28
``` Thread 1 "DDNet-Server" received signal SIGSEGV, Segmentation fault. IGameController::GameServer (this=0x0) at /home/user/Development/ddnet-pr/src/game/server/gamecontroller.h:31 31 CGameContext *GameServer() const { return m_pGameServer; } #0 IGameController::GameServer (this=0x0) at /home/user/Development/ddnet-pr/src/game/server/gamecontroller.h:31 #1 0x000000000037b555 in IGameController::ResetGame (this=0x0) at /home/user/Development/ddnet-pr/src/game/server/gamec...
Avatar
what’s the probability that someone’s complied the code for xbox? (if it even works) i have a dev mode so as long as i have the file i can install it
Avatar
Avatar
meloƞ
feel free to either join his discord or dm me if you have any questions
I looked at the about page on youtube but didnt see the server
20:32
I was gonna look at a video description but I got caught up in the video and ended up watching it
Avatar
ew nixOS just use void (edited)
Avatar
Avatar
zaerin
I was gonna look at a video description but I got caught up in the video and ended up watching it
Lmao that shows it's a good video
Avatar
Avatar
meloƞ
Lmao that shows it's a good video
Its the ultimate nixos tutorial vid
Avatar
Avatar
zaerin
Its the ultimate nixos tutorial vid
owo
Avatar
Avatar
LuKron
what’s the probability that someone’s complied the code for xbox? (if it even works) i have a dev mode so as long as i have the file i can install it
following up on this, would it actually be possible to compile it as an xbox game
Avatar
Avatar
LuKron
following up on this, would it actually be possible to compile it as an xbox game
Sure. @Headshot even has a ps2 port. Xbox should be easier
20:37
Actually wait not easier. You need directx on xbox
Avatar
summoned
Avatar
Avatar
Learath2
Sure. @Headshot even has a ps2 port. Xbox should be easier
there's nxdk
Avatar
Avatar
Learath2
Actually wait not easier. You need directx on xbox
well i have very very little knowledge in any coding languages. i now have given myself a project
20:38
knowing that’s it’s possible
Avatar
Avatar
Headshot
there's nxdk
What does it do? Gl to dx?
Avatar
xbox open source dev sdk (edited)
20:38
however xbox homebrew is kinda finicky to work with from what i heard
20:39
nxdk still has some bugs and the majority of homebrew was developed using leaked microsoft sdk
Avatar
Avatar
Headshot
however xbox homebrew is kinda finicky to work with from what i heard
is it? i’ve had no issues with it. then again im only emulating with it atm
Avatar
Avatar
LuKron
knowing that’s it’s possible
Might not be the easiest starter project. You'll need to learn both gl or vk(to understand our gfx code) and dk (possibly old dk if you are compiling for an old xbox like the 360)
20:40
And our gfx backend is on the eccentric side to support gl1, gl3, gl3.3, vk
Avatar
Avatar
Learath2
Might not be the easiest starter project. You'll need to learn both gl or vk(to understand our gfx code) and dk (possibly old dk if you are compiling for an old xbox like the 360)
wait my goal is to make it work as an app directly installed to the xbox. rather than emulating
Avatar
Avatar
LuKron
what’s the probability that someone’s complied the code for xbox? (if it even works) i have a dev mode so as long as i have the file i can install it
oh wait you were talking about modern xbox? xb one/series?
Avatar
Avatar
LuKron
wait my goal is to make it work as an app directly installed to the xbox. rather than emulating
Yeah, but as far as I'm aware the xbox doesnt have gl drivers
Avatar
Avatar
Headshot
oh wait you were talking about modern xbox? xb one/series?
lmfao yeah
Avatar
So you'll need to write a directx backend
Avatar
i have a series x but no dev mode
20:41
HOWEVER
20:41
someone wrote some kind of mesa translation layer for xbox uwp, gl -> dx12 or something like that
Avatar
Avatar
Headshot
i have a series x but no dev mode
i would invite you as a member of my “team” but i think im apart of someone else’s so i can actually invite anyone
Avatar
Avatar
Learath2
So you'll need to write a directx backend
well i like challenges (edited)
Avatar
There is dxvk that runs pretty well
20:42
Maybe you can get that to run on xbox
Avatar
Avatar
LuKron
i would invite you as a member of my “team” but i think im apart of someone else’s so i can actually invite anyone
honestly if that means i can get dev mode i'd love that
Avatar
Wait that's the wrong direction 😄
20:42
Idk if there is vkdx
🇺 1
Avatar
i miss retail mode homebrew
Avatar
Avatar
Learath2
Idk if there is vkdx
vkd3d is a thing
Avatar
@Headshot would it be possible to send the ps2 version of ddnet i wanna try emulate it on duck station
Avatar
Avatar
Headshot
i miss retail mode homebrew
same
Avatar
Avatar
Headshot
vkd3d is a thing
How good is it nowadays?
Avatar
Avatar
LuKron
@Headshot would it be possible to send the ps2 version of ddnet i wanna try emulate it on duck station
Port of DDNet 9 to the PlayStation 2. Contribute to headshot2017/ddnet-ps2 development by creating an account on GitHub.
Avatar
Avatar
Headshot
honestly if that means i can get dev mode i'd love that
i can ask the guy who invited me. only reason i’m with his is because microsoft refused taking my money when i tried getting a dev account 💀
Avatar
i'm not sure if there's a .elf actions CI that auto compiles it though
Avatar
Avatar
LuKron
i can ask the guy who invited me. only reason i’m with his is because microsoft refused taking my money when i tried getting a dev account 💀
i'd appreciate that, thanks a lot
Avatar
Avatar
Learath2
How good is it nowadays?
not sure, i don't play many games with d3d 12
Avatar
Avatar
LuKron
well i like challenges (edited)
As long as you aren't one to get bored quickly it's actually pretty educational
Avatar
Avatar
Learath2
As long as you aren't one to get bored quickly it's actually pretty educational
i have adhd. if i don’t complete it ill never forget
Avatar
And it should be easy to develop, the first step would be to write a dx backend on windows no need to bother with xbox specfics until you get it rendering
Avatar
Avatar
Headshot
i'd appreciate that, thanks a lot
he got back quite fast. you can only have 3 on a team as it’s not a company and he’s got a mate and me and himself. sorry
Avatar
And if it's well written enough we can add it to ddnet so we can have even more backends to support 😄
Avatar
it’s like $20 for a dev account
20:46
if microsoft are feeling nice
Avatar
Avatar
LuKron
he got back quite fast. you can only have 3 on a team as it’s not a company and he’s got a mate and me and himself. sorry
ah shit, sad
Avatar
Avatar
Learath2
And if it's well written enough we can add it to ddnet so we can have even more backends to support 😄
awesome. well i’ll start researching everything and see what i can do
Avatar
Avatar
LuKron
@Headshot would it be possible to send the ps2 version of ddnet i wanna try emulate it on duck station
btw isn't duckstation a ps1 emulator?
Avatar
yeah i meant the other one
20:47
lmfao
Avatar
pcsx2
Avatar
that’s it
20:48
@Headshot i’m still working on getting my own dev account. when i finally get microsoft to take my money ill add you to my team
Avatar
awesome
Avatar
oh fuck. visual studio won’t be available on linux will it
20:55
vsc is i believe
Avatar
Avatar
LuKron
ew nixOS just use void (edited)
tell me you don't understand NixOS without telling me that you don't understand NixOS
Avatar
Avatar
Ewan
tell me you don't understand NixOS without telling me that you don't understand NixOS
NixOS gigachads unite
Avatar
Avatar
LuKron
oh fuck. visual studio won’t be available on linux will it
Why do you need visual studio ? Or is it just that you're familiar with it
Avatar
Avatar
meloƞ
Why do you need visual studio ? Or is it just that you're familiar with it
well my plan is to port ddnet to xbox as a uwp app in dev mode
Avatar
Vsc works out of the box yes
Avatar
Avatar
LuKron
well my plan is to port ddnet to xbox as a uwp app in dev mode
as a project for myself as i need to start learning
Avatar
you can't do any UWP on Linux at all
20:56
the tools are not there
Avatar
i had only just thought (edited)
Avatar
that is 100% windows exclusive
20:57
that is all dependent on the WinRT runtime which is tightly integrated into the operating system and is not (nor will it ever be, most likely) covered by wine
Avatar
yeah no i understand why it doesn’t work
20:57
i just hadn’t thought of it before
Avatar
my laptop will not run windows
20:59
if it's minimum system requirements you can circumvent that very easily
Avatar
it’s just that bad
Avatar
yeah i see
20:59
i have a 2009 imac that runs mojave
21:00
it runs absolutely abysmally but it is much better than nothing to make sure my stuff still compiles on macOS
Avatar
Avatar
Ewan
yeah i see
that’s the specs. i have yet to install a screenshot application as i installed it raw
21:00
not great
Avatar
i am not giving up
21:01
i will use my college computers
Avatar
at least it ain't a venezuelan canaima with intel celeron
21:01
justatest
Avatar
i’m working on getting a laptop capable of running windows so that my project can continue
21:18
I wish you success in that
Avatar
intel itanium
Avatar
GitHub BOT 2024-09-23 21:58
Closes #9024

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/#...
Avatar
i think i’ve sorted a windows desktop out
Avatar
so i can actually do my project now
Exported 954 message(s)
Timezone: UTC+0