Forum

> > Carnage Contest > Health overdose may cause lulz
ForenübersichtCarnage Contest-ÜbersichtEinloggen, um zu antworten

Englisch Health overdose may cause lulz

7 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Re: Health overdose may cause lulz

DC
Admin Off Offline

Zitieren
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...

alt Re: Health overdose may cause lulz

Yamaxanadu
User Off Offline

Zitieren
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

alt Re: Health overdose may cause lulz

Hurri04
Super User Off Offline

Zitieren
Shanghaimi -Chet- Chen hat geschrieben
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

alt Re: Health overdose may cause lulz

Vectarrio
User Off Offline

Zitieren
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))

alt Re: Health overdose may cause lulz

Nem
User Off Offline

Zitieren
Vectar666 hat geschrieben
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
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenCarnage Contest-ÜbersichtForenübersicht