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-08-23 00:00 and 2024-08-24 00:00
Avatar
Avatar
louis
ye thats cuz of ramp
does this mean that junping converts a part of the x speed to y speed?
Avatar
no, iirc any sort of velocity in any direction makes your ramp value non-zero
00:43
a higher ramp means your horizontal speed gets dampened (basically, you have a 'raw' horizontal speed which stays the same as long as you're still holding a/d, and a higher ramp will make that horizontal speed actually contribute less to your actual character's movement)
00:43
that's why if you're falling down super super fast you can't move left or right as fast
00:44
it also causes those weird movements with shotgun bug, etc.
00:44
so i assume when you jump while moving rightward, since your overall speed increases just a bit (you're adding an upwards velocity), your ramp increases just a tiny amount, making your horizontal speed just a little lower
Avatar
Avatar
Jupstar ✪
Click to see attachment 🖼️
it doesnt run
Avatar
Avatar
Jupstar ✪
it should be possible to connect bt mouse & keyboard to android
Doesn't work
Avatar
Avatar
louis
so i assume when you jump while moving rightward, since your overall speed increases just a bit (you're adding an upwards velocity), your ramp increases just a tiny amount, making your horizontal speed just a little lower
cyberfighter 2 2024-08-23 05:01
yes true
05:01
oversight or genius devs
Avatar
Avatar
cyberfighter 2
oversight or genius devs
It is literally an intended feature...
Avatar
Avatar
MilkeeyCat
The time has come for some gruvbox in my life (edited)
MilkeeyCat 2024-08-23 07:38
Only after a week I got used to the new color scheme, before it looked so weird to me xd
Avatar
რილია 2024-08-23 07:51
hello everyone. I'm making a space simulation game with pure c and raylib. I'm currently stuck in delta timing, and making the game fps independent from calculating stuff. my question is: how does ddnet handle all of this precisely. thank you for your replays. (edited)
Avatar
Avatar
რილია
hello everyone. I'm making a space simulation game with pure c and raylib. I'm currently stuck in delta timing, and making the game fps independent from calculating stuff. my question is: how does ddnet handle all of this precisely. thank you for your replays. (edited)
ddnet doesn't use any kind of delta time logic since the server runs independently of the client so it will basically never drop blow 50 ticks per second.
08:10
the tick speed is constant at 50tps
heartw 1
Avatar
Avatar
Teero
the tick speed is constant at 50tps
რილია 2024-08-23 08:26
what will happens if your computer wasn't strong enough for 50 tps to run a server on it ? (edited)
Avatar
Avatar
რილია
what will happens if your computer wasn't strong enough for 50 tps to run a server on it ? (edited)
It would run slower
Avatar
Чумовой динозавр 2024-08-23 08:44
есть русский.
Avatar
Avatar
Чумовой динозавр
есть русский.
nety
Avatar
Avatar
K4sh
Doesn't work
Jupstar ✪ 2024-08-23 09:07
ofc that works, forgottencat does it sometimes
09:08
maybe you cannot do it
Avatar
Avatar
squeeZY
it doesnt run
Jupstar ✪ 2024-08-23 09:08
then your phone is buggy
Avatar
Avatar
K4sh
Doesn't work
ForgottenCat 2024-08-23 09:32
Some specific phone doesnt support the client, maybe you can find some logs about that, will be useful
09:33
u r not alone, already 4 people cant use the new client in china
Avatar
Avatar
Jupstar ✪
Click to see attachment 🖼️
works for me (realme gt neo 5)
Avatar
Avatar
Matodor
works for me (realme gt neo 5)
Jupstar ✪ 2024-08-23 09:47
nice it seems like older Mali GPUs are the bad ones in this case. Snapdragon seems fine
09:53
i think i tested in one these arm devices:
  • One Plus X (32bit, GLES buggy, no vk support)
  • Samsung Galaxy S5 (32bit, no vk support)
  • Fair phone 3 (64-bit, no problems)
  • Poco F5 (64-bit, no problems)
  • Samsung Galaxy S23 Ultra (64-bit, no problems)
  • Some amazon tablet (64-bit, no problems, but not really fast)
  • The phone of my bro, can't remember which exactly, but some cheap china thing lol (64-bit, no problems)
Avatar
Avatar
Jupstar ✪
nice it seems like older Mali GPUs are the bad ones in this case. Snapdragon seems fine
also works on: Infinix Note 30 (CPU MediaTek Helio G99) Xiaomi Mi 9T Pro (CPU Snapdragon 855)
Avatar
Jupstar ✪ 2024-08-23 09:54
basically all of them have qualcomm tho
09:54
Infinix Note 30 (CPU MediaTek Helio G99)
ah nice
Avatar
Avatar
Jupstar ✪
i think i tested in one these arm devices:
  • One Plus X (32bit, GLES buggy, no vk support)
  • Samsung Galaxy S5 (32bit, no vk support)
  • Fair phone 3 (64-bit, no problems)
  • Poco F5 (64-bit, no problems)
  • Samsung Galaxy S23 Ultra (64-bit, no problems)
  • Some amazon tablet (64-bit, no problems, but not really fast)
  • The phone of my bro, can't remember which exactly, but some cheap china thing lol (64-bit, no problems)
not works on LeEco Le S3 Android 6.0 MediaTek MT6797 (old phone) (edited)
Avatar
Jupstar ✪ 2024-08-23 10:00
how old?
10:00
like which android
Avatar
Avatar
Jupstar ✪
how old?
2016
Avatar
Jupstar ✪ 2024-08-23 10:00
ah
10:00
android 6 weird
10:00
is it 32bit?
10:04
on android 6 on the official emulator it works
10:04
even tho it also has no vk support
Avatar
chillerdragon BOT 2024-08-23 10:07
Xd
10:08
Classic rage merge
Avatar
Avatar
Matodor
works for me (realme gt neo 5)
watafak do we have same phones
Avatar
Jupstar ✪ 2024-08-23 10:11
found a very old amazon tablet, it actively falls back to opengl (so it even says vk could not be initialized)
10:11
other than that, no problems as far as i see
Avatar
maybe its problem with error handling and not vulkan part initializing
10:12
justatest
Avatar
Avatar
zhn
maybe its problem with error handling and not vulkan part initializing
Jupstar ✪ 2024-08-23 10:12
it crashes during initialization
10:13
at least for milkeeycat who was the only one that sent logs yet
10:13
there is basically nothing we can do at that moment tho xD
Avatar
Avatar
Jupstar ✪
found a very old amazon tablet, it actively falls back to opengl (so it even says vk could not be initialized)
Jupstar ✪ 2024-08-23 10:14
apparently it does have vk 1.0 support. and apparently it is 32-bit. I actually thought we dont even compile vk in 32 bit
Avatar
Avatar
zhn
watafak do we have same phones
Jupstar ✪ 2024-08-23 10:16
and does it work on yours? 😄
Avatar
didn't test
10:17
should i pepeH
Avatar
Jupstar ✪ 2024-08-23 10:17
can't hurt
10:17
if one of you uses a custom rom while the other doesn't, maybe the result differs xD
10:21
nice found another tablet lol
10:21
how many tablets do we have in our house man
10:22
Samsung Exynos 9610
Avatar
@Jupstar ✪ Maybe you could use Firebase Test Lab with a debug apk to test the devices that are reported to not work but where we didn't get any crash reports. Seems like there is a free tier that allows a few real device tests per day. A robo test would just have to click the quit button after 15 seconds to check if launching works. https://firebase.google.com/docs/test-lab
Test your app on devices hosted in a Google data center.
Avatar
Jupstar ✪ 2024-08-23 10:22
oh yeah i used that once
10:22
it crates screenshots even
10:25
Mali-G72
10:25
works on vk
10:25
so not all mali are broken
10:28
(ofc i have the working one so i can't debug 😬 )
Avatar
Avatar
MilkeeyCat
Click to see attachment 🖼️
Jupstar ✪ 2024-08-23 10:30
why g76 not working, while g72 works. update phone xdd
Avatar
Avatar
Jupstar ✪
why g76 not working, while g72 works. update phone xdd
MilkeeyCat 2024-08-23 10:32
Speak in human language to me plis, me no understand you (edited)
Avatar
Avatar
Robyt3
@Jupstar ✪ Maybe you could use Firebase Test Lab with a debug apk to test the devices that are reported to not work but where we didn't get any crash reports. Seems like there is a free tier that allows a few real device tests per day. A robo test would just have to click the quit button after 15 seconds to check if launching works. https://firebase.google.com/docs/test-lab
Jupstar ✪ 2024-08-23 10:36
is really the question if they also have outdated android versions
10:36
if milkeey has bugs while i dont on a similar gpu, then we probably simply have different drivers
Avatar
Avatar
MilkeeyCat
Speak in human language to me plis, me no understand you (edited)
Jupstar ✪ 2024-08-23 10:37
no, i speak in vulcanian 🖖
Avatar
Avatar
Gumba
does this mean that junping converts a part of the x speed to y speed?
there is a raw speed value which stays pretty much the same but the effective value is decreased when moving fast
💀 1
Avatar
Avatar
zhn
watafak do we have same phones
😎
Avatar
Avatar
Jupstar ✪
no, i speak in vulcanian 🖖
MilkeeyCat 2024-08-23 10:44
Vulkantian
Avatar
GitHub BOT 2024-08-23 10:54
reported from filop on discord: >i dont think streamer mode is working !grafik cc @ChillerDragon since he implemented that
Avatar
cyberfighter 2 2024-08-23 11:35
where do you get android versions
11:35
android beta versions
Avatar
Avatar
cyberfighter 2
where do you get android versions
滅 | Imagishi 2024-08-23 11:37
im looking for same
Avatar
@Robyt3 ^
Avatar
MilkeeyCat 2024-08-23 11:46
@Learath2 look at this hot highlighting
🍻 2
Avatar
GitHub BOT 2024-08-23 11:57
56b56ef Fix save code not being censored in streamer mode - ChillerDragon 37fd57c Merge pull request #8791 from ChillerDragon/pr_censor_save_code_fix - def-
Avatar
Avatar
MilkeeyCat
@Learath2 look at this hot highlighting
Why are you so cool?
Avatar
@MilkeeyCat leave some girls for the rest of us
Avatar
Avatar
Learath2
Why are you so cool?
MilkeeyCat 2024-08-23 11:59
i made enough rules only for this example tho xd
Avatar
Avatar
meloƞ
@MilkeeyCat leave some girls for the rest of us
I knew it was his fault
Avatar
MilkeeyCat 2024-08-23 12:10
Girls don't care about stuff on my github 😦 but if they did, they would prefer chiller xd (edited)
Avatar
Avatar
滅 | Imagishi
im looking for same
Current apk is here: https://discord.com/channels/252358080522747904/293493549758939136/1266137471477878866 Next beta version should be ready soon
👍 1
Avatar
Avatar
meloƞ
@MilkeeyCat leave some girls for the rest of us
archimede67 2024-08-23 12:40
says a dad 💀
Avatar
shhh
Avatar
archimede67 2024-08-23 12:40
gonna tell your wife
Avatar
Jupstar ✪ 2024-08-23 12:41
tell her he flirts with other tees
Avatar
she knows
12:42
and i'm just a channel between my wife and @Insanity to hit on each other
kek 1
12:42
feelsbadman
Avatar
Jupstar ✪ 2024-08-23 12:43
who says your wife isn't insanity after all
Avatar
GitHub BOT 2024-08-23 12:43
It's will tips Your team is (un)locked by [Locker Player], If you wan't to (un)lock team, Please wait for a second and repeat the command. when 2 player in a team and they execute /lock together It can prevent situations where several people want to lock the team, but in the end, they execute 'lock' together.

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ...
Avatar
Avatar
Jupstar ✪
who says your wife isn't insanity after all
i'm fairly sure i know she isn't
Avatar
Avatar
meloƞ
i'm fairly sure i know she isn't
Jupstar ✪ 2024-08-23 12:43
That would be a plot twist
Avatar
spoiler: i'm actually married to @BaumWolle
😳 1
👉 1
👈 1
Avatar
Jupstar ✪ 2024-08-23 12:44
some more ppl you want to ping?
Avatar
hmm let me think
12:44
@StormA @Draggory statement?
12:44
oh wait this is developer
12:44
oops
Avatar
Jupstar ✪ 2024-08-23 12:44
it's fine, it's fine
12:44
just blame me
Avatar
greenthing 1
🐴 5
Avatar
good horse
Avatar
Avatar
meloƞ
and i'm just a channel between my wife and @Insanity to hit on each other
i fell of my chair reading this (edited)
Avatar
Avatar
GitHub
Click to see attachment 🖼️
pls don't
Avatar
i'm pinging ddrace network with 5 command prompts why are the servers not going down
Avatar
find a better thing to ddos with 5 ping commands
Avatar
Avatar
zhn
i fell of my chair reading this (edited)
justatest
Avatar
dunno how to feel about that
14:17
@Robyt3
Avatar
Jupstar ✪ 2024-08-23 14:18
ping furo or whoever added it xd
Avatar
ah, i think it was him
14:19
thought*
Avatar
Avatar
fokkonaut
dunno how to feel about that
64? i thought masterserver sends 63 for all ddnet servers
Avatar
Avatar
fokkonaut
dunno how to feel about that
#8497 I wanted it to also show the maximum team size because it's otherwise not easily understandable what 1\n2 is supposed to mean
Avatar
Add team size indicator: In scoreboard In chat when using /team with no arguments Closes #8496. Scoreboard having a lot of players: Scoreboard having a few players: Checklist Tested the chang...
Avatar
Avatar
Robyt3
#8497 I wanted it to also show the maximum team size because it's otherwise not easily understandable what 1\n2 is supposed to mean
Yea i have read that in the issue/pr, but i'm specifcally talking about the overlap with long times, sorry
Avatar
Avatar
fokkonaut
Yea i have read that in the issue/pr, but i'm specifcally talking about the overlap with long times, sorry
not sure how to solve that
14:30
maybe not showing the maximum if it's as large as the maximum number of clients would work in the common case, like 1\n(2/) or 1\n(2)
Avatar
Idk, i think im not a too big fan of the whole team indication on small scoreboard anyways
14:34
so it's probably fine, idk any better way rn
15:08
hello people with 100 followers on github and others
Avatar
Avatar
Robyt3
#8497 I wanted it to also show the maximum team size because it's otherwise not easily understandable what 1\n2 is supposed to mean
maybe do a small tee symbol and then the number, no need for /64
Avatar
アリヂン 2024-08-23 15:21
hi devs 👋, the ddnet client doesn't recognize remapped keys, is there a way to fix this/a workaround?
👋 1
Avatar
f1, inp_translated_keys 1
Avatar
アリヂン 2024-08-23 15:22
does nothing B)
Avatar
Then no 😄
Avatar
アリヂン 2024-08-23 15:23
nouis
15:23
guess I will try to edit the code myself...
🛹 1
Avatar
GitHub BOT 2024-08-23 15:35
Closes #8687

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
Avatar
アリヂン
hi devs 👋, the ddnet client doesn't recognize remapped keys, is there a way to fix this/a workaround?
Currently not, see #7544
Avatar
For example, if you bind y echo test using a QWERTZ keyboard layout then you instead activate the bind with the Z key. This is detrimental for #7393, which uses Ctrl+Z/Y for the undo/redo actions r...
Avatar
アリヂン 2024-08-23 15:42
for clarity, I have swapped caps and escape in kde keyboard options
15:43
seems to work in most apps
Avatar
I think we are using scancodes for binds and hotkeys, which describe the physical location of that key, so swapping in software is ignored
15:45
For example if you bind to Ö on a german keyboard the actual key is semicolon because that's the key at that location on the US keyboard I guess
Avatar
アリヂン 2024-08-23 15:45
isn't this what inp_translated_keys tries to fix?
Avatar
It doesn't do anything for me, so maybe SDL changed something at some point
Avatar
Avatar
Ryozuki
hello people with 100 followers on github and others
do u ask me to unfollow kek
Avatar
no xd
16:21
i got 118 now (edited)
Avatar
アリヂン 2024-08-23 16:27
weird, when I press caps(which is bound to escape), SDLK_ESCAPE gets passed into SDL_GetScancodeFromKey which returns SDL_SCANCODE_CAPSLOCK for some reason
16:27
looks like SDL does its own keyboard translation?
16:32
SDL wiki says that SDL_Keycode is the virtual key representation while SDL_Scancode is the physical one
16:32
Why does DDNet use scancodes for input then?
16:35
Is it because of actual keyboard layouts?
Avatar
Avatar
アリヂン
Why does DDNet use scancodes for input then?
It always did, I think. Teeworlds changed to keycodes in 0.7
16:35
It allows default binds to always use the same physical key
Avatar
アリヂン 2024-08-23 16:36
So if we were to use keycodes, would switching keyboard layout break the input?
16:37
Anyways, if we use physical keys, why isn't rebinding a "back" button an option?
Avatar
Avatar
アリヂン
So if we were to use keycodes, would switching keyboard layout break the input?
If we switch now it would change existing binds
Avatar
Avatar
アリヂン
Anyways, if we use physical keys, why isn't rebinding a "back" button an option?
What do you mean with back button?
Avatar
アリヂン 2024-08-23 16:39
The escape button
Avatar
Avatar
Robyt3
If we switch now it would change existing binds
アリヂン 2024-08-23 16:40
Aren't keys serialized to strings?
Avatar
Avatar
アリヂン
The escape button
It should always have to default behavior so menus are always usable
Avatar
Avatar
アリヂン
Aren't keys serialized to strings?
For example, if you previously bound y for chat you would now have to press the actual key Y instead of Z to activate this bind with a QWERTZ layout
16:42
It wouldn't change the binds but the behavior
Avatar
アリヂン 2024-08-23 16:42
I see
16:43
So we ain't switching to keycodes until ddnet 2.0? thonk
Avatar
Maybe if it's possible as an option cleanly
Avatar
アリヂン 2024-08-23 16:45
I'll go search to rebind my caps on a lower level to make it think that i'm pressing actual escape button
16:45
greenthing
greenthing 1
Avatar
GitHub BOT 2024-08-23 16:45
This allowed players to start with a teammates time and in a started state. Which would would've made it possible to exploit to skip maps like shown in this theoretical map below. https://github.com/user-attachments/assets/8f115171-cc05-43f7-adb6-d533a4de03f8 Closes #8779

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 ba...
Avatar
MilkeeyCat 2024-08-23 17:26
@Learath2 can you explain please how this <type> thingy works, my brain doesn't work recursively and I don't understand how the hell it parses u8*** for example(ye it also parses just stars, for example ***, it's a feature btw) https://bnfplayground.pauliankline.com/?bnf=%3Cpointer_type%3E%20%3A%3A%3D%20%3Ctype%3E%3F%20%22%2a%22%0A%3Cprimitive_type%3E%20%3A%3A%3D%20%22u8%22%20%7C%20%22u16%22%0A%3Ctype%3E%20%3A%3A%3D%20%3Cpointer_type%3E%20%7C%20%3Cprimitive_type%3E&name=Type%20parsing%20%3E~%3C
Avatar
GitHub BOT 2024-08-23 17:30
b9a7941 Don't keep m_DDRaceState and m_StartTime of teammate in team0mode after death - furo321 b1914e9 Merge pull request #8794 from furo321/fix-team0mode-bug - def-
Avatar
curse the person sending weird master server data: cannot unmarshal number into Go struct field Skin.servers.info.clients.skin.name of type string
Avatar
GitHub BOT 2024-08-23 18:07
Closes #8684

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/#...
18:10
a01e5e7 Improve "Proof borders" description - furo321 96beaf2 Merge pull request #8793 from furo321/proof-borders-desc - def-
Avatar
GitHub BOT 2024-08-23 18:44
f897af8 Use CJsonWriter for creating server info JSON - furo321 5dff5e9 Merge pull request #8795 from furo321/cjsonwriter-master - def-
Avatar
Avatar
meloƞ
@StormA @Draggory statement?
gz!
Avatar
Avatar
Ryozuki
Click to see attachment 🖼️
Check your ranking in GitHub! Don't forget to star ⭐ this repository. - gayanvoice/top-github-users
Avatar
Avatar
Robyt3
It always did, I think. Teeworlds changed to keycodes in 0.7
I really think it should continue to use scancodes for binds
Avatar
Avatar
Ewan
I really think it should continue to use scancodes for binds
whats different?
Avatar
well on my kb I can use my original binds while still having the ability to type in colemak
20:19
if they changed it I'd have to switch to qwerty or rebind dozens of keys
20:20
ye sounds sane
Avatar
Would have to be an option I guess, or we somehow only figure it out for the UI. Having the Ctrl+Z hotkey consistently perform Undo in editor would be nice. (edited)
Avatar
Avatar
Robyt3
Would have to be an option I guess, or we somehow only figure it out for the UI. Having the Ctrl+Z hotkey consistently perform Undo in editor would be nice. (edited)
archimede67 2024-08-23 20:22
or we can work on getting #7556 in
Avatar
While discussing issues related to binds, one suggestion was to add bind categories/groups so we could do more actions not only in game but in menus, demo player, editor, etc. See #3995, #3995 (com...
Avatar
archimede67 2024-08-23 20:23
That way we can rebind any action
Avatar
yeah, I still haven't gotten around to reviewing it pepeH, I'll try to take a look after the next android beta version is done
20:32
For #7560 I don't really have good ideas how to handle the various random hotkeys which are active only when specific pages are visible. If the goal is to allow using the client only with gamepad eventually, we would need to add a concept of keyboard-focus UI elements and establish a tab order for all elements.
Avatar
Needed by #7556. I believe we have some console commands related to menus, like quit or ui_page (even though I think this one does not work correctly?), but I also believe we need more. For example...
Avatar
GitHub BOT 2024-08-23 21:07

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test (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-ad...
Avatar
GitHub BOT 2024-08-23 22:18
7ee735a Update belarusian translation for 18.4 - ZucchiniEnjoyer 3cf3e23 Merge pull request #8796 from ZucchiniEnjoyer/update-belarusian-18.4 - def-
Avatar
Avatar
archimede67
or we can work on getting #7556 in
+1
Avatar
GitHub BOT 2024-08-23 23:21
I have zoom binded to mouse scroll (which is very handy), and every time I watch demo and I want to zoom in/out I speed things up/down, and it's pretty annoying. Not sure how often people change speed while watching demos without control panel, but I suggest to disable this option, or add demo keybinds to settings as well to add some flexibility
f3 4
Exported 210 message(s)
Timezone: UTC+0