Dolphin86 Posted May 23, 2014 Group: Members Topic Count: 280 Topics Per Day: 0.06 Content Count: 757 Reputation: 17 Joined: 01/07/12 Last Seen: April 27 Share Posted May 23, 2014 hello guys, its DolphinCute again *Cute?* well i need to ask currently im using rathena - Revision 17704 and i found out that that trunk run on renewal database, so how can i change it to pre renewal? because i found on that trunk db there is pre folder and re folder Quote Link to comment Share on other sites More sharing options...
ngoclong19 Posted May 23, 2014 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 18 Reputation: 0 Joined: 02/12/14 Last Seen: December 29, 2016 Share Posted May 23, 2014 Please get the latest revision from https://github.com/rathena/rathena. To disable all renewal option, uncomment the line '#define PRERE' in src\config\renewal.h Quote Link to comment Share on other sites More sharing options...
Dolphin86 Posted May 24, 2014 Group: Members Topic Count: 280 Topics Per Day: 0.06 Content Count: 757 Reputation: 17 Joined: 01/07/12 Last Seen: April 27 Author Share Posted May 24, 2014 But what about all the account that have been created? Is there a way that i can save them including the item and zeny? Quote Link to comment Share on other sites More sharing options...
Dolphin86 Posted May 25, 2014 Group: Members Topic Count: 280 Topics Per Day: 0.06 Content Count: 757 Reputation: 17 Joined: 01/07/12 Last Seen: April 27 Author Share Posted May 25, 2014 Please get the latest revision from https://github.com/rathena/rathena. To disable all renewal option, uncomment the line '#define PRERE' in src\config\renewal.h i am using the latest revision, and i have remove //#define PRERE, will that revert back my trunk to pre re? because i cant really tell the different? Quote Link to comment Share on other sites More sharing options...
ngoclong19 Posted May 28, 2014 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 18 Reputation: 0 Joined: 02/12/14 Last Seen: December 29, 2016 Share Posted May 28, 2014 i am using the latest revision, and i have remove //#define PRERE, will that revert back my trunk to pre re? because i cant really tell the different? No, I didn't mean remove //#define PRERE, I meant uncomment //#define PRERE, so it'll become #define PRERE. Quote Link to comment Share on other sites More sharing options...
Dolphin86 Posted May 29, 2014 Group: Members Topic Count: 280 Topics Per Day: 0.06 Content Count: 757 Reputation: 17 Joined: 01/07/12 Last Seen: April 27 Author Share Posted May 29, 2014 well i did that, so now my server will be pre renewal? Quote Link to comment Share on other sites More sharing options...
Jerhia Posted May 30, 2014 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 115 Reputation: 14 Joined: 08/13/13 Last Seen: May 17, 2023 Share Posted May 30, 2014 (edited) If you want to disable renewal go to src/config/renewal.h /// game renewal server mode /// (disable by commenting the line) // Copyright (c) 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 /// based on the http://irowiki.org/wiki/Drop_System#Level_Factor table //#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_ Edited May 30, 2014 by Jerhia Quote Link to comment Share on other sites More sharing options...
BavariaN Posted June 12, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 41 Reputation: 1 Joined: 10/17/13 Last Seen: July 14, 2015 Share Posted June 12, 2014 If you want to disable renewal go to src/config/renewal.h /// game renewal server mode /// (disable by commenting the line) // Copyright (c) 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 /// based on the http://irowiki.org/wiki/Drop_System#Level_Factor table //#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_ Sir i wanna ask if i just do the same like what you did on this file? all the (#define RENEWAL) i have to put "//" for it to disable the renewal .. RIGHT ? and for i to make my server Pre Renewal is ill make #define PRERE #ifndef PRERE like this Right ? Thanks in advance more power ! ^^ Quote Link to comment Share on other sites More sharing options...
ngoclong19 Posted June 14, 2014 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 18 Reputation: 0 Joined: 02/12/14 Last Seen: December 29, 2016 Share Posted June 14, 2014 //quick option to disable all renewal option, used by ./configure //#define PRERE #ifndef PRERE Like the comment said, if you want to disable all renewal options, just remove '//' before '#define PRERE', so this ONE line is uncomment, no need to touch other lines. Your server will run in pre-renewal mode. The C code means: "I defined PRERE (so I'm wanting this server running in pre-renewal mode. After that line is a condition check, #ifndef PRERE means 'if not defined PRERE', of course I defined PRERE above so that check is false, and everything after that check is skipped. In the original file, #define PRERE is commented (//#define PRERE) so when the check occurs, PRERE is not defined before, and it return true (if not defined? check), and every options which define renewal settings after that check is enable." The commented lines makes no sense to a C compiler, its sole purpose is to make code easier to read for human and make auto-doc tools do their job. If A then B is something like normal English, so if A is wrong we do not do B and vice versa. Quote Link to comment Share on other sites More sharing options...
Question
Dolphin86
hello guys, its DolphinCute again *Cute?*
well i need to ask currently im using
rathena - Revision 17704and i found out that that trunk run on renewal database, so how can i change it to pre renewal?
because i found on that trunk db there is pre folder and re folder
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.