Jump to content

  •  

Photo

Rental npc


Best Answer exchisu, 12 February 2015 - 03:30 PM

can i share this for you, its Working 100% for me with all jobs, include 3rd Job.

 

Spoiler

 

prontera,124,201,1	script	Universal Rental NPC	726,{	if (ismounting()) {		message strcharinfo(0),"You must first remove your mount.";		end;	} else if ((eaclass()&EAJ_THIRDMASK==EAJ_RANGER) && !countitem(6124)) {		if (!checkfalcon() && getskilllv("HT_FALCON") && !checkwug()) {			if(select(" ~ Falcon: ~ Warg")==1) setfalcon;			else getitem 6124,1; //Wolf's_Flute		} else getitem 6124,1; //Wolf's_Flute	} else if ((eaclass()&EAJ_THIRDMASK==EAJ_MECHANIC) && !checkcart() && getskilllv("MC_PUSHCART")) {		if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) {			if(select(" ~ Cart: ~ Mado")==1) setcart;			else setmadogear;		} else setcart;	} else if (!checkcart() && getskilllv("MC_PUSHCART")) setcart;	else if (!checkfalcon() && getskilllv("HT_FALCON") && !checkwug()) setfalcon;	else if (!checkriding() && !checkdragon() && getskilllv("KN_RIDING")) {		if (eaclass()&EAJ_THIRDMASK==EAJ_RUNE_KNIGHT) setdragon;		else setriding;	} else if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) setmadogear;	else {		message strcharinfo(0),"You do not meet requirements to rent.";		end;	}	specialeffect2 EF_TEIHIT3;	end;}
Go to the full post


  • Please log in to reply
3 replies to this topic

#1 Yume

Yume

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts
  • Github:Yume

Posted 12 February 2015 - 04:14 AM

When I try to use my rental npc to get a peco peco it says you do not meet the requirements... I am job lvl 50 on a knight with the riding skill. Here is the code any ideas?

 
 
} else if (checkmount() != MOUNT_PECO && getskilllv(KN_RIDING)) {
setmount;
} else {
message strcharinfo(0),"You do not meet requirements to rent.";
end;


#2 exchisu

exchisu

    Advanced Member

  • Members
  • PipPipPip
  • 59 posts

Posted 12 February 2015 - 03:30 PM   Best Answer

can i share this for you, its Working 100% for me with all jobs, include 3rd Job.

 

Spoiler

 

prontera,124,201,1	script	Universal Rental NPC	726,{	if (ismounting()) {		message strcharinfo(0),"You must first remove your mount.";		end;	} else if ((eaclass()&EAJ_THIRDMASK==EAJ_RANGER) && !countitem(6124)) {		if (!checkfalcon() && getskilllv("HT_FALCON") && !checkwug()) {			if(select(" ~ Falcon: ~ Warg")==1) setfalcon;			else getitem 6124,1; //Wolf's_Flute		} else getitem 6124,1; //Wolf's_Flute	} else if ((eaclass()&EAJ_THIRDMASK==EAJ_MECHANIC) && !checkcart() && getskilllv("MC_PUSHCART")) {		if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) {			if(select(" ~ Cart: ~ Mado")==1) setcart;			else setmadogear;		} else setcart;	} else if (!checkcart() && getskilllv("MC_PUSHCART")) setcart;	else if (!checkfalcon() && getskilllv("HT_FALCON") && !checkwug()) setfalcon;	else if (!checkriding() && !checkdragon() && getskilllv("KN_RIDING")) {		if (eaclass()&EAJ_THIRDMASK==EAJ_RUNE_KNIGHT) setdragon;		else setriding;	} else if (!checkmadogear() && getskilllv("NC_MADOLICENCE")) setmadogear;	else {		message strcharinfo(0),"You do not meet requirements to rent.";		end;	}	specialeffect2 EF_TEIHIT3;	end;}

Edited by exchisu, 12 February 2015 - 03:31 PM.

SWdbrv.png


#3 Yume

Yume

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts
  • Github:Yume

Posted 12 February 2015 - 08:50 PM

Ty.



#4 exchisu

exchisu

    Advanced Member

  • Members
  • PipPipPip
  • 59 posts

Posted 14 February 2015 - 02:25 PM

Ty.

 

you welcome,  Select as Best answer


SWdbrv.png





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


This topic has been visited by 92 user(s)