v83 Magic Cap 1999?

Results 1 to 2 of 2
  1. #1
    Account Upgraded | Title Enabled! lockingkz is offline
    MemberRank
    Dec 2012 Join Date
    475Posts

    v83 Magic Cap 1999?

    Hello guys, Does anyone have the hex code for the magic cap for v83 localhost?

    Thanks in advanced!


  2. #2
    Moderator Eric is offline
    ModeratorRank
    Jan 2010 Join Date
    DEV CityLocation
    3,188Posts

    Re: v83 Magic Cap 1999?

    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;
      }



Advertisement