Jump to content
  • 0
Sign in to follow this  
rmon008

About the Git release of Hercules, (i want to change it to pre-re)

Question

18 answers to this question

Recommended Posts

  • 0

open  src/config/renewal.h    and just comment out the  Renewall lines and compile your server , then he runs in PRE-RE mode

 

 

 

example

 

change

 

 

#define RENEWALto//#define RENEWAL 

Share this post


Link to post
Share on other sites
  • 0

If you no longer want them, just load item_db.sql, item_db2.sql, mob_db.sql, mob_db2.sql, mob_skill_db.sql and mob_skill_db2.sql from the sql-files folder into your main ragnarok database (named ´ragnarok´ by default). These scripts automatically drop the re databases if available, then work creating the new one.

 

P.S.: You have both the re and the pre-re release on the same revision of Hercules.

Share this post


Link to post
Share on other sites
  • 0

What kind of errors? Could you please show us?

 

P.S.: You must recompile your server after applying the changes ossi0110 suggested so that the renewal to pre-renewal change takes effect.

Share this post


Link to post
Share on other sites
  • 0

If you no longer want them, just load item_db.sql, item_db2.sql, mob_db.sql, mob_db2.sql, mob_skill_db.sql and mob_skill_db2.sql from the sql-files folder into your main ragnarok database (named ´ragnarok´ by default). These scripts automatically drop the re databases if available, then work creating the new one.

 

P.S.: You have both the re and the pre-re release on the same revision of Hercules.

 

I dont want to change anything in those db's is it possible ? and how ?

Share this post


Link to post
Share on other sites
  • 0
// Copyright (c) Hercules Dev Team, licensed under GNU GPL.// See the LICENSE file// Portions Copyright (c) Athena Dev Teams#ifndef _CONFIG_RENEWAL_H_#define _CONFIG_RENEWAL_H_/** * Hercules configuration file (http://herc.ws) * For detailed guidance on these check http://herc.ws/wiki/SRC/config/ **//** * @INFO: This file holds general-purpose renewal settings, for class-specific ones check /src/config/classes folder **/#ifndef DISABLE_RENEWAL/// 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 enchant deadly poison algorithm////// leave this line to enable the renewed EDP algorithm/// under renewal mode:///  - damage is NOT increased by 400%///  - it does NOT affect grimtooth///  - weapon and status ATK are increased//#define RENEWAL_EDP/// 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 // DISABLE_RENEWAL#endif // _CONFIG_RENEWAL_H_

when i change

#define RENEWAL_ASPD

#define RENEWAL_EDP

#define RENEWAL_LVDMG

#define RENEWAL_EXP

#define RENEWAL_DROP

#define RENEWAL_CAST

 

to

 

 

//#define RENEWAL_ASPD

//#define RENEWAL_EDP

//#define RENEWAL_LVDMG

//#define RENEWAL_EXP

//#define RENEWAL_DROP

//#define RENEWAL_CAST

 

it doesnt give me error

 

but when i comment line the

//#define RENEWAL

 

it gives me this error

post-2540-0-31071900-1382093974_thumb.png

Share this post


Link to post
Share on other sites
  • 0

here's what i really wanted to happen

 

-i want to stay in database the characters,items,login,almost everythings

- i just want to remove the 3rd jobs, and the formula's and setting be change to pre-renewal

Share this post


Link to post
Share on other sites
  • 0

You should also comment the RENEWAL define, because that's what effectively disables Renewal (the other defines just disable some parts of Renewal)

 

The Ponka Hontas and Dollshoi duplicates problem were a problem that previously was in official Hercules and they have already been solved, please update your revision;

Also, it seems you are using custom scripts or shops that have items not available in pre-renewal. Please try booting your server without any custom NPCs to see if these error still keeps appearing.

Share this post


Link to post
Share on other sites
  • 0

You should also comment the RENEWAL define, because that's what effectively disables Renewal (the other defines just disable some parts of Renewal)

 

The Ponka Hontas and Dollshoi duplicates problem were a problem that previously was in official Hercules and they have already been solved, please update your revision;

Also, it seems you are using custom scripts or shops that have items not available in pre-renewal. Please try booting your server without any custom NPCs to see if these error still keeps appearing.

 

RENEWAL difine ? which line sir ?

this ?

#define _CONFIG_RENEWAL_H_

 

i already disable this

//#define RENEWAL

 

but it gives me error which is in the pic

Share this post


Link to post
Share on other sites
  • 0

Yeah, I told you the errors in pre-re arise because of a flaw that we spotted and corrected and the other ones are caused by your custom scripts, that don't work well with pre-re.

Share this post


Link to post
Share on other sites
  • 0

i'm currently hosting in asurahosting,

 

how will i update my svn ? without messing it up i'm using vnc viewer

 

* i already disable the custom scripts

Edited by rmon008

Share this post


Link to post
Share on other sites
  • 0

 

Yeah, I told you the errors in pre-re arise because of a flaw that we spotted and corrected and the other ones are caused by your custom scripts, that don't work well with pre-re.

 

on vnc viewer ( asurahosting )

 

i right click my trunk folder

 

*open command prompt here*

 

type git pull

 

then this appears

 

i dont know what to do....

post-2540-0-82830500-1382099038_thumb.png

Share this post


Link to post
Share on other sites
  • 0

If you no longer want them, just load item_db.sql, item_db2.sql, mob_db.sql, mob_db2.sql, mob_skill_db.sql and mob_skill_db2.sql from the sql-files folder into your main ragnarok database (named ´ragnarok´ by default). These scripts automatically drop the re databases if available, then work creating the new one.

 

P.S.: You have both the re and the pre-re release on the same revision of Hercules.

 

okay now i think my problem is the database....

 

here is what happened,

 

i download a latest git, and try to use my old database (the one with the files already)

- this is where giving me error

 

now, when i make another fresh database with a latest git... i'm not having any errors

 

what i want to know now is how to properly still use my old database

Share this post


Link to post
Share on other sites
  • 0

There have been some recent database changes. You should go over to your sql-files/upgrades folder and run the new SQL files you have (not the ones you had before upgrading).

 

i update my database , executed two files

2013-10-09--21-38.sql

2013-10-10--16-36.sql

 

using the latest git,

but still getting this problem in map

 

 

 

post-2540-0-82073100-1382112249_thumb.png

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.