Jump to content
  • 0

Change renewal to pre-renewal... Doubt!


XIxJEALOUSxIX

Question


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  04/09/13
  • Last Seen:  

Hello!, hope you are doing great.

 

Have this question (how to change renewal to pre-renewal mode) as after doing a lot of research I'm confused. Please note this is my current "renewal.h":

 

// Copyright © rAthena Dev Teams - Licensed under GNU GPL

// For more information, see LICENCE in the main folder
#ifndef _CONFIG_RENEWAL_H_
#define _CONFIG_RENEWAL_H_
 
//quick option to disable all renewal option, used by ./configure
//#define PRERE
#ifndef PRERE
/**
 * rAthena configuration file (http://rathena.org)
 * For detailed guidance on these check http://rathena.org/wiki/SRC/config/
 **/
 
 
/**
 * @INFO: This file holds general-purpose renewal settings, for class-specific ones check /src/config/classes folder
 **/
 
/// game renewal server mode
/// (disable by commenting the line)
///
/// leave this line to enable renewal specific support such as renewal formulas
#define RENEWAL
 
/// renewal cast time
/// (disable by commenting the line)
///
/// leave this line to enable renewal casting time algorithms
/// cast time is decreased by DEX * 2 + INT while 20% of the cast time is not reduced by stats.
/// example:
///  on a skill whos cast time is 10s, only 8s may be reduced. the other 2s are part of a
///  "fixed cast time" which can only be reduced by specialist items and skills
#define RENEWAL_CAST
 
/// renewal drop rate algorithms
/// (disable by commenting the line)
///
/// leave this line to enable renewal item drop rate algorithms
/// while enabled a special modified based on the difference between the player and monster level is applied
#define RENEWAL_DROP
 
/// renewal exp rate algorithms
/// (disable by commenting the line)
///
/// leave this line to enable renewal item exp rate algorithms
/// while enabled a special modified based on the difference between the player and monster level is applied
#define RENEWAL_EXP
 
/// renewal level modifier on damage
/// (disable by commenting the line)
///
// leave this line to enable renewal base level modifier on skill damage (selected skills only)
#define RENEWAL_LVDMG
 
/// renewal ASPD [malufett]
/// (disable by commenting the line)
///
/// leave this line to enable renewal ASPD
/// - shield penalty is applied
/// - AGI has a greater factor in ASPD increase
/// - there is a change in how skills/items give ASPD
/// - some skill/item ASPD bonuses won't stack
#define RENEWAL_ASPD
 
#endif
 
#endif // _CONFIG_RENEWAL_H_

 
In some topics I read for changing from renewal to pre-renewal mode it is needed to comment the following lines:

#define RENEWAL

#define RENEWAL_CAST
#define RENEWAL_DROP
#define RENEWAL_EXP
#define RENEWAL_LVDMG
#define RENEWAL_ASPD

I am able to do that (then recompile, etc.), the problem is after doing this change I am not able to see NPC's or warps in some maps (example: Brasilis). Not sure if I am doing something wrong or maybe there's another step I am missing for making appear the NPC's and warps in this maps...

For reference you can check other post I made because of the "Invisible NPC's and warps": http://rathena.org/board/topic/97615-error-can-not-see-npcs-warps/

 

I really want to use pre-renewal mechanics in my "home server" but obviously just if this do not affects maps, mobs, items and other things in the game.

 

Hope someone can help me with this! Thank you for your time reading my issues xD...

XIxJEALOUSxIX.

Edited by XIxJEALOUSxIX
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

by uncommenting this line

//#define PRERE 

all renewal mechanics will be set to pre renewal

 

 

Ok I delete the comment as described, recompile the server, then log into de game but the NPC's and warps dissapear.

I think it changes to pre-renewal mechanics, but why the issues with the NPC's and warps? Maybe something missing in the pre-re folder, later I am going to get a new copy of this folder.

 

Yes it will change, since you setup the npc & warps on renewal setting and then you change it into pre renewal everything will change from renewal to pre renewal setup.

 

there are renewal database / pre renewal database, all you need to do is look for the pre renewal or which system you are using then enable those npc.

Edited by Ginji
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

Edit this line

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

to this

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

then recompile your sever.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  04/09/13
  • Last Seen:  

Edit this line

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

to this

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

then recompile your sever.

Ok I delete the comment as described, recompile the server, then log into de game but the NPC's and warps dissapear.

I think it changes to pre-renewal mechanics, but why the issues with the NPC's and warps? Maybe something missing in the pre-re folder, later I am going to get a new copy of this folder.

 

Please let me know if more information is needed...

Emulator: rAthena (r17704)

Client: Ragexe 2013-07-03

 

 

Ok, is fix it?... In "renewal.h" I disable some renewal features but not all... Comment all the following lines except "#define RENEWAL":

 

#define RENEWAL_CAST
#define RENEWAL_DROP
#define RENEWAL_EXP
#define RENEWAL_LVDMG
#define RENEWAL_ASPD

Can somebody tell me if doing this would be a problem in the server or something similar?
And if there is a problem by not changing just the "#define RENEWAL", then somebody knows what exactly manage this option in order to check those files and search for the options manually, maybe will be able to find the reason for the NPC's and warps from the renewal maps dissapear?
 
I am getting crazy with this, hope to get some help =S...
XIxJEALOUSxIX
Edited by XIxJEALOUSxIX
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  04/09/13
  • Last Seen:  

by uncommenting this line

//#define PRERE 

all renewal mechanics will be set to pre renewal

 

 

Ok I delete the comment as described, recompile the server, then log into de game but the NPC's and warps dissapear.

I think it changes to pre-renewal mechanics, but why the issues with the NPC's and warps? Maybe something missing in the pre-re folder, later I am going to get a new copy of this folder.

 

Yes it will change, since you setup the npc & warps on renewal setting and then you change it into pre renewal everything will change from renewal to pre renewal setup.

 

there are renewal database / pre renewal database, all you need to do is look for the pre renewal or which system you are using then enable those npc.

I'm still working, so later I will review the useful information you gave me.

 

I saw there are two different folders in "db", the "re (renewal)" and the "pre-re (pre-renewal)". If I understand your post, it seems that when changing the mechanics to pre-renewal, the renewal stuff (maps, NPC's, mobs, items, etc) are not enable in the "pre-re" folder and that means I need to check those databases to enable this renewal stuff... (That makes a lot of sense)

 

I really appreciate your help thank you so much, I will let you know what happend.

 

(Always before posting I tried to find the answer online, but most of times the problems are a little different or the "solution" does not work. I do not want people start thinking I do not know how to use Google xD)

XIxJEALOUSxIX.

 

Edit: Thank you for everything, now I understand my mistake and now it is just some time to add the NPC's, warps and other stuff to renewal!!!

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