Jump to content
  • 0

about renewal define


Jayz

Question


  • Group:  Members
  • Topic Count:  59
  • Topics Per Day:  0.01
  • Content Count:  396
  • Reputation:   53
  • Joined:  07/24/12
  • Last Seen:  

Hello how to know if the define line on src is renewal and pre-re

 

because i add src code + script when i switch to renewal the config its working the script but when i switch it pre-re settings the script is not working

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  353
  • Reputation:   70
  • Joined:  07/14/12
  • Last Seen:  

im not sure if im pointing the right answer

since i can't see any screenshot of the error

but i think this reply of mine might make sense

check src\config\renewal.h

 
/// game renewal server mode
/// (disable by commenting the line)
///
/// leave this line to enable renewal specific support such as renewal formulas
#define RENEWAL

 

 

 

check src\map\status.h

 

#ifdef RENEWAL
#    define MAX_REFINE 20
#else
#    define MAX_REFINE 10
#endif

 

so maybe your script doesn't support max refine 10?

maybe your src code was only mean't for RENEWAL

cause its quite obvious that RENEWAL supports refine +20 and has a different structure in refine_db.txt

 

maybe something like this

 

#ifdef RENEWAL
#    //src code support for renewal
#else
#    //src code support for pre-renewal
#endif

or 

use this for your refine limit in your src code

MAX_REFINE

 

i hope i gave you some ideas
im not good with any src edits

but i think my answer is logical

Edited by icabit
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...