øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;u=25;area=showposts;start=375e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index8606.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;area=showposts;u=25e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index8606.html.zxH›h^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ00WµÛOKtext/htmlISO-8859-1gzip8:ÖµÛÿÿÿÿÿÿÿÿWed, 11 Mar 2020 08:19:45 GMT0ó°° ®0®P®€§²ð®H›h^ØµÛ Show Posts - assassin

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - assassin

376
as does FC, from the command prompt in Windows or DOS.

----------------

That last check is done in:

Code: [Select]
C2/9419: A6 2E        LDX $2E
C2/941B: E0 0F 27     CPX #$270F
C2/941E: 90 03        BCC $9423
C2/9420: A2 0F 27     LDX #$270F  (Max Damage = 9999)

so if you are going to patch it, that should be a good choice to start in that point.

agreed; i was favoring that spot.


Quote
Let's suppose then a PC in Lv 97 equipped with Ragnarok + Brave Blade and facing Halicarnaso:

Code: [Select]
Attack = 140 + 150          = 290
     M = (97 * 255)/128 + 2 = 195
Damage = ((290 * 8) = 2320) * (197) = 457040 (Which is a 19 bits number)

An overflow is possible but probably nobody is going to notice it ever. It is very probable (1/8) when a number is so high than one of the three highest bits of the 16 bit capped Damage to be 1, and that means a damage of 9999.

thanks for testing.

- where are you getting 255?  is that a hypothetical hack?  from what i've read, Strength maxes out around 50.
- well, a little under 7/8, as 8192 (just bit 13 being set) won't be capped to 9999.  but yes, it is around 85%.

still worth fixing, imho.  and because the spot involved is moved with the Fractional M patch, i think it's worth including in that patch as well.

377
re my overflow concerns: okay, i looked at guides to have a sense of what the stats are.  so it's looking like just Goblin Punch is susceptible (and even that hasn't been tested).  now, if i put the planned fix where i think it's going, it'll encompass all sorts of attacks, but should have no effect on those whose damage is already within 16 bits.

to be sure, how many damage boosters (i.e. to Attack or M) can be combined on a single strike?  can Double Grip and SwordDance and Berserk all come into play at once?  also, does dual-wielding indeed cause separate strikes with separate damages, or does it do something dumb like merge the two weapons into a single strike?

378
Quote
I simply don't believe Agility should be a part of the calculation.

but it's unlikely Square had Agility in that function by accident.  so imho, the best fix tries to figure out in what capacity Agility would've likely been used, while still retaining balance.

without an extra term in the formula, Knives are more of a poor man's Swords.  they don't really have anything to set them apart.

no disagreement on the advantage of separate patches being available.

379
looking at the code, what's to stop the vanilla game from experiencing damage overflows in a large number of attacks?

C2/00D2 is used to put (Attack - Defense) * M in 32-bit $2E - $31.  most callers simply cap 16-bit $2E at 9999, ignoring the top 2 bytes.  the only ones i see that account for them are Gravity, and formulas based on Target or Attacker Max or Current HP.

this seemingly leaves most damage types subject to an overflow.  Goblin Punch is a prime candidate, with its adding the hands' powers together, and its ability to zero Defense and multiply M by 8.  however, other attacks should be vulnerable as well, if target Defense is low enough, and the attacker has high level, high stats, and a strong weapon.

level can go up to 99, right?  what about Strength and Agility?

380
Jorgur: i still think your

Quote from: Jorgur
M = (Level*Strength)/256 + (Level*Agility)/256 + 2

idea from the older topic is superior.

381
Based on the documents from Fractional M, I think:

[...]

Because '
One more thing you'd need to change re: making M fractional. Since monsters' physical attacks use a fixed value for M (rather than calculating it from the monster's level and stats) you'd have to multiply monster M by 128 before using it. Not a big deal.'

ah, he forgot to do that at C2/85C3.  put a "JSL $D02E68" and two NOPs there.

382
suppose you want to multiply N by 4/3.  in the integer land of computers, N * (4/3) = N * 1 = N.  instead, do (N * 4) / 3, for a more realistic result.

this patch is using a similar idea, waiting until as late as possible to do the division.  it postpones a divide by 128, meaning values are 128x normal earlier in the damage calculation.

now, i haven't studied the patch itself; everything i'm saying is based on your posts and posts in that 978.0 thread.  yet i can't help but wonder whether having a 128x M, along with an 8x Attack and 0 Defense due to the level comparison matching, will cause an overflow of some sort.  is Function C2/855D definitely not edited?  and does the zero damage issue still occur when Attacker and Target levels don't match?

383
didn't the older SMF resize avatars if they're too big, or at the very least tell us what the pixel or filesize limitations were?  this one's quite mum on the matter.

384
another offender is 2nd level quotes.  ex:

Quote
Quote
i like trucks

i too like trucks.

3rd level and beyond seem okay.

and very minor: the "Post" and "Preview" buttons lighting up when the cursor's over them, you can't read what they say.  could hurt those with amnesia.

385
another tweak needed is the stickied topic title backgrounds are yellowish, as seen on the Submissions board.

386
nice!   :cookie:

387
i think it's worth keeping and ironing out the kinks.  it's mostly nice, with the main problem being that bold text (e.g. forum titles) is kinda hard on the eyes.

388
ok, code blocks are illegible in the blueandyellow theme (though highlighting solves that).  see http://slickproductions.org/forum/index.php?topic=1964.0

any way for admins to force a dark block background in this theme?

389
the Dragonsbrethren link just redirects to this forum, so i'd refine it to:
http://dragonsbrethren.slickproductions.org/dbi_archive/

some good reading there.

390
Game Modification Station / Re: Need information on monsters
« on: October 22, 2014, 12:02:32 PM »
it's monster "stencils".  they have to do with the mapping of tiles in each row of the monster image.

see a few text files on Lord J's site for info:
http://www.angelfire.com/pq/jumparound/ff3romOffsets.html