• 0 Posts
  • 13 Comments
Joined 3 years ago
cake
Cake day: March 4th, 2024

help-circle


  • These kinds of struggles with JavaScript and TypeScript are part of why I moved to Rust. I value the sanity checks the compiler provides: warning when a Result is ignored and refusing to compile when a match on an enum is missing a branch.

    Also, in Rust, Result is for recoverable failures, while panic! is generally reserved for bugs, broken internal assumptions, or cases where the program has reached a state that it believed should be impossible.




  • This always grinds my gears. When I was hosting custom Minecraft servers back in 2011 we had so many server side anti cheat measures in place. Prevented people from moving too fast. Randomized blocks until you exposed them so xray wouldn’t work. Logblock to identify griefers and do immediate rollbacks.

    I remember this one time we had a group get on and grief someone that didn’t set up a claim yet and they thought they were so sneaky by distributing the loot amongst friends and chests. We just followed the stacks in the logs and restored everything then banned them. We actually had more people end up joining because how much auditing we could do, they probably felt like they could invest time into the server.

    Now it’s like just trust the clients for everything and “oh we can’t ban them until the next ban wave because we don’t want them to know how we caught them”. It’s lazy. Back in the pubg days I remember seeing someone get 75 kills in a matter of 3 minutes. They didn’t get banned. They didn’t even have line of sight. Ban waves still allow peoples experiences to be compromised.





  • Looks like you are correct. I don’t think I could find most if not any of the leaders from the leader pass. Including Sejong. That’s incredibly disappointing. Looking through the contents of the dlc from a proton install I’m not seeing anything that would prevent someone from just using it on Linux other than editing the paths. I’ll experiment some. Maybe I’m naive and there’s a reason why no one else has done it.

    Edit: proton has come so far that maybe Linux peeps just opt to use that for civ6. Especially since the Linux build might be a tad buggy? At least for me it’s definitely had issues.

    Edit2: Ha. It works. That’s wild that they would just lazily not repack it…

    • just copy the windows dlc packs over,

    • copy DLC/_/Platforms/Windows -> DLC/_/Platforms/Linux

    • Then inside the platform Linux dir

    find . -type f -name '*.modinfo' -print0 |
        xargs -0 sed -i 's#Platforms/Windows#Platforms/Linux#g'
    

    Some don’t seem to show up in game still so I’ll experiment more this weekend if I get time and throw together a bash script that downloads all the windows depots and patches them.

    Edit3: for the ones not working it might be due to case sensitive file system. They use audio when looking for Audio