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

v83 Magic Cap 1999?

Elite Diviner
Joined
Dec 10, 2012
Messages
475
Reaction score
9
Hello guys, Does anyone have the hex code for the magic cap for v83 localhost?

Thanks in advanced!
 
Custom Title Activated
Loyal Member
Joined
Jan 18, 2010
Messages
3,109
Reaction score
1,139
The Magic Cap in the v83 client is already removed.

Code:
if ( v99 >= 2147483647.0 )
  v99 = 2147483647.0;

If you're talking about drawing the overall damage on the CUIStatDetail window, then that has checks that you'd have to remove.
Code:
v177 = ZtlSecureFuse_long_(v8 + 48, v176);
  if ( v177 <= 0 )
    v177 = 0;
  v178 = v177;
  if ( v177 >= 1999 )
    v178 = 1999;
  v179 = ZtlSecureTear_long_(v178, v8 + 48);
  v180 = *(v8 + 26);
  *(v8 + 14) = v179;

Is that your goal? If so, you'll just need to modify the value. Only thing is that here the 1999 check sits on the EDI register, and the 4 total checks (Weapon DEF, Magic, Magic DEF, and Accuracy) all use the same value. By making it max of 2billion or whatever, it'll visually display the user's real stats for weapon def, accuracy, etc properly as well. If that's what you wish, then just modify address 00780620 from mov edi, 7CF (1999) to your liking.

Also, while your magic damage isn't capped, your magic base for MDamage calculation is limited to a 1999 multiplier initially. You can modify that and accuracy base from 1999 to whatever you want as well on address 0079166C.
Code:
v19 = ZtlSecureFuse_long_(a4 + 96, *(a4 + 104));
  v20 = ZtlSecureFuse_long_(a4 + 108, *(a4 + 116));
  v21 = nMasterya + v19 + v20;
  if ( v21 <= 0 )
    v21 = 0;
  v114 = v21;
  if ( v21 >= 1999 )                            // ACC
    v114 = 1999;
  v22 = ZtlSecureFuse_long_(a4 + 1896, *(a4 + 1904));
  if ( v22 > 0 )
  {
    v114 += v114 * v22 / 100;
    if ( v114 >= 1999 )                         // MAD
      v114 = 1999;
  }
 
Upvote 0
Back
Top