Jump to content

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


sader1992

Recommended Posts


  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   344
  • Joined:  02/26/12
  • Last Seen:  

cool idea

  • Like 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  220
  • Reputation:   251
  • Joined:  04/08/13
  • Last Seen:  

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?
Link to comment
Share on other sites


  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

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

  • 11 months later...

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  45
  • Reputation:   1
  • Joined:  10/09/18
  • Last Seen:  

Hi sir Sader's .. is this works on 12-04-10 / 12-04-09  client version?

Link to comment
Share on other sites

  • 2 months later...
  • 5 months later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  01/27/14
  • Last Seen:  

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


  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  01/27/14
  • Last Seen:  

I've literally just now applied it manually and it worked great!

Thanks Sader!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  79
  • Reputation:   6
  • Joined:  04/20/16
  • Last Seen:  

Can't seem to access the file anymore after buying?

Link to comment
Share on other sites


  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

4 hours ago, spinzaku said:

Can't seem to access the file anymore after buying?

i uploaded a new version , so it's in the approval process
it will be available soon

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  5
  • Reputation:   1
  • Joined:  09/24/16
  • Last Seen:  

 

Currently, I have been waiting for this product for sale for two days now.

Link to comment
Share on other sites

  • 5 months later...
  • 1 month later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  04/12/20
  • Last Seen:  

Getting an Error while patching. Sending to your Inbox the files.

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.01
  • Content Count:  15
  • Reputation:   0
  • Joined:  11/22/19
  • Last Seen:  

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


  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

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

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  12/24/18
  • Last Seen:  

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

  • 5 months later...

  • Group:  Members
  • Topic Count:  67
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   29
  • Joined:  10/21/12
  • Last Seen:  

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


  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  67
  • Topics Per Day:  0.02
  • Content Count:  223
  • Reputation:   29
  • Joined:  10/21/12
  • Last Seen:  

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

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  79
  • Reputation:   2
  • Joined:  04/27/16
  • Last Seen:  

Thanks

Edited by rmon
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.01
  • Content Count:  148
  • Reputation:   21
  • Joined:  11/12/18
  • Last Seen:  

@sader1992

This will also solve the compatibility for 2015 + clients right????

Link to comment
Share on other sites

  • 5 months later...

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  79
  • Reputation:   6
  • Joined:  04/20/16
  • Last Seen:  

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

  • 1 month later...

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   4
  • Joined:  10/10/13
  • Last Seen:  

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

  • 2 years later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  11/10/23
  • Last Seen:  

Are you still offering this for free kind sir?

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