Jump to content
  • 0
Sign in to follow this  
joven15

NPC SCRIPT ERROR

Question

Someone help me please. i got error on my npc even i didnt change anything on that npc.

 

13yp5ba.jpg

 

 

//===== eAthena Script =======================================
//= Quest Maker v3.0 Script
//===== By: ==================================================
//= GM WiseMan [QM]
//===== Current Version: =====================================
//= 1.0
//===== Compatible With: =====================================
//= Any Revision
//===== Additional Comments: =================================
//= Thanks To The Creator of this Quest Maker
//============================================================
 
quiz_00,81,20,4 script Ifrit Ears 878,{
mes "[^FF0000Ifrit Ears^000000]";
mes "Hi !";
mes "You're here for the Ears of Ifrit, aren't you ?";
mes "It's an Burning Ears !";
next;
menu "Item needed ?",L_required,"I have your items !",L_check,"Leave",L_partir;
 
L_required:
mes "[^FF0000Ifrit Ears^000000]";
mes "^FF0000250^000000 Burning Heart"; //7097
mes "^FF00002^000000 Magma Fist"; //1818
mes "^FF00005^000000 Aquamarine"; //720
mes "^FF000010^000000 Flame Heart"; //994
mes "^FF0000100^000000 Burning Horse Shoe"; //7120
mes "^FF00001^000000 Elven Ears"; //2286
mes "^0000FF5000000^000000 zeny";
close;
 
L_check:
if(countitem(7097) < 250) goto L_manque;
if(countitem(1818) < 2) goto L_manque;
if(countitem(720) < 5) goto L_manque;
if(countitem(994) < 10) goto L_manque;
if(countitem(7120) < 100) goto L_manque;
if(countitem(2286) < 1) goto L_manque;
if(Zeny < 5000000) goto L_manque;
mes "[^FF0000Ifrit Ears^000000]";
mes "Oh, so you did it !";
mes "Here, take your Ears of Ifrit !";
delitem 7097,250;
delitem 1818,2;
delitem 720,5;
delitem 994,10;
delitem 7120,100;
delitem 2286,1;
set Zeny, Zeny - 5000000;
getitem 5421,1;
close;
 
L_manque:
mes "[^FF0000Ifrit Ears^000000]";
mes "You miss...";
if(countitem(7097) < 250) mes "^FF0000"+(250 - countitem(7097)) +"^000000 Burning Heart";
if(countitem(1818) < 2) mes "^FF0000"+(2 - countitem(1818)) +"^000000 Magma Fist";
if(countitem(720) < 5) mes "^FF0000"+(5 - countitem(720)) +"^000000 Aquamarine";
if(countitem(994) < 10) mes "^FF0000"+(10 - countitem(994)) +"^000000 Flame Heart";
if(countitem(7120) < 100) mes "^FF0000"+(100 - countitem(7120)) +"^000000 Burning Horse Shoe";
if(countitem(2286) < 1) mes "^FF0000"+(1 - countitem(2286)) +"^000000 Elven Ears";
if(Zeny < 5000000) mes "^0000FF"+(5000000 - Zeny)+"^000000 Zeny";
close;
 
L_partir:
mes "[^FF0000Ifrit Ears^000000]";
mes "Have a nice day.";
close;
}
 

 

 

Thanks In Advanced!!

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

seem like less users noticed there are already answer given to their problems ==''  /swt

 

PQBPhXI.png

 

change the two occurrences of L_check into something else, like L_asds

 

Use pascal case on the first letter after L_

 

 

Thanks to your help. hehe I love you all. ^^

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.