Jump to content
sader1992

Release: Sader's Renewal Mode [PRE-RE Only]

Recommended Posts

Sader's Renewal Mode [PRE-RE Only]


 

[Not For Sell anymore , after rAthena item YAML update 2020-10-22]

 

You can do it your self in less then 60 seconds in the new YAML update!

quest here rathena/quest_db.yml at master · rathena/rathena (github.com)

skills here rathena/skill_db.yml at master · rathena/rathena (github.com)

items here rathena/item_db.yml at master · rathena/rathena (github.com)

mob coming soon

 

if you already did buy this file , you can download it , however if you use the latest rathena , this file does not support that

it's easy to do what my mod does , in yml , you don't need this files anyway if you use the latest rathena

which mean , you don't need this mod anymore


 

Quote

 this mode is only for PRE-RE servers

support sql and txt base

you will find the config file in /rAthena/conf/battle/renewal.conf

renewal.conf sample

//==============================================================
// Sader's renewal mode Configuration File
// Originally made by sader1992
// https://rathena.org/board/profile/30766-sader1992/
//==============================================================
//==============================================================
//== this mode will add the renewal databases in to pre renewal
//== without overrite the pre renewal databases
//==============================================================
// Note 1: this mode is only for pre-renewal servers
// Note 2: this is not free so you don't have the right to share or sell it!
// Note 3: with rAthena only !
// Note 4: Sql Database is not supported only txt_db
//==============================================================


//============Renewal Maps=============
renewal_map_cache: yes


//==========Renewal Monsters===========
renewal_mob_db: yes

//For the Monster skills the skills are add up not overwrite
//Enable this may give you error for the MAX_MOBSKILL
//to ignore the error you can increase the MAX_MOBSKILL in rathena/src/map/map.hpp file
//#define MAX_MOBSKILL 50		//Max 128, see mob skill_idx type if need this higher
renewal_mob_skill_db: no

//Quick option that will enable the following:
//mob_race2_db ,mob_random_db ,mob_branch
//mob_poring ,mob_boss
renewal_mob_db_full: yes

//Customized Monsters Setting
renewal_mob_random_db: no
renewal_mob_boss: no
renewal_mob_branch: no
renewal_mob_poring: no
renewal_mob_race2_db: no

//this may do a problem in pre-re - connected with item_randomopt_group
renewal_mob_drop: no

//===========Renewal Items=============
renewal_item_db: yes

renewal_item_combo_db: yes

//Quick option that will enable the following:
//item_stack ,item_group_db ,item_bluebox ,item_violetbox
//item_cardalbum ,item_giftbox ,item_misc ,item_package
//item_noequip ,item_trade  ,item_delay  ,item_buyingstore
//item_flag
renewal_item_db_full: yes

//Customized Items Setting
renewal_item_group_db: no
renewal_item_bluebox: no
renewal_item_buyingstore: no
renewal_item_cardalbum: no
renewal_item_delay: no
renewal_item_flag: no
renewal_item_giftbox: no
renewal_item_misc: no
renewal_item_noequip: no
renewal_item_package: no
renewal_item_randomopt_db: no
renewal_item_stack: no
renewal_item_trade: no
renewal_item_violetbox: no

//This may do a problem for pre-re - connected with mob_drop
renewal_item_randomopt_group: no


//===========Renewal Skills============

//Quick option that will enable the following:
//skill_db ,skill_castnodex_db ,skill_cast_db
//skill_nocast_db ,skill_require_db ,skill_unit_db
//produce_db
renewal_skill_db_full: yes

//Customized Skills Setting
renewal_skill_db: no
renewal_skill_castnodex_db: no
renewal_skill_cast_db: no
renewal_skill_nocast_db: no
renewal_skill_require_db: no
renewal_skill_unit_db: no
renewal_produce_db: no


//===========Renewal Quests============
renewal_quest_db: yes


//=========Renewal Homunculus==========
renewal_homunculus_db: yes
renewal_exp_homun: yes

How it Work ?

this mode will add all the missing items/monsters/quests/maps in pre-renewal from the renewal

blob.thumb.png.f4c8c84f1e3af2ca92775b2fd3c07523.png

if you without this mode @item a hat not on the pre-renewal the result would be @item failed

if you with this mode @item the above you will get the item from the renewal database

that work on all the setting in the renewal.conf file read it once you apply the mode

 

Installation :

see the video for installation!

 

if git apply didn't work with you because you did a lot of src edit in your server then you would need to apply it manually 

this file made on : Git Hash: a6a2c4301bcf295b1769411a9123fd6a39ba613f

Sader-s-Renewal-mode-V1_03-12-2018.patch made on : Git Hash: 40a4edc4f8fff75ba35b969882edabd17dd4c258

Sader-s-Renewal-mode-V2_with_sql_14-10-2019.patch made on Git Hash: 4806f66e9c12ebcbcd2fe2c0d13a7fb4a2942b8f

Sader-s-Renewal-mode-V2_with_sql_06-02-2020.patch made on Git Hash: 83da86c3016eebf8ef1b7111cffb0b6011f84dc6

Sader-Renewal-Mode-25-04-2020a.patch made on Git Hash: 05ebde0198380c100c92b7873c86ee93b811032d

 

 

 

License : 

by downloading this file you are agree on the following:

  • i will Back Up my server before using this file.
  • i will use this file for my own private server only , not for a group of servers .
  • i will never share this file with anyone .
  • i will never upload this file to public and i wont leave it on shared storage .
  • i will report any bugs or errors to sader1992 .
  • all the rights retain to sader1992 .
  • Charge-back scams are not tolerated and will get you punished on rAthena.

Terms above may be changed or adjusted without prior notification .

 


 

  • Upvote 2
Link to comment
Share on other sites

1 hour ago, Easycore said:

Okay, I have some doubts:

  • Server maintain pre-re formules?
  • What happen with those re-monster with high DEF and MDEF?
  • What happen with those re-items with re-stats?

if monster have 50 def it will act as pre-re def not re def (apply on everything)

also items if an item have 50 atk the atk would be pre-re not renewal

it's kinda making renewal original with pre-re import with the import of import

not all renewal db is supported it's items/monsters/quests etc i will put the renewal.conf in the post it have what is supported in the mod

Link to comment
Share on other sites

Hi Sader,  just purchased this, however when I try to apply it, I get an error:

patch failed: src/map/map.cpp:3728
error: src/map/map.cpp: patch does not apply

How can this be resolved?

Thanks

Link to comment
Share on other sites

1 hour ago, V3NG3ANC3 said:

Hi Sader,  just purchased this, however when I try to apply it, I get an error:

patch failed: src/map/map.cpp:3728
error: src/map/map.cpp: patch does not apply

How can this be resolved?

Thanks

try to apply it manually , or you can send me your map.cpp along with the file you downloaded from rathena in the discord or rathena messages .

Edited by sader1992
Link to comment
Share on other sites

How can I add New Custom Items on the Database after using your script?

item doesn't work after adding it on either pre-re or re item_db.txt

Link to comment
Share on other sites

10 hours ago, JagLers said:

How can I add New Custom Items on the Database after using your script?

item doesn't work after adding it on either pre-re or re item_db.txt

this mod is not to add new items(that's not in ragnarok renewal of pre-renewal) , and does not effect the ability to add new items , it's only add the (items,monsters,maps) that are in renewal and not in pre-renewal to your pre-renewal server

Edited by sader1992
Link to comment
Share on other sites

hi please help me i patch my file

 

this is error 

 

itemdb.cpp:1863:2: error: expected unqualified-id before if
  if (db_use_sqldbs)
  ^
itemdb.cpp:1865:2: error: expected unqualified-id before else
  else
  ^
itemdb.cpp:1868:2: error: expected unqualified-id before for
  for(i=0; i<ARRAYLENGTH(dbsubpath); i++){
  ^
itemdb.cpp:1868:11: error: i does not name a type
  for(i=0; i<ARRAYLENGTH(dbsubpath); i++){
           ^
itemdb.cpp:1868:37: error: i does not name a type
  for(i=0; i<ARRAYLENGTH(dbsubpath); i++){
                                     ^
itemdb.cpp:1967:1: error: expected declaration before ‘}’ token
 }

 

Link to comment
Share on other sites

how can implement this on latest rathena?

Header:
  Type: ITEM_DB
  Version: 1

Footer:
  Imports:
  - Path: db/pre-re/item_db.yml
    Mode: Prerenewal
  - Path: db/re/item_db.yml
    Mode: Renewal
  - Path: db/import/item_db.yml

 

already have this
 

Link to comment
Share on other sites

13 hours ago, mharkeke said:

how can implement this on latest rathena?

Header:
  Type: ITEM_DB
  Version: 1

Footer:
  Imports:
  - Path: db/pre-re/item_db.yml
    Mode: Prerenewal
  - Path: db/re/item_db.yml
    Mode: Renewal
  - Path: db/import/item_db.yml

 

already have this
 

something like this

  Imports:
  - Path: db/re/item_db.yml
  - Path: db/pre-re/item_db.yml
    Mode: Prerenewal
  - Path: db/re/item_db.yml
    Mode: Renewal
  - Path: db/import/item_db.yml

 

Edited by sader1992
Link to comment
Share on other sites

10 hours ago, sader1992 said:

something like this

  Imports:
  - Path: db/re/item_db.yml
  - Path: db/pre-re/item_db.yml
    Mode: Prerenewal
  - Path: db/re/item_db.yml
    Mode: Renewal
  - Path: db/import/item_db.yml

 

image.png.05f5f90c2e4fcc438af7c677c4011748.png

 

is it okay getting this errors?

Link to comment
Share on other sites

Posted (edited)
On 12/16/2020 at 7:48 AM, Paranoia said:

image.png.05f5f90c2e4fcc438af7c677c4011748.png

 

is it okay getting this errors?

To fix this error:

in src/map/itemdb.cpp

invalidWarning(node["Defense"], "Item defense %d exceeds DEFTYPE_MAX (%d), capping to DEFTYPE_MAX.\n", def, DEFTYPE_MAX);
to
//invalidWarning(node["Defense"], "Item defense %d exceeds DEFTYPE_MAX (%d), capping to DEFTYPE_MAX.\n", def, DEFTYPE_MAX);

Thanks to @sader1992

Edited by spinzaku
Link to comment
Share on other sites

On 12/15/2020 at 10:08 AM, sader1992 said:

something like this

  Imports:
  - Path: db/re/item_db.yml
  - Path: db/pre-re/item_db.yml
    Mode: Prerenewal
  - Path: db/re/item_db.yml
    Mode: Renewal
  - Path: db/import/item_db.yml

 

It works but has problems of its own. Every piece of equipment will have Renewal DEF attached to it, meaning absurd numbers for pre-renewal setting. A bunch of them will give errors because it goes over 99 which is the cap in pre-renewal, which causes the error. It does load the pre-re data after which overwrites the basic stuff but the renewal only items continue to be broken.

What our friend in the post above suggested only silences the error, doesn't actually fix anything. And those are not the only errors, it also gives a bunch of zeny sell exploit errors too. Doing things this way is just not smart or practical. I would consider importing only etc and maybe consumables this way, and any piece of equiment has to be loaded separately.

Edited by PedroProplayer
Typos
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
Reply to this topic...

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

Important Information

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