Jump to content
Dastgir

Rebirth System

Recommended Posts

 

Good script very unique idea :) i'm curios on this part:

.job_rebirth = EAJL_2;								//EAJL_THIRD = Third Job, EAJL_2 = Second Job, (EAJL_2&EAJL_THIRD) = Second and Third job can rebirth. 														//More Options [EAJL_2_1,EAJL_2_2,EAJL_UPPER,EAJL_BABY]
@@Dastgir already set the .job_rebirth = EAJL_2; but i still can't rebirth although i'm already a Paladin (Trans Class)

I'm using Pre-Re :D

 

Thank you for the script.

I will have to check it, and this script really needs some optimization. Which will fix some job checking issue.

 

 

 

Add this line after the "reset" command on your reset NPC.

StatusPoint = StatusPoint + (getvariableofnpc(.StatusM,"Rebirth_NPC_Name_Here") * master_rebirth) + (getvariableofnpc(.StatusN,"Rebirth_NPC_Name_Here") * rebirth_no);

 

Hi mate,

 

There's a bug,

 

if i select "Reset Skills" may stat points increase, every time i select that Reset Skills, unlimted points.

 

 

any fix on that?

 

UPDATED : FIXED

 

StatusPoint = StatusPoint + (getvariableofnpc(.StatusM,"Rebirth_NPC_Name_Here") * master_rebirth) + (getvariableofnpc(.StatusN,"Rebirth_NPC_Name_Here") * rebirth_no);

 

 

 

thanks to @Dogpatch

Share this post


Link to post
Share on other sites

how to make a script like this?

 

you need to have 1000 Rebirth or 1 Master rebirth to equip the item.

Share this post


Link to post
Share on other sites

@

in your item script

just put

 

OnEquipScript: <"

if ( !master_rebirth ) {

unequip EQI_<loc>;

dispbottom "You need to do a master rebirth to equip this";

>"

 


 

@@Dastgir

Since server don't save this extra stat points, and we have to add manually..

 

I will better add a reset npc to Rebirth npc itself, so there won't be further complaint about it.

// Use the contents of db/statpoint.txt when doing a stats reset and leveling up? (Note 1)

// If no, an equation will be used which preserves statpoints earned/lost

// through external means (ie: stat point buyers/sellers)

use_statpoint_table: yes

this is default setting that's why your script re-calculate them

 

the best way is to off this feature so you don't have to add reset npc

and take out your stats recalculation feature

Share this post


Link to post
Share on other sites
EQI_HEAD_TOP	1EQI_ARMOR	2EQI_HAND_L	3EQI_HAND_R	4EQI_GARMENT	5EQI_SHOES	6EQI_ACC_L	7EQI_ACC_R	8EQI_HEAD_MID	9EQI_HEAD_LOW	10EQI_COSTUME_HEAD_LOW	11EQI_COSTUME_HEAD_MID	12EQI_COSTUME_HEAD_TOP	13EQI_COSTUME_GARMENT	14EQI_SHADOW_ARMOR	15EQI_SHADOW_WEAPON	16EQI_SHADOW_SHIELD	17EQI_SHADOW_SHOES	18EQI_SHADOW_ACC_R	19EQI_SHADOW_ACC_L	20

Share this post


Link to post
Share on other sites

 

thumb-f5c132db596f6696d95be1a65c7c7b51-screenhercules002.jpg

File Name: Rebirth System

File Submitter: Dastgir

File Submitted: 05 Apr 2014

File Category: Utility

 

It is Rebirth System , which allows to rebirth unlimited times

 

Some of its features on how it works

[*]It does not give any Extra StatusPoints(Adjustable via Config)

[*]Requires Some Item to Rebirth

[*]Rewards are given when you rebirth with x% chance

[*]You can Only Rebirth when you are Max Level (3rd,2nd job Configurable Option)

[*]RebirthSystem Ranking(To know who has Rebirth How many times)

[*]Master Rebirth System(When you have Rebirthed for x times, You can do Master Rebirth. You can add ItemReward and ItemRequirements, only for MasterRebirth too..)

[*]GM can reset the Rebirth Rankings(Affects StatusPoint Given)

[*]Can Force the User to be rebirthed to Novice/High Novice.

[*]Can Give x status point every Rebirth.

[*]Can Give y status point every Master Rebirth.

[*]Can Limit Number of Rebirth/Master Rebirths.

[*]Can rebirth to Any Jobs(Job Adjustable via Config)

I made this script because it was requested to me by someone.

 

Click here to download this file

 

Hey Dastgir, We found a bug ~

The settings are set to

 

.reset_ss = 3; //(1=Reset Status, 2=Reset Skills, 3 = Reset Status and Skills).
 
So, The skillpoints of early jobs (First Job/Second Job) Are not redistributed ~

Share this post


Link to post
Share on other sites

@Dastgir I think setting for baselevel and joblevel are missing?

current script only works if you are max base/job level.

Share this post


Link to post
Share on other sites

@Dastgir

Yea thats the issue because my server can go up to baselevel 500 and job 120. but the npc keeps saying that i need to be at the max level.

Edited by Radian

Share this post


Link to post
Share on other sites
5 hours ago, aryuchoa said:

hi friend , sorry for  that post but i trying to use with 3 class with 175/60 and always receive that need max lvl and job

Are you using hercules?

Also try the script from https://github.com/dastgirp/HPM-Plugins/blob/master/NPC/RebirthSystem.txt

Share this post


Link to post
Share on other sites
11 hours ago, aryuchoa said:

no, im using rathena ( latest) and that script didnt work give the same problem.

Yes, Because rAthena does not reset the NextBaseExp and NextJobExp variable to 0 when you reach max level.

You will need to change that line to check BaseLevel != MaxLevel

Share this post


Link to post
Share on other sites
1 hour ago, Dastgir said:

Yes, Because rAthena does not reset the NextBaseExp and NextJobExp variable to 0 when you reach max level.

You will need to change that line to check BaseLevel != MaxLevel

            now it works, thanks for help
            }
            if( JobLevel != 60 || BaseLevel != 175 ) {
                mes "You must be Max BaselLevel/Joblevel to Rebirth.";
                close;
            }else if( !.@can_rebirth ){
                if (.job_rebirth&EAJL_BABY)
                    .@job$ = "Baby ";
                if (.job_rebirth&EAJL_THIRD)
                    .@job$ = .@job$+"Third";
                else if (.job_rebirth&EAJL_2_1 || .job_rebirth&EAJL_2_2)

Share this post


Link to post
Share on other sites

I know this is an old thread, but i wanted to add this to a pre renewal game, what should i change to make it work? also, what should i change to make it not ask for items anymore, i just want to add a Zeny cost.

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

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