03:40 < ws-client> @milkeeycat I did not get my C lib into a usuable state yet -.- https://github.com/ChillerDragon/teeworlds/tree/chiller_sans_io_netcode 04:41 < bridge> ChillerDragon 04:41 < bridge> Maybe I'll translate something else 05:22 < bridge> @jxsl13 Can you help me? 05:35 < bridge> Hey developers, I remember we talked about correcting the written Arabic in game chat will take huge space (or idk what was the problem) 05:35 < bridge> So if its really hard to make it written correct by making the letter connected like مرحبا and written from right to left.. 05:35 < bridge> At least just make it written in the chat from right to left like 05:35 < bridge> م ر ح ب ا 05:35 < bridge> Rather than 05:35 < bridge> ا ب ح ر م 05:35 < bridge> So arabic players can read easier than flipping ur head or ur brain 05:36 < bridge> Its like olleh rather than hello !!!! 05:36 < bridge> . 06:02 < bridge> this sounds like a huge oversight tbh 06:03 < bridge> all that IME work but rtl doesn't work 07:20 < ws-client> @woidless nice 07:50 < bridge> Go , I want to translate 08:15 < bridge> with what? 08:19 < bridge> @learath2 is that possible? 08:20 < bridge> Hey developers, I remember we talked about correcting the written Arabic in game chat will take huge space (or idk what was the problem) 08:20 < bridge> So if its really hard to make it written correct by making the letter connected like مرحبا and written from right to left.. 08:20 < bridge> At least just make it written in the chat from right to left like 08:20 < bridge> م ر ح ب ا 08:20 < bridge> Rather than 08:20 < bridge> ا ب ح ر م 08:20 < bridge> So arabic players can read easier than flipping head or brain 08:34 < bridge> I want to send commands in a separate discord server, and for them to be executed in rcon on the server 08:35 < bridge> https://github.com/jxsl13/TeeworldsEconDiscordModerationBot 08:35 < bridge> you can use this one for that, tho it's a little bit old 08:38 < bridge> and you probably don't need the chat features 09:28 < bridge> @chillerdragon.9502 We need to translate this 09:28 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1303637076713144361/Screenshot_2024-11-06-09-00-24-963_org.ddnet.client.png?ex=672c7a23&is=672b28a3&hm=db63e3792d7820a9176dcd46b0e4cbdb071c29d02b291363068a4df7b00f3148& 10:03 < ws-client> yes 10:33 < ws-client> @woidless looks a bit like you are trying to copy the TS servers -.- you even set the gametype to S-DDR thats a bit weird bro 10:39 < ws-client> but yea for the translations put them here in the format i used. So I have the full english and russian text (as text) not images. And I can see if i find time to do it. https://github.com/DDNetPP/DDNetPP/issues/new 10:53 < bridge> This is still such a map on the server, soon I will add a new author's map Copy Love box 10:54 < bridge> Kog train on ddnetpp, lol 10:54 < bridge> Запомни 10:54 < bridge> А не не запоминай 10:58 < bridge> Unstable, RB, kio killer :kek: 11:09 < bridge> ? xd 11:17 < bridge> Do you mind please following the general rule to either: translate your message to English, especially in topic related channels such as #developer or go to #off-topic ? 11:17 < bridge> 11:17 < bridge> We enforce this rule so everyone is able to understand what someone is saying. - deepl is really good and then everyone is able to immediately help if capable then. 11:17 < bridge> Oh and ofc: 🤓🍈 11:26 < bridge> Sry 11:26 < bridge> These messages are mine without meaning 11:26 < bridge> Map on his ss: "KoGTrain" 11:27 < bridge> ChillerDragon Is it possible to put a color to your server mod, like there DDRace , S-DDR, gores have a color, but I want to my mod 13:51 < bridge> ``` 13:51 < bridge> MariaDB [teeworlds]> SELECT COUNT(*) FROM record_race; 13:51 < bridge> +----------+ 13:51 < bridge> | COUNT(*) | 13:51 < bridge> +----------+ 13:51 < bridge> | 44112090 | 13:51 < bridge> +----------+ 13:51 < bridge> 1 row in set (4 min 48.738 sec) 13:51 < bridge> ``` 13:51 < bridge> 13:51 < bridge> Row counts are surprisingly expensive 13:54 < bridge> You can use EXPLAIN `EXPLAIN SELECT COUNT(*) FROM record_race;` 13:54 < bridge> What does it tell you? 13:55 < bridge> or more directly: `SELECT table_rows FROM information_schema.tables WHERE table_name = 'record_race';` 13:55 < bridge> But then its not 100% accurate, no? 13:55 < bridge> yeah 13:55 < bridge> Oh you were wondering what explain says to see why so slow? 13:55 < bridge> It's 100% going to be a full scan 13:56 < bridge> Mhmm, but there are some indexes, right? 13:56 < bridge> Yeah but you still need to scan the entire index iirc 13:56 < bridge> but 44 mio not "that big" 13:56 < bridge> let me check, now I'm curious what it does 😄 13:57 < bridge> ``` 13:57 < bridge> MariaDB [teeworlds]> EXPLAIN SELECT COUNT(*) FROM record_race; 13:57 < bridge> +------+-------------+-------------+-------+---------------+-----------+---------+------+----------+-------------+ 13:57 < bridge> | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 13:57 < bridge> +------+-------------+-------------+-------+---------------+-----------+---------+------+----------+-------------+ 13:57 < bridge> | 1 | SIMPLE | record_race | index | NULL | Timestamp | 4 | NULL | 27346608 | Using index | 13:57 < bridge> +------+-------------+-------------+-------+---------------+-----------+---------+------+----------+-------------+ 13:57 < bridge> ``` 13:57 < bridge> mhmmm 13:58 < bridge> I am bit surprised. InnoDB? 13:58 < bridge> I thought you wanted me to check the rows number there, it's from information schema 13:58 < bridge> Yes 13:58 < bridge> NVMe? 13:59 < bridge> Hm, we've been changing around db servers a lot lately, idk what this one is tbh 13:59 < bridge> I see 😄 14:00 < bridge> Yeah nvme, checked 14:01 < bridge> Actually, querying on the db server directly is much faster, I forgot we had a replica on the main server 14:01 < bridge> ``` 14:01 < bridge> MariaDB [teeworlds]> SELECT COUNT(*) FROM record_race; 14:01 < bridge> +----------+ 14:01 < bridge> | COUNT(*) | 14:01 < bridge> +----------+ 14:01 < bridge> | 44117349 | 14:01 < bridge> +----------+ 14:01 < bridge> 1 row in set (9.443 sec) 14:01 < bridge> ``` 14:52 < bridge> is `sudo apt update` a bad command to run in a github action? 14:59 < bridge> kinda yes 14:59 < bridge> u shouldnt need it 14:59 < bridge> but depends 14:59 < bridge> what u doing? 15:09 < bridge> I want to test my rust workflow locally so I use https://github.com/nektos/act 15:09 < bridge> the ffmpeg-sys-next crate needs some dependencies to build but act doesnt install them unless I run apt update first 15:09 < bridge> ```yml 15:09 < bridge> - name: Install dependencies 15:09 < bridge> run: sudo apt update && sudo apt install libavutil-dev libavformat-dev libavfilter-dev libavdevice-dev 15:09 < bridge> ``` 15:11 < bridge> I want to test my rust workflow locally so I use https://github.com/nektos/act 15:11 < bridge> the ffmpeg-sys-next crate needs some dependencies to build but act doesnt install them unless I run apt update first 15:11 < bridge> ```yml 15:11 < bridge> - name: Install dependencies 15:11 < bridge> run: sudo apt update && sudo apt install libavutil-dev libavformat-dev libavfilter-dev libavdevice-dev 15:11 < bridge> ``` 15:11 < bridge> ah then do 15:12 < bridge> @zaer1n iirc there is a cache action for apt 15:12 < bridge> https://github.com/actions/cache 15:13 < bridge> https://github.com/marketplace/actions/cache-apt-packages 15:14 < bridge> But apt update wil still take time even if I cache the dependencies no? 15:16 < bridge> @zaer1n im fairly sure the action runs apt update by itself 15:16 < bridge> use this one 15:16 < bridge> i think it caches that too 15:16 < bridge> anyway its definitly a time save 15:20 < bridge> it didnt 😭 15:30 < ws-client> @woidless the server browser colors are client side 16:12 < bridge> is this a me issue? 16:12 < bridge> 16:12 < bridge> ```Thread 83 "DDNet" received signal SIGSEGV, Segmentation fault. 16:12 < bridge> [Switching to Thread 0x7ffe7ffff6c0 (LWP 15478)] 16:12 < bridge> 0x00007ffff3d87f46 in __memmove_avx512_unaligned_erms () 16:12 < bridge> from /nix/store/sl141d1g77wvhr050ah87lcyz2czdxa3-glibc-2.40-36/lib/libc.so.6 16:12 < bridge> ``` 16:12 < bridge> 16:12 < bridge> happens on ddnet master and steam beta, didnt happen before 16:12 < bridge> 16:12 < bridge> ``` 16:12 < bridge> ❯ ldd --version 16:12 < bridge> ldd (GNU libc) 2.40 16:12 < bridge> ``` 16:16 < bridge> no DDNet crash log aswell - weird 16:36 < bridge> ChillerDragon Is online thanks to your divine coding 16:36 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1303744804961783888/image-7.png?ex=672cde77&is=672b8cf7&hm=34272d7554859c298e9ceb4229bc5a693178202eb0cfc84cf886059dbf1604a0& 17:19 < bridge> https://x.com/its_bvisness/status/1853962132091449656?s=12&t=V2tQHBvGf6372bITe1EJTg 17:19 < bridge> @jupeyy_keks 17:21 < bridge> @learath2 sadly u didn't answer and the post goes up 17:27 < bridge> What didn't I answer? I may have missed a ping 17:27 < bridge> Ah this one, hm 17:31 < bridge> hmm, this is not very easy still, we need to add support for ALM/RLM or bidi in general because we need something to mark the region in which we reverse the text 17:33 < bridge> @jupeyy_keks && @robyt3 you two know the text rendering better, do you think this would be possible? The client would need to start inserting the correct markers in stuff like chat messages (idk what this would be based on, maybe unicode prescribes when to emit these), and the text rendering code would (I presume) need a bool on text containers to keep track of which direction to render them in 17:36 < bridge> The bidi algorithm in general is annoying enough to implement that we probably should use fribidi for it 18:14 < bridge> <01000111g> $demos 18:14 < bridge> This command was not found. 18:14 < bridge> It's not impossible, but it seems rather challenging. I guess using a combination of harfbuzz+fribidi would make sense, then we don't need to manually insert markers as far as I understand it. Implementing this without it having a major performance impact on all text rendering would especially be my concern. I found this example https://github.com/UnickSoft/ex-sdl-freetype-harfbuzz-fribidi/blob/24e7bdeb08ca50100a03864db6829c193d40fa90/ex-sdl-freetyp 18:17 < bridge> If we use harfbuzz, then we'd get full proper shaping anyway. I was hoping we just use fribidi to get us a properly reordered string array and just render that 20:05 < bridge> <-StormAx> I manage to put full screen images in console 20:05 < bridge> <-StormAx> https://cdn.discordapp.com/attachments/293493549758939136/1303797365681164338/image.png?ex=672d0f6b&is=672bbdeb&hm=c0d21fbc91daa3deac9398b9f9393cdfad2eb7314a3c0ab3dcc8f23325db3f42& 20:06 < bridge> cool! - how much does it affect perfoemance :greenthing: 20:06 < bridge> <-StormAx> same as creepy bubble texture by default ddnet :CoolSkull: 20:06 < bridge> it's one textured quad my dude 20:07 < bridge> you havent seen what i have 20:07 < bridge> <-StormAx> go for it 20:07 < bridge> no i rather forget 20:07 < bridge> <-StormAx> tell me at dm at least 20:07 < bridge> I think it's more that they're trying to avoid reliving the trauma 20:08 < bridge> <-StormAx> xD 20:08 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1303798146102726766/image.png?ex=672d1025&is=672bbea5&hm=b4d2058a6982adbc251041c94e7db4211199438a4f13dd26e8987dc35923170c& 20:08 < bridge> <-StormAx> @blaiszephyr btw i become a light side dev and sharing source to every1 20:08 < bridge> :NotLikeKogasa: 20:08 < bridge> <-StormAx> ARL FK OF 20:08 < bridge> <-StormAx> https://discord.com/channels/1010144732921475112/1301880609840300102/1303796330048782519 20:08 < bridge> :o 20:20 < bridge> it sounds like a job for pango tbh 20:32 < bridge> fribidi is not that hard to use 20:32 < bridge> harfbuzz is more tricky 20:32 < bridge> > Pango depends on 2.x series of the GLib library 20:33 < bridge> We probably don't want to add a dependency on GLib for this. 20:40 < bridge> update system, happened to me once i updated kernel and didn't reload keke 20:41 < bridge> okey :c 20:42 < bridge> its time for you to start learning programming at this point 21:28 < bridge> https://www.tagesschau.de/eilmeldung/eilmeldung-ampelregierung-scholz-entlaesst-lindner-100.html 21:29 < bridge> no dev 22:11 < bridge> i can see why not 22:48 < bridge> <01000111g> Ehrenmann 23:16 < bridge> Hey, just shooting my shot in the dark here. Would someone, somehow, still have the datas for the gamemod Basket ? 23:17 < bridge> Hey, just shooting my shot in the dark here. Would someone, somehow, still have the datas for the Basket gamemod ? 23:36 < bridge> @0xdeen tested with a full banlist on a small vps, doesn't seem to cause any lags for now and the command output is pretty fast (bans_find). Was able to match 1800 records out of 3000? (idk the max size of the ban list) 23:38 < bridge> bug? 23:38 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1303851082065121290/output17.mp4?ex=672d4172&is=672beff2&hm=ca4313af4d4b7d5501757c5b550816a2b87843a984f9d5014ecf79c21a18fd7e& 23:38 < bridge> when local player is in tune zone it sets same settings for everyone 23:38 < bridge> when anyone else is in it it works fine 23:39 < bridge> im testing using `m_pClient->m_aClients[ClientId].m_PrevPredicted.m_Tuning.m_LaserUnDeep` 23:39 < bridge> weapon lights up when it has set tune value 23:49 < bridge> when local player enters a tune zone it sets same settings for everyone 23:50 < bridge> weapon lights up when it has set tune value, same thing with other tunes 23:56 < bridge> ok yea i found whats wrong 23:56 < bridge> will push a fix