Rebirth System

@@Dastgir

what about some optimization to this script?
default_tongue.png
if you put it at github I may give some inputs or here if you prefer
default_tongue.png
You can give it here
default_tongue.png
Just I will take a week to do it, since I am out from a month and assuming to come back soon.
@@Dastgir can you please respond my post?

 
Good script very unique idea
default_smile.png
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
default_biggrin.png


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.
 
Good script very unique idea
default_smile.png
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
default_biggrin.png


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.
Okay thank you in advance
default_smile.png


 
Good script very unique idea
default_smile.png
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
default_biggrin.png


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.
Okay thank you in advance
default_smile.png
I had the same problem so I improvised. A little work but since I already made it, you can just copy paste it.

Replace 

.job_rebirth = EAJL_2;
With

.job_rebirth = 4060 | 4008 | 4061 | 4010 | 4063 | 4009 | 4062 | 4012 | 4064 | 4011 | 4065 | 4013 | 4073 | 4015 | 4074 | 4017 | 4077 | 4016 | 4075 | 4020 | 4076 | 4021 | 4078 | 4019 | 4079 | 4018 | 23 | 4030 | 4031 | 4032 | 4033 | 4034 | 4035 | 4037 | 4038 | 4039 | 4040 | 4041 | 4042 | 4043 | Job_Gunslinger | Job_Soul_Linker | Job_Star_Gladiator | Job_Ninja | Job_Taekwon;
Then find 

setarray .add_jobs[0]
And replace with

setarray .add_jobs[0], 4060, 4008, 4061, 4010, 4063, 4009, 4062, 4012, 4064, 4011, 4065, 4013, 4073, 4015, 4074, 4017, 4077, 4016, 4075, 4020, 4076, 4021, 4078, 4019, 4079, 4018, 23, 4030, 4031, 4032, 4033, 4034, 4035, 4037, 4038, 4039, 4040, 4041, 4042, 4043, Job_Gunslinger, Job_Soul_Linker, Job_Star_Gladiator, Job_Ninja, Job_Taekwon;
 Only 3rd jobs and Baby 3rd Jobs are missing there.

Hope that helps. You can just remove or add the JobID as needed.

 
Good day,

If you reset status or use Reset NPC, the bonus status points will be gone or back to normal.

Hope @Dastgir fix it
default_smile.png
hehehe

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

Code:
StatusPoint = StatusPoint + (getvariableofnpc(.StatusM,"Rebirth_NPC_Name_Here") * master_rebirth) + (getvariableofnpc(.StatusN,"Rebirth_NPC_Name_Here") * rebirth_no);
 
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);

I pmed you mate. thanks

@Dastgir : pmed you too.
default_smile.png
thanks

 
Last edited by a moderator:
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

 
Last edited by a moderator:
Dogpatch fix would work,

Since that's the way I increase stat every Rebirth too. And is required to do every reset or something like that. 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.

 
Dogpatch fix would work,

Since that's the way I increase stat every Rebirth too. And is required to do every reset or something like that. 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.
That would be nice.
default_smile.png
I'll just wait for it.
default_smile.png


Thanks again!
default_smile.png


 
Good script very unique idea
default_smile.png
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
default_biggrin.png


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
 
Is this a bug? We can't rebirth even though we're 3rd Job Trans ~ Err

Settings:

.job_rebirth = EAJL_THIRD;

 
3rd trans = EAJL_THIRD+EAJL_UPPER

 
@

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

 
Code:
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
 
thumb-f5c132db596f6696d95be1a65c7c7b51-screenhercules002.jpg


File Name: Rebirth SystemFile 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 ~
 
Back
Top