00:14 <+bridge> just joined a 0.7 server and my game crashed πŸ™‚ 00:29 <+bridge> @chillerdragon I join your DM server and everything is lagging and almost crashing 00:29 <+bridge> ChillerDragon's CTF GER3 [formerly JSaurusRex] 00:29 <+bridge> Address: ddnet://[2a03:4000:4a:ed4:58f9:e3ff:fe45:3aa5]:8709 00:29 <+bridge> My IGN: Assa 07:05 <+bridge> @essigautomat: thanks for reporting but I assume that’s an issue in your bot client :p 07:05 <+bridge> Can you consistently reproduce? 08:14 <+ChillerDragon> oh indeed i can reproduce with chillerbot-zx it does hang for a second on join client sided 08:16 <+ChillerDragon> happens on join for me the trace i get is this when killing the client while its hung https://paste.zillyhuhn.com/24 08:19 <+ChillerDragon> hm turning off tournament mode fixes it but i can not reproduce it on a local server yet 08:25 <+ChillerDragon> something something libtw2 08:25 <+ChillerDragon> `/home/chiller/Desktop/git/ddnet/vendor/libtw2-snapshot/src/snap.rs(697): item sizes can't be mismatched for self-created snapshots: DeltaDifferingSizes` 08:39 <+ChillerDragon> @heinrich5991 how do i patch that code? my edits in vendor/ seem to have no effect 09:15 <+ChillerDragon> this comment is onto something 09:15 <+ChillerDragon> https://github.com/ddnet/ddnet/blob/780b4c68a7f031b526538388822dd3458bba0a53/vendor/libtw2-snapshot/src/snap.rs#L696-L698 09:16 <+ChillerDragon> item sizes cant be different for self created snapshots but for snapshots we receive 09:16 <+ChillerDragon> what about snapshots we receive and recreate :brain: 09:16 <+ChillerDragon> ye idk i rq rust doesnt wanna let me add debug prints so i cant really progress here 09:20 <+bridge> why do you think I use a bot client? πŸ€” 09:26 <+ChillerDragon> xd 09:26 <+ChillerDragon> its old joke i always call ppl botter if their client crashes 09:26 <+ChillerDragon> based on the idea that ddnet is quite stable and some bot clients are not 10:34 <+bridge> helo guys developersss good morning, there is a setting or way to put Friends + per ping selected at same time? 10:34 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1518172194713370665/image.png?ex=6a38f389&is=6a37a209&hm=e1df39abfa10b1aae269b03d6b275af897798427fe4b3837f9015d3b34d3277c& 10:35 <+bridge> funny usecase - I want to play with friends, but only only with the ones on the best server 10:37 <+bridge> i mean no, but after friend list order from less ping 10:37 <+bridge> Imagine having friends in other ping zones 10:37 <+bridge> C H I L L E R !! . I like play in every part :( 10:37 <+bridge> > Imagine having friends 10:37 <+bridge> :feelsbadman: 10:37 <+bridge> C H I L L E R !! . I like play in every zone :( 10:38 <+bridge> please add πŸ™ 11:04 <+bridge> there's https://github.com/mozilla/uniffi-rs (I've used this for libtw2) or https://github.com/rust-diplomat/diplomat for exposing your rust library to other languages, but maybe not C 11:04 <+bridge> not sure if this answers your question 11:04 <+bridge> I'll check it, thanks 11:20 <+bridge> you just lack the imagination, not the friends. 11:21 <+bridge> "I'm so happy, 'cause today I found my friends - they're in my head ..." 11:22 <+bridge> this is downwards spiral. 11:23 <+bridge> I tried to uplift you, but I failed miserably. 11:23 <+bridge> this is a downwards spiral. 13:10 <+ChillerDragon> @davide55 @avolicious kog just went offline? watfak 13:10 <+ChillerDragon> like all of it 13:10 <+ChillerDragon> ah it back never mind 13:11 <+ChillerDragon> guess it was a server crash paired with routing issue idk 13:11 <+ChillerDragon> the connection problems where longer than usual and checking the master server i only found like 8 online kog servers 13:12 <+ChillerDragon> now the server i was playing on changed to Q-Easy2 so that one apparently crashed 13:12 <+ChillerDragon> false alarm i thought there was a bigger issue this time 13:19 <+bridge> @chillerdragon I had to swap the prefixes on another router, that's why you saw a blip 13:19 <+bridge> But that's like 30m ago 13:19 <+bridge> So maybe the server crashed if you see Q-Easy2 13:22 <+bridge> Yes my server for sure crashed. I just assumed during connection problems it was the routing issue. And when it took a bit long I checked the browser and saw all of the kog servers being gone which I never noticed before so I got scared haha 13:54 <+bridge> Anyway, swapped to a new router 13:54 <+bridge> So everything should be good now 13:55 <+bridge> 🀞 14:02 <+bridge> https://media.discordapp.net/attachments/408668644147462145/1155448059065540629/attachment.gif 15:01 <+bridge> guysss 15:02 <+bridge> smoother 15:02 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1518239600043233300/Screencast_From_2026-06-21_16-00-56.mp4?ex=6a393250&is=6a37e0d0&hm=1d0efbc93d9129e01ca95eed2ef4a0ce44cf702c7d50a878c3b99dc91c72fb7d& 15:02 <+bridge> rate latest version 15:03 <+bridge> trippy 15:06 <+bridge> thats my goal 15:07 <+bridge> are u fr drawing thousands of rectangles? 15:08 <+bridge> just 218 line 15:13 <+bridge> you could do it with 1 rectangle per entire screen and a pixel shader 15:22 <+bridge> i think writing fragment shaders is a little on the harder side for beginners :D 15:22 <+bridge> especially integrating them into ddnet ddnet xd 15:22 <+bridge> well, depends - but yes it would be the better approach 16:06 <+bridge> looks like uniffi is used for generating bindings for higher level languages, not C, but diplomat looks like the tool I needed 16:25 <+bridge> especially integrating them into ddnet xd 17:39 <+bridge> yes. I didn't know that diplomat could do C 17:39 <+bridge> what do you need C bindings for? when I reached for C bindings in the past, it was usually to bind it to other higher-level languages 17:40 <+bridge> and that's what uniffi and diplomat give me, without hte step in-between 17:40 <+bridge> I'm making a library in rust that's going to be used in other languages, but for now it's only C 17:41 <+bridge> I'd suggest skipping C β€” unless there's a reason to target C 17:41 <+bridge> C is not a language that you'd usually write users of your libraries in 17:41 <+bridge> I have another project, in C, that's going to use the library 17:42 <+bridge> that's a good reason to target C ^^ 17:43 <+bridge> I tried diplomat, but something felt off :\. I'm just going to rawdawg it, my "library" is only 5 or so functions 17:43 <+bridge> I tried diplomat, but something felt off :\\. I'm just going to rawdawg it, my "library" is only 5 or so functions 17:47 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1518281239738454256/image.png?ex=6a395917&is=6a380797&hm=262a3d7b2b9cb481242c48f1bf84590a72b39cbf498a05706fd7027ef6d7caf4& 17:59 <+bridge> Mh, C is probably the closest thing we have to a "universal" interface. I think there is always great reason to expose a C interface from libraries 18:00 <+bridge> Pretty much every compiled or even interpreted language has some way to interface with C libraries 18:34 <+bridge> wow 18:49 <+bridge> Is there any ddnet client for 0.7 version with all functions of the latest ddnet? Saw one,but its not updated 18:49 <+bridge> wdym?! What functionality are you missing? 18:50 <+bridge> New antiping 18:51 <+bridge> Either you mean predicted events or I have no clue what you want 18:51 <+bridge> I mean, i want to use not just 0.6 that allows to play on 0.7 servers, but just play from 0.7 .it kinda looks different and newer 18:51 <+bridge> you can play on 0.7 servers with the ddnet client 18:51 <+bridge> (unless you want to play on chillerdragons servers) 18:52 <+bridge> Yeah i know. But if you play ddrace from 07, all tees will look updated 07 version, and thats nice 18:53 <+bridge> and you want the updated looks in all of ddnet? 18:53 <+bridge> Yeah 18:54 <+bridge> I don't know any way except directly using the 0.7 client 18:54 <+bridge> Could it be added per chance? When you connect to 0.7 from ddnet client, u see skins from 0.7 18:54 <+bridge> I would like that on ddrace servers for 06 18:54 <+bridge> Just see the looks of 07 ver 18:54 <+bridge> I wonder if we can connect with the 0.7 protocol with the client πŸ€” brb testing 18:54 <+bridge> Thanks 18:57 <+bridge> tried to connect with tw-0.7+udp://45.141.57.22:8371 but didn't work 18:58 <+bridge> Also I'd say it's a missconception to say ddnet runs on 0.6 protocol, it runs on ddnet protocol 19:00 <+bridge> this one works: 'tw-0.7+udp://177.221.141.100:8203' 19:00 <+bridge> 19:00 <+bridge> Huh? 19:01 <+bridge> it looks like you **can** join with 0.7 on every ddnet server except DDNet GER 19:01 <+bridge> all you need to do is add `tw-0.7+udp://` infront of the IP adress 19:03 <+bridge> @heinrich5991 is this intended? 19:05 <+bridge> aaaand my game crashed πŸ™ 19:05 <+bridge> 19:05 <+bridge> ``` 19:05 <+bridge> /home/essig/funspace/ddnet/vendor/libtw2-snapshot/src/snap.rs(697): item sizes can't be mismatched for self-created snapshots: DeltaDifferingSizes/home/essig/funspace/ddnet/vendor/libtw2-snapshot/src/snap.rs(697): item sizes can't be mismatched for self-created snapshots: DeltaDifferingSizes/home/essig/funspace/ddnet/vendor/libtw2-snapshot/src/snap.rs(697): item sizes can't be mismatched for self-created snapshots: DeltaDifferingSizes 19:05 <+bridge> ``` 19:10 <+bridge> ah robyt found it 19:11 <+bridge> @smetanolub TLDR currently not recommended :justatest: 19:18 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1518304159525245170/image.jpeg?ex=6a396e70&is=6a381cf0&hm=e1463174f4d9f5e158d99d54fdcef8cc5cf7591ec23a2756945817d2722dbf67& 19:18 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1518304160498581745/image.jpeg?ex=6a396e70&is=6a381cf0&hm=8410a197ec0400c9cd309c4d366192a8f380faa88f2cccfaf86a15b30fa9e6f1& 19:18 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1518304161593299014/image.jpeg?ex=6a396e70&is=6a381cf0&hm=c5bead24cbaa85eeb3464b08afc379934b0054e63cb63d2f400af28b51fb1662& 19:18 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1518304162105000088/image.jpeg?ex=6a396e70&is=6a381cf0&hm=ae84931fd09561f3f8ca367745d5df6c8be7b72a46209b994769376446f6d616& 19:19 <+bridge> Damn is Mr Beast not enough anymore :( 19:19 <+bridge> @discp 19:20 <+bridge> > // This function tries pretty hard not to panic, even for suspicious parameters. 19:20 <+bridge> 19:20 <+bridge> lol 19:22 <+bridge> In console? 19:22 <+bridge> in server browser when connecting - however you game might crash 19:23 <+bridge> Okay... nevermind then 19:37 <+bridge> x2 19:37 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1518308902910038167/image.png?ex=6a3972db&is=6a38215b&hm=37531e357864bacb02fea7828a35f21fe0398c230c4e988ac3c6311a7c33d95b& 19:52 <+bridge> 🀣 20:23 <+bridge> as per chiller's methodology: bot client? 20:29 <+bridge> axaxaxaxa 20:29 <+bridge> yes, chillerbot 20:36 <+bridge> I got called a bot today, the neural network is too good at aiming or something 20:43 <+bridge> Someday I'll gather my strength and send my requests (There are a lot of changes xd) 20:44 <+bridge> My version has a lot of fixes, but the code isn't exactly pleasant for heinrich xd 20:45 <+bridge> take a look at the (open) crash issue - if you have ideas how to fix it write them there 20:45 <+bridge> I deliberately did not take a look at the rust slice 20:46 <+bridge> (except that the debugger jumped into it) 20:47 <+bridge> Can anyone see any UB https://github.com/ddnet-corpus/runner/blob/master/src/ffi.rs ? :justatest: 20:48 <+bridge> Oh shit unsafe code.... 20:49 <+bridge> sixup trolling? :D 20:49 <+bridge> 0.7(sixup) trolling? :D 20:59 <+bridge> I’m about to look into what the cause might be, but work tasks are distracting me. 21:18 <+bridge> I think it's because I've refactored everything, and that's why these kinds of problems don't occur in my fork. 21:18 <+bridge> 21:18 <+bridge> Actually, in https://github.com/heinrich5991/libtw2/commit/9ef70df5b845faf6872e2d71971b7b96ed0a5c1b , this type of assertion was made, and this is where it happened. 21:18 <+bridge> ```rust 21:18 <+bridge> // Example panic in this code 21:18 <+bridge> if let Err(err) = create_item_delta(from_data, data, out_delta) { 21:18 <+bridge> panic!("item sizes can't be mismatched for self-created snapshots: {:?}, raw_type_id: {}, id: {}, from_len: {}, to_len: {}", err, raw_type_id, id, from_data.map(|d| d.len()).unwrap_or(0), data.len()); 21:18 <+bridge> } 21:18 <+bridge> ``` 21:18 <+bridge> Although I don't understand why there's an 'unwrap' there lol 21:18 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1518334351916404898/image.png?ex=6a398a8e&is=6a38390e&hm=e1d001325c1fa618d282daae964073d2bcf93074741bdbcab0c97e38f12a71e3& 21:26 <+bridge> > `.unwrap_or(0)` 21:26 <+bridge> πŸ€” 22:59 <+bridge> @01000111g 23:02 <+bridge> <01000111g> ?