Jump to content
  • 0

Baby Job Changer bug


Kiritoryu

Question


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  59
  • Reputation:   0
  • Joined:  12/13/12
  • Last Seen:  

I need a baby job changer that doesnt have bug. Mine if i novice level, and i change to baby job. The stats points that are added reset-ed but the stats point that i didnt add stays. this allow in stats abuse. my server is 500/120 server with max stats 450 

This is my script. Bugged.

 

//////////////////////////////////////////////////////////////////////
//////////////////////// aERO2 Corp. Scripts /////////////////////////
//////////////////////////////////////////////////////////////////////
////Script:		Baby Job Master
////Writer:		yandols
////Version:	1.01
////Works with:	All versions
////Desc:		Job Master for Baby Class
//////////////////////////////////////////////////////////////////////
////Version Info:
////	Not Available
//////////////////////////////////////////////////////////////////////
sanctum,245,137,6	script	Baby Job Master	96,{

	if(SkillPoint != 0) goto Lskillpt;
	if(@CharReborned==1) goto LAlreadyReborn;
	if(baseLevel < 10) goto Lnotbabylevel;
	if(@chardefsize==2)	goto Lnotitans;
	mes "[Baby Job Master]";
	mes "I am the Baby Job Master for this server.";
	mes "Do you need a job change?";
	next;
	menu "Become baby",Lbabytime,"First Class",LFirstClass,"Second Class (2-1)",LSecondClass,"Second Class (2-2)",LSecondClass2;

L_Fail:
	mes "[Baby Job Master]";
	mes "Only Novice can change into a baby!!";
	close;

LAlreadyReborn:
	mes "[Baby Job Master]";
	mes "You are reborn class, I cannot provide jobchange to reborn class.";
	close;

Lbabytime:
	if(Class != 0) goto L_Fail;
	if(Class==4023) goto LAlreadyNoob;
	mes "[Baby Job Master]";
	mes "You want to become a baby?";
	mes "If you become baby you cannot reborn.";
	next;
	menu "Ok",ResetYes,"Cancel",ResetNo;
	
	ResetYes:
	getitem 1202,1;
	getitem 2302,1;
	mes "[Baby Job Master]";
	mes "Now you become a ^0000FFBaby^000000.";
	jobchange 4023;
	close;
	
	ResetNo:
	goto LCancel;

	LAlreadyNoob:
		mes "[Baby Job Master]";
		mes "You are already a baby.";
		close;
	
	Lnotbabylevel:
		mes "[Baby Job Master]";
		mes "I am the Baby Job Master for this server.";
		next;
		mes "[Baby Job Master]";
		mes "If you want to become a baby, you must be at least level 10 and not a titan.";
		close;
	
	Lnotitans:
		mes "[Baby Job Master]";
		mes "Sorry, I can't help you.";
		mes "Giants cannot become baby!!";
		mes "Too big!!!";
		close;

LSnovice:
	if(class !=4023) goto LHell;
	if(baselevel<45) goto LHell;
	getitem 1202,1;
	getitem 2302,1;
	mes "[Baby Job Master]";
	mes "Now you become a ^0000FFSuper Baby^000000!!";
	jobchange 4045;
	close;
LHell:
	mes "[Baby Job Master]";
	mes "- You have to be a baby novice";
	mes "- You need to be at least BaseLvl 45.";
	close;
	
LFirstClass:
	if(class !=4023) goto Lnovice;
	if(joblevel<10) goto Ljobten;
	menu "Swordsman",LSword,"Mage",LMage,"Thief",LThief,"Merchant",LMerc,"Acolyte",LAco,"Archer",LArch,"Super Baby!!",LSnovice;

Lnovice:
	mes "[Baby Job Master]";
	mes "You are not a baby novice.";
	close;

Ljobten:
	mes "[Baby Job Master]";
	mes "- You need to be at least JobLvl 10 before changing into the first class.";
	close;
	
Lskillpt:
	mes "[Error]";
	mes "^FF0000Please use up all your skill points!^000000";
	close;

LTaekwon:
	mes "[Job Master] ^FF0000";
	mes "An error has occured, unable to jobchange. please send error report to eAthena Server.^000000";
	close;
	
LGunz:
	mes "[Job Master] ^FF0000";
	mes "An error has occured, unable to jobchange. please send error report to eAthena Server.^000000";
	close;
	
LNinja:
	mes "[Job Master] ^FF0000";
	mes "An error has occured, unable to jobchange. please send error report to eAthena Server.^000000";
	close;

LSword:
	getitem 2304,1;
	mes "[Baby Job Master]";
 	mes "Now you become a ^0000FFSwordman^000000.";
	jobchange 4024;
	close;

LMage:
	getitem 1602,1;
	mes "[Baby Job Master]";
	mes "Now you become a ^0000FFMage^000000.";
	jobchange 4025;
	close;

LThief:
	getitem 1214,1;
	mes "[Baby Job Master]";
	mes "Now you become a ^0000FFThief^000000.";
	jobchange 4029;
	close;

LMerc:
	getitem 1302,1;
	mes "[Baby Job Master]";
	mes "Now you become a ^0000FFMerchant^000000.";
	jobchange 4028;
	close;

LAco:
	getitem 1505,1;
	mes "[Baby Job Master]";
	mes "Now you become a ^0000FFAcolyte^000000.";
	jobchange 4027;
	close;

LArch:
	getitem 1702,1;
	getitem 1750,100;
	mes "[Baby Job Master]";
	mes "Now you become a ^0000FFArcher^000000.";
	jobchange 4026;
	close;

LCancel:
	mes "[Baby Job Master]";
	mes "Okay then.";
	close;

LSecondClass:
	if(joblevel<50) goto Ljobforty;
	menu "Knight",LKnight,"Wizard",LWizard,"Hunter",LHunter,"Blacksmith",LBlacksmith,"Assassin",LAssassin,"Priest",LPriest;

Ljobforty:
	mes "[Baby Job Master]";
	mes "You must be at least JobLvl 40 before changing to 2nd class.";
	close;

LNotTaekwon:
	mes "[Baby Job Master]";
	mes "You are not a Taekwon.";
	close;

LStarglad:
	goto LNotTaekwon;
	mes "[Baby Job Master]";
	mes "This job is not yet availible.";
	close;

LKnight:
		if(class !=4024) goto LNotSword;
		goto LKnight2;

LNotSword:
	mes "[Baby Job Master]";
	mes "You are not a swordman.";
	close;

LKnight2:
	getitem 1155,1;
	mes "[Baby Job Master]";
	mes "Now you become a ^0000FFKnight^000000.";
	jobchange 4030;
	close;

	
LHunter:
		if(class !=4026) goto LNotArcher;
		goto LHun2;

LNotArcher:
		mes "[Baby Job Master]";
		mes "You are not an archer.";
		close;

LHun2:
//	warp "in_hunter.gat",100,18;
//	close;
	mes "[Baby Job Master]";
	mes "Now you become a ^0000FFHunter^000000.";
	jobchange 4034;
//	give_special 2;
	close;

LBlacksmith:
	mes "[Baby Job Master]";
		if(class !=4028) goto LNotMerc;
		goto LBla2;

LNotMerc:
		mes "[Baby Job Master]";
		mes "You are not a Merchant.";
		close;

LBla2:
		getitem 1358,1;
		mes "[Baby Job Master]";
		mes "Now you become a ^0000FFBlacksmith^000000.";
		jobchange 4033;
		close;

LAssassin:
		if(class !=4029) goto LNotThief;
		goto LAssass2;

LNotThief:
	mes "[Baby Job Master]";
	mes "You are not a Thief.";
	close;


LAssass2:
	getitem 1251,1;
	mes "[Baby Job Master]";
	mes "Now you become an ^0000FFAssassin^000000.";
	jobchange 4035;
	close;

LPriest:
		if(class !=4027) goto LNotAco;
		goto LPri2;

LNotAco:
	mes "[Baby Job Master]";
	mes "You are not an Acolyte.";
	close;

LPri2:
	getitem 1550,1;
	mes "[Baby Job Master]";
	mes "Now you become a ^0000FFPriest^000000.";
	jobchange 4031;
	close;

LWizard:
		if(class !=4025) goto LNotMage;
		goto LWiz2;

LNotMage:
	mes "[Baby Job Master]";
	mes "You are not a Mage.";
	close;

LWiz2:
	getitem 1608,1;
	mes "[Baby Job Master]";
	mes "Now you become a ^0000FFWizard^000000.";
	jobchange 4032;
	close;

LSecondClass2:
	if(joblevel<40) goto Ljobforty;
	if(sex==0) goto LFsecond2;
	if(sex==1) goto LMsecond2;

LFsecond2:
	menu "Crusader",LCrusader,"Sage",LSage,"Dancer",LDancer,"Alchemist",LAlchemist,"Rogue",LRogue,"Monk",LMonk,"Soul Linker",LSoulLink;
	
LMsecond2:
	menu "Crusader",LCrusader,"Sage",LSage,"Bard",LBard,"Alchemist",LAlchemist,"Rogue",LRogue,"Monk",LMonk,"Soul Linker",LSoulLink;
	
LNotTaekwon2:
	mes "[Baby Job Master]";
	mes "You are not a Taekwon.";
	close;

LSoulLink:
	goto LNotTaekwon2;
	mes "[Baby Job Master]";
	mes "This job is not yet availible.";
	close;


LCrusader:
		if(class !=4024) goto LNotSword2;
		goto LCrus2;

LNotSword2:
	mes "[Baby Job Master]";
	mes "You are not a Swordman";
	close;

LCrus2:
	getitem 1117,1;
	mes "[Baby Job Master]";
	mes "Now you become a ^0000FFCrusader^000000.";
	jobchange 4037;
	close;

LBard:
	if(class !=4026) goto LNotArch3;
	goto LBard2;

LNotArch3:
	mes "[Baby Job Master]";
	mes "You are not an Archer";
	close;

LBard2:
	getitem 1902,1;
	mes "[Baby Job Master]";
	mes "Now you become a ^0000FFBard^000000.";
	jobchange 4042;
	close;

LDancer:
	if(class !=4026) goto LNotArch2;
	goto LDanc2;

LNotArch2:
	mes "[Baby Job Master]";
	mes "You are not an Archer";
	close;

LDanc2:
	getitem 1951,1;
	mes "[Baby Job Master]";
	mes "Now you become a ^0000FFDancer^000000.";
	jobchange 4043;
	close;

LAlchemist:
	mes "[Baby Job Master]";
	if(class !=4028) goto LNotMerc2;
	goto LAlch2;

LNotMerc2:
	mes "[Baby Job Master]";
	mes "You are not a Merchant";
	close;

LAlch2:
	getitem 1358,1;
	mes "[Baby Job Master]";
	mes "Now you become a ^0000FFAlchemist^000000.";
	jobchange 4041;
	close;

LRogue:
	if(class !=4029) goto LNotThief2;
	goto LRogue2;

LNotThief2:
	mes "[Baby Job Master]";
	mes "You are not a Thief";
	close;

LRogue2:
	getitem 1214,1;
	mes "[Baby Job Master]";
	mes "Now you become a ^0000FFRogue^000000.";
	jobchange 4040;
	close;

LMonk:
	if(class !=4027) goto LNotAco2;
	goto LMonk2;

LNotAco2:
	mes "[Baby Job Master]";
	mes "You are not an Acolyte";
	close;

LMonk2:
	getitem 1802,1;
	mes "[Baby Job Master]";
	mes "Now you become a ^0000FFMonk^000000.";
	jobchange 4038;
	close;

LSage:
	if(class !=4025) goto LNotMage2;
	goto LSage2;

LNotMage2:
	mes "[Baby Job Master]";
	mes "You are not a Mage";
	close;

LSage2:
	getitem 1550,1;
	mes "[Baby Job Master]";
	mes "Now you become a ^0000FFSage^000000.";
	jobchange 4039;
	close;

}

 

 

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

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