00:12 <+bridge_> <12944qwerty> Yeah i figured. My code sucjs and isn't rendering anything yet though so guh 01:22 <+bridge_> @learath2 how do I check whether a command in a command substition failed, when errexit is set, without exiting the shell (in bash)? 01:22 <+bridge_> starting point: `SOURCE_DATE_EPOCH="$(git log -1 --format=%ct 2> /dev/null)"` 01:22 <+bridge_> this exits if `git log …` fails 01:23 <+bridge_> I could do `SOURCE_DATE_EPOCH="$(git log -1 --format=%ct 2> /dev/null || true)"`, but then I could no longer check for an error 01:24 <+bridge_> I tried `SOURCE_DATE_EPOCH="$(git log -1 --format=%ct 2> /dev/null || failed=1)"`, but apparently the `$()` is executed in a subshell and I can't read that variable 01:24 <+bridge_> or maybe ChillerDragon? how do I do this in bash? 01:25 <+bridge_> `set +e` in the subshell isn't useful either, I can't see the exit code in the outer shell afterwards: `SOURCE_DATE_EPOCH="$(set +e; git log -1 --format=%ct 2> /dev/null)"` 02:15 <+bridge_> <12944qwerty> OH SO CLOSE 02:15 <+bridge_> <12944qwerty> https://cdn.discordapp.com/attachments/293493549758939136/1455731003330003075/image.png?ex=6955caa5&is=69547925&hm=228004eb0cb05546692b9361404ed4be46c336540c30e974951746730148ce92& 02:17 <+bridge_> <12944qwerty> Idk why I'm rendering, ngl 02:17 <+bridge_> <12944qwerty> Idk why I'm rendering ngl 04:59 <+bridge_> <12944qwerty> anyone know if there is docs for the physics 07:03 <+bridge_> <12944qwerty> it works lets go 07:03 <+bridge_> <12944qwerty> https://cdn.discordapp.com/attachments/293493549758939136/1455803621601181806/TWMap_Arcade_Renderer_2025-12-31_00-03-16.mp4?ex=69560e46&is=6954bcc6&hm=9c912ac6149ae1667fc2f3e8568b3df9fde257b071312ed3910d2f14a9de1613& 07:06 <+bridge_> 07:06 <+bridge_> 07:06 <+bridge_> womp womp super copium mode 07:06 <+bridge_> XD 07:06 <+bridge_> looks like velramp is fucking you 07:10 <+bridge_> <12944qwerty> collision itself is also weird 07:12 <+bridge_> <12944qwerty> but code says this D: 07:12 <+bridge_> <12944qwerty> https://cdn.discordapp.com/attachments/293493549758939136/1455805680857649244/image.png?ex=69561031&is=6954beb1&hm=f8bd3269d7359aa114497a0f6d5a3e0d8b30015fee73736656f7c22b26b86f88& 08:30 <+bridge_> @heinrich5991: im not sure if I get you question but it sounds like you want an if statement. 08:30 <+bridge_> 08:30 <+bridge_> if ! VAR=$(cmd that fails); then error handle; fi 08:36 <+bridge_> Yo deen using GitHub api without credentials might fail because of ratelimits 08:38 <+bridge_> You can just create a token and pass it to curl its simple af and might safe you one annoying debug 08:39 <+bridge_> Or use the GitHub cli which lets you properly login and use the api they even have the jq stuff built in 08:39 <+bridge_> <0xdeen> > The primary rate limit for unauthenticated requests is 60 requests per hour. 08:39 <+bridge_> <0xdeen> I doubt I'm going to make more than 60 builds per hour 😄 08:39 <+bridge_> Ok sure just wanted to mention it 08:40 <+bridge_> <0xdeen> We also download two zips, so I guess it's only 20 builds per hour, but still way more than needed 08:40 <+bridge_> <0xdeen> You might be right though, because GitHub annoyingly is ipv4-only and my build server doesn't have its own ipv4 address anymore 09:10 <+ChillerDragon> @bcmutma shiet i dont have your server ip on my laptop could you resend it? 09:11 <+ChillerDragon> never mind false alarm sorry 09:11 <+ChillerDragon> i have it 09:16 <+ChillerDragon> @kebscs u want to fix the scoreboard issue or should i? 09:16 <+ChillerDragon> oh wait its server info not scoreboard 10:01 <+bridge_> nah never did a tileset like that 10:03 <+bridge_> troully 10:27 <+bridge_> u 10:30 <+ChillerDragon> @0xdeen u saw my comment in https://github.com/ddnet/ddnet/pull/11534 ? 10:30 <+ChillerDragon> @soulyvevo oh ok nice then i didnt duplicate work :D i grew a grey hair yesterday fighting inkscape on that, smh reminded me of you when i saw it in game 10:31 <+ChillerDragon> did you use any skin as tile? 10:31 <+ChillerDragon> maybe twinbop? 10:31 <+bridge_> i made some twinbop tilesets once i think 10:32 <+ChillerDragon> send 10:58 <+bridge_> chillerdragon: only found these kill tiles 10:58 <+bridge_> https://cdn.discordapp.com/attachments/293493549758939136/1455862706338009219/killbop_variant1.png?ex=6956454d&is=6954f3cd&hm=481c71773b3b47e327a3b902d26ed986ae7b9f133894e0c59a7b9623e5ad6ab2& 10:58 <+bridge_> https://cdn.discordapp.com/attachments/293493549758939136/1455862706627149864/killbop_variants.zip?ex=6956454d&is=6954f3cd&hm=3b85e7c34750d36a8c34df5d1450d439e07f8f7880142649f9b1e8bec79c4196& 10:59 <+bridge_> i think these might not stuck to walls really well tho 11:38 <+bridge_> chillerdragon: thanks, that's exactly what I need 🙂 11:40 <+ChillerDragon> yay heinrich 11:40 <+ChillerDragon> @soulyvevo hmm i wanted to walk on a sea of tees :D 11:40 <+ChillerDragon> killbop sounds like kill bill lel 11:41 <+bridge_> sea of tees 11:41 <+ChillerDragon> yes 11:47 <+ChillerDragon> hmm this assert line number is a bit hidden by the method call ._. 11:47 <+ChillerDragon> https://github.com/ddnet/ddnet/blob/fab7fbe6c3f3db3e4c6aecd993b11a4507598cb6/src/engine/server/databases/sqlite.cpp#L393 11:49 <+bridge_> yea, that's annoying 11:49 <+bridge_> I would consider using a macro for this similar to https://github.com/ddnet/ddnet/blob/fab7fbe6c3f3db3e4c6aecd993b11a4507598cb6/src/engine/shared/datafile.cpp#L319-L327 11:53 <+ChillerDragon> sounds good to me 11:59 <+bridge_> @everyone 11:59 <+bridge_> https://cdn.discordapp.com/attachments/293493549758939136/1455878138553700444/1.jpg?ex=695653ad&is=6955022d&hm=5c14d9cf30f636986d04595a3442789a5f6eacb462a20781e6508ae3e91408ea& 12:00 <+bridge_> https://cdn.discordapp.com/attachments/293493549758939136/1455878139204079617/2.jpg?ex=695653ad&is=6955022d&hm=8fe21e105803fcf9f5cd515fe2198a2f0f1baba66ed4e930f0ddc01ab34c61e5& 12:00 <+bridge_> https://cdn.discordapp.com/attachments/293493549758939136/1455878139673837649/3.jpg?ex=695653ad&is=6955022d&hm=a4cb8b430974ed645dcfd15ecf9bcd5c94e5077228e762f6e6b4ca3402d71945& 12:00 <+bridge_> https://cdn.discordapp.com/attachments/293493549758939136/1455878140013580443/4.jpg?ex=695653ad&is=6955022d&hm=b40f48dae95e411e1b24af2d054dce907c50528b887c38d0502a65766c7b53e8& 12:08 <+bridge_> I wonder if the Valgrind test is so flaky today because it needs to load the relatively larger newyear theme :thonk: 13:48 <+bridge_> https://github.com/ddnet/ddnet/pull/11532#event-21808317757 13:48 <+bridge_> @github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks 7 minutes ago 13:49 <+bridge_> rust :tear: 13:52 <+bridge_> We are using up the ubuntu runners 14:39 <+bridge_> nothing to do with rust 14:40 <+bridge_> you seem to have a personal vendetta against rust ^^ 14:40 <+bridge_> i do :kek: 14:40 <+bridge_> coincidence the only failed jobs there were rust tho 14:54 <+ChillerDragon> @milkeeycat when rename prefix? 14:54 <+bridge_> check your chat website -.- 15:15 <+bridge_> many such cases! 15:23 <+bridge_> chillerdragon: https://ddrecap.teeworlds.cn 15:25 <+bridge_> ``` 15:25 <+bridge_> /home/runner/work/ddnet/ddnet/src/game/client/components/scoreboard.cpp:242:46: error: The right operand of '+' is a garbage value [clang-analyzer-core.UndefinedBinaryOperatorResult,-warnings-as-errors] 15:25 <+bridge_> 242 | float HSplitLocation = CentisecondLabel.h + CentisecondHeight - ScoreHeight + TitleFontSize / 8.0f; 15:25 <+bridge_> ``` 15:25 <+bridge_> 15:25 <+bridge_> Wtf is a garbage value? 15:26 <+bridge_> uninitialized variable value? 15:27 <+bridge_> I am pretty sure this is a false positive ... 15:28 <+bridge_> is this code on github? 15:33 <+bridge_> banger idea imo 15:42 <+ChillerDragon> nice @tsfreddie 17:37 <+bridge_> actually yeah u should totally put revolving ammo sprites around the weapons @kebscs 17:38 <+bridge_> half of selling a feature like this is defo visuals and intuitiveness 17:38 <+bridge_> wdym around the weapons 17:38 <+bridge_> ah next to the pickup 17:38 <+bridge_> i see 17:38 <+bridge_> true 17:40 <+bridge_> https://tenor.com/view/oasisnetwork-sun-planets-gif-18265872 17:40 <+bridge_> like this but same radius away for example 17:40 <+bridge_> cant mapper do it tho? 17:40 <+bridge_> its shown in entities 17:40 <+bridge_> u cant leave everythign to the mapper or else its inconsistent across maps which is bad imo xd 17:41 <+bridge_> also i think it would just look cool idk 17:41 <+bridge_> idk how to do that :/ 17:42 <+bridge_> maybe i try tmrw i sleep now 17:42 <+bridge_> it can just be all clientside, just render the ammo type rotating around the entity when the entity gets rendered 17:43 <+bridge_> good pr tho so simple but i feel like it allows for so many more parts 17:43 <+bridge_> since theres so much moves u can cheat with infinite ammo (esp w nade) 17:45 <+bridge_> yea 17:45 <+bridge_> i thought of it when i saw last part on your showcase video in #mapping 17:45 <+bridge_> without limited ammo that part is a bit too long 17:45 <+bridge_> if it forced you to do good bounces it would be somewhat nicer 18:30 <+ChillerDragon> @avolicious u here? 18:30 <+ChillerDragon> could u send unban on kog -.- 18:32 <+ChillerDragon> `You have been banned for 60 minutes (Too many remote console authentication tries)` 18:32 <+ChillerDragon> i have no auth binds i wonder how that happend 18:36 <+bridge_> @kebscs kinda feel rushed because issue + implementation directly 18:36 <+bridge_> i thought it was such a good idea i insta implemented it 18:36 <+bridge_> best would be leave the issue open for some time (like 2 weeks at least) so that we can discuss possibilities and implementation 18:36 <+bridge_> and works really well 18:36 <+bridge_> other than nitpicks there isnt much to change in the pr 18:37 <+bridge_> if you wanna go full vanilla like, you can also add weapon respawn delay (as said in issue), and also add weapon damage so that we should use weapons responsibly 18:37 <+bridge_> idk about respawn delay 18:37 <+bridge_> wouldn work at all in t0 18:38 <+bridge_> and damage is separate issue 18:38 <+bridge_> ye 18:38 <+bridge_> . 18:38 <+bridge_> and damage is separate issue/feature 18:38 <+bridge_> and damage will alsso be an issue in t0 18:38 <+bridge_> could potentially be a map setting rather than a weapon's one 18:39 <+bridge_> right now if you stay on top of the weapon its infinite because refreshing the ammo 18:39 <+bridge_> but if you go away the ammo stays 18:41 <+bridge_> If you try too many times you get banned automatically 18:41 <+ChillerDragon> yes but how would i have tried 18:41 <+ChillerDragon> if i have no binds? 18:41 <+bridge_> i dont know 18:41 <+ChillerDragon> dw with the unban 18:41 <+ChillerDragon> i have to go now anyways 18:41 <+bridge_> Your client sent maybe some commands 18:42 <+bridge_> i dont know your client 18:42 <+ChillerDragon> my client only authenticates on my servers 18:44 <+bridge_> @chairn smth like this? 18:44 <+bridge_> https://cdn.discordapp.com/attachments/293493549758939136/1455979887130317075/image.png?ex=6956b26f&is=695560ef&hm=e7ae8f6a08a27da61e07dab7221aa86ba4b235d13da2e3a8c90d12a2275cd66c& 18:44 <+bridge_> hud ammo goes up to 10, maybe max 3 floating next to weapon would be good? 18:45 <+bridge_> theres not really good font to use to do "image x 3" 18:45 <+bridge_> theres not really a good font to use to do "image x 3" 18:51 <+bridge_> yeah exactly 18:52 <+bridge_> maybe above ? weapons are often on the ground, so above would be more visible imo 18:54 <+bridge_> https://cdn.discordapp.com/attachments/293493549758939136/1455982357277573343/image.png?ex=6956b4bc&is=6955633c&hm=9ae3252152936a0e41b52f27b911e89c6df280d02ba6986796b06f1f3c0fa92d& 18:54 <+bridge_> idk which one better 18:55 <+bridge_> bottom is visually better, but as I said, weapons are often on ground with other elements which may hide the ammos 18:55 <+bridge_> can you try with some basic_grass tiles below ? 18:55 <+bridge_> below is visually better, but as I said, weapons are often on ground with other elements which may hide the ammos 18:55 <+bridge_> i did it in paint, but sure 18:57 <+bridge_> https://cdn.discordapp.com/attachments/293493549758939136/1455983136436518942/image.png?ex=6956b576&is=695563f6&hm=8d9d03a8474a9fadc8500e49edc677ea4aa99f811c823872ca16b30dc21ae522& 18:58 <+bridge_> below with grass not too great 18:58 <+bridge_> https://cdn.discordapp.com/attachments/293493549758939136/1455983389567095056/image.png?ex=6956b5b2&is=69556432&hm=81a801d6ad1195b0e851209adb033a21fee401f8db5bc89a60d19e50fda85900& 18:58 <+bridge_> below with grass 18:58 <+bridge_> https://cdn.discordapp.com/attachments/293493549758939136/1455983389567095056/image.png?ex=6956b5b2&is=69556432&hm=81a801d6ad1195b0e851209adb033a21fee401f8db5bc89a60d19e50fda85900& 19:21 <+bridge_> see, if weapon is behind ground, ammo is hidden 19:22 <+bridge_> even worse if there are some decorations such as grass or other stuff 19:40 <+bridge_> solution: ammo orbits around gun 19:40 <+bridge_> https://tenor.com/view/abstract-atom-diagram-spin-gif-9581845 19:41 <+bridge_> was also my first thought 22:12 <+bridge_> ok ok ok ok ok ok ok ok 22:12 <+bridge_> hold on 22:12 <+bridge_> im gonna fucking crash out 22:13 <+bridge_> you're telling me that announcements are sent as PLAIN SYSTEM MESSAGES that cannot be disambiguated from DDRACE SYSTEM MESSAGES??? 22:13 <+bridge_> So if I try to match a system message like the result of showall, I cannot have any guarantees that someone either changes literally any word in the message, making it not match anymore, but also not too vague so that I get a false positive for a weird announcement in like 4 months 22:14 <+bridge_> why why why are they not just a different type 22:15 <+bridge_> i cannot ack that any chat command i do is successful with certainty. ok. 22:20 <+bridge_> valid gorp crashout 22:20 <+bridge_> OKAY AND INITIAL CHAT DELAY JUST OWNS ME TOO 22:21 <+bridge_> unless commands still work 22:22 <+bridge_> I need to run /mc;showall;showothers on connect, and sometimes it doesnt work 22:22 <+bridge_> so i have to scan for "when it works" and stop 22:22 <+bridge_> but chat is vital so i dont understand anything 22:23 <+bridge_> do i need to wait like, some ticks before sending a command? 22:46 <+bridge_> votes too 22:47 <+bridge_> omfg 22:47 <+bridge_> okay thanks that's a good catch 22:47 <+bridge_> there's literally no way to figure out who the target of a vote is 22:47 <+bridge_> genius ! 22:50 <+bridge_> This is way too much effort 22:50 <+bridge_> To all concerned parties, let it be known, that if you push any commit to master that changes the following string: 22:50 <+bridge_> "You will now see all tees on this server, no matter the distance" 22:50 <+bridge_> I will personally blow you up and also steal all of the food from your fridge 22:51 <+bridge_> that is all. 23:05 <+bridge_> I think the problem was GER's weird DDOS protection 23:05 <+bridge_> I had to add an interval to check if I got the string yet, and send it every 5 seconds otherwise 23:05 <+bridge_> so much for chat being vital