Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.org/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2024-08-18 00:00 and 2024-08-19 00:00
Avatar
Avatar
ывроплыврпролыдволдр
Click to see attachment 🖼️
did u allow connections for tcp too?
Avatar
GitHub BOT 2024-08-18 00:14
Like this commit in teeworlds 0.7: #Make the client able to have tee's without weapons Although it's a non-released change in 0.7 now, but it's really useful for mod that changed weapons, isn't it?
Avatar
Avatar
GitHub
Click to see attachment 🖼️
btw how do old servers react on invalid values? (edited)
Avatar
GitHub BOT 2024-08-18 00:17
I didn't test it ingame, because building DDNet is too slowly on my laptop. Anyone could test it?

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
  • [ ] Teste...
Avatar
GitHub BOT 2024-08-18 02:30
ddnet did extend the tileset so it is no longer matching the 0.7 grass_main renaming the file makes that clear and allows for further extensions of the file without breaking teeworlds 0.7 compability. Also it frees the filename grass_main_0.7.png to be used by the ddnet 0.7 client mode so it can display the correct mapres on 0.7 connections. This pr allows https://github.com/ddnet/ddnet/pull/8751 to replace grass_main_0.7 without breaking any custom ddnet auto mappers.

Checklist

...
Avatar
ws-client BOT 2024-08-18 02:39
<ChillerDragon> @Patiga yea thats the easy solution i also thought about that. But then its one big ass messy file and the script that checks the coverage has to change.
02:40
<ChillerDragon> @Robyt3 but why do you need to say has_finishes false then? If kog sends no finishes it would just display no flags anyways right?
02:41
<ChillerDragon> @Patiga what do you think of some selfrolled preprocessor? :D keep it multiple files in the source code and merge then all together on release?
Avatar
GitHub BOT 2024-08-18 02:59
Found by @fokkonaut in https://github.com/ddnet/ddnet/pull/8707

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 va...
Avatar
GitHub BOT 2024-08-18 03:07
Closed #8757

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...
Avatar
GitHub BOT 2024-08-18 04:30
c56d411 A Push ur Dummy, M Ghoul - ddnet-maps
Avatar
ws-client BOT 2024-08-18 04:34
<ChillerDragon> oke @Patiga i rewrote the check script to support the single file format https://gitlab.com/Patiga/twmap-py/-/merge_requests/5
If it is only one file it does not have to be a directory. This will then let maturin generate the init.py file which would also include...
Avatar
chillerdragon BOT 2024-08-18 06:41
smol prs get merged so fast. I wonder how to add actual features without making big prs. I tried to make https://github.com/ddnet/ddnet/pull/8618 as small as possible and it still became a stale 400 loc pr ._.
closes #7933 follow up to #8358 I only added a few actions for now because I don&#39;t think the prompt and all the actions belong together in one pr. I will contribute more actions as soon as ...
Avatar
GitHub BOT 2024-08-18 06:46
e8fbb44 Fix cutting 0.6 demos - ChillerDragon 9fe2203 Merge pull request #8754 from ChillerDragon/pr_fix_06_demo_cutting - def-
06:52
99fe6b0 Fix 0.7 dummy marking alpha being reset - ChillerDragon b05ffea Merge pull request #8762 from ChillerDragon/pr_fix_dummy7_marking_alpha - def-
06:53
6121be1 Rename grass_main_0.7 to ddnet_grass - ChillerDragon 830aff8 Merge pull request #8760 from ChillerDragon/pr_ddnet_grass - def-
06:58
fa1ee98 Fix race 0.7 check null pointer dereference - ChillerDragon e008f40 Merge pull request #8761 from ChillerDragon/pr_race7_nullptr - def-
Avatar
ws-client BOT 2024-08-18 06:59
<ChillerDragon> omg im thinking about ditching gnome i just cant cope with the alt+tab bug anymore. I have to refresh my entire gnome session every 5minutes
Avatar
GitHub BOT 2024-08-18 07:01
7cffdf4 Make gameclient m_Sixup an array for dummy - ChillerDragon 933a43b Make render m_Sixup an array for dummy - ChillerDragon 1758bfc Merge pull request #8730 from ChillerDragon/pr_07_separate_dummy_skins - def-
07:08
8d7c99f Implement 0.7 delete skin button - ChillerDragon f569981 Merge pull request #8755 from ChillerDragon/pr_delete_07_skins - def-
Avatar
GitHub BOT 2024-08-18 07:38
64c7ab6 Color speed in hud based on increase or decrease - ChillerDragon 21807c1 Merge pull request #8744 from ChillerDragon/pr_color_speed - def-
07:40
789fee9 Remove ddnet_hotui hook - ChillerDragon ddfd4db Merge pull request #8763 from ChillerDragon/pr_remove_ddnet_hotui - def-
Avatar
MilkeeyCat 2024-08-18 07:58
TIL rust has such syntax #[derive(Default)] struct Foo { bar: usize, baz: usize, } let foo = Foo { bar: 10, ..Default::default() };
Avatar
Avatar
ws-client
<ChillerDragon> @Robyt3 but why do you need to say has_finishes false then? If kog sends no finishes it would just display no flags anyways right?
You can have no finishes yet but finishes are allowed, i.e. if you are a new player. If has_finishes is set to true this also means the button to show finishes will be shown in the server browser, which should also be shown if you have no finishes yet.
Avatar
GitHub BOT 2024-08-18 08:36
31cc4c2 Restore grass_main_0.7.png vanilla compability - ChillerDragon 96e946d Merge pull request #8751 from ChillerDragon/pr_grass_main_07_vanilla - def-
Avatar
GitHub BOT 2024-08-18 09:22

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
  • [x] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssan...
Avatar
Avatar
Avolicious
I tried to run ChillerDragons #8751 but I do get Traceback (most recent call last): File "/twtools/./grass.py", line 7, in <module> from twmap import Map File "/.local/lib/python3.9/site-packages/twmap/__init__.py", line 2, in <module> from .map import Map, Info ModuleNotFoundError: No module named 'twmap.map' anyone else had this problem before?
fixed now with python twmap 0.6.1 :)
Avatar
ws-client BOT 2024-08-18 09:30
<ChillerDragon> does it work for u?
Avatar
yep!
Avatar
ws-client BOT 2024-08-18 09:33
<ChillerDragon> works good for me so far @Patiga btw we could also add doc comments to the .pyi file https://zillyhuhn.com/cs/.1723973595.png
Avatar
yea, many could be copied over from the rust code 🥲
Avatar
ws-client BOT 2024-08-18 09:34
<ChillerDragon> i mean the rust code has all the information also for the types
09:35
<ChillerDragon> im sure one day maturin will auto generate it all
Avatar
yea, that might take a while tho
Avatar
ws-client BOT 2024-08-18 09:36
<ChillerDragon> yep thats why we hacked it in for now
09:36
<ChillerDragon> progressive hackers
Avatar
ws-client BOT 2024-08-18 09:36
<ChillerDragon> but yea epic that it all works now poggers2
09:37
<ChillerDragon> already liked shared and subscribed with 60 of my gh accs https://zillyhuhn.com/cs/.1723973817.png
happy 1
Avatar
yea its very damn helpful already, thanks to you ^^
Avatar
chillerdragon BOT 2024-08-18 09:55
When turn off vpn bans?
Avatar
Jupstar ✪ 2024-08-18 09:55
as soon as 0.7 is unmerged
Avatar
chillerdragon BOT 2024-08-18 09:56
Yikes
09:56
Then at least hire more admins and actively monitor every ban even the ones that are not reported on discord
Avatar
Jupstar ✪ 2024-08-18 09:56
why are you no admin
Avatar
chillerdragon BOT 2024-08-18 09:56
I don’t ban enough
Avatar
Jupstar ✪ 2024-08-18 09:56
excuses
Avatar
chillerdragon BOT 2024-08-18 09:57
I got removed as a moderator because I did not ban enough people xd
09:57
Facts
Avatar
Jupstar ✪ 2024-08-18 09:57
how many ppl has robyte banned?
09:57
ingame
Avatar
chillerdragon BOT 2024-08-18 09:57
Robyte ingame xd
Avatar
Jupstar ✪ 2024-08-18 09:57
see, only excuses xD
Avatar
chillerdragon BOT 2024-08-18 09:58
Ok make me admin I’ll turn vpn protection off my self axaxax
Avatar
Jupstar ✪ 2024-08-18 09:58
ok, you get my vote
Avatar
chillerdragon BOT 2024-08-18 09:58
And delete bans.cfg
Avatar
Jupstar ✪ 2024-08-18 09:58
prision break
Avatar
chillerdragon BOT 2024-08-18 09:59
Give rcon to pink rat and sp someone
Avatar
GitHub BOT 2024-08-18 10:15
  • Fix value 0 being used for sound volume, so the tee sound was not audible.
  • Use DoButtonLogic to trigger sound to ensure it does not play while other UI elements are active.
  • Remove unnecessay MousePosition variable by using MousePos function instead.

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 ...
Avatar
Avatar
Jupstar ✪
finally hit 2k tees without crashing
heinrich5991 2024-08-18 10:18
what parts of the code crashed with large numbers of tees?
Avatar
Avatar
heinrich5991
what parts of the code crashed with large numbers of tees?
Jupstar ✪ 2024-08-18 10:19
ah well crash is a bad word. it couldnt keep up with generating new ticks anymore
10:20
so basically endless loop
Avatar
heinrich5991 2024-08-18 10:20
ah, I see
Avatar
Since when does middle mouse button reset selection windows, like communities, countries or types in ddnet filter
10:28
just figured this out :o
Avatar
vowchik56712 2024-08-18 10:33
ecnm heccrbt ?
10:34
есть русские ?
Avatar
chillerdragon BOT 2024-08-18 10:35
da
Avatar
vowchik56712 2024-08-18 10:35
ееееееееееееееее
Avatar
heinrich5991 2024-08-18 10:36
russian → #off-topic
Avatar
MilkeeyCat 2024-08-18 10:38
will it work if i start a ddnet server with fifo file, and then make a script in rust which will open that file and write data to it
10:38
will it execute commands?
Avatar
chillerdragon BOT 2024-08-18 10:39
Should work
Avatar
MilkeeyCat 2024-08-18 10:40
then it's probably my skill issues again feelsbadman
Avatar
chillerdragon BOT 2024-08-18 10:41
catto take a coding break and teach the ruski in #off-topic how to do ddnet gaming
Avatar
hey @discord wtf are you doing here
Avatar
heinrich5991 2024-08-18 10:48
what do I see there?
10:48
discord opening a lot of powershell/console processes?
Avatar
Look at the rest of the thread, someone figured out wtf discord was doing
Avatar
Jupstar ✪ 2024-08-18 10:50
give tl;dr
10:50
i dont have x account
10:51
i was banned without any reason xD
Avatar
GitHub BOT 2024-08-18 10:51
5c2ab4c Fix client sixup translation context - Bamcane b9ab234 Merge pull request #8759 from Bamcane/client-sixup-fix - Robyt3
10:51
2eff7ec Improve interactive tee in 0.7 tee settings - Robyt3 8dd2b6e Merge pull request #8765 from Robyt3/Client-Menus7-Interactive-Tee-Fixes - def-
Avatar
That's why we should collectively stop using proprietary software
Avatar
Avatar
egyt
That's why we should collectively stop using proprietary software
heinrich5991 2024-08-18 10:52
collective action doesn't work. the best option is to make the non-proprietrary software work as well
10:52
I think you've even tried using matrix for a while. what were the showstoppers?
Avatar
Avatar
heinrich5991
I think you've even tried using matrix for a while. what were the showstoppers?
none
Avatar
Avatar
Jupstar ✪
give tl;dr
Discord uses some shit library, which was calling powershell instead of using the windows api, scanning almost a thousand folders looking for nvidia-smi.exe
Avatar
Jupstar ✪ 2024-08-18 10:54
and i bet in that process it killed ddnet
10:54
and we wonder why ddnet crashes
10:54
xd
Avatar
Avatar
egyt
none
heinrich5991 2024-08-18 10:54
you seem to be using discord now though, why do you prefer that?
Avatar
Avatar
heinrich5991
I think you've even tried using matrix for a while. what were the showstoppers?
For software like that, the main showstopper is that my friends aren’t using it. Network effect really trumps everything
10:56
I would have gladly stuck to irc and mumble
Avatar
Avatar
heinrich5991
you seem to be using discord now though, why do you prefer that?
I seem, because I logged into Discord, which I do, like, 3 times a day at max. Before that I had Discord tab always open in the browser, so I was chronically online. Again, now I am not, at least if we are talking only about Discord.
Avatar
Avatar
Learath2
For software like that, the main showstopper is that my friends aren’t using it. Network effect really trumps everything
heinrich5991 2024-08-18 10:56
ah. makes sense. unfortunately discord isn't identified as a gatekeeper under the DMA, so we probably won't be able to contact them from matrix (edited)
10:57
Very long line with a secret payload at the end abusing the fact that python respects semicolons
Avatar
Also, I don't use the Matrix bridge because I don't have to chat here in the first place, because, well, my remake of the translation is already finished, and there is not much I can contribute to anyway
11:00
I was in LibreGaming Matrix bridge, for less than two days, won't disclose the reasons of me leaving because no one asked (edited)
Avatar
Avatar
Learath2
https://youtu.be/ioCSv08RdhU this is a trick I hadn’t seen yet
heinrich5991 2024-08-18 11:01
damn, discord doesn't adhere to my adblocker (obviously), youtube ads are annoying
Avatar
@egyt i highly encourage you to find a project of any kind
11:01
never stop the grind
Avatar
Avatar
heinrich5991
damn, discord doesn't adhere to my adblocker (obviously), youtube ads are annoying
Hmm, I wonder how much of chrome these modern desktop apps embed, could you install ublock on it? 😄
Avatar
heinrich5991 2024-08-18 11:02
I heard chrome tries to make ublock not work
Avatar
Ofc
Avatar
Avatar
Ewan
@egyt i highly encourage you to find a project of any kind
why
Avatar
Manifest v3 is upon us
Avatar
Like, technically I can go and contribute to Cinnamon, because for now this is where I saw the most problems with translations, but that's too big of a project (same for Kdenlive, by the way), and there is not much else that has anything I could really complain about (edited)
Avatar
Avatar
MilkeeyCat
will it execute commands?
MilkeeyCat 2024-08-18 11:04
maybe it will but the program blocks on line to open the file
Avatar
oh, almost forgot: I corrected the Ukrainian translation of AAAAXY, now I am waiting for the next release so I can make a toot about it
Avatar
Avatar
Learath2
https://youtu.be/ioCSv08RdhU this is a trick I hadn’t seen yet
heinrich5991 2024-08-18 11:08
nice video
Avatar
chillerdragon BOT 2024-08-18 11:08
When? Since free speech Elon took over its ez to get unbanned. Just write email saying pls unban and musk him self will send you a hand written sorry letter. Very pog times.
Replying to @Jupstar ✪ i was banned without any reason xD
Avatar
Avatar
chillerdragon
When? Since free speech Elon took over its ez to get unbanned. Just write email saying pls unban and musk him self will send you a hand written sorry letter. Very pog times.
Jupstar ✪ 2024-08-18 11:09
i dunno, like 2-3 years ago
Avatar
R.I.P. Nitter, btw
Avatar
Avatar
egyt
R.I.P. Nitter, btw
heinrich5991 2024-08-18 11:10
there are still working instances
Avatar
Jupstar ✪ 2024-08-18 11:10
there still are nitter alternatives, but they get raid limited way too often
11:11
my life without x is not worse, so why care xd
11:11
elon did me a favor. a friend stopped using it xD
Avatar
Jupstar ✪ 2024-08-18 11:11
he always posted x stuff all day
Avatar
Kaffeine BOT 2024-08-18 11:13
UX is still terrible. Matrix still does not support images with caption, like it is year 2004.
Replying to @heinrich5991 I think you've even tried using matrix for a while. what were the showst…
Avatar
well, I was looking into this gif and it seems like you can't view hashtags on Ex-Twitter without an account
Avatar
Kaffeine BOT 2024-08-18 11:15
Maybe it is not a stopper, as someone still use IRC but (as an IM developer contributed to four different protocol clients) I have to say that Matrix does not meet the modern user expectations.
Avatar
Jupstar ✪ 2024-08-18 11:15
do you use element.io?
Avatar
chillerdragon BOT 2024-08-18 11:16
Yep then you have good chances of getting instant unban no questions asked if you send a mail
Replying to @Jupstar ✪ i dunno, like 2-3 years ago
Avatar
Jupstar ✪ 2024-08-18 11:16
matrix has so many clients, nheko is kinda similar to telegram, but not really discord
Avatar
Avatar
chillerdragon
Yep then you have good chances of getting instant unban no questions asked if you send a mail
Jupstar ✪ 2024-08-18 11:16
ok elon, i write a mail to you
Avatar
Kaffeine BOT 2024-08-18 11:17
ATM yes. But the spec itself does not support captions, so it does not really matter: https://github.com/matrix-org/matrix-spec/issues/242
Replying to @Jupstar ✪ do you use element.io?
Avatar
chillerdragon BOT 2024-08-18 11:17
We apologize for the inconvenience. You will be unbanned by our staff shortly. UwU
Replying to @Jupstar ✪ ok elon, i write a mail to you
Avatar
heinrich5991 2024-08-18 11:17
chillerdragon: I heard you can get banned on twitter for saying the wrong words or annoying elon musk
11:18
not sure if I'd call that "free speech elon"
Avatar
Jupstar ✪ 2024-08-18 11:18
wow is twitter like ddnet discord now?
Avatar
chillerdragon BOT 2024-08-18 11:18
What are wrong words
Avatar
Jupstar ✪ 2024-08-18 11:18
xd
Avatar
chillerdragon BOT 2024-08-18 11:18
From what I hear and experienced with my account lots of unbanning happend under king elon
Avatar
Jupstar ✪ 2024-08-18 11:18
lord elon, free us from our pain, amen
Avatar
chillerdragon BOT 2024-08-18 11:19
Of course you can’t say anything against dodge coin without risking a life ban. But that seems reasonable.
Avatar
heinrich5991 2024-08-18 11:19
@JamesEsses Repeated, targeted harassment against any account will cause the harassing accounts to receive, at minimum, temporary suspensions. The words “cis” or “cisgender” are considered slurs on this platform.
11:20
and I think he banned the person tweeting the adsb data of his private jet
Avatar
Avatar
Kaffeine
ATM yes. But the spec itself does not support captions, so it does not really matter: https://github.com/matrix-org/matrix-spec/issues/242
Jupstar ✪ 2024-08-18 11:21
yeah matrix started fast and then slowed down so hard.. i feel like element io almost doesnt get stuff finished anymore. voice channels are stuff are beta since like 2 years already (edited)
Avatar
I tried so hard and got so far
Avatar
chillerdragon BOT 2024-08-18 11:24
Idk what adsb is. But was „his“ Elon or the tweeter? So someone doxed Elon?
Avatar
Avatar
egyt
I tried so hard and got so far
heinrich5991 2024-08-18 11:24
can you give an example URL I can try? (edited)
11:24
no, adsb is public data
11:24
the location of all airplanes in air is always known, because that's required by law (edited)
Avatar
chillerdragon BOT 2024-08-18 11:25
Including the owner?
Avatar
Avatar
egyt
well, I was looking into this gif and it seems like you can't view hashtags on Ex-Twitter without an account
so, uh, I guess no "I discovered the origin of <prompt>" videos from me
Avatar
heinrich5991 2024-08-18 11:25
well, if you own a private jet, then it's probably you flying it ^^
Avatar
Avatar
heinrich5991
can you give an example URL I can try? (edited)
Avatar
chillerdragon BOT 2024-08-18 11:26
Woah so every person can figure out whos private jet is where in real time???
11:26
Ultimate dox
Avatar
heinrich5991 2024-08-18 11:26
only while in the air
Avatar
chillerdragon BOT 2024-08-18 11:27
Im against moderation but temporary suspension for targeted harrasment sounds okayish
Avatar
heinrich5991 2024-08-18 11:27
seems like you tried user search. it seems to work on https://xcancel.com/search?f=users&q=nam_mac, but why do you want to search instead of viewing specific people's profiles?
Avatar
Avatar
chillerdragon
Im against moderation but temporary suspension for targeted harrasment sounds okayish
heinrich5991 2024-08-18 11:27
what? that's all DDNet does
Avatar
chillerdragon BOT 2024-08-18 11:28
Referring to the The elon cisgender tweet
Avatar
heinrich5991 2024-08-18 11:28
chillerdragon: you're okay with "temporary suspensions" like bans, that ddnet does?
Avatar
chillerdragon BOT 2024-08-18 11:28
ddnet does way worse stuff
Avatar
heinrich5991 2024-08-18 11:28
interesting news
Avatar
chillerdragon BOT 2024-08-18 11:28
It’s non free. I don’t feel safe in ddnet tbh
Avatar
heinrich5991 2024-08-18 11:29
it seems you're not pro free speech but pro your speech ^^
Avatar
chillerdragon BOT 2024-08-18 11:29
-.-
11:29
Im saying its not too bad for something like twitter.
Avatar
Avatar
heinrich5991
seems like you tried user search. it seems to work on https://xcancel.com/search?f=users&q=nam_mac, but why do you want to search instead of viewing specific people's profiles?
you asked to give me an example URL, I gave you one, now you are complaining! /s
Avatar
Avatar
egyt
you asked to give me an example URL, I gave you one, now you are complaining! /s
heinrich5991 2024-08-18 11:30
I gave you a working alternative ^^
Avatar
Jupstar ✪ 2024-08-18 11:30
zillonhuhsk
Avatar
chillerdragon BOT 2024-08-18 11:30
If you ask me there should be no bans also on twitter. But I have the feeling what Elon does is pretty chilled compared to how it was before and is in other places
Avatar
heinrich5991 2024-08-18 11:30
I think it's mostly other bans that are applied
Avatar
chillerdragon BOT 2024-08-18 11:31
Shift from what to what?
Avatar
heinrich5991 2024-08-18 11:31
you seem to be more okay with these bans. but it's weird to call it "free speech" when it's just different opinions that are banned
Avatar
ooh, hashtag search works
Avatar
chillerdragon BOT 2024-08-18 11:31
Wait which opinions are banned now?
11:31
And which were before? (edited)
Avatar
Avatar
chillerdragon
Wait which opinions are banned now?
Jupstar ✪ 2024-08-18 11:32
let's try it out: 0.7 sucks
Avatar
chillerdragon BOT 2024-08-18 11:32
Not here -.-
11:32
On twitter I mean
Avatar
Jupstar ✪ 2024-08-18 11:32
post it there
11:32
under your name
11:32
and take a screenshot for me pls
Avatar
heinrich5991 2024-08-18 11:33
https://en.wikipedia.org/wiki/Twitter_suspensions
In November 2022, Musk stated that accounts that engage in impersonation without a "clear" parody label would be permanently suspended without warning.[28] Many anti-fascist activists were purged from Twitter in November 2022 after Musk outsourced content moderation decisions to the platform's users, notably inviting right-wing journalist Andy Ngo to report anti-fascist accounts directly to him. Among those suspended were a group that provides armed security to LGBT events, accounts parodying Elon Musk, and a Palestinian news outlet known for criticizing the Israeli military.[29][30][31]
X may suspend accounts, temporarily or permanently, from their social networking service. Suspensions of high-profile accounts often attract media attention, and X's use of suspensions has been controversial.
Avatar
chillerdragon BOT 2024-08-18 11:34
Okay that I didn’t know
Avatar
Jupstar ✪ 2024-08-18 11:34
chiller do you like elon?
Avatar
chillerdragon BOT 2024-08-18 11:34
Yes I think he is fun
Avatar
Jupstar ✪ 2024-08-18 11:34
elon even got trump to say electric vehicles are good xD
Avatar
heinrich5991 2024-08-18 11:35
link?
Avatar
chillerdragon BOT 2024-08-18 11:35
Trump is also funny
11:35
So is the Facebook lizard
Avatar
Avatar
heinrich5991
link?
[citation needed]*
Avatar
chillerdragon BOT 2024-08-18 11:35
I also think Andrew Tate is entertaining
Avatar
Avatar
heinrich5991
it seems you're not pro free speech but pro your speech ^^
That's how everyone is 🙃 There are no real free speech absolutists
Avatar
Avatar
Jupstar ✪
elon even got trump to say electric vehicles are good xD
He said that, but I don't see where's the issue. You can think electric vehicles are good and not wanting them because you don't have the infrastructure to accomodate them / prefer gaz ones because of commodity
Avatar
Just like there are no real libertarians
Avatar
Avatar
Devinci
He said that, but I don't see where's the issue. You can think electric vehicles are good and not wanting them because you don't have the infrastructure to accomodate them / prefer gaz ones because of commodity
Jupstar ✪ 2024-08-18 11:36
this isnt about bashing or smth
Avatar
Avatar
Learath2
That's how everyone is 🙃 There are no real free speech absolutists
Imo on twitter nowadays you can say almost everything.
Avatar
Jupstar ✪ 2024-08-18 11:36
it's just that trump is the last person to publicly support it without elon xD
11:36
i doubt his voters are big EV fans
Avatar
Avatar
Learath2
That's how everyone is 🙃 There are no real free speech absolutists
heinrich5991 2024-08-18 11:37
no, not everyone pretends they like free speech
Avatar
Avatar
Learath2
Just like there are no real libertarians
What would you consider milei then?
Avatar
Avatar
heinrich5991
no, not everyone pretends they like free speech
That's how "every freespeech enjoyer" is, would be more accurate
Avatar
Jupstar ✪ 2024-08-18 11:37
chillerdragon: ok zillonhuhsk
Avatar
chillerdragon BOT 2024-08-18 11:37
When I’m asked stuff like „do you like elon“ it makes me feel unsafe. Like there is that common sense that everyone should dislike all the powerful people because they did bad decisions at some point
Avatar
Avatar
chillerdragon
When I’m asked stuff like „do you like elon“ it makes me feel unsafe. Like there is that common sense that everyone should dislike all the powerful people because they did bad decisions at some point
Jupstar ✪ 2024-08-18 11:38
well you aint getting rich without others being poor xd
Avatar
chillerdragon BOT 2024-08-18 11:38
Do you like Elon Jupstar ✪ ?
Avatar
Avatar
Devinci
What would you consider milei then?
Bog standard right wing populist acting libertarian when it suits him, slave to the IMF behind closed doors
Avatar
Jupstar ✪ 2024-08-18 11:38
i think it's good that he made EVs public aware in europe and USA. But otherwise i think i dislike him
Avatar
Avatar
egyt
well, I was looking into this gif and it seems like you can't view hashtags on Ex-Twitter without an account
also, uh, too bad it is NFT-related spoils it for me (edited)
Avatar
chillerdragon BOT 2024-08-18 11:39
I enjoy watching him talking about rockets sometimes
Avatar
Avatar
Learath2
Bog standard right wing populist acting libertarian when it suits him, slave to the IMF behind closed doors
Fr? I think you are completely wrong but oh well.
Avatar
chillerdragon BOT 2024-08-18 11:39
Why dislike
Replying to @Jupstar ✪ i think it's good that he made EVs public aware in europe and USA. […]
Avatar
Avatar
Devinci
Fr? I think you are completely wrong but oh well.
Well the 44b$ bailout the IMF approved for Argentina tells me exactly what sort of politician he is, I don't even need to see anything else. The IMF would never fund anything but a neoliberal regime
Avatar
chillerdragon BOT 2024-08-18 11:42
Ay I got trapped there with false accusations. Of course I feel more at ease if I know I won’t be banned while others are. But in general I would say that I actually appreciate decentralized moderation and don’t mind opposite opinions not being censored. (edited)
Replying to @Learath2 That's how everyone is 🙃 There are no real free speech absolutists
11:43
I like censoring and admin intervention to remove leaks and doxing information.
Avatar
Avatar
chillerdragon
Why dislike
Jupstar ✪ 2024-08-18 11:44
mh:
  • I guess from what i know i disagree with many of his philosophical stand points about how society might look like
  • He talks too much shit/lies: Saying a mars mission in 2024 will happen etc.
  • He knows less than he makes it look like. Very noticable when he joined X and acted as if he is some cool hipster developer xD
yeah dunno the list is long
Avatar
They are just betting on argentina's monetary growth. I would be really surprised if he becomes a "slave" to them any time soon. He advocates for free market and minimal intervention and that's what he is doing.
Avatar
Jupstar ✪ 2024-08-18 11:44
i have many half finished opinions on him, bcs he changes his views every 2nd week
Avatar
chillerdragon BOT 2024-08-18 11:44
Which philosophical standpoints
Avatar
Avatar
chillerdragon
Ay I got trapped there with false accusations. Of course I feel more at ease if I know I won’t be banned while others are. But in general I would say that I actually appreciate decentralized moderation and don’t mind opposite opinions not being censored. (edited)
If you are logically and morally consistent, traps shouldn't really work. Either there is a fallacy in the trap or a failing in your thought system
Avatar
Jupstar ✪ 2024-08-18 11:45
like when he talks about freedom, or how the earth will look like in a few years etc.
Avatar
Elon's X censors less than the old twitter, but he still censors speech that he doesn't enjoy
Avatar
chillerdragon BOT 2024-08-18 11:45
Yes of course he is a business man. Knows little acts big. Makes promises he can’t hold. That’s common for CEO type people I also don’t like it too much
Avatar
AS a vegan i cant like someone laughing at a drowned deer
Avatar
Avatar
Jupstar ✪
i have many half finished opinions on him, bcs he changes his views every 2nd week
Like? I'm not his biggest fan but he seems mostly coherent
Avatar
Avatar
chillerdragon
Yes of course he is a business man. Knows little acts big. Makes promises he can’t hold. That’s common for CEO type people I also don’t like it too much
Jupstar ✪ 2024-08-18 11:46
yeah but it doesnt make it better that other CEOs also do it xd
Avatar
chillerdragon BOT 2024-08-18 11:46
Heinrich just said that without it making sense.
Replying to @Learath2 If you are logically and morally consistent, traps shouldn't really work…
Avatar
Avatar
Learath2
Elon's X censors less than the old twitter, but he still censors speech that he doesn't enjoy
Maduro's account is still alive I think? And that's like his complete opposite
Avatar
Avatar
Devinci
Like? I'm not his biggest fan but he seems mostly coherent
Jupstar ✪ 2024-08-18 11:46
coherent in what aspect? driving cars in tunnels under a city? flying to mars in 2024? having tesla semi 2 years ago?
Avatar
chillerdragon BOT 2024-08-18 11:46
Idk wat u mean xd
Replying to @Jupstar ✪ like when he talks about freedom, or how the earth will look like in a f…
Avatar
Avatar
Jupstar ✪
coherent in what aspect? driving cars in tunnels under a city? flying to mars in 2024? having tesla semi 2 years ago?
In that he doesn't change his opinion. He has been saying stuff like that for AGES
Avatar
Avatar
Devinci
In that he doesn't change his opinion. He has been saying stuff like that for AGES
Jupstar ✪ 2024-08-18 11:47
i dunno when he joined the bitcoin hype he suddenly invented 2000 new crypto currencies xd
11:48
"tesla will accept bitcoins"
11:48
suddenly he likes dodge coins
11:48
attention seeker and ppl give him the attention
11:48
thus he has power to influence such stuff
11:48
in an unhealthy way IMO
Avatar
Let's just say that doesn't really bother me. He is an opportunist like every business man is.
11:50
On new technologies
Avatar
Avatar
Devinci
On new technologies
Jupstar ✪ 2024-08-18 11:50
he never invented any technology
11:50
so much must be said
11:50
he just sells them better xD
Avatar
I don't think he tried to scam everyone like logan paul did countless times
Avatar
Avatar
Jupstar ✪
he just sells them better xD
Yy, i said business man not engineer
Avatar
Jupstar ✪ 2024-08-18 11:51
but anyway, i dont hate him, as said. many half finished opinions
11:51
it's not clear to me what exactly his goals are. it seems he enjoys attention a lot, bcs otherwise he wouldnt post so much random stuff on twitter that gets attention
11:51
similar to donald trump (edited)
Avatar
chillerdragon BOT 2024-08-18 11:51
If he would ask me if I want to sit on his table and ride his jet. Id say yes.
Avatar
Jupstar ✪ 2024-08-18 11:51
you also dunno exactly what trump stands for
Avatar
Avatar
Devinci
They are just betting on argentina's monetary growth. I would be really surprised if he becomes a "slave" to them any time soon. He advocates for free market and minimal intervention and that's what he is doing.
IMF loans are conditional. You need to run your economy a certain way to be approved for them (you may have noticed Milei ram 2 economic reform bills very recently). If you fail to pay them back there is austerity waiting for you. Human Rights Watch classifies some of IMFs austerity measures on the verge of undermining human rights. How is that economic freedom? How is it a "free market" when you are forced to privatize anything your government owns while you are extremely undervalued? "Attracting foreign investment" by selling off your countries assets is just the "western" world getting stuff for cheap
Avatar
Avatar
Jupstar ✪
it's not clear to me what exactly his goals are. it seems he enjoys attention a lot, bcs otherwise he wouldnt post so much random stuff on twitter that gets attention
This is my pov: he has some beliefs, which he thinks are good ones, so he tries to share them as much as he can. While having some big tech companies because money good idk xd
Avatar
Anyway, we are both young enough to see the results of Milei's actions. Either he is right and this IMF rescue program will go well unlike all the ones that came before, or it'll go the way Greece's went and you'll end up with all your infrastructure owned by foreigners and no more to sell off
Avatar
Avatar
Jupstar ✪
it's not clear to me what exactly his goals are. it seems he enjoys attention a lot, bcs otherwise he wouldnt post so much random stuff on twitter that gets attention
He is just the wrong kind of nerd that ended up with too much money
11:58
LOL didn't even notice this was #developer not #off-topic
Avatar
Avatar
Learath2
IMF loans are conditional. You need to run your economy a certain way to be approved for them (you may have noticed Milei ram 2 economic reform bills very recently). If you fail to pay them back there is austerity waiting for you. Human Rights Watch classifies some of IMFs austerity measures on the verge of undermining human rights. How is that economic freedom? How is it a "free market" when you are forced to privatize anything your government owns while you are extremely undervalued? "Attracting foreign investment" by selling off your countries assets is just the "western" world getting stuff for cheap
Selling assets (dollars) is what the previous guy was doing. Milei bought while growing the debt. The whole logic of a libertarian is to privatize as much as possible so the gov has low to no impact on market. (And so no bias over political decision). Having external investment is good, it means more money for the country because people think it will work. Idk, I'm pretty optimistic for them. The previous regime was just awfull. Having prices going up every day is just not the way
Avatar
#developer is always #off-topic troll
☑️ 1
Avatar
Avatar
MilkeeyCat
will it work if i start a ddnet server with fifo file, and then make a script in rust which will open that file and write data to it
MilkeeyCat 2024-08-18 12:04
it wasn't working because i was trying to open fifo file when ddnet server didn't make it yet 😬
Avatar
Developer is spicy off-topic
Avatar
Jupstar ✪ 2024-08-18 12:05
I'd like to live in the time where einstein was the most famous person in the world lmao
12:05
well on the other hand, that time sucked for other reasons
12:05
i wonder how einstein would be if he'd have modern social media
Avatar
Avatar
Jupstar ✪
well on the other hand, that time sucked for other reasons
I Love Einstein, He Sounds so quirky in His english speeches
Avatar
Avatar
Jupstar ✪
i wonder how einstein would be if he'd have modern social media
hey Guys how are you Welcome to a NEW YouTube Video Here on my Channel.. today WE meet oppenheimer to create Something magical****
Avatar
Jupstar ✪ 2024-08-18 12:08
Fresh E. in the town b*tches. Back from the underground, back for more xd
Avatar
Avatar
Devinci
Selling assets (dollars) is what the previous guy was doing. Milei bought while growing the debt. The whole logic of a libertarian is to privatize as much as possible so the gov has low to no impact on market. (And so no bias over political decision). Having external investment is good, it means more money for the country because people think it will work. Idk, I'm pretty optimistic for them. The previous regime was just awfull. Having prices going up every day is just not the way
Privatization is just selling assets. Those assets are going to either people friendly to the government, or rich foreigners. You'll get a bolus of cash, the government will start spending more on the people to make them feel as if things are getting better. Stuff will get cheaper as the government secretly subsidizes stuff by keeping a leash on the exchange rates through monetary policy, while appearing to not be involved in "private business". Then there will come a moment when you'll run out of things to sell off. Suddenly the trend will reverse, things will start to get more and more expensive until you end up back where you started, now with no assets to sell off for quick cash. Prices still going up aren't they? Most banks and investment firms are still forecasting 140% inflation year over year.
12:11
I've just seen this exact situation play out in Turkey over 2 decades. A country that just got out of hyper-inflation, with a charismatic new leader that is very friendly with the IMF, selling off our stuff to foreigners, while lecturing everyone who opposed him about "free market"
12:14
(I'm sure your previous govt was awful btw, ours was too)
Avatar
We'll see. But I don't think "the government will start spending more on the people " nor "the government secretly subsidizes stuff". That sounds like socialism and here we are talking about pure capitalism. Anyways I'm far from an expert, but from what I've seen it looks good. I'm not argentinian btw, I just find the situation extrenely interesting/pedagogical :p
Avatar
Jupstar ✪ 2024-08-18 12:18
45 t/s for 4096 tees
12:18
i have to double that
Avatar
jupsti you have 45 t/s with 80% of our all time high playercount on ONE server?? kekw
12:19
what are you training for???
Avatar
Avatar
meloƞ
jupsti you have 45 t/s with 80% of our all time high playercount on ONE server?? kekw
Jupstar ✪ 2024-08-18 12:20
yeah it wont scale with network anyway, but i just like to have the physics so efficient that you could add so many server side dummies and it wouldn theoretically crash the client
Avatar
dude is minmaxxing his client like an RPG character
12:20
gg
Avatar
Jupstar ✪ 2024-08-18 12:20
i mean 4000 entities isnt too epyc.. if we'd not have these weird physics we could probably get lot more 😄
Avatar
Avatar
Devinci
We'll see. But I don't think "the government will start spending more on the people " nor "the government secretly subsidizes stuff". That sounds like socialism and here we are talking about pure capitalism. Anyways I'm far from an expert, but from what I've seen it looks good. I'm not argentinian btw, I just find the situation extrenely interesting/pedagogical :p
I'm not saying they'll go out and hand people money. They'll do it in subtle ways, that don't appear to be direct handouts. Just decreasing the tax rate appears extremely "libertarian" but it's a handout to everyone
Avatar
Jupstar ✪ 2024-08-18 12:21
but i think i am not breaking physics (core physics)
12:21
so ddnet could be a lot more efficient without breaking physics
Avatar
Dropping interest rates. Selling of foreign currency for pesos. Printing less money. All stuff that would "secretly subsidize" stuff by inflating the value of the peso
Avatar
Avatar
Jupstar ✪
45 t/s for 4096 tees
Why not only 5 more tps? 😄
12:23
Is there any benefit to running it any faster than 50 tps as anything higher would break physics?
Avatar
Avatar
Learath2
Is there any benefit to running it any faster than 50 tps as anything higher would break physics?
Jupstar ✪ 2024-08-18 12:24
it runs at max speed rn xD
12:24
it cant get more than 45 tick/s
12:24
as if there is no time involved
12:24
for comparrision it runs around 1mio ticks for a single tee xD
Avatar
Avatar
Jupstar ✪
it runs at max speed rn xD
Hm, doesn't that couple your physics to playercount? Do you do some deltatime magic to approximate/replicate teeworlds physics?
Avatar
Avatar
Learath2
Hm, doesn't that couple your physics to playercount? Do you do some deltatime magic to approximate/replicate teeworlds physics?
Jupstar ✪ 2024-08-18 12:25
i simply have my physics module modular enough to just run it in a main function without anything else
12:26
you could say i simply benchmark with fake players etc.
Avatar
Avatar
Jupstar ✪
i simply have my physics module modular enough to just run it in a main function without anything else
Ah, you are just benchmarking. So in a real teeworlds server implementation using this you'd be calling it 50 times a sec like normal teeworlds?
Avatar
Avatar
Learath2
Ah, you are just benchmarking. So in a real teeworlds server implementation using this you'd be calling it 50 times a sec like normal teeworlds?
Jupstar ✪ 2024-08-18 12:27
yes, that's the main reason i have to be bigger than 45t/s in the benchmark xD
12:27
else the server will just die
Avatar
Avatar
Learath2
I'm not saying they'll go out and hand people money. They'll do it in subtle ways, that don't appear to be direct handouts. Just decreasing the tax rate appears extremely "libertarian" but it's a handout to everyone
Oh yes sure. But taxes are used to pay for services. And in this case, Milei wants to destroy like 90% of them xd. So it would make sense. But the idea would also be increasing production, jobs etc. Will they manage? I hope. And if by the end of the year inflation will have gone up by 140% (which imo wont), that's already very good news compared to what was happening. Hopefully it can go close to 0 :p Anyways was fun talking about this.
Avatar
Avatar
Jupstar ✪
yes, that's the main reason i have to be bigger than 45t/s in the benchmark xD
or IOW it's not fast enough to do 4k entities yet
Avatar
Jupstar ✪ 2024-08-18 12:27
it needs more and more time to catch up with ticks
Avatar
Avatar
Learath2
or IOW it's not fast enough to do 4k entities yet
Jupstar ✪ 2024-08-18 12:27
yep it's not
12:28
well if i disable random input
12:28
it hits 72 ticks/s
Avatar
Are you replicating teeworlds physics completely while optimizing?
Avatar
Avatar
Learath2
Are you replicating teeworlds physics completely while optimizing?
Jupstar ✪ 2024-08-18 12:28
the core physics
12:29
i already removed O(n²) and now i rewrite some slow code
Avatar
Avatar
Jupstar ✪
i already removed O(n²) and now i rewrite some slow code
What did you end up doing? Chunking the map?
Avatar
Jupstar ✪ 2024-08-18 12:30
^ yes i kinda create a playfield where all characters are in, and if they dont stack you can easily query close characters without querying all of them
12:31
i used to have width * height array before, but that uses lot of RAM, so i switched to a hashmap, which ofc is pretty slow
12:31
so i used FxHashMap, which is ok, but still slow
12:31
but the biggest bottleneck isnt the hashmap, it's still the floating point operations. at least from what i see in the flamegraph
Avatar
Hm, interesting, so with the hashmap you can query just say 9 squares around the tee at O(1) cost to get all tees that might possibly have a collision?
Avatar
Avatar
Learath2
Hm, interesting, so with the hashmap you can query just say 9 squares around the tee at O(1) cost to get all tees that might possibly have a collision?
Jupstar ✪ 2024-08-18 12:33
yeah, i mean these O notations kinda suck but theoretically if they dont stack it should be O(1)
12:33
it queries up to 9 entites.. in tick_deferred it might query 16 entities (bcs the p<->p collision check there uses a bigger radius)
12:35
the good thing about this method is, the updates are very cheap. updating a quad tree can be pretty costly
12:35
then you might run into a bottleneck there xd hard to say without having it tho
Avatar
Avatar
Learath2
I've just seen this exact situation play out in Turkey over 2 decades. A country that just got out of hyper-inflation, with a charismatic new leader that is very friendly with the IMF, selling off our stuff to foreigners, while lecturing everyone who opposed him about "free market"
same happened with russia in early 90s huh
12:37
like literally same story
Avatar
Avatar
Jupstar ✪
the good thing about this method is, the updates are very cheap. updating a quad tree can be pretty costly
I wonder if just a large 3x3 grid over the entire map would work better, that's what I've been planning in the olden days
Avatar
Avatar
Jupstar ✪
but the biggest bottleneck isnt the hashmap, it's still the floating point operations. at least from what i see in the flamegraph
gpgpu time troll
Avatar
The update is free
12:39
O(n) to calculate what grid cell every tee is in
Avatar
Avatar
Learath2
I wonder if just a large 3x3 grid over the entire map would work better, that's what I've been planning in the olden days
Jupstar ✪ 2024-08-18 12:39
i marked hashmap accesses. so must stuff rn is simply physics code that is simply slow
Avatar
Eh, that's not bad, many other things to optimize first 😄
Avatar
Jupstar ✪ 2024-08-18 12:40
yeah, i also think i'll stay with the hashmap first. but not sure what i can still optimize without breaking things
12:40
i kinda already break it if u very pendatic, bcs i use squared distance checks
12:41
to save normalizing in many cases
Avatar
Can I see this physics_tick_deferred somewhere?
Avatar
Jupstar ✪ 2024-08-18 12:41
mh yeah i guess i can update it, gimme 5 mins
12:46
i dunno if llvm optimizes it, but e.g. just saw the normalize can be moved to a later call
Avatar
Back in the day I attempted to parallelize the problem with splitting the map into islands along lines of grid cells with no entities in them (edited)
12:47
I was too algorithmically uneducated to do it back then though 😄
Avatar
Yeah, I don't see anything glaring either without changing things fundamentally
Avatar
Avatar
Learath2
Yeah, I don't see anything glaring either without changing things fundamentally
Jupstar ✪ 2024-08-18 12:53
interestingly. i already made a change that differs from ddnet. i split the loop into two. if(!m_HookHitDisabled && m_HookedPlayer == i && m_Tuning.m_PlayerHooking) can only be true where m_HookedPlayer == i anyway.. i assume this already would be a real physics change in ddnet, so i cannot optimize this. I guess i could simply add the the hooked player id into the fetched ids from the in_range call.. so i doubt this magically would add insane overhead.. it just might make a useless collision check for the hooked char if the char is not in range
12:54
teeworlds physics has a lot of these small weirdnesses
12:54
but overall. i sadly don't see huge optimization potentials, without the game feeling super different :/
12:55
well at least on vanilla accurate physics are not as critical
Avatar
Well you can look into the cache behaviour of your implementation. I'd think it probably doesn't pipeline well
Avatar
Jupstar ✪ 2024-08-18 12:56
do you think hyperoptimizations will lead to smth significant?
Avatar
Well when you don't have any more obvious optimizations, that's where you go
Avatar
Jupstar ✪ 2024-08-18 12:57
yeah, kinda tru
Avatar
The hashmap there is fairly significant, I would probably experiment with that a bit more. See if a grid works better
Avatar
Jupstar ✪ 2024-08-18 12:57
grid defs works better
Avatar
If that doesn't lead anywhere next step is looking at how the data is laid out in memory
Avatar
Jupstar ✪ 2024-08-18 12:57
but on a 4096x4096 map, what is a good grid size?
Avatar
Round up and 3x3?
Avatar
Avatar
Learath2
Round up and 3x3?
Jupstar ✪ 2024-08-18 12:58
that still is 8 bytes per 3x3 block i guess?
12:59
I mean sounds okish
Avatar
Hm, what do you want to store?
Avatar
Jupstar ✪ 2024-08-18 12:59
if tees are close it however creates worse loops, since more ids to check
Avatar
Avatar
Learath2
Hm, what do you want to store?
Jupstar ✪ 2024-08-18 12:59
some kind of list (e.g. hashset) currently i use btreeset (since sorted for correct physics), that also isn't the fastest 😄
13:00
all for tee stacking ofc
13:00
:c
13:00
well so or so i think tees are smaller than 1 tile
Avatar
do that minecraft thing and kill all tees which stack too much 😎
Avatar
What is the list for? The tees within the gridcell? Why can't you calculate that once at the start? It should be fairly cheap to calculate which grid cell a tee is in
Avatar
Avatar
Learath2
What is the list for? The tees within the gridcell? Why can't you calculate that once at the start? It should be fairly cheap to calculate which grid cell a tee is in
Jupstar ✪ 2024-08-18 13:01
yes but tee stacking
13:01
2 tees in same grid
13:01
you need to fetch all player ids from the grids later on
13:01
so they have to maintain a id list
13:02
in a 3x3 u need a list anyway
Avatar
Mh, I was thinking something else but it would perform much worse in the worst case
13:05
I was thinking of just collecting all tees that can possibly collide with this tee using the grid, then running the old algorithm exactly the same on them
Avatar
Jupstar ✪ 2024-08-18 13:06
that is what i am doing
Avatar
But with a grid the worstcase is worse I think. It degrades to the old algorithm atleast with a grid this large
Avatar
Jupstar ✪ 2024-08-18 13:08
yeah
13:08
maybe i can use a 1x1 grid for small maps
13:08
to a limit of like 8MB RAM
13:08
or make it optional
13:08
if u have a 20GB RAM VPS, gotta use all the RAM
13:09
4096x4096 with 8 bytes (ptr) would be 134 MB already xD
Avatar
Avatar
Jupstar ✪
4096x4096 with 8 bytes (ptr) would be 134 MB already xD
You can use a bitmask if you are okay with the limit of 64 entities 😄 (edited)
Avatar
Jupstar ✪ 2024-08-18 13:10
yeah but collecting a bit mask sounds annoying too 😄
Avatar
Well technically you can have more, but yeah all you'd really need to store is a bitmask of what entities are within a cell
Avatar
Avatar
Jupstar ✪
yeah but collecting a bit mask sounds annoying too 😄
You have cool vector operations available for them though
Avatar
Jupstar ✪ 2024-08-18 13:11
so or so, in my physics mod, all entites have unique ids
13:11
dont want to rewrite that 😄
Avatar
How about a hashmap of grid cells?
Avatar
Jupstar ✪ 2024-08-18 13:12
with unique i mean, forever unique
Avatar
Avatar
Learath2
How about a hashmap of grid cells?
Jupstar ✪ 2024-08-18 13:12
haha
Avatar
Mh I guess what you have currently constitutes that
Avatar
Jupstar ✪ 2024-08-18 13:12
could work maybe
13:12
saves you few hashmap lookups
Avatar
Yeah
Avatar
Jupstar ✪ 2024-08-18 13:13
i guess i could first start and abstract away the hashmap i have to also allow grids
13:13
and see how well it performs
Avatar
Anyway, if there is nothing to squeeze out there, sadly the next step seems to be looking for very specific optimizations like cache behaviour, vectorization or maybe even parallelization
13:14
If you can come up with a cheap way to split the map into islands, you can have a thread calculating collision within that island of tees at the same time as all other islands (edited)
Avatar
Avatar
Learath2
Anyway, if there is nothing to squeeze out there, sadly the next step seems to be looking for very specific optimizations like cache behaviour, vectorization or maybe even parallelization
Jupstar ✪ 2024-08-18 13:14
yep you are right. sadly parallization won't happen, bcs i want to stay single threaded on WASM. but vectorization would be a very interesting one, depends on how well the compiler does it already anyway
Avatar
Avatar
Jupstar ✪
yep you are right. sadly parallization won't happen, bcs i want to stay single threaded on WASM. but vectorization would be a very interesting one, depends on how well the compiler does it already anyway
Also, how often do we use distance between tees?
Avatar
Avatar
Learath2
Also, how often do we use distance between tees?
Jupstar ✪ 2024-08-18 13:15
i think in the average case we do it 2 times (plus another one for when the tee is hooking)
13:15
and entities like pickups also do it
13:16
but in the flamegraph they are not of interest
13:16
p<->p is what costs the money here
Avatar
Yeah, I guess remembering that isn't very useful then
13:20
Oh btw, if you ever want to google around this stuff. When I was first looking around I learned that the hashmap/grid thing we were talking about is called the "broad-phase" and the secondary costly check is the "narrow-phase"
13:20
Makes it much easier to google around for resources
Avatar
Jupstar ✪ 2024-08-18 13:20
ty
Avatar
Another thing, I don't know if you do this already somewhere else but are you running collision per team?
Avatar
Jupstar ✪ 2024-08-18 13:22
yes
13:23
teams are called stages in ddpg a stage has a completely new unrelated world
13:23
so there arent any hacks in the gamecore with team checks
Avatar
Nice
Avatar
Avatar
Jupstar ✪
teams are called stages in ddpg a stage has a completely new unrelated world
My ddnet7 implementation also had this allowing multiple instances of CGameWorld (edited)
Avatar
Jupstar ✪ 2024-08-18 13:23
indeed, but that makes it even worse for the grid approach lol
13:24
134MB * 64 teams
13:24
lmao
Avatar
Avatar
Learath2
My ddnet7 implementation also had this allowing multiple instances of CGameWorld (edited)
Jupstar ✪ 2024-08-18 13:24
ah neat
Avatar
Avatar
Jupstar ✪
134MB * 64 teams
Mh, that is a bad side effect yeah
Avatar
Avatar
Jupstar ✪
teams are called stages in ddpg a stage has a completely new unrelated world
yay
13:30
128 lobbies playing ctf
13:31
on same map
13:31
brownbear
Avatar
How about spatial hashing instead of a uniform grid? I never experimented with it but it should also be O(n)
Avatar
fluffysnaff 2024-08-18 13:37
spatial hashing should work well
Avatar
and it would handle our maps being unbounded properly aswell
Avatar
Jupstar ✪ 2024-08-18 13:57
@Learath2 ok finished grid impl. results are insane ..... insanely depressing xD 76 t/s vs 77 t/s for 2048 tees ran it 3 times
13:58
and the 1 tick is in the margin of error
13:58
i ran it few times again now, and saw 77 ticks too
13:59
according to flamegraph it used 0.44% of total time for hashmap and 0.3% with a vec
14:00
so at least on paper there is a minimal improvement xD
14:02
for 64 tees it's more obvious: 16800 t/s vs 15400 t/s
Avatar
Avatar
Jupstar ✪
@Learath2 ok finished grid impl. results are insane ..... insanely depressing xD 76 t/s vs 77 t/s for 2048 tees ran it 3 times
dam
14:11
Spatial hashing next
Avatar
Jupstar ✪ 2024-08-18 14:12
spatial wont be faster than a vec access
Avatar
how do i fix this error with wireshark dissector? the dll file is correctly in that folder
14:14
wireshark verison 4.2.6 x64 on windows (edited)
Avatar
downgrade your Wireshark
Avatar
to which version?
Avatar
Avatar
Learath2
dam
Jupstar ✪ 2024-08-18 14:15
i think i should simply map a map where they cant stack so heavily.. tried a map where they have space to fall down: still stacks so fast
Avatar
4.0 maybe
Avatar
Jupstar ✪ 2024-08-18 14:15
and stacking is alwaysy evil 😄
Avatar
Avatar
Jupstar ✪
i think i should simply map a map where they cant stack so heavily.. tried a map where they have space to fall down: still stacks so fast
wtf
Avatar
Jupstar ✪ 2024-08-18 14:15
that are only 500 tees
Avatar
is that your rust version of teeworlds ?
Avatar
Jupstar ✪ 2024-08-18 14:16
that is dd-rs-pg-next
troll 1
Avatar
RustRustNet
Avatar
Avatar
Jupstar ✪
i think i should simply map a map where they cant stack so heavily.. tried a map where they have space to fall down: still stacks so fast
Well yeah this isn't testing the average case tbf
Avatar
Avatar
Jupstar ✪
that are only 500 tees
is it fine with less max clients ?
Avatar
Jupstar ✪ 2024-08-18 14:16
it's fine with 500
14:16
but not with 2000 xd
Avatar
Avatar
Peakies
is it fine with less max clients ?
Even at 500 tees it's way more than fine, we are just looking whether it can get better so he can have 4 billion tees
Avatar
oh that's shame
Avatar
Avatar
Peakies
is it fine with less max clients ?
mmorpg teeworlds comes
Avatar
Avatar
Learath2
Even at 500 tees it's way more than fine, we are just looking whether it can get better so he can have 4 billion tees
yeah he's always trying change impossible to possible
Avatar
Avatar
zhn
mmorpg teeworlds comes
when it's gonna show up
Avatar
Avatar
Peakies
4.0 maybe
4.0.16 doesnt work, also the readme uses 4.2 since its in their folder name
Avatar
Jupstar ✪ 2024-08-18 14:20
lmao, they stack so hard, that they fly in the air
troll 1
Avatar
Avatar
Jupstar ✪
lmao, they stack so hard, that they fly in the air
they stacking like infinity or they find their way to be seprate from each other ?
Avatar
on what game engine this game was made ??
Avatar
Avatar
Jupstar ✪
lmao, they stack so hard, that they fly in the air
do you need 200x200 map with everything being spawn
Avatar
Avatar
kebs
4.0.16 doesnt work, also the readme uses 4.2 since its in their folder name
I have 4.0.14 and it's fine for me
Avatar
Avatar
zhn
do you need 200x200 map with everything being spawn
Jupstar ✪ 2024-08-18 14:21
yeah i try more spawns now
14:23
jupjop.jap
Avatar
I wonder if a quick bounding box cull would make it better or worse, maybe just on the x axis like the sort and sweep algorithm
Avatar
Jupstar ✪ 2024-08-18 14:24
map extension name decided
kek 1
Avatar
It would avoid some floating point math calculating the distance between tees
Avatar
Avatar
zhn
Click to see attachment 🖼️
Jupstar ✪ 2024-08-18 14:24
i dont have spawn clamp xD
Avatar
Avatar
Jupstar ✪
i dont have spawn clamp xD
it's time to add
Avatar
Jupstar ✪ 2024-08-18 14:24
the evaluation of the spawn position already takes long i think xD
Avatar
Avatar
Jupstar ✪
the evaluation of the spawn position already takes long i think xD
isn't it just random currently
Avatar
Jupstar ✪ 2024-08-18 14:25
50 dummies and it alread feels bad xD
Avatar
Avatar
zhn
isn't it just random currently
Jupstar ✪ 2024-08-18 14:25
in vanilla it's furthest away afaik
14:25
that's what i am doing at least
Avatar
nah i mean in ddpg
Avatar
Jupstar ✪ 2024-08-18 14:25
not random
Avatar
Avatar
Jupstar ✪
that's what i am doing at least
oh you did implement it
14:25
wait ill send fixed one
14:26
952 bytes
14:26
why tf it has different size
14:26
ah compression
14:27
nouis
Avatar
Jupstar ✪ 2024-08-18 14:27
i test in few mins, gotta go afk really quick
Avatar
Avatar
Peakies
I have 4.0.14 and it's fine for me
same thing 4.0.14, idk whats wrong
Avatar
Avatar
kebs
same thing 4.0.14, idk whats wrong
then no idea sorry
Avatar
Avatar
Peakies
then no idea sorry
could you upload your dissector .dll?
Avatar
Avatar
kebs
could you upload your dissector .dll?
you want teeworlds dissector right ?
Avatar
Avatar
kebs
yea
check DM
Avatar
Avatar
Peakies
check DM
works XD (edited)
14:33
idk whats up i did what readme told me
14:33
ty
Avatar
Why miniupnpc not included into ddnet-libs?
Avatar
Doesn't seem important
14:52
I'm not a fan of the whole idea of upnp
Avatar
Avatar
zhn
Click to see attachment 🖼️
Jupstar ✪ 2024-08-18 14:52
falling down is really evil xD
14:52
it then has to run the spawn over 40k tiles again
troll 1
Avatar
Avatar
deen
Doesn't seem important
You make windows users suffer jokerge. I like that
Avatar
Last time I tried the ddnet server upnp support (on Windows) it didn't work, could never find the upnp gateway
Avatar
Avatar
Robyt3
Last time I tried the ddnet server upnp support (on Windows) it didn't work, could never find the upnp gateway
I feel bad asking this, but did you enable it in router and windows settings? heheehee
Avatar
yeah, the upnp gateway appears in the windows network device overview, so it should be enabled
Avatar
Okay, maybe it's broken in its core
14:58
Today I first time in my life met guy who mentioned upnp in ddnet
Avatar
maybe because I have different network adapters because of VM and VPN and the gateway is not on the main one
Avatar
Jupstar ✪ 2024-08-18 14:59
i should implement zooming think_bot . runs quite ok with 2300 dummies.. fps are low, but it can still keep up with tick updates
14:59
@zhn i went with a bowl instead xD
troll 1
Avatar
Avatar
Jupstar ✪
i should implement zooming think_bot . runs quite ok with 2300 dummies.. fps are low, but it can still keep up with tick updates
O, I didn't follow developer discussions for some time, what's going on, maybe ddnet would be able to finally display a lot of characters, so mods won't mess up with snapping poggers2
15:01
Or it's :justatest: for fps test
15:02
Zzz_7062057890308424505
Avatar
The chat was about the collision algorithm. Rendering that many tees hasn't really been an issue
Avatar
Avatar
Anime.pdf
O, I didn't follow developer discussions for some time, what's going on, maybe ddnet would be able to finally display a lot of characters, so mods won't mess up with snapping poggers2
Jupstar ✪ 2024-08-18 15:02
well it's a different client, not ddnet
Avatar
Avatar
Jupstar ✪
well it's a different client, not ddnet
MilkeeyCat 2024-08-18 15:03
Make a pr "refactor: rewrote the client in rust"
Avatar
Avatar
MilkeeyCat
Make a pr "refactor: rewrote the client in rust"
Jupstar ✪ 2024-08-18 15:04
yeah
15:04
xd
Avatar
Avatar
Learath2
The chat was about the collision algorithm. Rendering that many tees hasn't really been an issue
It was an issue in few mods I've been helping with, developers would program some weird algoths to prioritize some clients rendering(snapping) over others not not hit the limit okSanya
Avatar
Avatar
Jupstar ✪
well it's a different client, not ddnet
ddnet-rs Clueless
Avatar
Avatar
Anime.pdf
ddnet-rs Clueless
Jupstar ✪ 2024-08-18 15:05
😏
Avatar
Rendering and snapping are different. The snap issue is because we just have a hard limit to the amount of tees that can be snapped
15:06
If you patch the client and the server to just send 256 tees, it would all work
Avatar
ping = no mute 2024-08-18 15:06
guys, who knows why I can’t apply to be a moderator? The button to publish an application is simply not available for me, does anyone know what to do?
Avatar
The O(n^2) collision algorithm would start to buckle though as that’s about where it starts getting too slow to be done in time for the tick
Avatar
Why there should be one particular limit to it, maybe if client could configure what amount he wants to see and send it to server, or just straight up not render them at all...
Avatar
Avatar
Jupstar ✪
lmao, they stack so hard, that they fly in the air
put solo tile xd
Avatar
n^2 where n is number of tees?
Avatar
Avatar
Jupstar ✪
lmao, they stack so hard, that they fly in the air
hollow purple
15:09
Avatar
Avatar
Learath2
The O(n^2) collision algorithm would start to buckle though as that’s about where it starts getting too slow to be done in time for the tick
Btw did someone ever copied the minecraft thing where TPS would go lower and take more time to process events, would look goofy I think
Avatar
Avatar
Anime.pdf
Btw did someone ever copied the minecraft thing where TPS would go lower and take more time to process events, would look goofy I think
ppl will abuse it to get 1 tps so they can tas for real
Avatar
Avatar
ping = no mute
guys, who knows why I can’t apply to be a moderator? The button to publish an application is simply not available for me, does anyone know what to do?
You're late, submissions are over
Avatar
Avatar
zhn
ppl will abuse it to get 1 tps so they can tas for real
Sounds fine to me Clueless
Avatar
Avatar
louis
n^2 where n is number of tees?
Jupstar ✪ 2024-08-18 15:13
yes
Avatar
Avatar
Teero
put solo tile xd
Jupstar ✪ 2024-08-18 15:14
not implemented yet xddd
kek 1
🐴 1
Avatar
Avatar
Matodor
x3
Stop right there ✋. That action is illegal in DD state 🛑. Please step away from your keyboard and do not try to resist while our officers approach you 🚑👮
Avatar
Automod seems to be misbehaving
Avatar
Avatar
heinrich5991
Click to see attachment 🖼️
7k now
Avatar
Avatar
Anime.pdf
Stop right there ✋. That action is illegal in DD state 🛑. Please step away from your keyboard and do not try to resist while our officers approach you 🚑👮
@ e v e r y o n e
15:40
@deen use @ e v e r y o n e in #announcements for RUS3 or set welcome message (or MOTD) on RUS server for it
15:40
we need more propaganda for donations)
Avatar
@Anime.pdf join mlife
Avatar
Avatar
Matodor
@deen use @ e v e r y o n e in #announcements for RUS3 or set welcome message (or MOTD) on RUS server for it
Will try announcements once per hour for now
16:17
First response I got so far was "Give me root access for 100 Rubles" 😄
troll 7
Avatar
Avatar
deen
Will try announcements once per hour for now
in Russian language?)
Avatar
Avatar
deen
First response I got so far was "Give me root access for 100 Rubles" 😄
Lol
Avatar
Avatar
Matodor
in Russian language?)
yes
greenthing 1
Avatar
@deen can you only Take rubles because of rus Server hosting shenanigans or could people donate in € ?
18:47
Ah nvm didnt See the First Message
Avatar
GitHub BOT 2024-08-18 19:57

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
  • [x] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssan...
Avatar
That's kinda pointless and cluttered, no?
Avatar
has anyone checked if ddos is made much worse by the server incorrectly assuming that all clients are supposed to be in CClient::SNAPRATE_RECOVER. The server never checks if the missing ack tick is caused by the client or the server. I have no way to simulate ddos conditions so idk if it actually happens. But it might be good to have a check if all connected played are in CClient::SNAPRATE_RECOVER then maybe it's not a good idea to keep them there.
Avatar
GitHub BOT 2024-08-18 20:25
As far as I know there isn't any good reason for this. The client should be able to handle (ping + prediction margin) <= 2000ms. Prediction margin still functions fine up to 2000ms (with config edit), only real ping causes it to break.
Avatar
Avatar
Skeith
That's kinda pointless and cluttered, no?
need clan tags
20:29
when we get accrs
20:30
[WLY] bumso56
greenthing 2
Avatar
looks bad
Avatar
GitHub BOT 2024-08-18 21:01
5305f3f Add 24 € funding for RUS3 by Lumpy ◐ω◑ - def-
Avatar
GitHub BOT 2024-08-18 21:36
ba06806 Add 3 € donation for RUS3 by I am stupid - def-
Avatar
Avatar
Tater
has anyone checked if ddos is made much worse by the server incorrectly assuming that all clients are supposed to be in CClient::SNAPRATE_RECOVER. The server never checks if the missing ack tick is caused by the client or the server. I have no way to simulate ddos conditions so idk if it actually happens. But it might be good to have a check if all connected played are in CClient::SNAPRATE_RECOVER then maybe it's not a good idea to keep them there.
anyone who can test?
Avatar
keepin' deen busy with cent donations. that's the real ddos. (edited)
Exported 568 message(s)
Timezone: UTC+0