Jump to content
  • 0

Def Over 99 Will become negetive =(


killerlian

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  11/13/12
  • Last Seen:  

is there a way to fix the -negative defense when you reached above 99 defense?to be more specific everytime i equip all my +10 item my defense becomes -156 and if my defense is 99 Sonic blow's damage with full equipment is 46? is there a way to fix it thanks Btw im using rathena 15523

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  159
  • Reputation:   26
  • Joined:  11/20/11
  • Last Seen:  

On 12/22/2012 at 8:42 AM, Damaso said:

igned char defType

 

On 12/22/2012 at 8:42 AM, Damaso said:

i fixed this problem in rAthena 17+++..

trunk/src/config/const.h

change:

/typedef signed char defType;

to

typedef short defType;

and

//#define DEFTYPE_MIN CHAR_MIN

//#define DEFTYPE_MAX CHAR_MAX

to

#define DEFTYPE_MIN SHRT_MIN

#define DEFTYPE_MAX SHRT_MAX

this works for me. thank you

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  125
  • Reputation:   2
  • Joined:  08/27/12
  • Last Seen:  

Having the same issue as these. Using old SVN but i'll try to update my SVN maybe it'll solve my problem. But BUMP on these. Can someone provide us the solution? Thank you.

BUMP TO THIS!

Are you using Renewal settings on your server? If not, try these in your source edit. I fixed mine using these:

go to trunk/src/config/renewal.h

add the following

#define REMODE 0

These will absolutely ignore all renewal settings on your server. Recompile and restart.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  554
  • Reputation:   70
  • Joined:  04/04/12
  • Last Seen:  

a better solution is to update your files..

or

http://trac.rathena.org/changeset/16085/rathena

or

do it by your self by changing the data type of def from char to short in source file

:meow:

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   1
  • Joined:  04/10/12
  • Last Seen:  

i fixed this problem in rAthena 17+++..

trunk/src/config/const.h

change:

/typedef signed char defType;

to

typedef short defType;

and

//#define DEFTYPE_MIN CHAR_MIN

//#define DEFTYPE_MAX CHAR_MAX

to

#define DEFTYPE_MIN SHRT_MIN

#define DEFTYPE_MAX SHRT_MAX

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  121
  • Reputation:   1
  • Joined:  12/01/12
  • Last Seen:  

so with re mode i cant have higher def ? if yes tell me how plz :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...