NETWORK ADMINISTRATIONSWindows server

if the tf2 server runs on windows, you get more metal from small ammo packs (and less on linux)

Music: BananaSlug – Summer Rain & Gloomy (https://soundcloud.com/user-426347780/summer-rain)
channel discord — https://discord.gg/8TYgJhwA7S
channel patreon — https://www.patreon.com/shounic
channel tracker — https://trello.com/b/L3B65jUX
[ todo list / current progress on upcoming videos / channel roadmap ]
feedback — https://forms.gle/bkuGF6attQrRPc6o9

custom files — https://pastebin.com/raw/e32aG4nP
[ hud / crosshairs / hitsound / killsound / gfx cfg ]

big thanks to:
ILDPRUT, Doomy, Trigger_Hurt, & Hoste for their contributions in research
Gold for scripting help

FAQ:
Q: How did you make that? What editing software do you use?
A: I use Adobe Photoshop, Premiere Pro & After Effects. Photoshop for image editing and thumbnails. Premiere Pro for compositing and After Effects for motion graphics (the fancy animations).

source

windows server

Alice AUSTIN

Alice AUSTIN is studying Cisco Systems Engineering. He has passion with both hardware and software and writes articles and reviews for many IT websites.

45 thoughts on “if the tf2 server runs on windows, you get more metal from small ammo packs (and less on linux)

  • The "0.2 cant be represented"-issue might make no sense at first, but its very similar to how we can't fully represent fractions like 1/3 in decimal: We have to approximate it as 0.333333…, eventually cutting it off. In binary, a similar effect happens at different fractions like 0.2: (2/5) in binary is "0.01100110011001100110011001100110011001100110…"; it goes on infinitely long until you cut it off and loose accuracy.

  • I know I’m being pedantic, but when you say Linux and windows compilers, I’m assuming you mean GCC/CLANG and VS right?

  • Thanks for explaining compiling better than my professor.

  • 2:25 this is a great visualisation, very good directing in this video.

  • On the xbox version of TF2, it gives 40 metal

  • "if you create a server" TF2 Is fully native on linux.

  • Hey shounic how did you get tf2 running a mac?
    it only supports 64 bits now and tf2 is 32 bits.

  • When you think about it, the only reason it would need to run a calculation instead of just dictating a set value is because MvM exists. So thank MvM for your extra metal engies.

  • Would the fix be to change it from a float to an int and have it discard anything after the decimal?

  • "HOW DID YOU KNOW I WAS A SPY?!"
    "you got one too much hp from the small health pack"

  • Funny thing is, if you use mingw (so, the linux compiler on windows), you generally get better performance. It would also remove this difference, since both platforms would have the same compiler.

  • it seems an unreasonably large amount of video game bugs can be summarised with the sentence: floating point fuckery

  • love the fact you used differing teams to differ between linux and windows examples, small touch but very helpful

  • Some may wonder why there are two instructions to do the same thing (FMUL and MULSS). x86 CPUs offer two different interfaces for doing floating point math, one that was designed for the Intel x86 FPU back in the 386/486 days, and one for SSE (vector instructions) which is a newer standard. The x86 FPU is notorious for giving inconsistent results depending on compiler flags and optimizations, as by default it attempts to preserve as much precision as possible. This seemed like a laudable goal at the time but one typical victim of this is distributed simulations such as multiplayer games.

    Anyway, Valve could have easily avoided this discrepancy without changing anything in the code, simply by configuring compiler flags differently. But it's easy to forget, and if you don't test extensively on Windows as they probably didn't, you'll end not catching it.

  • After i watch this video big ammo packs start to give me 160 metal and those small packs always gave me 32 metal wtf is going on?

  • This is absolutely interesting, I wanted to listen the video in background while doing other things, but without even notice, I watched everything with fascination. As worker in the video-game industry, I'm really passionate and curious about those really tiny details, I will truly look for the rest of this channel!

  • Good. Let's figure out more ways to punish Linux users.

  • I wonder how many people have secretly died on windows servers from the enemy getting that one extra bullet.

  • Me checking every teammate going to a health pack just to find the spy

  • Whats weird tho is that I opened up the "training" thing on a Chromebook (that's Linux, right?) and still got 41 metal. 🤔

  • I don't want to say microsoft did that on purpose but they seriously did stuff waaay more petty than this before to destroy competition

  • TL;DR:
    Floating-point precision and rounding up to the nearest whole number is a dangerous mix.

  • Wow, even computers take a look at the absolute spaghetti that is TF2 code and say “Nope, this is too complicated and confusing for me”.

Comments are closed.