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-07-23 00:00 and 2024-07-24 00:00
Avatar
GitHub BOT 2024-07-23 05:30

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
тя
Replying to @Ryozuki how do u pronounce tja?
06:11
Аз зімрІе аз тнат
Avatar
Avatar
GitHub
Click to see attachment 🖼️
woah
Avatar
GitHub BOT 2024-07-23 08:12
Fix team number and team size rendering outside of the scoreboard when the team is rendered on both sides. Fix team number and team size alignment. Fixes #8633.

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 indexin...
Avatar
Jupstar ✪ 2024-07-23 08:53
@Robyt3 curl is not a pinned version in the android script right?: build-android-libs/compile_libs/curl/lib/idn.c:37:10: fatal error: 'idn2.h' file not found
Avatar
Avatar
Jupstar ✪
@Robyt3 curl is not a pinned version in the android script right?: build-android-libs/compile_libs/curl/lib/idn.c:37:10: fatal error: 'idn2.h' file not found
No, I think most Android libs are build on latest master. Should probably pin some versions that work, or the same that the client uses on other platforms
Avatar
Jupstar ✪ 2024-07-23 08:58
yeah manually switched the branch now and works
08:59
even tho i agree with pinning, i mostly didnt do it back then, bcs then deen would need to update the scripts too when updating libs xd
08:59
but if we get ddnet-libs integration that should be fine i guess
09:01
mold: error: undefined symbol: __res_init >>> referenced by std.2af8c09dce0047da-cgu.07 >>> x86_64-unknown-linux-gnu/debug/libddnet_engine_shared.a(std-91d92f3a80092f54.std.2af8c09dce0047da-cgu.07.rcgu.o):(std::sys::pal::unix::net::on_resolver_failure::hf1914f0e712e9fa0) mh interesting: 1. interesting that it uses mold to compile 2. not so interesting that i get a compile time error that i dont understand xD
09:01
i assume u've never seen that before
Avatar
Avatar
Jupstar ✪
mold: error: undefined symbol: __res_init >>> referenced by std.2af8c09dce0047da-cgu.07 >>> x86_64-unknown-linux-gnu/debug/libddnet_engine_shared.a(std-91d92f3a80092f54.std.2af8c09dce0047da-cgu.07.rcgu.o):(std::sys::pal::unix::net::on_resolver_failure::hf1914f0e712e9fa0) mh interesting: 1. interesting that it uses mold to compile 2. not so interesting that i get a compile time error that i dont understand xD
No, haven't seen it before. Google has various potential fixes/reports for it though (edited)
09:04
Did you maybe miss running a configure script that exists now?
Avatar
Avatar
Robyt3
Did you maybe miss running a configure script that exists now?
Jupstar ✪ 2024-07-23 09:05
what? what is that
Avatar
Some repos might still have separate autogen.sh or other scripts to generate additional source/header files
Avatar
Jupstar ✪ 2024-07-23 09:06
i'll first try without mold now.. i find it bit annoying that our cmake script changes linker priority anyway
09:06
doesnt seem like it should be manually done
09:08
mh didnt help rip
Avatar
Avatar
Robyt3
Some repos might still have separate autogen.sh or other scripts to generate additional source/header files
Jupstar ✪ 2024-07-23 09:08
yeah but it really sounds like a rust bug
09:09
well related to our rust code
Avatar
In termux/termux-packages#5387 termux/termux-packages#5420, I tried to update termux's (a sort of mini linux distro as an android app) Rust version to 1.44 from 1.42 1.43.1, but I was getting a...
Avatar
Jupstar ✪ 2024-07-23 09:09
i try nightly
09:11
32bit gives even weirder errors: ld.lld: error: x86_64-unknown-linux-gnu/debug/libddnet_engine_shared.a(ddnet_engine_shared-a432234d37677268.05k6yrd7x6qeo8lukhce6gc2o.rcgu.o) is incompatible with elf_i386
09:11
like why does it even choose x86_64
09:12
same on arm
09:12
and arm64
Avatar
I'll try, haven't rebuild my libraries since I got it working
Avatar
Jupstar ✪ 2024-07-23 09:13
ah this is already ddnet building
09:13
the libs worked fine
Avatar
hm, that's odd
Avatar
Jupstar ✪ 2024-07-23 09:14
but yeah i used git checkout curl-8_8_0 for curl
09:14
rest worked
Avatar
GitHub BOT 2024-07-23 09:14
5f8e274 Fix team number and team size rendering - archimede67 b7e1af4 Merge pull request #8636 from archimede67/fix-teamcount-rendering - def-
Avatar
Avatar
Robyt3
hm, that's odd
Jupstar ✪ 2024-07-23 09:14
yeah super odd: mold: fatal: ddnet_engine_shared-a432234d37677268.05k6yrd7x6qeo8lukhce6gc2o.rcgu.o: incompatible file type: arm64 is expected but got x86_64 mold is a bit clearer
Avatar
Did you setup cargo-ndk and add the rustup targets?
Avatar
Jupstar ✪ 2024-07-23 09:16
i followed the android readme
09:16
yes
Avatar
weird, so seems related to some default settings being used differently for you
09:17
It's always using lld linker for me
Avatar
Jupstar ✪ 2024-07-23 09:18
ah
09:18
apparently i was on rust nightly before
09:18
i switched to stable again, now it at least goes into creating the apk
09:18
where it fails too xd
Avatar
How does that step fail?
Avatar
Jupstar ✪ 2024-07-23 09:19
apparently it searches for java17 for whatever reason
Avatar
hmm, should work it can find java 21 as well though
Avatar
Avatar
Robyt3
hmm, should work it can find java 21 as well though
Jupstar ✪ 2024-07-23 09:19
does it only work with 21?
Avatar
it always prints some warnings about the java location for me but those can be ignored (that's the recommended solution from the internet)
Avatar
Jupstar ✪ 2024-07-23 09:20
yeah now it works, i use java 21 default now
09:20
perfect
09:20
so rust stable it is for now.. i wonder why tho
09:20
do we manually check some stuff about rust in our cmake or whatever?
Avatar
list(APPEND PLATFORM_LIBS dl) # for Rust this line seems to apply to linux+rust but not to Android due to the elseif
09:22
maybe adding it to the block above would help, maybe it's included in TW_ANDROID_LIBS which is defined somewhere else though
Avatar
Jupstar ✪ 2024-07-23 09:22
mold: error: duplicate symbol: /home/jupeyy/Android/Sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/lib/linux/libclang_rt.builtins-arm-android.a(fixunssfdi.c.o): armv7-linux-androideabi/release/libddnet_engine_shared.a(compiler_builtins-33541d770eea3a97.compiler_builtins.de41643f9cd834e3-cgu.033.rcgu.o): __fixunssfdi arm still fails btw
09:22
but different issue
Avatar
Avatar
Robyt3
maybe adding it to the block above would help, maybe it's included in TW_ANDROID_LIBS which is defined somewhere else though
Jupstar ✪ 2024-07-23 09:24
i can try that after linking finished
Avatar
Maybe also the other list(APPEND PLATFORM_LIBS rt) # clock_gettime for glibc < 2.17 since your error message seems to contain rt
Avatar
Jupstar ✪ 2024-07-23 09:30
nice, the game and touch controls generally work
09:32
@Robyt3 so the x86_64 still fails
09:32
rt lib doesnt even exist
09:32
removed that line, get the old errors
09:32
arm64 still says that it detects the runtime wrongly
09:33
i dunno if that is a nightly thing, but we can also add a warning to the android build script to use stable rust
Avatar
yeah, could be added to the readme
Avatar
Jupstar ✪ 2024-07-23 09:40
mobile is so hard 😬
09:40
but nice
Avatar
yeah, it takes some times
09:41
also, hide the extra buttons to see more
09:42
I much prefer the direct touch input though
09:42
at least for a phone sized device
Avatar
Jupstar ✪ 2024-07-23 09:43
i trust forgottencat, he said arms in the way, now i see that they are in the way xdd
09:43
i have a phone with 120hz, that is quite nice.. looks really smooth
09:43
input delay seems okish too
09:44
feels better on most laptops i played on yet
Avatar
Jupstar ✪ 2024-07-23 09:53
epyc, tutorial finished
Avatar
Jupstar ✪ 2024-07-23 09:53
9 minutes and 28 seconds
09:53
beat me
Avatar
Jupstar ✪ 2024-07-23 09:54
here
09:54
arm64
09:54
48.88 MB
Avatar
virus
Avatar
Jupstar ✪ 2024-07-23 09:54
yep
Avatar
dummy net apk
Avatar
Jupstar ✪ 2024-07-23 09:55
yeah dunno why it said DNet xd
Avatar
Avatar
Jupstar ✪
epyc, tutorial finished
when release
Avatar
Jupstar ✪ 2024-07-23 10:03
soonish™️
10:04
im just that good
Avatar
Jupstar ✪ 2024-07-23 10:04
keyboard cheater
10:04
btw it feels really nice to play lol
Avatar
Jupstar ✪ 2024-07-23 10:04
with scrcpy i finish it in 3min
Avatar
oh no check chat
Avatar
Jupstar ✪ 2024-07-23 10:05
yeah yeah i trust u
Avatar
6 mins 30s
Avatar
Jupstar ✪ 2024-07-23 10:05
i used the joystick touch tho
10:05
much harder to aim xd
Avatar
time to play noby fng with that troll
Avatar
Avatar
Souly
time to play noby fng with that troll
Jupstar ✪ 2024-07-23 10:05
no joke
10:05
u'll get banned
Avatar
it was kinda hard to move tbh
Avatar
Jupstar ✪ 2024-07-23 10:05
bcs of aimbot
Avatar
ye ik
10:06
so ye i thought its gonna be something like the old android version that we had
10:06
but this
10:06
is just so much better
10:06
seems to run smooth
Avatar
is it going to be for iphone and android?
Avatar
Jupstar ✪ 2024-07-23 10:06
guess
10:06
apple closed ecosystem
10:06
or android open source
Avatar
Avatar
<BµmM>
is it going to be for iphone and android?
Jupstar ✪ 2024-07-23 10:07
apple charges like 100$ per year sadly
Avatar
Here's the beta version for all arches (extract the first file with 7zip).
Avatar
Jupstar ✪ 2024-07-23 10:07
i doubt the interest in that app is huge enough
Avatar
Avatar
Jupstar ✪
apple charges like 100$ per year sadly
ye i know that cammostripes
Avatar
Avatar
Robyt3
Here's the beta version for all arches (extract the first file with 7zip).
Jupstar ✪ 2024-07-23 10:07
is that a debug build
10:07
why is it so giant
Avatar
It's release
10:08
Debug is almost twice as large
Avatar
Since we're mobile now, lets go full pay2win
💀 1
Avatar
Maybe my linker is not so good at merging the libs
Avatar
Jupstar ✪ 2024-07-23 10:08
5$ per hook
10:08
10$ per shot
10:08
else finish without those, nobo
Avatar
Say goodbye to Raid Shadow Legends, and hello to DDraceNetwork!
poggers2 2
Avatar
The PR adds touch for all platforms that support it, so now it the time to port this to PS Vita justatest
Avatar
Avatar
Robyt3
Maybe my linker is not so good at merging the libs
Jupstar ✪ 2024-07-23 10:09
you need LTO
10:09
then it should decrease
Avatar
Avatar
Jupstar ✪
apple charges like 100$ per year sadly
we gotta find someone to sponsor it
twthis 1
Avatar
Jupstar ✪ 2024-07-23 10:10
like... apple?
Avatar
Jupstar ✪ 2024-07-23 10:11
for providing basically nothing
Avatar
Avatar
Ewan
peak
Jupstar ✪ 2024-07-23 10:11
cammostripes
10:11
boomer
Avatar
Avatar
Ewan
peak
justatest
10:11
using chat on that was funny
Avatar
Avatar
Souly
using chat on that was funny
no
Avatar
Jupstar ✪ 2024-07-23 10:12
@Robyt3 play store would have the advantage that the apks are split again
10:12
so not 130mb to download lmao
10:14
@Robyt3 have you seen that our curl impl currently loads a ca certificate? back when i first did the port, curl didnt get android system certs, i dunno if that changed.. but that is defs a small problem, bcs then the certs get expire i think
Avatar
Avatar
Jupstar ✪
@Robyt3 have you seen that our curl impl currently loads a ca certificate? back when i first did the port, curl didnt get android system certs, i dunno if that changed.. but that is defs a small problem, bcs then the certs get expire i think
yeah, I think it should be possible without copying the cert: https://stackoverflow.com/a/52305133
I've successfully built libcurl-7.36.0 with openssl-1.0.1h on Android. I ran a sample code to test HTTPS connection. The SSL_VERIFYPEER is enabled by default. The certificates path on Android is /s...
Avatar
Avatar
Robyt3
yeah, I think it should be possible without copying the cert: https://stackoverflow.com/a/52305133
Jupstar ✪ 2024-07-23 10:16
ah nice
Avatar
ws-client BOT 2024-07-23 10:16
<ChillerDragon> @matricks
10:16
<ChillerDragon> is he still here? xd
Avatar
Jupstar ✪ 2024-07-23 10:17
yes but u didnt ping him
Avatar
ws-client BOT 2024-07-23 10:17
<ChillerDragon> sagde
10:17
<ChillerDragon> can u ping him for me uwu
Avatar
Jupstar ✪ 2024-07-23 10:17
mtrcks
10:17
try that
Avatar
ws-client BOT 2024-07-23 10:17
<ChillerDragon> scared much
10:17
<ChillerDragon> @mtrcks
10:17
<ChillerDragon> did that work?
Avatar
Jupstar ✪ 2024-07-23 10:17
lol
10:17
did not
10:18
tja
Avatar
ws-client BOT 2024-07-23 10:18
<ChillerDragon> bruv im gonna write him an email then
Avatar
Jupstar ✪ 2024-07-23 10:18
yeah sry that i am scared
10:18
i am shy
Avatar
Avatar
Souly
Click to see attachment 🖼️
close xd (edited)
Avatar
ws-client BOT 2024-07-23 10:18
<ChillerDragon> no worries
Avatar
It is so hard xd
10:18
DJing while going left/right + hook is impossible xd
Avatar
How many fingers do you use on the control keys? I use three fingers
Avatar
ye i had to do some weird claw grip
10:19
10:19
Avatar
Avatar
Souly
Click to see attachment 🖼️
Ahahha
Avatar
Jupstar ✪ 2024-07-23 10:19
😬
Avatar
idk how to throw people with this
Avatar
ws-client BOT 2024-07-23 10:20
<ChillerDragon> sus
Avatar
it took really long to get banned tho
10:21
i expected it to ban instantly
10:21
@Jupstar ✪ how do i switch to that funny aiming wheel thing
Avatar
Jupstar ✪ 2024-07-23 10:21
i did it in f1 console, but maybe robyte also has gui for it
Avatar
#8632
Avatar
Add new client component CTouchControls for playing the game with touch inputs. The touch controls can be enabled/disabled with the config variable cl_touch_controls, which defaults to 1 on Android...
Avatar
ooh oke
Avatar
There are some more buttons in the ingame menu when you have touch controls enabled
Avatar
Jupstar ✪ 2024-07-23 10:22
@Souly press ESC
10:22
then there is a checkbox
Avatar
Jupstar ✪ 2024-07-23 10:22
ESC = return btn
Avatar
you can also long press the menu button to open the menu
Avatar
Jupstar ✪ 2024-07-23 10:23
@Robyt3 the Active: hook button has a weird hitbox btw.. almost as if i have to hit the text instead of btn xd
Avatar
got it
Avatar
Avatar
Jupstar ✪
@Robyt3 the Active: hook button has a weird hitbox btw.. almost as if i have to hit the text instead of btn xd
should be the same as the other buttons though. only the joystick hitbox itself is weird since it's a square around the rendered circle
10:25
maybe it's some OS function interfering with you
10:26
you can change the fullscreen mode to windowed so status bar and system menu are always shown, maybe that prevents it from detecting something as a gesture (edited)
Avatar
Avatar
Robyt3
should be the same as the other buttons though. only the joystick hitbox itself is weird since it's a square around the rendered circle
Yea I often accidentally click outside it and miss the hook. Would be nice to be able to adjust the size and position.
Avatar
ws-client BOT 2024-07-23 10:27
<ChillerDragon> @Souly 0.7 hand support is going well justatest
Avatar
Also a kill button would be nice. Having to go ESC->kill is annoying xd
Avatar
Avatar
Teero
Also a kill button would be nice. Having to go ESC->kill is annoying xd
I didn't want to make it too easy to do it accidentally though
Avatar
Avatar
Teero
Yea I often accidentally click outside it and miss the hook. Would be nice to be able to adjust the size and position.
Maybe the margins at the top and sides should be removed so the button are all flush with the screen edges
Avatar
Avatar
Robyt3
should be the same as the other buttons though. only the joystick hitbox itself is weird since it's a square around the rendered circle
Jupstar ✪ 2024-07-23 10:30
sry for the epyc noises lol
10:30
micro must be really sensitive
Avatar
Avatar
ws-client
<ChillerDragon> @Souly 0.7 hand support is going well justatest
BRO NO WAY THIS IS THAT HARD TO CODE 😭😭😭
Avatar
Avatar
Jupstar ✪
sry for the epyc noises lol
Skill issue xxdd
10:31
jk
Avatar
i couldnt do a single throw on fng
10:31
thats a real skill issue
Avatar
Hmm, and it only happens for this one button? Does something similar happen in other games as well in that corner? Maybe try windowed mode
Avatar
Avatar
Robyt3
Hmm, and it only happens for this one button? Does something similar happen in other games as well in that corner? Maybe try windowed mode
Jupstar ✪ 2024-07-23 10:32
mh yeah dunno maybe it's my phone xd
Avatar
Btw @Robyt3 are configs not saved yet or is there something wrong on my end?
Avatar
General notice: If you have a 3-finger swipe gesture (for screenshots or multi tasking) then disable it, or pressing down 3 or more fingers doesn't work
Avatar
Avatar
Teero
Btw @Robyt3 are configs not saved yet or is there something wrong on my end?
Only if you quit the client manually
10:33
Not if you leave it in the background to die
Avatar
Ah ok
10:33
xd
Avatar
You can also quickly press the back button three times to quit cleanly, but maybe we should remove that again if it's too easy to do accidentally, now that the UI works
Avatar
Avatar
Robyt3
Hmm, and it only happens for this one button? Does something similar happen in other games as well in that corner? Maybe try windowed mode
Jupstar ✪ 2024-07-23 10:35
windowed mode works.. so i assume it has to do with the android overlay somehow
Avatar
Hitting the UI sliders is pretty hard. Is a swipe gesture for the server browser plausible?
Avatar
Avatar
Jupstar ✪
windowed mode works.. so i assume it has to do with the android overlay somehow
yeah, I assume it handles the touch as activating the menu bar with the gesture
Avatar
Avatar
Teero
Hitting the UI sliders is pretty hard. Is a swipe gesture for the server browser plausible?
yes, it's already implemented, use two fingers
Avatar
Oh mb xdd
10:36
Woah cool
Avatar
Avatar
Robyt3
yes, it's already implemented, use two fingers
It still moves the mouse cursor with one of the fingers if you want to fix that xd
Avatar
Avatar
Teero
It still moves the mouse cursor with one of the fingers if you want to fix that xd
It needs to, otherwise it can't know which UI element to activate with the scroll
Avatar
Ah okay
10:38
Is there a way to tab player names in chat?
Avatar
Would be better if UI elements wouldn't be activated while scrolling, but that's caused by the two fingers not being pressed down exactly at the same time, might be fixable by adding some delay in the UI
Avatar
Avatar
Teero
Is there a way to tab player names in chat?
Not without keyboard
10:39
Unless your virtual keyboard can enter tab maybe
Avatar
Jupstar ✪ 2024-07-23 10:42
my screen cuts off, but the reported res is my "real" screen res
10:42
that kinda sucks.. but probs nothing we can do
10:43
when i resize in windowed mode it changes the res.. then changes it back but ddnet still assumes the changed res
Avatar
Also kinda annoying on newer phones with round screen corners, that's why I also play on windowed mode
Avatar
Jupstar ✪ 2024-07-23 10:43
that kinda looks like a bug
10:44
but maybe SDL fails to report the change, dunno
10:44
or we don't check for an SDL error here
Avatar
GitHub BOT 2024-07-23 10:52
Fixes virtual keyboard on Android flashing rapidly when the console is closed.

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 [A...
Avatar
@Robyt3 is there a readme for compiling to android?
Avatar
Jupstar ✪ 2024-07-23 11:02
scripts/android
Avatar
Jupstar ✪ 2024-07-23 11:03
ndk27 is broken for libogg, so better do exactly what the readme says xd
11:04
ok
Avatar
chillerdragon BOT 2024-07-23 11:04
I think it could be epic to train some llm on this channel. Imagine you can ask chat.ddnet.org „how to compile ddnet android“ and it replies with „scripts/android“
Avatar
Jupstar ✪ 2024-07-23 11:05
yes
11:05
go ahead
11:05
xd
Avatar
chillerdragon BOT 2024-07-23 11:05
There is so much unsorted knowledge in here
11:05
Busy doing 0.7 stuff right now. Souly found so many bugs -.-
Replying to @Jupstar ✪ go ahead
11:06
Also doing llms sounds hard
Avatar
Avatar
chillerdragon
Busy doing 0.7 stuff right now. Souly found so many bugs -.-
Jupstar ✪ 2024-07-23 11:06
better learn rust
11:06
and help
Avatar
chillerdragon BOT 2024-07-23 11:06
help what
Avatar
Jupstar ✪ 2024-07-23 11:06
twgame integration
Avatar
chillerdragon BOT 2024-07-23 11:06
Aren’t you done with that forever?
11:06
Also what about licenses?
Avatar
just finished #👶easyright_3
11:07
im so good at this
Avatar
Jupstar ✪ 2024-07-23 11:07
yeah i am mostly waiting for zwelfs decision on license xd
11:07
huge blocker
Avatar
chillerdragon BOT 2024-07-23 11:08
Speaking of licenses @heinrich5991 what license should I use for a tw protocol project that contains a 1:1 Int and packet header packer translation into another language and a bunch of other code that’s totally clean room (edited)
Avatar
Avatar
Robyt3
Also kinda annoying on newer phones with round screen corners, that's why I also play on windowed mode
true i could barely hit quit button
Avatar
Avatar
chillerdragon
I think it could be epic to train some llm on this channel. Imagine you can ask chat.ddnet.org „how to compile ddnet android“ and it replies with „scripts/android“
discord is already doing it ^^
Avatar
Avatar
Souly
just finished #👶easyright_3
Jupstar ✪ 2024-07-23 11:08
first EU mobile player, nice
Avatar
chillerdragon BOT 2024-07-23 11:08
Yes?
11:08
discord has a llm search?
Avatar
how do u harvest data? is there an irc log database?
Avatar
chillerdragon BOT 2024-07-23 11:09
Yes
Avatar
Avatar
chillerdragon
discord has a llm search?
no, i was joking that they harvest the data for llm purpose anyways
Avatar
@Jupstar ✪ how are binds handled with this
Avatar
chillerdragon BOT 2024-07-23 11:09
Yes but it’s not accessible to us :(
Avatar
Avatar
chillerdragon
Yes
where link
Avatar
how do i bind deepfly for example lol
Avatar
Avatar
Souly
how do i bind deepfly for example lol
Jupstar ✪ 2024-07-23 11:09
unfinished
Avatar
There's no way to bind anything unless you use a keyboard
Avatar
Jupstar ✪ 2024-07-23 11:09
i think the plan is to allow custom buttons
Avatar
ahh i was thinking that screentouch was treated as mouse1 or something
Avatar
Avatar
Souly
ahh i was thinking that screentouch was treated as mouse1 or something
No, all buttons and touches directly execute console commands like +fire
Avatar
Jupstar ✪ 2024-07-23 11:12
@Robyt3 btw is the touch controls logic 1 frame delayed?
Avatar
Avatar
Jupstar ✪
i think the plan is to allow custom buttons
I'd like to have a default layout that works. Then we could make some of it adjustable, e.g. enable/disable predefined buttons, change their size and position. Lastly, we could support adding additional buttons that execute any console command
Avatar
Avatar
Jupstar ✪
@Robyt3 btw is the touch controls logic 1 frame delayed?
No, the ingame controls should be immediate
11:13
UI input is delayed by two frame
11:13
First frame the mouse needs to move over the element, second tick it can activate it
Avatar
Avatar
Robyt3
No, the ingame controls should be immediate
Jupstar ✪ 2024-07-23 11:13
so there is a update function that runs independent of rendering?
Avatar
No it's still coupled to the rendering code
Avatar
Avatar
Robyt3
UI input is delayed by two frame
Jupstar ✪ 2024-07-23 11:14
do you mean menu UI? 😅
Avatar
Avatar
Robyt3
No it's still coupled to the rendering code
Jupstar ✪ 2024-07-23 11:14
but isnt it then 1 frame delayed?
Avatar
Avatar
Jupstar ✪
do you mean menu UI? 😅
yeah, menu UI always has to be delayed because of our design
Avatar
Jupstar ✪ 2024-07-23 11:15
yeah that is fine
Avatar
Avatar
Jupstar ✪
but isnt it then 1 frame delayed?
Not sure, first the client inputs are updated, which includes the touch states, then rendering uses the touch states
Avatar
Chiller you recently made some prototype to support live map editing maps right? Or atleast some packets that syncs the game tiles of the server to the client to support minetee-like servermods (edited)
Avatar
yes its a pr on the ddnet github i think
Avatar
Avatar
Robyt3
Not sure, first the client inputs are updated, which includes the touch states, then rendering uses the touch states
Jupstar ✪ 2024-07-23 11:16
mh i thought it's coupled to rendering xdd
Avatar
Avatar
ws-client
it looks better than my first try at rendering 0.7 tees lol
Avatar
Avatar
Jupstar ✪
mh i thought it's coupled to rendering xdd
hmm, I don't really understand the question, what's different from normal controls?
Avatar
Avatar
Robyt3
hmm, I don't really understand the question, what's different from normal controls?
Jupstar ✪ 2024-07-23 11:19
i mean like that SDL sends input -> we directly handle this input (in touch control's case hitting a touch btn) -> the input is already handled even a render frame is skipped (fps capped)
11:19
@Robyt3 are you aware of virtual keyboard bugs?
11:19
apparently only buggy in english
Avatar
Avatar
Jupstar ✪
i mean like that SDL sends input -> we directly handle this input (in touch control's case hitting a touch btn) -> the input is already handled even a render frame is skipped (fps capped)
eh, no, I decided against an event based system...
Avatar
Can I also play around with the mobile version to test it?
Avatar
but I guess it's still possible to do without it
Avatar
Jupstar ✪ 2024-07-23 11:21
mh ok
Avatar
Avatar
Sans
Can I also play around with the mobile version to test it?
Jupstar ✪ 2024-07-23 11:21
u can download it somewhere above
Avatar
Avatar
Sans
Can I also play around with the mobile version to test it?
yes, see download above
Avatar
Avatar
Sans
Can I also play around with the mobile version to test it?
Avatar
Jupstar ✪ 2024-07-23 11:21
the DNet version nouis
Avatar
Does the server know it is handling an android client?
Avatar
Avatar
Teero
Does the server know it is handling an android client?
Jupstar ✪ 2024-07-23 11:22
dont think so, why
Avatar
I don't know it might be useful. Some server mods might want to send different data to mobile players for the sake of playability or block mobile players entirely.
Avatar
Quick question, I fat fingered the editor button instead of the play button and my curved screen corners dont allow me to press the close button, what now?
Avatar
Why did I get banned for VPN if I never used it?
Avatar
Avatar
artok
Why did I get banned for VPN if I never used it?
#✉-create-a-ticket
Avatar
Avatar
artok
Why did I get banned for VPN if I never used it?
If you use a proxy like the cloudflare 1.1.1.1 app that also triggers it
11:24
done it before
Avatar
Avatar
Sans
Quick question, I fat fingered the editor button instead of the play button and my curved screen corners dont allow me to press the close button, what now?
The back-button should work like Escape, to exit the editor
Avatar
oh thank god
Avatar
Avatar
Jupstar ✪
@Robyt3 are you aware of virtual keyboard bugs?
Doesn't happen to me, maybe randomly also fixed by the PR above
Avatar
Avatar
Robyt3
Doesn't happen to me, maybe randomly also fixed by the PR above
Jupstar ✪ 2024-07-23 11:29
possible
Avatar
chatting seems fine for me as well
Avatar
Jupstar ✪ 2024-07-23 11:29
will later try
Avatar
weird, I somehow have better ping on mobile even though im using the same network on both pc and mobile
11:36
it doesnt look like it's just a spike, it's constantly like this, about 15ms lower
Avatar
Avatar
Sans
it doesnt look like it's just a spike, it's constantly like this, about 15ms lower
Jupstar ✪ 2024-07-23 11:42
do you use wifi on both?
Avatar
pc is cable to router and my phone is on wifi
Avatar
Jupstar ✪ 2024-07-23 11:42
then the ping might simply be wrong bcs wifi is less stable
Avatar
if anything pc should have lower ping
Avatar
Jupstar ✪ 2024-07-23 11:42
even if it's lower
Avatar
Jupstar ✪ 2024-07-23 11:43
also as stupid as it sounds. cl_prediction_margin can alter the ping xD
11:43
e.g. cl_prediction_margin 18 on a local server gives ping 0 xD
Avatar
chillerdragon BOT 2024-07-23 11:45
@Teero: yes I did basic mintee stuff
11:45
Also live map editor that’s fun
11:47
8b3e686 Fix text input rapidly activated/deactivated when closing console - Robyt3 fe2843b Merge pull request #8637 from Robyt3/UI-Input-Console-Activation-Fix - Jupeyy
Avatar
Avatar
chillerdragon
@Teero: yes I did basic mintee stuff
i was thinking of doing live map generation for gores so you can play while it is generating the map. is the pr already merged?
12:19
could you link it? I can't find it (edited)
Avatar
chillerdragon BOT 2024-07-23 12:20
There is no pr yet only an issue. I don’t think it’s gonna land in ddnet any time soon. Heinrich wants full demo support for it.
12:22
I would just generate the map before players join.
Avatar
Avatar
chillerdragon
I would just generate the map before players join.
the generator relies on inputs from the players. thats the unique thing about it :D
Avatar
Avatar
chillerdragon
There is no pr yet only an issue. I don’t think it’s gonna land in ddnet any time soon. Heinrich wants full demo support for it.
pack it into a snap and handle it normally no? when someone joins all the changes to the layers could be sent at once (edited)
Avatar
Avatar
Sans
pc is cable to router and my phone is on wifi
actually same for me lol
12:33
and also better ping
Avatar
chillerdragon BOT 2024-07-23 12:39
You can’t store entire maps in the snapshot it’s too big
Replying to @Teero just pack it into a snap and handle it normally no? when someone joins a…
12:40
The issue in demos is mostly the demo seek feature which allows you to skip forwards and backwards in the demo to any time stamp. Joining players is something the server side can implement somehow yea that’s a bit of work but should be fine. (edited)
12:42
I am currently working on that a bit. I am trying to generate the full actual map and serve new players a full map download instead of a diff. This way it’s also backwards compatible. But not sure if I will manage to finish it. It’s not too easy to generate full maps on the fly on the server side. (edited)
🛹 1
Avatar
Avatar
Jupstar ✪
i think ddnet sucks on controller xdd
doesnt the deck touchpad help a bit?
13:16
not sure if it has absolute mode but i could see that being pretty nice
Avatar
Jupstar ✪ 2024-07-23 13:26
i wish i'd have bought a steam controller back when they sold them for 5€
13:26
i think they also had a touch pad
Avatar
@Robyt3 is it assured that accessing server variables on the client works? will they get set from loading the map file, due to CFGFLAG_GAME? No variable, or modifyable way? Modders have to add it to the map? https://github.com/ddnet/ddnet/blob/fe2843bb31a8acb57af2579a6983c2e06b422dc1/src/game/client/components/scoreboard.cpp#L325
13:37
Teams are disabled on my server, I only use them for 1vs1's mostly
13:37
Avatar
Avatar
fokkonaut
@Robyt3 is it assured that accessing server variables on the client works? will they get set from loading the map file, due to CFGFLAG_GAME? No variable, or modifyable way? Modders have to add it to the map? https://github.com/ddnet/ddnet/blob/fe2843bb31a8acb57af2579a6983c2e06b422dc1/src/game/client/components/scoreboard.cpp#L325
Yes, AFAIK CFGFLAG_GAME settings are only loaded from maps on the client side
13:55
#7589
Avatar
Issue from here: ddnet-insta#63 But this bug also exists upstream so issue here. 2023-12-02.22-24-25.mp4 On first bounce it hits the player clientside but not serverside second bounce it doesn't
Avatar
How can i get all the KoG server ip adresses?
Avatar
Avatar
zaerin
How can i get all the KoG server ip adresses?
You can get them here: https://info.ddnet.org/info
Avatar
GitHub BOT 2024-07-23 14:13
Only install client/server icons and desktop file if corresponding targets are enabled
Avatar
Avatar
murpi
You can get them here: https://info.ddnet.org/info
the problem is this page gives 107 servers including NLD, HUN etc which doesnt exist rn
14:15
Need only the online 47 servers
Avatar
Combine it with the data of online servers from https://master1.ddnet.org/ddnet/15/servers.json
Avatar
or tell Avolicious to fix it
Avatar
GitHub BOT 2024-07-23 14:49
7f1123e Install icons and desktop file conditionally - AMDmi3 5b81b29 Merge pull request #8638 from AMDmi3/patch-1 - Learath2
Avatar
@Jupstar ✪ did u know llvm wants to deprecate ofast
15:02
Currently, -Ofast means effectively -ffast-math -O3. I think we should “soft-deprecate” the option: emit no deprecation diagnostic, but have it simply become an alias for -O3. An alternative would be to fully deprecate, and potentially later remove -Ofast – but IMO just making it an alias will be less impactful, and achieve the goal. Why should...
Avatar
@Jupstar ✪ do you have a map + settings combination to "benchmark" on?
Avatar
Avatar
Ryozuki
@Jupstar ✪ did u know llvm wants to deprecate ofast
Jupstar ✪ 2024-07-23 15:06
🫠
Avatar
Avatar
Learath2
@Jupstar ✪ do you have a map + settings combination to "benchmark" on?
Jupstar ✪ 2024-07-23 15:06
?XD
15:06
absolutely no idea what you mean
15:07
you want to benchmark map rendering?
Avatar
Avatar
Jupstar ✪
?XD
I want to quantify how good this igpu is
15:08
What map do you go on and what settings do you use when you say you have a gorillion fps?
Avatar
Avatar
Learath2
What map do you go on and what settings do you use when you say you have a gorillion fps?
Jupstar ✪ 2024-07-23 15:08
i use a gores map that has no particle entities like ninja or stuff or lasers. So basically pure gores and then entities on
15:09
for example i often use ckisbzw1
15:10
and then i see i only have 5k fps 😭
15:10
wtf happened
15:10
getting worse every day
15:12
i need kde6.. my current version is beyond brocken.. if i disable compositor i have worse FPS than with compositor on xd
Avatar
I get about 1.5k
15:13
That's more than I expected on an igpu
Avatar
Jupstar ✪ 2024-07-23 15:13
that isnt bad for an igpu
15:13
what is that?
15:13
which
Avatar
I get 2.2k with ogl3.3 damn
Avatar
Avatar
Jupstar ✪
what is that?
Radeon 780M
Avatar
Avatar
Learath2
Radeon 780M
Jupstar ✪ 2024-07-23 15:15
APU?
15:15
also what screen resolution do you have?
Avatar
Avatar
Jupstar ✪
APU?
I think these things are considered APUs yeah it's a Ryzen 7 7840U
15:17
2256x1504
Avatar
Avatar
Learath2
2256x1504
Jupstar ✪ 2024-07-23 15:18
ah nice not bad. can you read the power consumption?
15:18
would highly interest me
Avatar
hm, I know how to read it but I don't have a tool that would show it to me live
Avatar
Jupstar ✪ 2024-07-23 15:19
which OS?
Avatar
linux, gentoo
Avatar
Jupstar ✪ 2024-07-23 15:19
watch -n 1 sensors
15:19
normally amd gpus have built in power meters
15:20
dunno for APUs tho
Avatar
mh sensors won't work, it's acpi on this laptop
Avatar
Jupstar ✪ 2024-07-23 15:32
i just tried out https://github.com/Umio-Yasuno/amdgpu_top but i am not sure if the gpu metrics thing also uses sensors internally
Avatar
#!/bin/bash voltage=$(cat /sys/class/power_supply/BAT1/voltage_now) current=$(cat /sys/class/power_supply/BAT1/current_now) power=$(("$voltage" * "$current")) power=$(("$power" / 1000000000000)) echo "$power"
15:33
I wrote a smol script
15:34
but it's total power usage not just gpu
15:39
ah amdgpu-top works
15:39
lets see
Avatar
Avatar
Jupstar ✪
i just tried out https://github.com/Umio-Yasuno/amdgpu_top but i am not sure if the gpu metrics thing also uses sensors internally
Jupstar ✪ 2024-07-23 15:39
@Ryozuki it's also written in rust
15:39
just noticed lmao
Avatar
Which one are you interested in? total power or only gpu?
Avatar
Avatar
Learath2
Which one are you interested in? total power or only gpu?
Jupstar ✪ 2024-07-23 15:39
gpu mostly
15:40
at max fps
Avatar
Avatar
Jupstar ✪
gpu mostly
about 31W
Avatar
Avatar
Learath2
about 31W
Jupstar ✪ 2024-07-23 15:42
with the gl3.3 backend?
Avatar
same for vk and ogl
Avatar
Jupstar ✪ 2024-07-23 15:42
ok
15:43
20W more efficient than my GPU on ~2200 fps
Avatar
I wonder why gl is better on this machine, perhaps it's RADV being shit
Avatar
Avatar
Learath2
I wonder why gl is better on this machine, perhaps it's RADV being shit
Jupstar ✪ 2024-07-23 15:46
the difference is defs very huge. generally i also saw that on purely GPU bound scenarios that opengl beat vulkan for me too. You could join a 64p server and open the scoreboard
15:46
and see how FPS compares then
15:46
then it's much more CPU bound
15:46
generally speaking vulkan is not rendering faster. it just removes driver overhead (mostly CPU bound)
Avatar
Avatar
Jupstar ✪
ah nice
Doesn't seem to work. Looks like we either have to patch OpenSSL to work on Android (https://stackoverflow.com/a/66926685) or wait for an upstream patch (https://github.com/openssl/openssl/pull/24002).
Avatar
archimede67 2024-07-23 19:29
@murpi (or other admins) any news on the saves being disabled? https://discord.com/channels/252358080522747904/420565311863914496/1262449640029294684
Avatar
GitHub BOT 2024-07-23 20:47
9365e14 Fix 'auto' GPU identification and display - DynamoFox c7bcdc3 Merge pull request #8575 from DynamoFox/fix-dgpu-selection - Jupeyy
Avatar
всем ку
Avatar
Avatar
Lera_Love
всем ку
здарова как жизнь
21:24
есть успехи в программировании?
Avatar
Avatar
Tsumugi
здарова как жизнь
очееень плоха
21:40
дднет лагать начала оччччччень жестко
21:40
э
21:40
днем играл не было лагов
21:41
щас играю лагает 10-15 фпс
Avatar
капец непруха
Avatar
please bring russian to #off-topic
Avatar
rus in #off-topic
21:41
>_>
Avatar
Avatar
Tsumugi
капец непруха
не знаешь че за фигня ?
Avatar
@Lera_Love #off-topic
Avatar
Avatar
Ewan
>_>
angl in
Avatar
❤️
Avatar
oy
21:42
он знает что я не лера
Avatar
it'r over
Avatar
а то что лера моя девушка прост
Avatar
прошу прочитай наши сообщения хоть один раз и пойми что все каналы кроме #off-topic англоязычные
21:43
if you need help though better use #questions
Avatar
Avatar
Lera_Love
а то что лера моя девушка прост
justatest
Avatar
but still they're all english-only
Avatar
Avatar
zhn
прошу прочитай наши сообщения хоть один раз и пойми что все каналы кроме #off-topic англоязычные
ой
Avatar
Avatar
Learath2
hm, I know how to read it but I don't have a tool that would show it to me live
⚡ Energy consumption metrology agent. Let "scaph" dive and bring back the metrics that will help you make your systems and applications more sustainable ! - hubblo-org/scaphandre
Avatar
Avatar
Robyt3
Doesn't seem to work. Looks like we either have to patch OpenSSL to work on Android (https://stackoverflow.com/a/66926685) or wait for an upstream patch (https://github.com/openssl/openssl/pull/24002).
Doesn't android have its own native ssl library? Maybe use that instead of openssl
Avatar
Port of DDNet 9 to the Nintendo 3DS. Contribute to headshot2017/ddnet-3ds development by creating an account on GitHub.
22:05
this port feels much more stable than the other 3 consoles i've ported the game to, so i went and released the ROM for it (edited)
Avatar
Oh well:
Note that this does not give you SSL/TLS support. If you need SSL/TLS, you have to build curl with a SSL/TLS library, e.g. OpenSSL, because it is impossible for curl to access Android's native SSL/TLS layer.
22:06
Can we use native Android https layer instead or would that be too much work?
22:09
@Headshot Why DDNet 9 btw?
22:09
Because last version with SDL1?
Avatar
it's been the easiest version for me to make ports of
22:11
SDL gets replaced with system functions during the porting process (edited)
Avatar
chillerdragon BOT 2024-07-23 22:54
@Headshot: when contribute your stuff to the SDL repo hehe
Exported 469 message(s)
Timezone: UTC+0