• Team Fortress 2 General Chat - Oh Shit Edition
    5,002 replies, posted
[QUOTE=Gamemaster1379;47368432]Damage value can be higher than player's max health (in fact, that's often the intention :v:). However, you can get a ridiculously high damage value nonetheless--maybe enough to wrap around and give wonky results. [/QUOTE] CTFPlayer::Event_Killed function contains this: [CODE] // Don't overflow the value for this. m_iHealth = 0; [/CODE] Yeah, they thought of that. Not sure about float variables, though. Really, what are the limits of float? EDIT: Although I'm not sure if this is reliable since Event_Killed is called AFTER OnTakeDamage_Alive and health reducement. There might still be a chance to overflow it.
[QUOTE=Nicknine;47368512]CTFPlayer::Event_Killed function contains this: [CODE] // Don't overflow the value for this. m_iHealth = 0; [/CODE] Yeah, they thought of that. Not sure about float variables, though. Really, what are the limits of float? EDIT: Although I'm not sure if this is reliable since Event_Killed is called AFTER OnTakeDamage_Alive and health reducement. There might still be a chance to overflow it.[/QUOTE] Yeah I'm not arguing the player's health is going to go below zero, but the damage value being applied prior to that point is what I suspect can overflow as you're saying. [editline]21st March 2015[/editline] [QUOTE=Hell-met;47368510]mantreads are best used on mvm giant robots 10,000 damage x 3 :v:[/QUOTE] Well it's based off player's health, not enemy health. That being said, you could very easily use tf2items and give the first soldier like 10,000 health for shits and giggles. Even at 20% fall damage velocity, 2,000*3^35 adds up pretty goddamn quickly.
[QUOTE=Gamemaster1379;47368683]Yeah I'm not arguing the player's health is going to go below zero, but the damage value being applied prior to that point is what I suspect can overflow as you're saying. [/QUOTE] I've looked it up, float limits depend on your compiler and they're HUGE in Visual Studio. I seriously doubt we can overflow damage value. BUT if I'm correct in my previous post we CAN overflow health. From the source code, first OnTakeDamage calls OnTakeDamage_Alive which reduces health according to damage, THEN if health is 0 or lower OnTakeDamage calls Event_Killed, THEN CTFPlayer::Event_Killed resets health to 0. Float can go higher than 4-bit integer so we have a chance of overflowing health.
[QUOTE=Nicknine;47368779]I've looked it up, float limits depend on your compiler and they're HUGE in Visual Studio. I seriously doubt we can overflow damage value. BUT if I'm correct in my previous post we CAN overflow health. From the source code, first OnTakeDamage calls OnTakeDamage_Alive which reduces health according to damage, THEN if health is 0 or lower OnTakeDamage calls Event_Killed, THEN CTFPlayer::Event_Killed resets health to 0. Float can go higher than 4-bit integer so we have a chance of overflowing health.[/QUOTE] Would be interesting to see nonetheless, just to see what happens for shits and giggles I guess?
[QUOTE=Spectre1406;47367076]one guy suddenly added me to join with his comp team when i'm about to go to dinner, he said that it starts in 20-30 mins as much as i love to join comp, this is a bad timing to ask me in [editline]21st March 2015[/editline] [url]http://steamcommunity.com/id/thatoneguy4123/[/url][/QUOTE] [QUOTE=Gamemaster1379;47368432]Likely a phisher. A new scheme is to set you up with a compromised server (mumble/tf2) otherwise. I've had this attempted against me a LOT because of my backpack and that I'm an established comp player.[/QUOTE] Yeah I heard about this; I think they make a mumble server you can't connect to so they tell you to hurry and "update mumble", sending you a link that downloads the "newest version of mumble" i.e. some virus that does nasty things.
[QUOTE=Gamemaster1379;47368791]Would be interesting to see nonetheless, just to see what happens for shits and giggles I guess?[/QUOTE] The problem is that health may still end up in negative after multiple overflows. I did some math and assuming that the attacker takes maximum fall damage which is 175, give or take 20%, a stack of 15 players (not including the attacker and the victim at the bottom) is enough to overflow health AND land it in postitive (2,511,058,725 damage).
someone just found a golden pan and im gonna freak out
It's painful when idling one time for a few minutes as pyro years and years ago can completely besmirch your stats so badly you have no choice but to stare at your mistake in every loading screen for the rest of your life [t]http://puu.sh/gJMve/f7fa7ad338.jpg[/t]
[QUOTE=Punchy;47369286]It's painful when idling one time for a few minutes as pyro years and years ago can completely besmirch your stats so badly you have no choice but to stare at your mistake in every loading screen for the rest of your life [t]http://puu.sh/gJMve/f7fa7ad338.jpg[/t][/QUOTE] I've probably reset my stats three times in the four years I've been playing. If I could reset my "2400 hours played" on Steam, I'd do that too - I hate how I spent my first few months with the game.
[QUOTE=Darth_Toast;47368833]Yeah I heard about this; I think they make a mumble server you can't connect to so they tell you to hurry and "update mumble", sending you a link that downloads the "newest version of mumble" i.e. some virus that does nasty things.[/QUOTE] should've copy/pasted the log, that fucking bastard pretty sure he gave me mumble.sourceforge.org or something, can't remember
[QUOTE=Punchy;47369286]It's painful when idling one time for a few minutes as pyro years and years ago can completely besmirch your stats so badly you have no choice but to stare at your mistake in every loading screen for the rest of your life [t]http://puu.sh/gJMve/f7fa7ad338.jpg[/t][/QUOTE] Same here [t]http://i.gyazo.com/9064fea7e9f8471e0e045708c8230a20.png[/t] I just wanted to see what it was all about, and now I've done too much since then to want to reset everything funny thing is that I don't know if that 107 assists as Medic is legit or not. I just went on an idle server one day, shot a bunch of people with the needlegun for maybe a few seconds and left now I get a sense of regret and shame every time a game loads :(
[QUOTE=Nicknine;47368836]The problem is that health may still end up in negative after multiple overflows. I did some math and assuming that the attacker takes maximum fall damage which is 175, give or take 20%, a stack of 15 players (not including the attacker and the victim at the bottom) is enough to overflow health AND land it in postitive (2,511,058,725 damage).[/QUOTE] Good news on that, overflowing health into positive is indeed possible. I've compiled the source code of TF2 Classic mod with sniper rifle damage set to 2.5 billion and shooting a player indeed caused his health to warp around into positive. So yeah, it's worth trying that Mantreads stack thing.
[QUOTE=Spectre1406;47369368]should've copy/pasted the log, that fucking bastard pretty sure he gave me mumble.sourceforge.org or something, can't remember[/QUOTE] mumble.sourceforge.org is where you legitimately download Mumble from The fake link is mumble-sourceforge.org, note the hyphen instead of a period.
[QUOTE=Nicknine;47369437]Good news on that, overflowing health into positive is indeed possible. I've compiled the source code of TF2 Classic mod with sniper rifle damage set to 2.5 billion and shooting a player indeed caused his health to warp around into positive. So yeah, it's worth trying that Mantreads stack thing.[/QUOTE] Well, I've just stacked 31 bots with mantreads and tried landing on them with various velocities and unfortunately, the bottom soldier always dies. Either Mantreads damage (or damage in general) is capped or I'm just unlucky.
[QUOTE=Nicknine;47369841]Well, I've just stacked 31 bots with mantreads and tried landing on them with various velocities and unfortunately, the bottom soldier always dies. Either Mantreads damage (or damage in general) is capped or I'm just unlucky.[/QUOTE] Unless you can see damage numbers from a modified sizzling stats or something, or otherwise manipulate the bottom's soldier's health into an assumed defined value (with 20% margin of error included), you won't get any worthwhile results. My suggestion, only do two or three soldiers and get a low velocity impact (20%) and then just give him more health accordingly. Hell, at that, be sure to modify the base soldier's health to something far less so it's more predictable and has less margin of error. My suggestion: give the top soldier 50 health. Low velocity impact is ~10 with 20% margin of error. 8-12 then, I think. By that theory, if we do 4 soldiers stack on top of each other and use the formula 10*3^x (assuming x to be PLAYER-1, or 3), that should come out to uhh.... 10*3^3, 270 I think? Assuming margin of error, it can range from 8 to 12, so your range ends up being 216 to 324. In short, we are expecting around 270 median. Range is 216 to 324. Consider giving the bottom soldier 325. Assuming no outlying modifiers, it should never exceed 324 on lowest velocity impact range and a series of tests should give an outcome at approximately 270.
[QUOTE=Gamemaster1379;47369964]Unless you can see damage numbers from a modified sizzling stats or something, or otherwise manipulate the bottom's soldier's health into an assumed defined value (with 20% margin of error included), you won't get any worthwhile results. My suggestion, only do two or three soldiers and get a low velocity impact (20%) and then just give him more health accordingly. Hell, at that, be sure to modify the base soldier's health to something far less so it's more predictable and has less margin of error. My suggestion: give the top soldier 50 health. Low velocity impact is ~10 with 20% margin of error. 8-12 then, I think. By that theory, if we do 4 soldiers stack on top of each other and use the formula 10*3^x (assuming x to be PLAYER-1, or 3), that should come out to uhh.... 10*3^3, 270 I think? Assuming margin of error, it can range from 8 to 12, so your range ends up being 216 to 324. In short, we are expecting around 270 median. Range is 216 to 324. Consider giving the bottom soldier 325. Assuming no outlying modifiers, it should never exceed 324 on lowest velocity impact range and a series of tests should give an outcome at approximately 270.[/QUOTE] I can't raise other player's health above maximum, though. Tried ent_fire SetHealth, ent_fire addoutput max_health, ent_fire addoutput health, nothing works.
i hope you people make a video for all of us peasants who are clueless of what you're talking about but are overly intrigued with the results.
[QUOTE=Spectre1406;47369368]should've copy/pasted the log, that fucking bastard pretty sure he gave me mumble.sourceforge.org or something, can't remember[/QUOTE] 5:13 PM - PechenkaFTW: hello mate 5:13 PM - PechenkaFTW: just added you for one ask 5:13 PM - Gamemasterˢˢ: No I won't play for your highlander team 5:13 PM - PechenkaFTW is now Offline. [editline]21st March 2015[/editline] [QUOTE=Nicknine;47369989]I can't raise other player's health above maximum, though. Tried ent_fire SetHealth, ent_fire addoutput max_health, ent_fire addoutput health, nothing works.[/QUOTE] If you can run Sourcemod on your server, easiest way I can think of is use [url=https://forums.alliedmods.net/showthread.php?p=1050170]tf2items[/url]. Give your player and the last bot a unique item. Probably a unique hat for each. Slap on "max health additive bonus" from schematics onto both hats (index value 26). It's just adding an int value, not multiplicative. Make it -150 for yourself and 125 for your bottom bot. [editline]21st March 2015[/editline] [QUOTE=Metaru;47369991]i hope you people make a video for all of us peasants who are clueless of what you're talking about but are overly intrigued with the results.[/QUOTE] Mantreads stompy. Big numbers. Break shit.
Are Squad Surplus Vouchers even remotely worth it? They cost more than a ToD tickets.
no unless you REALLY want extra loot.
[QUOTE=morky;47370407]Are Squad Surplus Vouchers even remotely worth it? They cost more than a ToD tickets.[/QUOTE] not at all honestly, only use i ever see is if you feel like wasting 6 with friends for a full squad tour to see if anyone gets a hat
[QUOTE=LittleBabyman;47370417]no unless you REALLY want extra loot.[/QUOTE] You get a weapon (like not even 3 cents) or if you're lucky a hat (40 cents?) Unless you get a hat for every person it's not worth it; it's shit unless it works differently for 2 cities.
[QUOTE=Punchy;47369286]It's painful when idling one time for a few minutes as pyro years and years ago can completely besmirch your stats so badly you have no choice but to stare at your mistake in every loading screen for the rest of your life [t]http://puu.sh/gJMve/f7fa7ad338.jpg[/t][/QUOTE] Same. I was a noob who was desperate for achievement items and I idled and farmed for them.
[QUOTE=Punchy;47369286]It's painful when idling one time for a few minutes as pyro years and years ago can completely besmirch your stats so badly you have no choice but to stare at your mistake in every loading screen for the rest of your life [t]http://puu.sh/gJMve/f7fa7ad338.jpg[/t][/QUOTE] [t]http://i.imgur.com/b8jXozl.jpg[/t] When I was younger I idled a ton, hell I didn't even play TF2. I just sat in idle/achievement servers killing idle players, it wasn't until 2012 I actually started going to regular servers. [sp] I regret not going into servers till then.[/sp]
[QUOTE=QUILTBAG;47369338]I've probably reset my stats three times in the four years I've been playing. If I could reset my "2400 hours played" on Steam, I'd do that too - I hate how I spent my first few months with the game.[/QUOTE] A part of me wishes I hadn't reset my stats to clear out the time I spent on idle servers and shit when starting out the game. I'd really like to know how much time I've actually spent playing soldier total, as it's easily at least a third of the time I've spent playing TF2.
[QUOTE=morky;47370407]Are Squad Surplus Vouchers even remotely worth it? They cost more than a ToD tickets.[/QUOTE] It used to be a good tool to use against other players who like to randomly kick other players. By that I mean, the other players wouldn't let a vote to kick you through because you had the voucher. Very useful for kiddos who think they're Gaben's gift to MvM (but are useless). Now? Doesn't matter anymore. They don't understand what the voucher is for and cost to items gained just isn't worth it.
[QUOTE=Punchy;47369286]It's painful when idling one time for a few minutes as pyro years and years ago can completely besmirch your stats so badly you have no choice but to stare at your mistake in every loading screen for the rest of your life [t]http://puu.sh/gJMve/f7fa7ad338.jpg[/t][/QUOTE] i recently reset my stats which were besmirched by earlier years of playing on achievement idle servers
Is tf2center worth giving a try? I used to comp a little really long ago but the scrims took place at the most unfitting moments.
[QUOTE=Vincentor;47371492]Is tf2center worth giving a try? I used to comp a little really long ago but the scrims took place at the most unfitting moments.[/QUOTE] Think of it as "the highest form of pubs", not "the lowest form of comp".
There will be giant tryhards that stomp everyone and get mad at people's mistakes, but other than that it's been a good experience. It's almost easier than pubs, having teammates slightly more competent most of the time.
Sorry, you need to Log In to post a reply to this thread.