CoN 25th Anniversary: 1997-2022
100 dmg Ultima

Posted: 16th June 2005 00:31

*
Returner
Posts: 7

Joined: 12/6/2005


Talk about weird. Today I was going through the Phoenix Cave cause I missed something for Gau's rage...So here I am going through battles, la la la...Okay, getting bored, so Terra, my strongest magic user, casts Ultima...Boom 100-150 damage on all creatures...Uh, ok...Next Shadow casts ultima, 6000 whatever. Note, Shadow is a weaker magic user, I don't get it. Try again, 100, again 100...Uh, any explanations?? Other magic works fine but Ultima has been reduced to Not-so-Ultima anymore. At least on Terra. And she is at 142 magic power. Maybe its the phoenix cave, cause I don't think Ive had this problem before. I would have tried with Celes, she is second with 135, but she doesn't know Ultima yet.

Yeah, my Ultima does 100 damage, beat that! tongue.gif

--------------------
"Leave us. The dog eats strangers." -Shadow
Post #86290
Top
Posted: 16th June 2005 00:44

Group Icon
Lunarian
Posts: 1,394

Joined: 13/3/2004

Awards:
Member of more than ten years. Vital involvement in the Final Fantasy VI section of CoN. Vital involvement in the Final Fantasy V section of CoN. Member of more than five years. 
Here's what happened:

The game has two bytes to store damage in, kay? That's a total of 65535. But since it's a four digit system, it'll be reduced to 9999 after that.

If you're really obscenely powerful - as in, playing the game in such a way its mere existence is a mockery of itself and an insult to everything ever - you'll get enough power behind your Ultima's they'll actually do MORE than 65535. Past that magical number it hits 00 again, so the damage formula kinda gives you 65635 damage (or something) but it turns up as 100.



--------------------
Post #86291
Top
Posted: 16th June 2005 00:52

*
Returner
Posts: 7

Joined: 12/6/2005


Well, thanks for letting me know that. As cool as I think it is and funny...It is also not cool and not funny...Well, that goes to show everyone one thing. Being powerful is sometimes not the best thing. This run through of FF6 I just wanted to do things differently, I never used to pay attention to those esper level up things. So, this time I tried to utilize them to the max. And what happens? I become weaker then my intial magitek riding self, lol. laugh.gif Well, somewhat...

--------------------
"Leave us. The dog eats strangers." -Shadow
Post #86293
Top
Posted: 16th June 2005 00:53

*
Holy Swordsman
Posts: 2,034

Joined: 29/1/2004

Awards:
Member of more than ten years. Participated at the forums for the CoN's 15th birthday! User has rated 25 fanarts in the CoN galleries. Member of more than five years. 
Second place in the 2004 Gogo Fanfiction contest. Third place in the 2009 Quiz contest. 
Sounds like something you should make a patch for, Djibriel- There! I've given you something to do! You oughta thank me. wink.gif

--------------------
If you've been mod-o-fied,
It's an illusion, and you're in-between.
Don't you be tarot-fied,
It's just alot of nothing, so what can it mean?
~Frank Zappa

Sins exist only for people who are on the Way or approaching the Way
Post #86295
Top
Posted: 16th June 2005 01:13

*
Cetra
Posts: 2,350

Joined: 19/9/2004

Awards:
Member of more than five years. 
Quote (MogMaster @ 15th June 2005 19:53)
Sounds like something you should make a patch for, Djibriel- There! I've given you something to do! You oughta thank me. wink.gif

That's not exactly possible short of writing dodgy code. It's a hardware issue with how the processor handles its values. The Dji-man would have to do something like checking, for every value calculated, if the addition would bring it over 65535. If yet, then he'd have to trim it to 9999. Otherwise, no action would be taken.

This sort of code seems trivial, but there are many places where damage is calculated, and once the calculation is over, it's over The values has already rolled over.

Wait... idea coming to light. I DO believe the carry bit would be set. It's unreliable at best, but it could be tested for and, if set, the damage could be set to 9999. The hard part would be making sure it was set from an actual damage calculation, and not something else along the way. Come to think of it, using the carry bit wouldn't work because it would be shifted around a lot before any potentially useful place a check could be inserted in the code, short of after every damage calculation. Which brings us back to point one.

Either way, it involves quite a lot more work than meets the eye. My hat off to you, Djibriel, if you have the patience to pull it off. wink.gif The quickest and least tedious way would just be to alter the formulas so that they never produce a value greater than 65,535. This would alter the overall balance of the game somewhat, though, as certain select stats would have lessened effects.

--------------------
"Judge not a man by his thoughts and words, but by
the quality and quantity of liquor in his possession
and the likelyhood of him sharing."
Post #86297
Top
Posted: 16th June 2005 02:33

*
Black Mage
Posts: 171

Joined: 11/2/2005

Awards:
Member of more than ten years. Member of more than five years. 
Quote
Being powerful is sometimes not the best thing.


Well, think of it this way:

you can hit around 9999 with an ice1/fire1/bolt1 spell happy.gif

So there actually is an advantage to being that strong.

--------------------
~ Aurora, exhale bloody air! Dark Holy! ~
Post #86303
Top
Posted: 16th June 2005 03:02

*
Engineer
Posts: 447

Joined: 12/6/2005

Awards:
Member of more than ten years. Member of more than five years. 
Ummm... aren't we missing the point that it's pretty much impossible to DEAL 65535 damage? Or, if it is... DANG.

--------------------
The island bathes in the sun's bright rays
Distant hills wear a shroud of grey
A lonely breeze whispers in the trees
Sole witness to history

ICO-You were there-
Post #86311
Top
Posted: 16th June 2005 06:18

*
Returner
Posts: 5

Joined: 15/6/2005


You're not really doing 65535 damage in the game if your stat values allow you to make it that high. It's just calculated to that much as a max in the processor and any damage 10000-65535 is reduced to 9999 in battle, while anything 65536 and above is reset to 0 damage with the excess amount added on. The programmers of the game probably never thought that people would invest that much time into leveling with their espers, so it was never a problem for them. Unfortunately they underestimated the really hardcore gamers and thus this 'bug' was discovered. Next time you play through think of a limit for your stats and increases them to that point, once you reach the desired number switch to increasing another stat in order to make your character more balanced. Or you could try a natural magic game...... biggrin.gif

--------------------
"We could strap dynamite to our heads and roll around in fire. It would increase our chances of survival." ---- Red Mage, 8- bit theatre
Post #86339
Top
Posted: 16th June 2005 06:33

*
Cetra
Posts: 2,350

Joined: 19/9/2004

Awards:
Member of more than five years. 
Think of it this way... (mock up; these aren't REAL game numbers.)

Spell damage is calculated as so...
( ( (MPower / 35) + (SpellPower / 20) ) * (2 to 4) )²

So with a character that has 100 MPower casting a spell with a power of 50, you'd get from about 115 - 460 damage. With a character that has 150 MPower casting a spell with a power of 100, you'd get from 345 - 1380.

Suppose your character has 512 MPower and the spell has a power of 255. That's about 3000 to 12000. Oops, but we can't have 12000! The game figures, well, it's over 9999, so... I'll just discard the excess. 3000-9999.

Now let's keep one thing in mind: the game only knows how to count up to 65535. If it hits 65536, it loops around over to 0. That's just how its memory works on a hardware level: it can only work with numbers up to 2 bytes in length! So our spell ends up being so powerful that it does 70000 damage!! What happens?


Game calculates 70000
Memory chops it up (70000 - 65536: 4464.) <- This is hardware, not software; the code doesn't have control over this.
Is it bigger than 9999? Nope, it's just 4464.
Final damage: 4464 damage. Not 70000.

Yoink.

--------------------
"Judge not a man by his thoughts and words, but by
the quality and quantity of liquor in his possession
and the likelyhood of him sharing."
Post #86340
Top
Posted: 16th June 2005 08:43

Group Icon
Lunarian
Posts: 1,394

Joined: 13/3/2004

Awards:
Member of more than ten years. Vital involvement in the Final Fantasy VI section of CoN. Vital involvement in the Final Fantasy V section of CoN. Member of more than five years. 
http://assassin17.home.comcast.net/patches/ff3MDamg.zip

Done tongue.gif

Assassin, who lingers in mystery for most CoNers has shone his Light in yon dark alley long ago.

--------------------
Post #86344
Top
Posted: 16th June 2005 18:01

*
Engineer
Posts: 447

Joined: 12/6/2005

Awards:
Member of more than ten years. Member of more than five years. 
We're not worthy! We're not worthy!

--------------------
The island bathes in the sun's bright rays
Distant hills wear a shroud of grey
A lonely breeze whispers in the trees
Sole witness to history

ICO-You were there-
Post #86381
Top
Posted: 16th June 2005 20:52

*
Chocobo Knight
Posts: 126

Joined: 16/4/2005

Awards:
Member of more than ten years. Member of more than five years. 
*bows to FFIV superiors*

why dont you exploit that bug and have an contest to see which person can get the lowest damage with Ultima? It would be rather funny to see those people in disbelief, looking at a small video showing Ultima do a whopping 12 damage...

--------------------
Its not denial. I'm just very selective about the reality i accept. ~Calvin and Hobbes

Yah, i dont post much if you havent noticed. I'm not used to large fourms so i usally lurk and post every now and then..
Post #86402
Top
Posted: 17th June 2005 00:36

*
Cetra
Posts: 2,350

Joined: 19/9/2004

Awards:
Member of more than five years. 
Ahhh, I see how he does it. He simply recoded the final damage calculation part to have a fix more or less like I described it (only definitely less vague tongue.gif) And here I was talking about applying the effect to every calculation instead of just the final damage calculation. tongue.gif

Thumbs up to 'Sin for his great work!

--------------------
"Judge not a man by his thoughts and words, but by
the quality and quantity of liquor in his possession
and the likelyhood of him sharing."
Post #86467
Top
Posted: 18th June 2005 06:36

*
Holy Swordsman
Posts: 2,114

Joined: 18/7/2004

Awards:
Celebrated the CoN 20th Anniversary at the forums. Member of more than ten years. User has rated 300 fanarts in the CoN galleries. Participated at the forums for the CoN's 15th birthday! 
User has rated 150 fanarts in the CoN galleries. User has rated 75 fanarts in the CoN galleries. User has rated 25 fanarts in the CoN galleries. Member of more than five years. 
I had never heard of something like that before. But, I guess I'm not all that surprised.
Post #86655
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: