Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

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