Jump to content
  • 0

about warg npc


PapaZola

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

hello

can someone help me fix this?

i take this script from eathena

and my ranger cant rent a warg

//===== eAthena Script =======================================

//= Custom Free Breeder aka Universal Renter (not reccomended)

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

//= eAthena Team

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

//= 1.5

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

//= eAthena 1.0 Final +

//===== 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]

//= 1.5 Adapted to 3CeAM and 3rd jobs. [pakpil]

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

celestian,61,73,3 script Universal Rental Npc#3rd 670,{

mes "[universal Rental Npc]";

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

next;

switch(select("Cart:Falcon:Peco/Dragon/Gryphon:Mado:For Baby Class"))

{

case 1:

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

{

setcart;

close;

}

else

{

mes "[universal Rental Npc]";

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

close;

}

case 2:

if( (Class == Job_Ranger || Class == Job_Ranger_T) && checkriding() )

{

mes "Sorry " + strcharinfo(0) + ", you can't rent a Falcon if you have a Warg rented.";

close;

}

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

{

setfalcon;

close;

}

else

{

mes "[universal Rental Npc]";

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

close;

}

case 3:

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

{

set @flag, 0;

if( Class == Job_Rune_Knight || Class == Job_Rune_Knight_T )

{

mes "Please select the color of your dragon.";

next;

set @flag, select("Green:Black:White:Blue:Red");

}

if( Class == Job_Royal_Guard || Class == Job_Royal_Guard_T )

{

mes "Please select the color of your Gryphon.";

next;

set @flag, select("Green:Black:White:Blue:Red");

}

setriding @flag;

close;

}

else

{

mes "[universal Rental Npc]";

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

close;

}

case 4:

if( (Class == Job_Mechanic || Class == Job_Mechanic_T) && checkriding() == 0 )

{

setriding;

close;

}

else

{

mes "[universal Retal Npc]";

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

close;

}

case 5:

mes "[universal Rental Npc]";

mes "Rent Dragons, Mados or Gryphons for Baby 3rd Job Class.";

next;

switch(select("Dragon/Gryphon:Mado")){

//------------

case 1:

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

{

set @flag, 0;

if( Class == Job_Baby_Rune || Class == Job_Baby_Rune2 )

{

mes "Please select the color of your dragon.";

next;

set @flag, select("Green:Black:White:Blue:Red");

}

if( Class == Job_Baby_Guard || Class == Job_Baby_Guard2 )

{

mes "Please select the color of your Gryphon.";

next;

set @flag, select("Green:Black:White:Blue:Red");

}

setriding @flag;

close;

}

else

{

mes "[universal Rental Npc]";

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

close;

}

case 2:

if( (Class == Job_Baby_Mechanic || Class == Job_Baby_Mechanic2) && checkriding() == 0 )

{

setriding;

close;

}

else

{

mes "[universal Retal Npc]";

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

close;

}

}

}

}

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

warg can be summon using Warg Mastery with 1 Wolf Flute..

beside...erm...i think

setriding;

should be able to allow your ranger to get the warg.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

can help me sir emistry?

fix the script

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  846
  • Reputation:   137
  • Joined:  02/26/14
  • Last Seen:  

Zola, that script doesnt need to be fixed. Just make a shop Wolf Flute

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

ohh thx skyrim

and i have 1 more problem about rune night

cant mount the dragon

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  846
  • Reputation:   137
  • Joined:  02/26/14
  • Last Seen:  

Your client must not support the dragon colors or your server files...so try doing this;

//===== eAthena Script =======================================
//= Custom Free Breeder aka Universal Renter (not reccomended)
//===== By: ==================================================
//= eAthena Team
//===== Current Version: =====================================
//= 1.5
//===== Compatible With: =====================================
//= eAthena 1.0 Final +
//===== 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]
//= 1.5 Adapted to 3CeAM and 3rd jobs. [pakpil]
//============================================================
celestian,61,73,3 script Universal Rental Npc#3rd 670,{
mes "[universal Rental Npc]";
mes "Hi, here you can rent Carts, Falcons, Pecopecos, Dragons, Mados or Gryphons.";
next;
switch(select("Cart:Falcon:Peco/Dragon/Gryphon:Mado:For Baby Class"))
{
case 1:
if( (BaseClass == Job_Merchant || BaseJob == Job_SuperNovice) && checkcart() == 0 && getskilllv("MC_PUSHCART") > 0 )
{
setcart;
close;
}
else
{
mes "[universal Rental Npc]";
mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";
close;
}
case 2:
if( (Class == Job_Ranger || Class == Job_Ranger_T) && checkriding() )
{
mes "Sorry " + strcharinfo(0) + ", you can't rent a Falcon if you have a Warg rented.";
close;
}
if( BaseJob != Job_Archer && BaseClass == Job_Archer && checkfalcon() == 0 && getskilllv("HT_FALCON") > 0 )
{
setfalcon;
close;
}
else
{
mes "[universal Rental Npc]";
mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";
close;
}
case 3:
if( BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("KN_RIDING") > 0 )
{
if( Class == Job_Rune_Knight || Class == Job_Rune_Knight_T|| Class == Job_Royal_Guard || Class == Job_Royal_Guard_T )
{
setriding;
close;
}}
else
{
mes "[universal Rental Npc]";
mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";
close;
}
case 4:
if( (Class == Job_Mechanic || Class == Job_Mechanic_T) && checkriding() == 0 )
{
setriding;
close;
}
else
{
mes "[universal Retal Npc]";
mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job.";
close;
}
case 5:
mes "[universal Rental Npc]";
mes "Rent Dragons, Mados or Gryphons for Baby 3rd Job Class.";
next;
switch(select("Dragon/Gryphon:Mado")){
//------------
case 1:
if( BaseJob != Job_Swordman && BaseClass == Job_Swordman && checkriding() == 0 && getskilllv("KN_RIDING") > 0 )
{
if( Class == Job_Baby_Rune || Class == Job_Baby_Rune2 ||  Class == Job_Baby_Guard || Class == Job_Baby_Guard2)
setriding;
close;
}
else
{
mes "[universal Rental Npc]";
mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job and have the required skill.";
close;
}
case 2:
if( (Class == Job_Baby_Mechanic || Class == Job_Baby_Mechanic2) && checkriding() == 0 )
{
setriding;
close;
}
else
{
mes "[universal Retal Npc]";
mes "Sorry " + strcharinfo(0) + ", Please make sure you are the required job.";
close;
}
}
}
}

Not tested but it should work

Edited by Skyrim
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

well..you can try use 3Ceam Breeder...

they have Mado / Dragon rent also..

http://3ceam.googlecode.com/svn/trunk/rewrite/npc/custom/breeder_3ceAM.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  82
  • Topics Per Day:  0.02
  • Content Count:  846
  • Reputation:   137
  • Joined:  02/26/14
  • Last Seen:  

Thats the one he has Emistry; but he's having problems with the colors; it wont let him rent one

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  59
  • Reputation:   1
  • Joined:  01/15/12
  • Last Seen:  

You don't need the colored dragons, you can easily change the colors of the mount with different palettes.

I would delet the part with the colored dragons in the script.

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