Jump to content
  • 0

EXP BUG! - HELP!


ZW.pl

Question

  • Answers 29
  • Created
  • Last Reply

Top Posters For This Question

Recommended Posts

  • 0
4 minutes ago, mebe said:

char_skill.cpp

search:

PointChange(POINT_EXP, -need_exp);

changue for: 

PointChange(POINT_EXP, -static_cast<long long>(need_exp));

 

I found it in the post the .T4Ump

But why longlong, i have exp normal in int. Before i increased gold limit, i didin't have this bug. What may be wrong?

Link to comment
Share on other sites

  • 0
  • Bronze
3 hours ago, ZW.pl said:

But why longlong, i have exp normal in int. Before i increased gold limit, i didin't have this bug. What may be wrong?

Look in char.cpp,in the function point_change() look in the variable val,if it is long long then do the casting as mebe wrote otherwise keep it as it is.

Link to comment
Share on other sites

  • 0

 which concerns exp? (lines of char.h)

long long        points[POINT_MAX_NUM];

void            SetPoint(BYTE idx, long long val);
long long                GetPoint(BYTE idx) const;

 void            PointChange(BYTE type, long long amount, bool bAmount = false, bool bBroadcast = false);

Link to comment
Share on other sites

  • 0
  • Premium
2 minutes ago, ZW.pl said:

 which concerns exp? (lines of char.h)

long long        points[POINT_MAX_NUM];

void            SetPoint(BYTE idx, long long val);
long long                GetPoint(BYTE idx) const;

 void            PointChange(BYTE type, long long amount, bool bAmount = false, bool bBroadcast = false);

Because PointChange working with exp/yangs.


 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 3

      Once upon a time...

    2. 1183

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    3. 3

      Once upon a time...

    4. 3

      Once upon a time...

    5. 0

      problem ability

    6. 0

      Transmutation system error "unknow command server"

    7. 39

      Official Transmutation / Change Look

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.