Jump to content

EXP BUG! - HELP!


Recommended Posts

  • Replies 29
  • Created
  • Last Reply

Top Posters In This Topic

  • 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

 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

  • 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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


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