Jump to content
  • 0

[SOLVED] NPC pre-re / re / base questions


H4Mm3r

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   1
  • Joined:  09/22/15
  • Last Seen:  

Hello,

 

I admit I'm a little bit lost with npc/ folder.

 

My goal : pre-Re server

What I did : compiled rAthena with #define PRERE

 

I see in npc/ folder :

 

- airports/kafra/warps...

- pre-re/ airports/kafra/warps...

- re/ airports/kafra/warps...

 

I cannot delete "re" folder because servers is loading it.

 

I sometimes have to edit the root folders files to see my changes, and sometimes pre-re/ foler ones.

 

Can someone help me undertanding witch NPC folders are read, included, can be deleted for a pre-RE server ?

 

Thanks by advance.

 

Regards

Edited by H4Mm3r
Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.01
  • Content Count:  53
  • Reputation:   0
  • Joined:  08/14/15
  • Last Seen:  

i think if you are a Pre-Renewal just use the the folders that are there and dont put it on you RE folders

just dont forget to put em on your conf :3

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  

trunk/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

Just comment that #define RENEWAL and it should work. Usually.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   1
  • Joined:  09/22/15
  • Last Seen:  

Hi,

 

Thanks for answers.

 

This shouldnt do the job ?

 

//quick option to disable all renewal option, used by ./configure
#define PRERE
#ifndef PRERE
 

Have I to comment #define RENEWAL ?

 

The #define PRERE seems to bypass the "if" with renewal options.

 

Thanks by advance.

 

Regards

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   83
  • Joined:  08/11/12
  • Last Seen:  

Hi,

 

Thanks for answers.

 

This shouldnt do the job ?

 

//quick option to disable all renewal option, used by ./configure

#define PRERE

#ifndef PRERE

 

Have I to comment #define RENEWAL ?

 

The #define PRERE seems to bypass the "if" with renewal options.

 

Thanks by advance.

 

Regards

 

No, You don't have to.

a bit of an explanation:

ifndef = if not defined = if 'PRERE' is not defined then do all the statements below until you see #endif

:)

Edited by jezznar
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   1
  • Joined:  09/22/15
  • Last Seen:  

Ok,

 

So can I be sure npc/re/* aren't loaded ?

 

And can I be sure npc/pre-re and npc/* will not create conflict ?

 

Thanks by advance.

 

Regards

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   83
  • Joined:  08/11/12
  • Last Seen:  

Ok,

So can I be sure npc/re/* aren't loaded ?

And can I be sure npc/pre-re and npc/* will not create conflict ?

Thanks by advance.

Regards

Yes.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   1
  • Joined:  09/22/15
  • Last Seen:  

Thanks a lot for answers.

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