Jump to content

Pano po i disable ang pag rent ng falcon sa universal rent npc..


Recommended Posts


  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

kapag naka suot na yung ranger ng warg?

kasi po nakaka rent parin sila ng falcon pag naka on yung warg. pero yung warg di pede magamit pag may falcon. :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  154
  • Reputation:   8
  • Joined:  05/31/12
  • Last Seen:  

Which script are you using?

Please post it here so we can see..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

//===== rAthena Script =======================================

//= Universal Rental NPC

//===== By: ==================================================

//= rAthena Dev Team

//===== Current Version: =====================================

//= 1.3a

//===== Compatible With: =====================================

//= rAthena SVN

//===== Description: =========================================

//= A Free PecoPeco and Falcon Breeder

//===== Additional Comments: =================================

//= 1.1 FIXED checkriding/cart/falcon funcs [Lupus]

//= 1.2 Added Rebirth/Advanced Class support [Mass Zero]

//= 1.3 Simplified the checks of job [silentdragon]

//= 1.3a Fixed a Typo Error. [samuray22]

//= Thanks to ~AnnieRuru~.

//= 1.4 Optimized Script. No need for 50 million Labels. [spre]

//============================================================

prontera,163,188,4 script Universal Rental Npc 726,{

mes "[universal Rental Npc]";

mes "Hi, here you can rent Carts, Falcons or Pecopecos.";

next;

switch(select("Cart:Falcon:Peco")) {

case 1:

if((BaseClass == Job_Merchant || BaseJob == Job_SuperNovice) && checkcart() == 0 && getskilllv("MC_PUSHCART")>0) {

setcart;

} else {

mes "[universal Rental Npc]";

mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";

}

break;

case 2:

if(BaseJob != Job_Archer && BaseClass == Job_Archer && checkfalcon() == 0 && getskilllv("HT_FALCON")>0) {

setfalcon;

} else {

mes "[universal Rental Npc]";

mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";

}

break;

case 3:

if (BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("KN_RIDING")>0) {

setriding;

} else {

mes "[universal Rental Npc]";

mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";

}

break;

}

close;

}

eto po gamit kong script yung sa rAthena tlaaga. pero nagpaparent parin siya ng falcon kahit naka on yung warg ng ranger.

Edited by emong
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  154
  • Reputation:   8
  • Joined:  05/31/12
  • Last Seen:  

It looks like it is a rental npc for 1st and 2nd job and not for 3rd job. So basically it would let the ranger rent the falcon because from this script

case 2:
    if(BaseJob != Job_Archer && BaseClass == Job_Archer && checkfalcon() == 0 && getskilllv("HT_FALCON")>0) {
	    setfalcon;
    } else {
	    mes "[universal Rental Npc]";
	    mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";
    }
    break;

It doesn't check if he is a ranger. so it gives it right away..

I am not sure yet if 3ceam script works the same with the rathena but this is the rental npc of 3ceam back before http://code.google.com/p/3ceam/source/browse/stable/rewrite+stable/npc/custom/breeder_3ceAM.txt?spec=svn271&r=271

If it doesn't work maybe you can disallow 3rd job to use that npc.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

TY!

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