• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

How to get weapon attack information in v83

Initiate Mage
Joined
Oct 1, 2023
Messages
3
Reaction score
0
In the server-side damage parser, I saw code that if damage within MaxDamage * 1.5, it wouldn't be autobanned.

So i wanted to manipulate the packets so that my attacks always do "maximum damage"

To do that, I need to know the damage of the weapon i'm equipped
But it is really hard to find that information in memory

Even if it is the same weapon, the weapon attack is diffrent

I tried parsing CalcDamage::pDamage to try to find this, but wtf? I gave up as soon as I saw the number of lines haha,,,
 
Last edited:
Initiate Mage
Joined
Oct 1, 2023
Messages
3
Reaction score
0
duck.. finally i got it.
MapleStory does not store variables as is, but uses a strange Xor to store them and read them.

SecondaryStat(00BF3D54) = CWvsContext + 84D
WeaponAttack = ZtlSecureFuse<Long>(SecondaryStat, SecondaryStat[2])\

now i can calculate damage formula with stats, apply max to my attack always.
 
Last edited:
Upvote 0
Back
Top