Forum

> > Carnage Contest > Health overdose may cause lulz
Forums overviewCarnage Contest overviewLog in to reply

English Health overdose may cause lulz

7 replies
To the start Previous 1 Next To the start

old Re: Health overdose may cause lulz

DC
Admin Off Offline

Quote
yeah every kind of MASSIVE exaggeration like this one is likely to cause problems.

I can explain the health issue to you: the health values are saved as signed integers. an integer is a 32-bit value and can store values from -2^31 ( -2147483648 ) to 2^31-1 ( 2147483647 ). it's typical that the value wraps and becomes negative when you exceed the maximum value. and that's exactly what happened: you were insane enough to think that it would be nice to have over 2 billion (!) hp and exceeded the maximum positive value an integer can store. you therefore reached a negative value and a negative health value always means that you are dead

this will probably never happen in a normal game with a weaponset which actually makes sense...

old Re: Health overdose may cause lulz

Yamaxanadu
User Off Offline

Quote
Heh , i Health Overdosed with a OMGWTFBBQWTFTVLOLOWNEDPWNEDUBERROFLLOL Mega Health pack that gave you 70 Gigazillions of Health

turns out , it didn't work , And Crashed Horribly , and also made me restart my computer due to the Massive CPU it used up

the Pain from the result? Never , Ever , Use a weapon set with a health Crap in it that heals you to 400000000

old Re: Health overdose may cause lulz

Hurri04
Super User Off Offline

Quote
Shanghaimi -Chet- Chen has written
Heh , i Health Overdosed with a OMGWTFBBQWTFTVLOLOWNEDPWNEDUBERROFLLOL Mega Health pack that gave you 70 Gigazillions of Health

cool, make a weapon out of it so you can "heal" one of your opponents and his computer will crash and he has to restart, this will be a weapon that heals ingame but hurts in RL

old Re: Health overdose may cause lulz

Vectarrio
User Off Offline

Quote
One more thing, the kill things (like Xplosive belt or For allah or Anvil) just deals 10000 dmg. So, if health>10000 then you will not die by suicide! (it is maybe offtopic, but it fits thread name), so for script i suggest
1
playerdamage(player,playerhealth(player))

old Re: Health overdose may cause lulz

Nem
User Off Offline

Quote
Vectar666 has written
One more thing, the kill things (like Xplosive belt or For allah or Anvil) just deals 10000 dmg. So, if health>10000 then you will not die by suicide!

Yea, we noticed that with friend, xplo belt is fun with over dose
To the start Previous 1 Next To the start
Log in to replyCarnage Contest overviewForums overview