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-31 00:00 and 2024-08-01 00:00
Avatar
Avatar
Sedonya
gm
norming
Avatar
ws-client BOT 2024-07-31 03:27
<ChillerDragon> morin fred
Avatar
chillerdragon: are you chill
Avatar
good morning :)
05:25
I have a question, how are skin requests done?
Avatar
Avatar
Sans
I have a question, how are skin requests done?
you mean this? -> #📍info
Avatar
Avatar
TsFreddie
you mean this? -> #📍info
no
05:31
it's related to the recent convo in #questions
Avatar
oh so technically
Avatar
pretty sure it is just a url prefix with <skinname>.png at the end. not sure how technically detailed were you expecting
05:33
if you have a server or cdn that serves files like this it'll work
Avatar
MilkeeyCat 2024-07-31 05:34
So just simple http get request?
Avatar
i would thought so
05:34
haven't looked into it. but it probably just starts with a http get request. decoding and uploading to vram comes later and automatically i would imagine
05:35
also requests are cached i guess.
Avatar
so the client builds the request using the url from cl_skin_community_download_url like this then?
{url}/{skin name}.png
Avatar
yes
Avatar
ah neat
Avatar
might even be {url}{skin name}.png
05:36
or both
Avatar
depends how the client handles the slash
Avatar
i'm not 100% sure, but it is easy to find out and test i think
Avatar
if it doesnt, then the ending slash is needed
05:39
if this is how it works then i dont see why there couldnt be some indicator for skins that were not found, like this issue suggests
Avatar
it should be easy, but i think it is just designed like that. you probably don't want a fullscreen worth of purple blobs on your screen
05:44
lots of players uses local skins and never intend to upload them anywhere, at least they should show up at normal tees.
Avatar
Avatar
Sans
if this is how it works then i dont see why there couldnt be some indicator for skins that were not found, like this issue suggests
#8602 was introduced to do that. Also your console will Tell you If it couldnt find skin X, thus showing you its Name
Avatar
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 add...
Avatar
oh that's neat
Avatar
Avatar
Jupstar ✪
Click to see attachment 🖼️
Cool phone version, but u could alao make throwing a tee possible :/
06:30
Also*
06:31
Why do i everytime type a instead of s
Avatar
Avatar
meloƞ
#8602 was introduced to do that. Also your console will Tell you If it couldnt find skin X, thus showing you its Name
love you
Avatar
MilkeeyCat 2024-07-31 06:59
Hi, I have skill issues in rust, send help. I make CodeGen struct by passing generic myself, see https://github.com/MilkeeyCat/meraki/blob/59a823d5c2a8f5b0314d7bbf9b4698ce47bdf01d/src/main.rs#L49-L51 but how can I make it work so that I can dynamically pass it xd(i want to make a cli option to choose architecture to generate code for)
Avatar
Avatar
MilkeeyCat
Hi, I have skill issues in rust, send help. I make CodeGen struct by passing generic myself, see https://github.com/MilkeeyCat/meraki/blob/59a823d5c2a8f5b0314d7bbf9b4698ce47bdf01d/src/main.rs#L49-L51 but how can I make it work so that I can dynamically pass it xd(i want to make a cli option to choose architecture to generate code for)
teach me rust
Avatar
Avatar
Milfey
Cool phone version, but u could alao make throwing a tee possible :/
Jupstar ✪ 2024-07-31 07:14
that sounds like a skill issue lmao
07:15
that version is not by me btw
07:15
if you want to contribute do it in #8359
Avatar
Please discuss how the ingame controls for Android could look and work like in this issue first. Technical requirements: Android controls should be a separate gameclient component and require minim...
Avatar
Avatar
TsFreddie
teach me rust
MilkeeyCat 2024-07-31 08:48
i don't know it myself xddd
Avatar
Avatar
MilkeeyCat
i don't know it myself xddd
big sad
Avatar
Avatar
TsFreddie
big sad
MilkeeyCat 2024-07-31 08:50
ask ddpg creator
Avatar
Avatar
TsFreddie
teach me rust
Jupstar ✪ 2024-07-31 08:53
here i teach you rust let chunks = self.demo_chunks.split_off(&key); // bit overcomplicated but split_off :/ let chunks = std::mem::replace(&mut self.demo_chunks, chunks); (edited)
08:54
hope that didn't help you
Avatar
Avatar
MilkeeyCat
Hi, I have skill issues in rust, send help. I make CodeGen struct by passing generic myself, see https://github.com/MilkeeyCat/meraki/blob/59a823d5c2a8f5b0314d7bbf9b4698ce47bdf01d/src/main.rs#L49-L51 but how can I make it work so that I can dynamically pass it xd(i want to make a cli option to choose architecture to generate code for)
MilkeeyCat 2024-07-31 08:55
@Jupstar ✪ @heinrich5991 obviously you wanted to help me but just missed the message
Avatar
Avatar
Jupstar ✪
here i teach you rust let chunks = self.demo_chunks.split_off(&key); // bit overcomplicated but split_off :/ let chunks = std::mem::replace(&mut self.demo_chunks, chunks); (edited)
based
Avatar
Avatar
MilkeeyCat
@Jupstar ✪ @heinrich5991 obviously you wanted to help me but just missed the message
Jupstar ✪ 2024-07-31 08:57
i dont understand what your problem is, sry xd
Avatar
MilkeeyCat 2024-07-31 08:57
oke
Avatar
Jupstar ✪ 2024-07-31 08:57
you have a struct and want to dynamically pass it?
08:57
where exactly here is your issue
08:57
what is dynamically passing xd
Avatar
MilkeeyCat 2024-07-31 08:58
see Amd64 there?
Avatar
Jupstar ✪ 2024-07-31 08:58
yes
08:59
so based on your input option you want a different generic?
Avatar
MilkeeyCat 2024-07-31 08:59
ye
Avatar
Jupstar ✪ 2024-07-31 09:00
and now is the question if lets say you do: match arch { "amd64" => CodeGen::<Amd64>::new(scope) .compile(stmts, &args.output) .unwrap_or_else(|e| giveup(Box::new(e)));, "x86" => CodeGen::<X86>::new(scope) .compile(stmts, &args.output) .unwrap_or_else(|e| giveup(Box::new(e))); } that would be too complicated?
09:00
or too much code?
09:00
is CodeGen created more often than this?
09:01
u can move your whole loop into a new function that takes a generic argument for example
09:01
then you dont have double code here
f3 1
Avatar
@Ryozuki help
Avatar
MilkeeyCat 2024-07-31 09:08
ooooor, i could use dyn and do this let _: Box<dyn Architecture> = match str { "amd64" => Box::new(Amd64::new()), "x86" => Box::new(X86::new()), }; and pass a parameter :\
Avatar
Avatar
MilkeeyCat
ooooor, i could use dyn and do this let _: Box<dyn Architecture> = match str { "amd64" => Box::new(Amd64::new()), "x86" => Box::new(X86::new()), }; and pass a parameter :\
you dont really need boxing this justatest
Avatar
Avatar
MilkeeyCat
ooooor, i could use dyn and do this let _: Box<dyn Architecture> = match str { "amd64" => Box::new(Amd64::new()), "x86" => Box::new(X86::new()), }; and pass a parameter :\
Jupstar ✪ 2024-07-31 09:09
you can do that, but then you also need a trait
09:09
i dunno what exactly you need, but IMHO reducing traits isn't something bad
09:09
traits are kinda code duplication too 😄
Avatar
jupstars solution W
Avatar
Avatar
zhn
you dont really need boxing this justatest
MilkeeyCat 2024-07-31 09:10
i can't use with Box but if I add & the value will be dropped
Avatar
Avatar
MilkeeyCat
ooooor, i could use dyn and do this let _: Box<dyn Architecture> = match str { "amd64" => Box::new(Amd64::new()), "x86" => Box::new(X86::new()), }; and pass a parameter :\
Jupstar ✪ 2024-07-31 09:10
how exactly do you pass that to codegen btw?
Avatar
Avatar
MilkeeyCat
i can't use with Box but if I add & the value will be dropped
Jupstar ✪ 2024-07-31 09:11
yeah the way you do it needs box indeed
Avatar
Avatar
Jupstar ✪
i dunno what exactly you need, but IMHO reducing traits isn't something bad
Jupstar ✪ 2024-07-31 09:12
in you case you ofc need a trait for your architecture anyway
Avatar
Avatar
MilkeeyCat
i can't use with Box but if I add & the value will be dropped
i meant if youd use jupjopjaps solution
Avatar
Jupstar ✪ 2024-07-31 09:12
i just wonder how you pass that Box<dyn > now
09:13
but anyway Box<dyn ..> always gives up a bit of context for a compiler i guess
09:13
since it doesn't know the original type
Avatar
Avatar
Jupstar ✪
how exactly do you pass that to codegen btw?
MilkeeyCat 2024-07-31 09:14
it will not be a generic anymore and i would need to store it in struct as pub struct CodeGen { arch: Box<dyn Architecture>, scope: Scope, }
09:14
idk how to make it the best ;p
Avatar
just use the snippet jupstar gave u xd
09:15
easy and not overwhelming solution
Avatar
Avatar
MilkeeyCat
it will not be a generic anymore and i would need to store it in struct as pub struct CodeGen { arch: Box<dyn Architecture>, scope: Scope, }
Jupstar ✪ 2024-07-31 09:15
Yeah let's say it like that: It's a matter of taste for sure. Other ppl will say your solution is nicer bcs it doesn't create yet another generic argument. I'd say from the code i saw in your repo, doing it as generic as possible is nicer
09:16
Box<dyn ..> must be object safe, so you cannot extend it later easily
09:16
e.g. if you want to add serialization support or whatever
Avatar
Avatar
MilkeeyCat
Hi, I have skill issues in rust, send help. I make CodeGen struct by passing generic myself, see https://github.com/MilkeeyCat/meraki/blob/59a823d5c2a8f5b0314d7bbf9b4698ce47bdf01d/src/main.rs#L49-L51 but how can I make it work so that I can dynamically pass it xd(i want to make a cli option to choose architecture to generate code for)
heinrich5991 2024-07-31 10:10
you can't dynamically pass type parameters. you can list all cases
Avatar
heinrich5991 2024-07-31 10:27
@MilkeeyCat btw, you can either make your fn main() -> Result<(), Box<dyn std::error::Error>> or change your current main to a different function with the above signature, so you can handle the errors in one place
Avatar
MilkeeyCat 2024-07-31 10:28
ok, thanks
Avatar
heinrich5991 2024-07-31 10:30
(in the first case, rust will handle printing the error and exiting with a nonzero status)
Avatar
Jupstar ✪ 2024-07-31 10:37
@MilkeeyCat LMAO: "Achtung:" such a mlikeey moment
Avatar
Avatar
Jupstar ✪
@MilkeeyCat LMAO: "Achtung:" such a mlikeey moment
MilkeeyCat 2024-07-31 10:40
tja
Avatar
Avatar
MilkeeyCat
tja
Jupstar ✪ 2024-07-31 10:41
german in one word: Hallo, Hallo?, HALLOOOO!? Haaaaaaaaaaalloooooooooo? that is all you need to communicate
Avatar
Avatar
Jupstar ✪
german in one word: Hallo, Hallo?, HALLOOOO!? Haaaaaaaaaaalloooooooooo? that is all you need to communicate
MilkeeyCat 2024-07-31 10:42
i know only "jaja, sehr gut" in german
10:42
i was learning it before but i forgor everything
Avatar
Jupstar ✪ 2024-07-31 10:42
jaja is often considered negativly
10:42
jaja nerv nischt
justatest 1
Avatar
MilkeeyCat 2024-07-31 10:42
justatest
10:43
oh and I remember from Cendren's stream "du dummkopf" xd
Avatar
Avatar
MilkeeyCat
oh and I remember from Cendren's stream "du dummkopf" xd
Jupstar ✪ 2024-07-31 10:45
see, when u learn russian, you only learn the hardcore insults. when you learn german you learn kiddie insults xdd
Avatar
@Jupstar ✪ Hello is there a way to add mapres, gameskin etc to the data/ddnet folder on mobile?
10:56
I can see it using 3rd party programs but none of them lets me modify the content
Avatar
Avatar
zaerin
@Jupstar ✪ Hello is there a way to add mapres, gameskin etc to the data/ddnet folder on mobile?
Jupstar ✪ 2024-07-31 10:57
you can modify interal_storage/Android/data/org.ddnet.client/files/user like a normal data directory
10:57
if your file manager doesn't let you to do that, then maybe your OS completly disallows it, dunno
10:57
i am no android expert xd, ask google
Avatar
Avatar
Jupstar ✪
i am no android expert xd, ask google
MilkeeyCat 2024-07-31 10:58
you helped me to record logs on da phone, u phone expert xd
Avatar
Avatar
zaerin
@Jupstar ✪ Hello is there a way to add mapres, gameskin etc to the data/ddnet folder on mobile?
Jupstar ✪ 2024-07-31 10:58
generally, never modify ddnet's data dir that is shipped by the client directly. Not even on pc
10:58
that is read-only
Avatar
Avatar
Jupstar ✪
generally, never modify ddnet's data dir that is shipped by the client directly. Not even on pc
i meant the user dir, mb
Avatar
Avatar
Jupstar ✪
you can modify interal_storage/Android/data/org.ddnet.client/files/user like a normal data directory
Jupstar ✪ 2024-07-31 10:59
for me it is in this path
10:59
i could modify files there
Avatar
1 /storage/emulated/0/‪Android/data/org.ddnet.client/files/user/maps/Syre.map: open failed: EACCES (Permission denied) ZArchiver gives this error on android 14
11:00
When i try to paste a map file
Avatar
Jupstar ✪ 2024-07-31 11:00
does the "maps" directory already exist?
Avatar
Yes, there is even an "auto" folder inside (edited)
Avatar
Jupstar ✪ 2024-07-31 11:01
does your phone not offer a internal file manager?
11:01
i dunno wtf ZArchiver is, but maybe u didnt give it enough permission
Avatar
The internal one doesnt even let me see the com.ddnet.org folder or any other stuff inside data
Avatar
Jupstar ✪ 2024-07-31 11:02
or try with USB cable on pc
Avatar
Avatar
Jupstar ✪
or try with USB cable on pc
that works but im 800km away from home 🥲
Avatar
Jupstar ✪ 2024-07-31 11:03
do it in a public library xd
Avatar
Avatar
zaerin
1 /storage/emulated/0/‪Android/data/org.ddnet.client/files/user/maps/Syre.map: open failed: EACCES (Permission denied) ZArchiver gives this error on android 14
You need to explicitly give file manager apps permission to access each other apps' storage
Avatar
chillerdragon BOT 2024-07-31 11:58
Can someone explain me why discord is full about complaints that people get banned for vpn? What about the people that did not find the discord and just started another game instead?
thonk 2
Avatar
Avatar
chillerdragon
Can someone explain me why discord is full about complaints that people get banned for vpn? What about the people that did not find the discord and just started another game instead?
what?
Avatar
MilkeeyCat 2024-07-31 12:07
@Jupstar ✪ i asked for advice and did the exact opposite https://github.com/MilkeeyCat/meraki/commit/a538a63db31730ddf5d3605696dc44d47ec7a9bc lol
Avatar
Avatar
chillerdragon
Can someone explain me why discord is full about complaints that people get banned for vpn? What about the people that did not find the discord and just started another game instead?
i mean... it's not like we have a explicit motivation to improve player retention.
12:11
catxplosion not that different than joining the game, get thrown somewhere random, can't move, quit and delete
Avatar
Avatar
MilkeeyCat
@Jupstar ✪ i asked for advice and did the exact opposite https://github.com/MilkeeyCat/meraki/commit/a538a63db31730ddf5d3605696dc44d47ec7a9bc lol
Jupstar ✪ 2024-07-31 12:12
that's totally fine, if you like that version more then it maybe fits your coding style better
Avatar
Avatar
chillerdragon
Can someone explain me why discord is full about complaints that people get banned for vpn? What about the people that did not find the discord and just started another game instead?
yeah, it‘s pretty sad. reliable vpn detection seems expensive
Avatar
Avatar
Jupstar ✪
that's totally fine, if you like that version more then it maybe fits your coding style better
MilkeeyCat 2024-07-31 12:15
if I had three versions of CodeGen with different archs, rust would generate code for each version, ye? (edited)
Avatar
It can, doesnt mean it will afair (edited)
Avatar
MilkeeyCat 2024-07-31 12:17
match arch { "amd64" => CodeGen::<Amd64>::new(scope) .compile(stmts, &args.output) .unwrap_or_else(|e| giveup(Box::new(e)));, "x86" => CodeGen::<X86>::new(scope) .compile(stmts, &args.output) .unwrap_or_else(|e| giveup(Box::new(e))); } in this case it will generate for X86 and Amd64? (edited)
Avatar
Avatar
chillerdragon
Can someone explain me why discord is full about complaints that people get banned for vpn? What about the people that did not find the discord and just started another game instead?
Avolicious 2024-07-31 12:18
VPN detection without intel is a wild guess and ip range updates are announced every second, so ip intel is super hard tho
Avatar
Avatar
MilkeeyCat
match arch { "amd64" => CodeGen::<Amd64>::new(scope) .compile(stmts, &args.output) .unwrap_or_else(|e| giveup(Box::new(e)));, "x86" => CodeGen::<X86>::new(scope) .compile(stmts, &args.output) .unwrap_or_else(|e| giveup(Box::new(e))); } in this case it will generate for X86 and Amd64? (edited)
Jupstar ✪ 2024-07-31 12:19
it will probably not write your whole compiler again
Avatar
Avolicious 2024-07-31 12:19
There are several techniques to "guess" if its likely that this IP is a vpn/proxy whatsoever, but its always a guess
Avatar
Avatar
MilkeeyCat
match arch { "amd64" => CodeGen::<Amd64>::new(scope) .compile(stmts, &args.output) .unwrap_or_else(|e| giveup(Box::new(e)));, "x86" => CodeGen::<X86>::new(scope) .compile(stmts, &args.output) .unwrap_or_else(|e| giveup(Box::new(e))); } in this case it will generate for X86 and Amd64? (edited)
Jupstar ✪ 2024-07-31 12:19
but this match will likely go in
Avatar
Avatar
MilkeeyCat
match arch { "amd64" => CodeGen::<Amd64>::new(scope) .compile(stmts, &args.output) .unwrap_or_else(|e| giveup(Box::new(e)));, "x86" => CodeGen::<X86>::new(scope) .compile(stmts, &args.output) .unwrap_or_else(|e| giveup(Box::new(e))); } in this case it will generate for X86 and Amd64? (edited)
Yes because match
Avatar
Avatar
Jupstar ✪
but this match will likely go in
owo i Type so slow on Phone gg
Avatar
Avatar
TsFreddie
i mean... it's not like we have a explicit motivation to improve player retention.
😠
Avatar
chillerdragon BOT 2024-07-31 12:25
But it suddenly got really bad? Something must have happened. And are the amount of false positives really worth it? How many servers have it on? (edited)
Replying to @deen yeah, it‘s pretty sad. reliable vpn detection seems expensive
Avatar
I love how the users in #8283 are always magically crippled in just the right ways that would make any proposal except the original PR usable
Avatar
Avatar
chillerdragon
But it suddenly got really bad? Something must have happened. And are the amount of false positives really worth it? How many servers have it on? (edited)
We enabled it on all servers again, that's the increase. No we don't really think it's worth it, we do have a couple ideas to make it less impactful/disable it again. Most if not all servers should have it on.
Avatar
time to merge the original pr!
12:59
users can use html for sure, your point stands in a one dimensional conparison
12:59
added a second dimension, text length, broadcast length
12:59
where html is worse
Avatar
Avatar
jxsl13
users can use html for sure, your point stands in a one dimensional conparison
hex colors allow more colors than 10^3, there you go another dimension
Avatar
I'm for extending it to hex
Avatar
an xml subset allows composing multiple future effects like bold and italic and even text size
13:01
there you go another dimension
Avatar
complexity and mainainability of a nieche feature
Avatar
nieche was rly a thinker
Avatar
where the initial proposal was just color
Avatar
Nietzsche kek
Avatar
Avatar
jxsl13
complexity and mainainability of a nieche feature
ditto, I don't think this feature will be used, thus can be discarded for maintainability reasons all the same
Avatar
this is getting seemingly nowhere.
13:03
you said yourself that you don't want a xml dependency
13:04
now you did a 180 gedree
13:04
degree
Avatar
I don't want a full xml parser in there, I don't mind a small recursive descent parser
13:04
And unlike you I seem to be able to be convinced by good arguments
Avatar
which one did you deem good?
Avatar
Avatar
Learath2
I don't want a full xml parser in there, I don't mind a small recursive descent parser
MilkeeyCat 2024-07-31 13:05
time to write one more parser justatest
Avatar
serious question
Avatar
chillerdragon BOT 2024-07-31 13:05
catto woke when someone said parser haha
13:06
Milkeey be writing C++ parsers on weekends
Avatar
composability and not having to use the long span tag from html
Avatar
Avatar
chillerdragon
catto woke when someone said parser haha
MilkeeyCat 2024-07-31 13:06
i get pings on words: assembly, lexer, parser like Tsin on ddmax
Avatar
chillerdragon BOT 2024-07-31 13:06
Based
Avatar
that's for sure a good point, I mean it's also good to easily define where color actually ends
Avatar
chillerdragon BOT 2024-07-31 13:06
Rly does tsin have that? Xd
Avatar
and it can also be used in a future server pushed ui extension we are also planning
Avatar
Avatar
chillerdragon
Rly does tsin have that? Xd
MilkeeyCat 2024-07-31 13:07
idk but i never seen someone mention ddmax without Tsin message after it
Avatar
chillerdragon BOT 2024-07-31 13:07
lmao
Avatar
how is coloration currently reset? just set to white?
Avatar
chillerdragon BOT 2024-07-31 13:07
I think it’s cool Tsin is still playing after all this time
Avatar
Avatar
jxsl13
how is coloration currently reset? just set to white?
The broadcaster sets it back to white
13:08
Normal text ^900Red text ^999Normal text (edited)
Avatar
good points
13:12
wonder whether it makes sense to start thinking now about dynamic ui elements already and whether ddnet is moving towards becoming a library in the end, super flexible in all directions, kind of like a modding toolkit, or whether it's a straight forward implementation towards some goal that is not a library in the end.
13:13
or maybe the goal might be to jast have more interesting options for mappers
13:13
just
13:14
with ui elements
Avatar
DDNet > Among Us 😄
Pog 2
Avatar
epyc
Avatar
we have come so far
Avatar
Jupstar ✪ 2024-07-31 15:00
scrcpy -M --forward-all-clicks i have never seen a mouse cursor in android yet. looks so weird xD
15:01
15:02
anyway, editor works for me on android. for forgottencat it seemed to have crashed once
Avatar
Avatar
zaerin
that works but im 800km away from home 🥲
Jupstar ✪ 2024-07-31 15:35
on a non-rooted phone i also don't get it to work xd
15:37
If the application is debuggable you can use the run-as command in adb shell
15:37
i should try that out
15:37
maybe we can ship ddnet with debuggable on
Avatar
I need to write a script that auto suspends my laptop
Avatar
Jupstar ✪ 2024-07-31 15:49
apparently this file manager can do that: https://play.google.com/store/apps/details?id=com.folderv.file i dont find any open source alternative
Avatar
The default Files app should work to access apps' internal storage on newer Android versions. It's also seems possible to enable the legacy storage behavior with adb, so all other apps can access an app's files. https://www.xda-developers.com/android-q-storage-access-framework-scoped-storage/
Avatar
Avatar
Robyt3
The default Files app should work to access apps' internal storage on newer Android versions. It's also seems possible to enable the legacy storage behavior with adb, so all other apps can access an app's files. https://www.xda-developers.com/android-q-storage-access-framework-scoped-storage/
Jupstar ✪ 2024-07-31 15:51
i can read them
15:51
but not move files into them
15:53
i find a media dir only when moving files:
15:53
i wonder if we can use that dir instead 😄
Avatar
Avatar
Ryozuki
we have come so far
but in the end it doesn't even matter
Avatar
Avatar
Jupstar ✪
i find a media dir only when moving files:
Hmm, maybe we should use the external storage as config dir if available, I don't know how common it is for the external storage to be not available
Avatar
Avatar
Robyt3
Hmm, maybe we should use the external storage as config dir if available, I don't know how common it is for the external storage to be not available
Jupstar ✪ 2024-07-31 16:00
we already do that
16:01
it's this emulated storage that can combine sdcards and normal storage
Avatar
ah, true, we already do, so it should be possible to write there as well
16:02
These directories include both a dedicated location for storing persistent files, and another location for storing cache data. Although it's possible for another app to access these directories if that app has the proper permissions, the files stored in these directories are meant for use only by your app. If you specifically intend to create files that other apps should be able to access, your app should store these files in the shared storage part of external storage instead.
16:02
If you specifically intend to create files that other apps should be able to access, your app should store these files in the shared storage part of external storage instead.
16:03
Doesn't seem like the shared storage is meant for this though, mostly for media that the app creates
Avatar
Jupstar ✪ 2024-07-31 16:03
do we care about that?
Avatar
more like, it simply doesn't work that way because config files are not media etc.
Avatar
Jupstar ✪ 2024-07-31 16:04
but how does nextcloud do it then?
16:04
i can see all my files there
Avatar
unpack the apk and check the manifest
16:05
maybe there is a way to specify that other apps can access the files
Avatar
Avatar
Robyt3
unpack the apk and check the manifest
Jupstar ✪ 2024-07-31 16:06
how can i unbinary the manifest?
Avatar
Avatar
Robyt3
maybe there is a way to specify that other apps can access the files
Jupstar ✪ 2024-07-31 16:07
but they store everything in Android/media
16:08
but i feel like it doesnt work from NDK. which is already annoying
16:08
i hate this trash OS 😬
Avatar
Avatar
Jupstar ✪
but they store everything in Android/media
yeah, using that might be the best option to make it accessible to users
Avatar
Avatar
Jupstar ✪
but i feel like it doesnt work from NDK. which is already annoying
but yeah, probably not easy with SDL+NDK
Avatar
Jupstar ✪ 2024-07-31 16:14
porting ddpg to android was pretty easy, rust makes it very easy. But i use a native activity currently and cant disable navigation it seems xD
16:15
but even with rust it was too annoying xD
Avatar
Avatar
Jupstar ✪
i hate this trash OS 😬
When JupstarOS written in Rust? 😏
Avatar
Avatar
Robyt3
When JupstarOS written in Rust? 😏
Jupstar ✪ 2024-07-31 16:16
i am in
Avatar
jupsti please collab with milkeey and create a new OS with your own GFX backend (edited)
Avatar
Avatar
Jupstar ✪
i hate this trash OS 😬
pls don't try to make another os, you'll have to implement cpp exceptions in kernel troll
cammostripes 1
Avatar
Avatar
zhn
pls don't try to make another os, you'll have to implement cpp exceptions in kernel troll
Jupstar ✪ 2024-07-31 16:22
i have an idea about a dream os, but i think it would at least take like 20 years as solo dev
16:22
so dunno if i want to risk it 😬
Avatar
Avatar
Jupstar ✪
i have an idea about a dream os, but i think it would at least take like 20 years as solo dev
MilkeeyCat 2024-07-31 16:23
will it be in C owo
Avatar
Jupstar ✪ 2024-07-31 16:23
end of year i worked ~2 years on ddpg (-1 month corona infection) and that thing still sucks hard
16:23
it's insane how time consuming dev is xd
Avatar
MilkeeyCat 2024-07-31 16:24
i thought you wrote it all in 6 months xd
Avatar
Avatar
MilkeeyCat
i thought you wrote it all in 6 months xd
Jupstar ✪ 2024-07-31 16:24
i wish xd
16:24
that was like my goal time
16:25
i started somewhere januar 2022
16:25
and i think except for the corona infection i didnt have huge breaks from it
16:25
a week holiday here and there but nothing more
16:34
giga_chad
Avatar
Jupstar ✪ 2024-07-31 17:02
bro i get baited hard
brownbear 1
nouis 1
Avatar
@heinrich5991 DDPer took F-DDrace, named it Block, and advertises it in DDNet master without being able to connect
😅 1
17:16
Same with other servers (SunnyLand)
17:16
Why do we even support those, when they are not compatible?
17:17
They should host their own masters if they don't want any vanilla(ddnet) to join
Avatar
Jupstar ✪ 2024-07-31 17:18
he already plans to remove them
Avatar
Good, and it's also weird they call themselves DDNet
17:20
wtf, just checking their site with a vpn, so weird, and u can buy all amounts of extras
17:21
Yup, they use F-DDrace 🤣
😅 1
17:23
17:23
dunno about that one
Avatar
@Jupstar ✪ is there anyway to not use android/data for usr files?
17:25
the other directories are fully accesible as im aware
Avatar
Avatar
zaerin
@Jupstar ✪ is there anyway to not use android/data for usr files?
Jupstar ✪ 2024-07-31 17:26
not that i am aware of
17:27
we could add a file downloader to the client, then u could download anything into that path lol
Avatar
Avatar
Jupstar ✪
he already plans to remove them
I wouldn't even plan it, or give them the ability register without being able to join with ddnet
17:29
We are not here so they can use DDNet's list if we can't join, imo
17:29
Code is public, they can set up their own master if they want to make their own game
Avatar
Jupstar ✪ 2024-07-31 17:30
yes
Avatar
oh, they dont use f-ddrace appearently
17:31
seems like ddnet based
Avatar
Avatar
fokkonaut
wtf, just checking their site with a vpn, so weird, and u can buy all amounts of extras
Yeah, I was also opposed to helping them much because of this
Avatar
Just drop it ?
17:32
Why are carrying this around
Avatar
Avatar
Jupstar ✪
we could add a file downloader to the client, then u could download anything into that path lol
that would be cool, android 11 > has this issue so its wide i guess
Avatar
Avatar
fokkonaut
seems like ddnet based
yes it's ddnet base not f-ddrace cuz their server are 0.6 base
Avatar
Avatar
fokkonaut
Just drop it ?
Heinrich will drop it soon
Avatar
@Learath2 at this point, if you wanna be really nice, you can tell them they have like a week to set up their own master, then they're removed
Avatar
Avatar
Peakies
yes it's ddnet base not f-ddrace cuz their server are 0.6 base
ye
Avatar
and the reason they use ddnet master cuz they use it to advertising their server and filter it in their client to show only their own server
Avatar
LOL, so why don't do just allow all clients and apply for a community?
Avatar
to prevent bots and other cheats
Avatar
Ah, so people have to download some thirf party (maybe) virus just to play?
17:35
Seems weird
Avatar
it was my way to prevent cheats but that register to master is they own way you know I don't work with them anymore so don't know exactly what's their plan
Avatar
Oh didnt know u worked for them, but i see
Avatar
Avatar
fokkonaut
Ah, so people have to download some thirf party (maybe) virus just to play?
yeah something like that but it's just a default ddnet client with a few changes in client id and etc
Avatar
Avatar
fokkonaut
Oh didnt know u worked for them, but i see
yeah about 6 or 7 years ago i think
Avatar
useless af
Avatar
I was work with ddnet persian that time I was just a 17 or 18 yo kid that I copy and wrote a few things
Avatar
Avatar
fokkonaut
useless af
yeah I already create a client that can bypass their anti bot system or anything they call it don't know
Avatar
I think that's everything they do, i dont see anything special, interesting or new things. Only copied stuff
Avatar
but they modifed their crc too I don't know what's that so I can load map just can send chat by using f1 console
Avatar
who even owns this
Avatar
Avatar
fokkonaut
I think that's everything they do, i dont see anything special, interesting or new things. Only copied stuff
well in our country we have about 200 players that playing ddper and my server have ~40 or something and we both use custom client
Avatar
Avatar
fokkonaut
who even owns this
someone named Quick
17:38
or Sj
Avatar
Avatar
Peakies
well in our country we have about 200 players that playing ddper and my server have ~40 or something and we both use custom client
But why?
Avatar
something like that
Avatar
Avatar
Peakies
or Sj
This sash guy ?
Avatar
Avatar
fokkonaut
But why?
my client cuz it's acount base
Avatar
bot client?
Avatar
i don't know their reason
Avatar
Avatar
Peakies
my client cuz it's acount base
why do you need a custom client for accounts
Avatar
Avatar
fokkonaut
This sash guy ?
no no he's not Sash
Avatar
Avatar
fokkonaut
why do you need a custom client for accounts
well it's using nodejs API for authentication and it's have some features like able to type in persian language and a few more features so I had to create my own client to maybe I be able to beat ddper and have players in my servers
17:40
but players love their points on ddrace more than features on servers
Avatar
Ahh, okay i see
Avatar
I'm working on ddnet for 10 years I think maybe more and I worked with all three biggest servers as perian pro, ddper and my current server as iranddnet
Avatar
Is your server in ddnet's master?
Avatar
Avatar
fokkonaut
Is your server in ddnet's master?
no it's not
Avatar
haha wtf is g? in vim xDD
Avatar
I think it's not right to register it on ddnet masters in case that you have to download my client to play (edited)
Avatar
Avatar
Teero
haha wtf is g? in vim xDD
i love random bs
Avatar
Avatar
Peakies
I think it's not right to register it on ddnet masters in case that you have to download my client to play (edited)
Oh, so your servers aren't registered at all, and your client provides a list of servers? Or how can I imagine it?
Avatar
Avatar
Teero
haha wtf is g? in vim xDD
Rot13 not random bs
Avatar
xdddd
17:46
what do you need it for lmao
Avatar
Avatar
fokkonaut
Oh, so your servers aren't registered at all, and your client provides a list of servers? Or how can I imagine it?
do you remember old way of ddnet serverlist it's directly send request to servers with ip and port
Avatar
Avatar
Teero
what do you need it for lmao
Idl for random bs
Avatar
ah yes, i thought so
Avatar
so I change ddnet to it's old version for loading browser but I have plan to edit mastersrv and run my own master server
Avatar
Nice!
Avatar
so it's better and more optimize than my current serverbrowser
Avatar
Discord truly is an engineering marvel
💀 2
Avatar
Avatar
Peakies
so it's better and more optimize than my current serverbrowser
Sounds good
Avatar
Avatar
fokkonaut
Sounds good
Yep
17:52
and I love your F-DDRace, you really spend time for it, I didn't use it but as I see on your github I really loved what you have done there 🤟
Avatar
Thank you! Appreciate it heartw
❤️ 1
17:53
A lot of hours spent there....
Avatar
Avatar
fokkonaut
A lot of hours spent there....
Yeah i'm sure you spend too much time to make it
Avatar
Lot of fixes, finetuning, hours of debugging, optimizing... Sleepless nighs 🤣
17:54
nights*
Avatar
I can imagine that situation specially sleepless nights 😄
Avatar
Anyways I'm really proud of the result, even after more than 6 years I still like to work on it
Avatar
I've been there for months
Avatar
Haha :D
Avatar
Avatar
fokkonaut
Anyways I'm really proud of the result, even after more than 6 years I still like to work on it
you should it's still unique and have everything that a Block server ned to have
Avatar
Just recently I have added a voting menu and the tavern, so you can drink Grog to increase your permille lvl
Avatar
even more than what's it's need to have
Avatar
Avatar
fokkonaut
Just recently I have added a voting menu and the tavern, so you can drink Grog to increase your permille lvl
yeah I check your discord mentions 😄
Avatar
Avatar
Peakies
you should it's still unique and have everything that a Block server ned to have
Not everything, a really proper account system implementation using SQL would be nice
Avatar
I've done that before it's just need time to do it's not hard just take too much time
Avatar
But my filebased system works great aswell, handling many special cases tho...
Avatar
and for your server it's multiple to 10 maybe cuz have too much things to implement and etc
Avatar
Yea, it's not specifcally hard and ddnet has a good implementation, but I am too lazy, might create 100 new bugs...
Avatar
Avatar
Peakies
and for your server it's multiple to 10 maybe cuz have too much things to implement and etc
🤣
Avatar
Avatar
fokkonaut
Yea, it's not specifcally hard and ddnet has a good implementation, but I am too lazy, might create 100 new bugs...
yeah in that case you better to not work on same branch maybe it's better start a test server and work on that cuz mysql always gonna be buggy as I remember
Avatar
Yea, and the codebase is not as perfect as I wished it to be, but it's fine and I can work with it good enough
Avatar
for first time I spend 3 or 4 days to add login, register, logout to ddnet 😄
Avatar
Especially in the beginning it can take a lot of time, you need a lot of base stuff to work with until you can create actual things quickly
Avatar
Avatar
fokkonaut
Yea, and the codebase is not as perfect as I wished it to be, but it's fine and I can work with it good enough
old version of ddnet's mysql was better to implement of account system in latest changes it's a bit hard and tricky maybe
Avatar
What has changed?
Avatar
Avatar
fokkonaut
Especially in the beginning it can take a lot of time, you need a lot of base stuff to work with until you can create actual things quickly
yeah exactly
Avatar
Avatar
fokkonaut
What has changed?
let me see
17:59
before we get scoreworker and etc
18:00
when we had game/server/score folder everything was way easier at least for me
18:01
that sql_score file were epic to add your own implementation (edited)
Avatar
MilkeeyCat 2024-07-31 18:02
@Learath2 do you have in your book collection something about operating systems? Xd
Avatar
Avatar
Peakies
that sql_score file were epic to add your own implementation (edited)
I think I can grasp what you mean
Avatar
Avatar
Peakies
Click to see attachment 🖼️
@fokkonaut and it's my client that I said before about it
Avatar
LOL
18:04
Avatar
Avatar
fokkonaut
I think I can grasp what you mean
in new version of mysql that not work on Windows 😒 is possible to add new things but a little required more work to do (edited)
Avatar
Avatar
fokkonaut
Click to see attachment 🖼️
haha 😄
Avatar
I see, client must have been a lot of work, but too much imo LOL
Avatar
Avatar
fokkonaut
I see, client must have been a lot of work, but too much imo LOL
yeah I really agree with you on that 😂
Avatar
But that looks a lot like DDPer, with Block, SunnyLand, etc
18:10
So DDPer is yours?
18:10
Or you share the same client? How does it work?
Avatar
Avatar
MilkeeyCat
@Learath2 do you have in your book collection something about operating systems? Xd
Hm, what sort of information are you looking for? Making an OS?
Avatar
Avatar
Learath2
Hm, what sort of information are you looking for? Making an OS?
MilkeeyCat 2024-07-31 18:14
what os consist of, how the parts are connected with each other and ye how to make an os xd
Avatar
Hm. I don’t remember if I do, let me check
18:14
https://lwn.net/Kernel/LDD3/ this is pretty decent if you want to write a linux device driver
Avatar
Avatar
Peakies
Click to see attachment 🖼️
deen when servers need support
👍 1
Avatar
Avatar
MilkeeyCat
what os consist of, how the parts are connected with each other and ye how to make an os xd
https://pages.cs.wisc.edu/~remzi/OSTEP/ I have this bookmarked but I didn’t read much of it yet. I did refer to it a couple times though
Avatar
Avatar
Jupstar ✪
some stuff looks really good ngl
yes
Avatar
Avatar
fokkonaut
But that looks a lot like DDPer, with Block, SunnyLand, etc
@Peakies
Avatar
Avatar
Learath2
https://pages.cs.wisc.edu/~remzi/OSTEP/ I have this bookmarked but I didn’t read much of it yet. I did refer to it a couple times though
The only other OS book I’ve heard good things about is the Dinosaur book, but I literally read none of it, can’t give any opinion
Avatar
Avatar
fokkonaut
But that looks a lot like DDPer, with Block, SunnyLand, etc
Yeah server list is like ddper but that sunnyland servers cuz our players really love that map don't know why 😐 so I run 2 ports of that single map 😄
Avatar
Avatar
fokkonaut
So DDPer is yours?
no it's not mine I have no control on ddper servers
18:31
mod's base is mine kind of
Avatar
Avatar
fokkonaut
Or you share the same client? How does it work?
no we don't share anything I have my own server and client they have their own
Avatar
Avatar
fokkonaut
@Peakies
sorry was eating my dinner 😦
18:33
but anyway this days I just busy with learning UE and spend less time on ddnet for now
Avatar
I see
Avatar
Avatar
fokkonaut
I see
yep
18:41
maybe someday I release my own game hahahaha 😄 (edited)
🥳 1
🤣 1
Avatar
Avatar
Learath2
https://pages.cs.wisc.edu/~remzi/OSTEP/ I have this bookmarked but I didn’t read much of it yet. I did refer to it a couple times though
MilkeeyCat 2024-07-31 18:53
thanks, ill check 😄
Avatar
Avatar
MilkeeyCat
thanks, ill check 😄
Check out the dinosaur book too, you can lmk if its any good
Avatar
GitHub BOT 2024-07-31 19:57
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...
20:37
petition at european level to prevent vendor to just shut down servers and let people who bought a game with nothing left
Avatar
GitHub BOT 2024-07-31 20:40
Only embedded images in RGBA format are loaded anymore, so the additional code for converting RGB to RGBA image data is not necessary.

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 th...
Avatar
Avatar
MilkeeyCat
i get pings on words: assembly, lexer, parser like Tsin on ddmax
I have no idea why people assume I have any bot or any setting to ping me on any word I just from time to time use search in right upper corner ^^ So no I don't know about everything related to what u accuse me of 😛 lots of things will always slip through my attention (not that I want to know everything or change that) also I don't reply when someone writes an opinion (good or bad one) I only reply when someone writes it intentionaly to discredit something or someone related to me =] especialy when someone does it only for attention and its not related to any topic (just to make it clear your mentioning now I don't see as offending or to seek attention xD I see it just as your observation nothing more =] ) oh and btw its easier to notice when I reply to things related to me because I don't rly write that much on ddnet discord - but when I do then I leave a wall of text muahahahaahaha evil me ^^)
22:05
cd2a20f Use OnReset function to reset damage indicators - Robyt3 f14f00d Reset damage indicators when skipping in demo - Robyt3 df0a981 Remove unused m_Lastupdate variable - Robyt3 690590c Remove unnecessary m_StartAlpha variable - Robyt3 90562b5 Make CDamageInd::OnReset function more efficient - Robyt3 782c9a5 Remove separate CreateI and DestroyI functions - Robyt3 12aa79d Avoid duplicate calculation of damage indicator life - Robyt3 fd1cc86 Remove unused code for saving embedded RGB map images - Robyt3 0831aad Merge pull request #8670 from Robyt3/Editor-Image-RGB-Cleanup - def- 2c61177 Merge pull request #8669 from Robyt3/Client-Damageind-Refactoring - def-
Exported 390 message(s)
Timezone: UTC+0