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-29 00:00 and 2024-07-30 00:00
Avatar
chillerdragon BOT 2024-07-29 02:06
@Teero: where did the jetpack projectiles go?
Avatar
Avatar
chillerdragon
@Teero: where did the jetpack projectiles go?
It's all a fake demo
02:06
Generated from inputs and map data
Avatar
Avatar
chillerdragon
@Teero: where did the jetpack projectiles go?
Be grateful that I hacked dj particles for endless jump in
02:07
They don't exist by default
Avatar
Quick question. Can you make differently coloured lasers from the serverside? (edited)
Avatar
GitHub BOT 2024-07-29 04:06
C++ CMsgPacker Msg(NETMSG_PING, true); Here true stands for a system message. Where false would mean game message. This is used all over the code base I don't think its very descriptive. Nicer would be C++ CMsgPacker Msg(NETMSG_PING, MSG_SYSTEM); The msg packer could accept an enum class as argument or we could also use something more hacky like C++ #define MSG_SYSTEM true #define MSG_GAME false
Avatar
ws-client BOT 2024-07-29 04:39
<ChillerDragon> yes
04:39
<ChillerDragon> or wait idk i think fokko for sure proposed that
Avatar
question for everyone: are the shopping carts in your local markets 4 wheel turn or 2 wheel turn?
Avatar
ws-client BOT 2024-07-29 04:42
<ChillerDragon> @Teero after quickly reading this i think the server can only determine the type and the client then picks a color per type https://github.com/ddnet/ddnet/pull/5639/files
Since we&#39;re doing a push to assist newer players, I think it would be a good idea to differentiate the different types of lasers, so that non-moving laser entities aren&#39;t confused w...
04:42
<ChillerDragon> @louis my local market has no shopping carts o.O
04:42
<ChillerDragon> also #off-topic? xd
Avatar
i feel like developer is also the off topic for english at this point
Avatar
ws-client BOT 2024-07-29 04:44
<ChillerDragon> if you suggest tabs over spaces here heinrich will censor your ass
Avatar
Avatar
ws-client
<ChillerDragon> @Teero after quickly reading this i think the server can only determine the type and the client then picks a color per type https://github.com/ddnet/ddnet/pull/5639/files
ah okay so no full rgb? sadge
Avatar
Avatar
louis
i feel like developer is also the off topic for english at this point
for english speaking technically knowledgeable personals
Avatar
how to get player's chat message?
Avatar
Avatar
棉裤
how to get player's chat message?
press F1. You can copy the messages from there
Avatar
nonono
06:07
i mean get it in code
06:07
but thanks you
06:07
i known now (edited)
Avatar
ah lol
06:07
wait
06:08
serverside or clientside?
Avatar
serverside
Avatar
Avatar
棉裤
serverside
DDraceNetwork, a free cooperative platformer game. Contribute to ddnet/ddnet development by creating an account on GitHub.
Avatar
Avatar
louis
question for everyone: are the shopping carts in your local markets 4 wheel turn or 2 wheel turn?
2
Avatar
Avatar
Teero
Quick question. Can you make differently coloured lasers from the serverside? (edited)
As chiller said, I added that yes
Avatar
Avatar
louis
question for everyone: are the shopping carts in your local markets 4 wheel turn or 2 wheel turn?
4 wheels
Avatar
Avatar
fokkonaut
As chiller said, I added that yes
How Dare you Use voxels colored Lasers! Have some respect given He wants it fully removed (i'm Joking please dont punish i have family)
banhammer 2
🍉 1
kek 1
Avatar
Avatar
meloƞ
How Dare you Use voxels colored Lasers! Have some respect given He wants it fully removed (i'm Joking please dont punish i have family)
Ik that's a joke, but besides that I helped him creating that thing
Avatar
Avatar
louis
question for everyone: are the shopping carts in your local markets 4 wheel turn or 2 wheel turn?
2, iirc
07:35
i dont think i have seen 4 wheel turn yet? :D
Avatar
Avatar
louis
question for everyone: are the shopping carts in your local markets 4 wheel turn or 2 wheel turn?
supermarket 4 wheels turning, hardware stores usually just 2
07:36
we talking the amount of wheels without a fixed direction right?
Avatar
Avatar
louis
question for everyone: are the shopping carts in your local markets 4 wheel turn or 2 wheel turn?
4
Avatar
Avatar
meloƞ
How Dare you Use voxels colored Lasers! Have some respect given He wants it fully removed (i'm Joking please dont punish i have family)
You will be jailed
Avatar
Avatar
louis
question for everyone: are the shopping carts in your local markets 4 wheel turn or 2 wheel turn?
Jupstar ✪ 2024-07-29 07:45
pretty sure only saw 4 in my life. else u couldnt go sideways
07:45
don't trust these ppl that say 2
07:46
07:46
similar to these most look here in my region
Avatar
Avatar
louis
question for everyone: are the shopping carts in your local markets 4 wheel turn or 2 wheel turn?
archimede67 2024-07-29 07:46
2 wheel turn
Avatar
Avatar
ScReeNy
we talking the amount of wheels without a fixed direction right?
yeah
07:52
i've used both 2 in the US and 4 in korea
07:53
4 is a double edged sword, so much harder to turn if you have a heavy cart (edited)
Avatar
Avatar
Jupstar ✪
pretty sure only saw 4 in my life. else u couldnt go sideways
you can, it just turns like a car
Avatar
maybe im stupid but i find it rly hard to use one with 2 xd
Avatar
GitHub BOT 2024-07-29 07:54
79036aa Add 18 € funding for POL by Teelevision - def-
Avatar
Avatar
louis
you can, it just turns like a car
Jupstar ✪ 2024-07-29 07:54
don't lie, in murica you simply directly drive your car into the stores
Avatar
@Teelevision Thanks!
Avatar
These are the ones i know with only 2 in germany:
Avatar
play Wordle on DDNet
Avatar
chillerdragon BOT 2024-07-29 08:27
Epic
08:27
BTW „your word does not exist“ *
Avatar
Avatar
chillerdragon
BTW „your word does not exist“ *
sorry, english not my parent language
Avatar
cool ^^
08:44
you should try displaying it in broadcast, it might look a little less messy
Avatar
chillerdragon BOT 2024-07-29 08:50
Well the responses belong to the attempts I think the chat history makes perfect sense for that
Avatar
MilkeeyCat 2024-07-29 09:02
is dereferencing a pointer faster than accessing value from an array? thonk
Avatar
Avatar
MilkeeyCat
is dereferencing a pointer faster than accessing value from an array? thonk
Jupstar ✪ 2024-07-29 09:03
what kind of array?
Avatar
Avatar
MilkeeyCat
is dereferencing a pointer faster than accessing value from an array? thonk
not really
Avatar
array of pointers (edited)
09:05
kek
Avatar
compiler can optimize array iterating afair
Avatar
it's not iterating, I guess
09:05
is it?
Avatar
Avatar
Jupstar ✪
what kind of array?
MilkeeyCat 2024-07-29 09:06
array of u8s
Avatar
Avatar
MilkeeyCat
array of u8s
Jupstar ✪ 2024-07-29 09:06
const sized?
09:06
or inside a Vec?
Avatar
Avatar
MilkeeyCat
array of u8s
compiler could vectorize read/write instructions if size is known in compile time
09:06
especially if you are iterating over it xd
Avatar
heinrich5991 2024-07-29 09:07
which language are you talking about btw? rust? C? C++? assembly?
Avatar
Avatar
Jupstar ✪
const sized?
MilkeeyCat 2024-07-29 09:07
malloc is used
Avatar
Avatar
heinrich5991
which language are you talking about btw? rust? C? C++? assembly?
MilkeeyCat 2024-07-29 09:07
C
Avatar
ah then it doesnt matter xd
Avatar
might be easier to understand with two minimal examples pointer access vs array access
Avatar
unsure though, maybe ryo or jupsti have better things to say
Avatar
Avatar
MilkeeyCat
malloc is used
Jupstar ✪ 2024-07-29 09:08
i mean if the ptr has no offset and your array has an offset, you have to calc that offset. But i can assume that on most arches this doesnt take an extra cycle
09:08
but you can never know for certain (edited)
Avatar
MilkeeyCat 2024-07-29 09:09
https://craftinginterpreters.com/a-virtual-machine.html i was just reading this part and was interesting is it really :p
Avatar
heinrich5991 2024-07-29 09:10
if you have a pointer vs a pointer + index, then just a pointer will be faster in the very general case, because it's saving some memory
Avatar
Avatar
MilkeeyCat
https://craftinginterpreters.com/a-virtual-machine.html i was just reading this part and was interesting is it really :p
heinrich5991 2024-07-29 09:10
Its type is a byte pointer. We use an actual real C pointer pointing right into the middle of the bytecode array instead of something like an integer index because it’s faster to dereference a pointer than look up an element in an array by index.
09:10
int foobar(int *a) { return *a; } int barfoo(int *a, long index) { return a[index]; }
09:11
looks like both things will take a fraction of a cycle
09:11
maybe even the same amount of cycle fractions
Avatar
Avatar
MilkeeyCat
https://craftinginterpreters.com/a-virtual-machine.html i was just reading this part and was interesting is it really :p
Jupstar ✪ 2024-07-29 09:12
tbh i dont even understand what they mean
09:12
it sounds like they also do a array access just manually
09:14
ah they emulate instruction pointers
Avatar
Avatar
heinrich5991
if you have a pointer vs a pointer + index, then just a pointer will be faster in the very general case, because it's saving some memory
Hm, sure? Most architectures have offset addressing for free, no?
Avatar
Avatar
chillerdragon
Well the responses belong to the attempts I think the chat history makes perfect sense for that
ahh its like multiplayer i see now
Avatar
Jupstar ✪ 2024-07-29 09:15
@MilkeeyCat is your language already usable?
09:15
like can i code stuff in it
Avatar
Avatar
Jupstar ✪
like can i code stuff in it
MilkeeyCat 2024-07-29 09:15
you can do mafs in it
Avatar
Avatar
Learath2
Hm, sure? Most architectures have offset addressing for free, no?
heinrich5991 2024-07-29 09:15
if you have to access two words from memory or carry around two words, then that's going to use a cache line or some register
09:16
the cost isn't in the instruction itself
09:16
but tbf the cost here is really minimal, and you should be optimizing meaningful stuff first ^^
Avatar
Ah, I see, yeah that would make sense
Avatar
heinrich5991 2024-07-29 09:33
Let's do it Here's a pass at what remains to be done to enable the first release of Rust-based fish. I hope this will be a checklist to drive the release forwards. tl;dr: resolve blocking i...
Avatar
Jupstar ✪ 2024-07-29 09:33
i found this: https://github.com/fereidani/kanal which is insane (the benchmarks) What i often dislike about such libs is, that it's so hard to guess what weaknesses such libs have.. e.g. what bottlenecks
The fast sync and async channel that Rust deserves - fereidani/kanal
09:33
Avatar
Avatar
Learath2
You will be jailed
pepe_holy monkaStop MonkaS feelsbadman
Avatar
https://conferences.sigcomm.org/sigcomm/2015/pdf/papers/p57.pdf can someone take a look at this data structure? Do you see how it would handle a shorter prefix and a longer prefix both existing? Hole punching is not exactly uncommon in ip routing, but it seems only leaves have routing data
Avatar
14 Pages? Let me give my apprentice some stuff to do and i can read through it, that way i atleast look busy lmao
Avatar
3 and 3.1 are probably where this information is stored
Avatar
MilkeeyCat 2024-07-29 10:27
that's a lot of smart words justatest
Avatar
Its really interesting
10:28
Hard to understand tho justatest
Avatar
@Teero yo
10:36
yo
Avatar
Avatar
Learath2
https://conferences.sigcomm.org/sigcomm/2015/pdf/papers/p57.pdf can someone take a look at this data structure? Do you see how it would handle a shorter prefix and a longer prefix both existing? Hole punching is not exactly uncommon in ip routing, but it seems only leaves have routing data
heinrich5991 2024-07-29 11:05
do longer and shorter prefixes exist somewhere?
11:06
(in IP routing, I mean)
Avatar
Avatar
heinrich5991
do longer and shorter prefixes exist somewhere?
I think so, they even mention the hole punching issue in the paper
Avatar
heinrich5991 2024-07-29 11:06
hole punching means something related to NAT to me. first time I hear it in this context (edited)
Avatar
Yeah, first time I've heard of it used like this was this paper too:
Hole punching is an event such that a longer prefix divides a shorter prefix’s address space, necessitating the routing table to deal with the address space as three distinct divisions
Avatar
heinrich5991 2024-07-29 11:07
Hole punching may refer to: Hole punch, an office tool used to create holes in sheets of paper Punch (tool), a hard metal rod with a narrow tip which can be used for forming holes Hole punching (networking), a technique in computer networking to establish a connection between two parties behind firewalls Hole punching, deallocation of storage s...
11:07
ah
Avatar
I think I need an augmented trie of sorts, with data in some internal nodes too, then I can just consider the very last data I get when traversing to a leaf. (edited)
Avatar
heinrich5991 2024-07-29 11:10
sounds about right
11:11
you could also treat it like in your quote:
necessitating the routing table to deal with the address space as three distinct divisions
11:11
i.e. expand the shorter prefix to a bunch of longer prefixes
Avatar
Ah hm, I could
11:12
While I have you here, do you have any idea how multiway tries handle data that's not divisible by their chunksize?
11:13
Say you are inserting a 10bit prefix, but this poptrie thing is 64-ary, so 6 bits per chunk
11:13
Where do you put the leaf even? 😄
Avatar
heinrich5991 2024-07-29 11:14
in each of the the children that fits?
11:14
idk
Avatar
AH, that would make sense actually I was wondering what they meant in 3.3 with redundant leaves
11:15
Maybe I will just do a 16-ary trie, that way both ipv4 and ipv6 addresses are completely divisable
Avatar
heinrich5991 2024-07-29 11:15
doesn't help, prefixes might still not be divisible by 4
Avatar
Hm true, in that case might aswell use all the bits available
Avatar
Jupstar ✪ 2024-07-29 12:04
chillerdragon: can you also search for file uploads in irc, or do you not even get the msg for it? (edited)
12:04
grep me "version"
12:06
or txt
12:06
author is deen
Avatar
heinrich5991 2024-07-29 12:06
if you want to crawl, there's https://archive.strct.cc/ddnet/
Avatar
Avatar
deen
Current player versions on all official servers: 1 11080 1 12001 1 12060 1 13002 1 13565 1 14001 1 902 2 0.7:15050 2 10034 2 12091 2 13001 2 13097 2 14071 2 15023 3 12092 3 13022 3 14010 3 15011 3 15025 3 15444 4 15012 5 20000 6 14051 6 15024 6 15032 6 15060 8 15040 10 14032 11 15013 16 15005 23 15062 23 15090 24 15054 51 0.7:-1 58 15070 61 15080 111 15081 3874 15091
Jupstar ✪ 2024-07-29 12:08
ah found it xd
12:09
back then there were no mobile players at all
12:09
how come we have 4000 now
12:09
lmao
Avatar
heinrich5991 2024-07-29 12:11
different counting probably?
Avatar
Avatar
heinrich5991
different counting probably?
Jupstar ✪ 2024-07-29 12:13
is our current counting accurate?
12:13
i mean we have barely 3k players
12:13
on average, how can 4k of these be mobile
Avatar
heinrich5991 2024-07-29 12:13
sounds like the 4k are counted differently. how did you obtain that number?
Avatar
chillerdragon BOT 2024-07-29 12:13
File uploads usually arrive on irc as discord cdn links. They actually still do but are now unauthorized. The file name and extension is contained in the urls. So grepping deen txt would work.
Replying to @Jupstar ✪ chillerdragon: can you also sed for file uploads in irc, or do you not e…
Avatar
Avatar
heinrich5991
sounds like the 4k are counted differently. how did you obtain that number?
Jupstar ✪ 2024-07-29 12:14
@murpi used some script that looked like it's is used by ddnet admins xd
Avatar
Avatar
murpi
#!/bin/sh counts_file="temp_counts.txt" > "$counts_file" for i in $(cat ~/servers/all-locations); do ssh $i.ddnet.org " filtered_lines=\$(grep -A3 'server: player has entered the game.' servers/servers/*log* | sort | uniq) filtered_lines=\$(echo \"\$filtered_lines\" | grep 'version=') echo \"\$filtered_lines\" | sort | awk -F'version=' '{ count[\$2]++ } END { for (version in count) print version, count[version] }' | sort " >> "$counts_file" done awk '{ version = $1 count = $2 counts[version] += count } END { for (version in counts) print version, counts[version] }' "$counts_file" > temp_output.txt while read -r version count; do echo "$version was found $count times" >> results.txt done < temp_output.txt rm "$counts_file" temp_output.txt
Jupstar ✪ 2024-07-29 12:15
^
Avatar
Avatar
Jupstar ✪
on average, how can 4k of these be mobile
Because the 3,000 players aren't the same players all the time (edited)
Avatar
Avatar
Jupstar ✪
^
heinrich5991 2024-07-29 12:24
dunno how deen counted the concurrent players. can't think of anything right now
Avatar
Avatar
murpi
Because the 3,000 players aren't the same players all the time (edited)
Jupstar ✪ 2024-07-29 12:30
yeah but even if it's on one day
12:30
3000 unique mobile players
12:30
would be completely insane
12:30
just alone finding that shitty 9.3 apk xD
Avatar
Avatar
Jupstar ✪
yeah but even if it's on one day
it's more than one day
12:31
We keep logs for 2 full days (some servers even stay up for even longer)
Avatar
Jupstar ✪ 2024-07-29 12:32
even if it's 10 days
12:32
and they all play on mobile internet xD
Avatar
I.e some of the multeasymap servers are alive for more than 2 weeks
Avatar
Avatar
Jupstar ✪
and they all play on mobile internet xD
Yeah, thats if you keep assuming that the 3k players are the same people
12:34
then it'd insane
Avatar
Avatar
murpi
Yeah, thats if you keep assuming that the 3k players are the same people
Jupstar ✪ 2024-07-29 12:35
no unique would be more insane to me
12:35
than the same persons
12:36
it would not be insane to me if the app would be on the play store
12:36
then ppl try it, uninstall again
Avatar
You're telling me you really believe we only have 3k players in the entire world? (edited)
Avatar
Avatar
murpi
You're telling me you really believe we only have 3k players in the entire world? (edited)
Jupstar ✪ 2024-07-29 12:36
3k mobile players
Avatar
Avatar
Jupstar ✪
i mean we have barely 3k players
This is false too btw
Avatar
Avatar
murpi
This is false too btw
Jupstar ✪ 2024-07-29 12:39
avg
Avatar
not even avg
Avatar
Avatar
murpi
not even avg
Jupstar ✪ 2024-07-29 12:39
then let it be the double amount
12:40
it's not like i cannot believe that there are so many mobile players. i simply assume the increase of mobile players must be very recent event
Avatar
Huh, our steam charts look so weird, I wonder what happened there?
Avatar
heinrich5991 2024-07-29 12:40
Steam player count for DDNet is currently 4632 players live. DDNet had an all-time peak of 4662 concurrent players on 26 July 2024.
Avatar
Avatar
Jupstar ✪
it's not like i cannot believe that there are so many mobile players. i simply assume the increase of mobile players must be very recent event
I truly can not believe 3k people play mobile ddnet. That's insane, the only available client is barely functional. Where is this data from?
Avatar
Avatar
heinrich5991
What is the oscillation at the end?
Avatar
heinrich5991 2024-07-29 12:41
which zoom level is that?
Avatar
chinese players switching to mobile
Avatar
6 may to 29 jul, not a set level
12:42
Perhaps they aggregate old data so it doesn't have the resolution for the oscillations to show
Avatar
heinrich5991 2024-07-29 12:42
12:42
seems like a bug
Avatar
Yeah If I pick 3m it disappears, I guess picking a small zoom then zooming it out in the bottom doesn't resample the data properly (edited)
Avatar
heinrich5991 2024-07-29 12:43
I can reproduce. seems like a bug
Avatar
why not just run the player version script aggain and see how many mobile are online currently
12:44
or were there 3k online at some point?
Avatar
Avatar
louis
why not just run the player version script aggain and see how many mobile are online currently
heinrich5991 2024-07-29 12:44
I don't know whether we have a version script or where it would be
12:44
the one posted above doesn't only count currently online players
Avatar
@Jupstar ✪ where did you read 4k mobile btw?
Avatar
heinrich5991 2024-07-29 12:46
in the script output from murpi
Avatar
In that message you linked the only common version seems to be 15091, that's not mobile
Avatar
Avatar
murpi
The client ID appeared a total of 4252 times in the last 2-3 days on DDNet, excluding the CHN servers
Including CHN* cuz I used all-locations apperantly
Avatar
4252 sounds like an insane amount of mobile players using a client we don't have on any store, support or advertise
🚀 1
12:49
I wonder if it's a bot epidemic hoping it confuses the antibot instead 😅
Avatar
Jupstar ✪ 2024-07-29 13:12
@murpi i'd be interested in the count of mobile players if we remove the IP from the uniq check
13:12
i wonder many attempts total were made on the servers
Avatar
chillerdragon BOT 2024-07-29 13:21
headbot also uses ddnet 9 for his console ports maybe half of those players are playing on a Nintendo 3DS
Avatar
Jupstar ✪ 2024-07-29 13:22
maybe the 3ds marketshare is also 4000 players
13:22
apparently it's not about how hard it is to download the version
13:22
😬
Avatar
Avatar
Jupstar ✪
@murpi i'd be interested in the count of mobile players if we remove the IP from the uniq check
So basically just how many times ddnet: cid=2 version=<version> occurs in our logs? ^^
13:28
(don't remember the mobile version again)
Avatar
Avatar
murpi
(don't remember the mobile version again)
Jupstar ✪ 2024-07-29 13:28
903
13:28
yes
Avatar
Another interesting count would be how many times that line occurs for any version overall, so we could say what percent of joins is with a mobile client
Avatar
Avatar
Learath2
Another interesting count would be how many times that line occurs for any version overall, so we could say what percent of joins is with a mobile client
Jupstar ✪ 2024-07-29 13:30
tru
Avatar
Avatar
Jupstar ✪
903
Fake Info (edited)
13:38
Hmmmmmmmmmmmmmmmmmmmmm
Avatar
Jupstar ✪ 2024-07-29 13:38
the hype is gone
13:38
xd
Avatar
Indeed
13:38
It's still quite a lot though
Avatar
heinrich5991 2024-07-29 13:40
what's the total count?
13:40
wait. why are we only looking at cid=2? ^^
Avatar
Jupstar ✪ 2024-07-29 13:40
what even is cid=2?
Avatar
heinrich5991 2024-07-29 13:40
client ID 2
Avatar
Jupstar ✪ 2024-07-29 13:40
and what is that xd
Avatar
heinrich5991 2024-07-29 13:40
like in the server code
Avatar
Jupstar ✪ 2024-07-29 13:40
ah
13:41
wow, so many client id 2 mobile players
13:41
that is sus again too xD
Avatar
heinrich5991 2024-07-29 13:41
😄
Avatar
I noticed we also have duplicates of certain logs now
13:41
Let me redo the check
13:46
How do I grep files named *.log and *.log.old but not *.log.tmp?
Avatar
Jupstar ✪ 2024-07-29 13:46
chillerdragon: tell us
13:47
i use chatgpt for such stuff 😬
Avatar
heinrich5991 2024-07-29 13:49
*.log *.log.old
13:50
servers/servers/*.log servers/servers/*.log.old
Avatar
ah, so I can just chain multiple paths
13:51
there's also --exclude=path apperantly (edited)
13:53
if someone with steam access can generate that
13:53
esp now that many russian ppl joined
Avatar
ddnet for i in $(cat ~/servers/all-locations); do ssh $i.ddnet.org "echo $i; grep -E 'ddnet: cid=[0-9]{1,2} version=903' servers/servers/*.log servers/servers/*.log.old" | wc -l; doneOut: 379 50 266 700 3194 2604 6 55 53 14 7 28 12 20 30 76 78 28 68 63 37 1574 36 4 16 7 9 9 6Sum: 11,494 (edited)
Avatar
Avatar
murpi
ddnet for i in $(cat ~/servers/all-locations); do ssh $i.ddnet.org "echo $i; grep -E 'ddnet: cid=[0-9]{1,2} version=903' servers/servers/*.log servers/servers/*.log.old" | wc -l; doneOut: 379 50 266 700 3194 2604 6 55 53 14 7 28 12 20 30 76 78 28 68 63 37 1574 36 4 16 7 9 9 6Sum: 11,494 (edited)
Jupstar ✪ 2024-07-29 13:55
oh nice
13:58
now with all versions or what? 😄
Avatar
Jupstar ✪ 2024-07-29 13:58
if it says 1 million... then man would be epyc
Avatar
Avatar
murpi
pepeW
Jupstar ✪ 2024-07-29 13:59
does it take so long?
Avatar
Avatar
Jupstar ✪
Jupstar ✪ 2024-07-29 14:01
@deen please if u find time, or put onto your todo list 😄
Avatar
Avatar
Jupstar ✪
does it take so long?
with chatgpt I get random jibberish
14:07
I guess I could just run my old script without uniq
Avatar
Jupstar ✪ 2024-07-29 14:07
ddnet for i in $(cat ~/servers/all-locations); do ssh $i.ddnet.org "echo $i; grep -E 'ddnet: cid=[0-9]{1,2} version=[0-9]+' servers/servers/*.log servers/servers/*.log.old" | wc -l; done
14:07
shouldnt that work
Avatar
That'd just return every line and doesn't actually count the occurances of each version
Avatar
Jupstar ✪ 2024-07-29 14:09
isnt that what we want xd
14:09
ah u mean every version separatelly
14:09
yeah that would be cool too
Avatar
Avatar
murpi
with chatgpt I get random jibberish
Jupstar ✪ 2024-07-29 14:13
do you use gpt4? xddd
Avatar
Avatar
Jupstar ✪
do you use gpt4? xddd
Whatever version is free at https://chatgpt.com/
Avatar
Avatar
murpi
I guess I could just run my old script without uniq
Jupstar ✪ 2024-07-29 14:17
use your old script but dont use -A 3 but instead only as many lines as needed to have ddnet: cid= ...
14:18
also in your old script you input a version and then it shows the count of that version only
14:18
where do you even have that script from
14:18
it was actually quite good xd
Avatar
I wrote it for Robyte xd
14:18
Don't remember the context
Avatar
Jupstar ✪ 2024-07-29 14:19
ah it really only needs the -A parameter adjusted i think
Avatar
Avatar
Jupstar ✪
also in your old script you input a version and then it shows the count of that version only
Jupstar ✪ 2024-07-29 14:19
so this isnt true
Avatar
@Jupstar ✪ 2 million people own DDNet on Steam! Crazy to me to have 1.6 million users and the average player played 1 hour! I can't take a screenshot that large: https://ddnet.org/steamhardware.html
Avatar
Avatar
deen
@Jupstar ✪ 2 million people own DDNet on Steam! Crazy to me to have 1.6 million users and the average player played 1 hour! I can't take a screenshot that large: https://ddnet.org/steamhardware.html
Jupstar ✪ 2024-07-29 14:21
epyc thanks
Avatar
Avatar
deen
@Jupstar ✪ 2 million people own DDNet on Steam! Crazy to me to have 1.6 million users and the average player played 1 hour! I can't take a screenshot that large: https://ddnet.org/steamhardware.html
I wonder why this info isn't public
14:21
steamdb doesn't seem to show all-time unique players
Avatar
SteamDB can't access it, only the game owners can
Avatar
Jupstar ✪ 2024-07-29 14:22
wtf.. is this a VM or what xD
14:22
1 cpu core
Avatar
Yeah, or disabled cores in BIOS/Kernel
Avatar
Avatar
deen
SteamDB can't access it, only the game owners can
Yeah, why don't they make this public
Avatar
Game owners might not want that public
Avatar
That's a lot more interesting to me than concurrnent players
14:23
Hmmm
14:24
I guess it could expose total sales
14:26
<ChillerDragon> a bunch of random logs from servers i host on my vps
14:28
<ChillerDragon> $ grep -Er "ddnet: cid=[0-9]+ version=903$" | cut -d = -f3 | wc -l
14:28
<ChillerDragon> 193
14:28
<ChillerDragon> 175 * xd
14:28
<ChillerDragon> wait what?
14:28
<ChillerDragon> does that mean someone with mobile client joined 175 times on ma servers? xd
Avatar
Avatar
Jupstar ✪
yeah some interesting stats ~40% laptop users.. thats quite high RAM <4GB 1% VRAM <1GB 4.53% SSE3 100% around 5.4% with GPUs that are really old, ivy bridge, haswell, some old ATI cards etc. (edited)
Jupstar ✪ 2024-07-29 14:29
compared to this: less ppl with <4GB RAM: 0.19% (before: 1.04%) only very few ppl less with <1GB VRAM: 3.91%
Avatar
Avatar
murpi
I guess it could expose total sales
Just make it opt-in or something?
Avatar
heinrich5991 2024-07-29 14:31
it's opt-in now ^^ deen can share it
Avatar
Jupstar ✪ 2024-07-29 14:32
more ppl with 1280 x 1024 resolution... that must be the new russian players lol
lol 1
14:33
i also would have expected that FullHD increased its marketshare
Avatar
heinrich5991 2024-07-29 14:33
very few players with non-windows, just ~2%
Avatar
Jupstar ✪ 2024-07-29 14:33
yeah, rip
14:33
14:34
chinese not dominant anymore
14:34
xd
Avatar
Avatar
Jupstar ✪
Click to see attachment 🖼️
What is this?
Avatar
Jupstar ✪ 2024-07-29 14:35
who of the devs uses steam in german? 😬
14:35
i use kde in german but steam is english xDD
14:36
it's steam survey but only for ddnet users
Avatar
Jupstar ✪ 2024-07-29 14:36
so the actual amount is higher
14:36
only read it statistically
14:36
nouis 1
14:36
this is the one from 2022
14:36
if you want to compare
Avatar
Avatar
Jupstar ✪
who of the devs uses steam in german? 😬
Melon and deen?
Avatar
Jupstar ✪ 2024-07-29 14:37
deen 100% english
14:37
melon is a windows enjoyer
Avatar
Avatar
murpi
How do I grep files named *.log and *.log.old but not *.log.tmp?
I do *.log*
Avatar
Avatar
Jupstar ✪
deen 100% english
I thought he is German, but it turns out he is Great Britainian? Oh well.
Avatar
Avatar
EGYT
I thought he is German, but it turns out he is Great Britainian? Oh well.
Jupstar ✪ 2024-07-29 14:38
no but he uses his software in english
Avatar
Avatar
Learath2
I do *.log*
That'd do *.log.tmp too
14:38
(new change)
Avatar
Avatar
Jupstar ✪
no but he uses his software in english
Oh.
Avatar
Jupstar ✪ 2024-07-29 14:39
chillerdragon: why is indonesia not in the list xdddd
Avatar
Avatar
murpi
That'd do *.log.tmp too
Ah, didn't know this exists now
Avatar
Jupstar ✪ 2024-07-29 14:39
u should do more advertising
Avatar
Avatar
Learath2
Ah, didn't know this exists now
--exclude=*.log.tmp if you want to keep the ending wildcard
Avatar
chillerdragon BOT 2024-07-29 14:41
rip I mean there was the one guy from Jakarta who posted in #developer but his steam might be English
Replying to @Jupstar ✪ chillerdragon: why is indonesia not in the list xdddd
14:41
Or he is gangster and has no steam
Avatar
MilkeeyCat 2024-07-29 14:56
He playes from irc
Avatar
Avatar
Learath2
Ah, didn't know this exists now
It's not supposed to be there, I forgot a rm -f 😄
Avatar
Avatar
murpi
How do I grep files named *.log and *.log.old but not *.log.tmp?
grep *.log!(.tmp) (edited)
16:12
or something like this
Avatar
heinrich5991 2024-07-29 16:13
or grep *.log{,.old}
Avatar
archimede67 2024-07-29 16:18
what happens to a player if the player crashes while changing maps?
16:18
for instance i crashed while changing map and when I connected my name is (1)archimede67 and does not change back
16:20
Avatar
heinrich5991 2024-07-29 16:21
workaround: change name twice
Avatar
archimede67 2024-07-29 16:23
oh thanks!
Avatar
Avatar
Jupstar ✪
melon is a windows enjoyer
No i am Not you rude:(
16:30
I am on nixos
16:31
And i am on english 98% of the time
Avatar
Avatar
meloƞ
And i am on english 98% of the time
Jupstar ✪ 2024-07-29 16:32
you have windows on english or what
Avatar
Yes, Not Sure If my nixos is on German or english tho lmao
16:35
Easier to get Tech Support If all settings are english on Default
Avatar
Hello again. I have a question. Does anybody know, where the event for a hammer hit on the client side is called? I need the sender id and target id.... I just couldnt find it on the clients side...
Avatar
Avatar
Trexic
Hello again. I have a question. Does anybody know, where the event for a hammer hit on the client side is called? I need the sender id and target id.... I just couldnt find it on the clients side...
Jupstar ✪ 2024-07-29 16:36
i dont think there is target or sender id
16:37
it's simply an event with a position
Avatar
But how does the client know that it was hammered?
Avatar
Jupstar ✪ 2024-07-29 16:37
bcs its velocity changed
Avatar
To calc the new velocity?
16:38
Ye
16:38
Oh
16:38
And it receives no hammer hit event at all??
Avatar
Avatar
Trexic
And it receives no hammer hit event at all??
Jupstar ✪ 2024-07-29 16:38
it does, that is the visual effect you see when it is hit
16:38
but sadly our network code doesnt add lot of information to it
Avatar
Oh... okay than I have to make a workaround ig
16:40
Where's the effect and is the Player near by or something like that
16:41
Thank you anyway 😃
17:01
@bencie that's a little too much !!!
justatest 1
🍻 1
Avatar
drunkness mechanic is what ddnet needed this whole time (edited)
17:05
literally, so everyone go get a Grog at the official Tavern of DDNet
17:05
XD
17:06
(you actually become drunk the more you drink)
Avatar
what is the limit
17:07
where is tue vomit
17:07
the
Avatar
if you reach 4 permille, ur gonna be wanted by police, but only > 4.4 will actually kill you (depending on your own limit)
Avatar
definitly need fluid mechanics
Avatar
wtf
17:07
wait
17:07
i just realized it's almost 100 players
17:07
on blmapchill
Avatar
how to train your limit
Avatar
there's no training rn, just based on register date
Avatar
and where is the alcohol wizardry
Avatar
where are you
Avatar
"drunken punch" and stuff
17:09
train your drinking skills like you train your mana pool xD
Avatar
xDD
Avatar
GitHub BOT 2024-07-29 19:47
The function is unused and because the message is not flushed it would also not have worked correctly. The NETMSG_INPUT message is already packed and flushed in the CClient::SendInput function. Closes #8408.

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 poss...
Avatar
afternoon
21:41
any devs?
Avatar
GitHub BOT 2024-07-29 22:05
92b0b90 Remove unused CClient::DirectInput function - Robyt3 dac12c7 Merge pull request #8665 from Robyt3/Client-DirectInput-Removal - def-
Avatar
No devs, only a translator
Avatar
chillerdragon: wire pls
Avatar
ws-client BOT 2024-07-29 23:53
<ChillerDragon> omw
Exported 385 message(s)
Timezone: UTC+0