Jump to content
  • 0
Sign in to follow this  
mrlongshen

Find the MVP

Question

//Created by youtubenew_4-4,143,169,3	script	Find the Naruto	1_F_PRIEST,{mes "[ Find the Naruto ]";if(getgmlevel() < 80) {    if(.Event==0) mes "There is no Find the Naruto event.";    else {        mes "There is a Find the Naruto event on now!";        mes "Location: "+ .Map$;        mes "Prize: " + getitemname(.ItemID);        mes "Number of Naruto: " + .Naruto;    }    close;}    mes "Hello "+strcharinfo(0)+"! Please customize this event:";Main:next;mes "[ Find the Naruto ]";    switch(select("Item [" + getitemname(.ItemID) + "]:Start Event:End Event")) {        case 1:            mes "Which item would you like the Naruto to drop?";            mes "Please input the item ID:";            input .ItemID;            goto Main;        case 2:            mes "Starting the event now...";            set .Event,1;            close2;            goto OnStart;                case 3:            mes "Ending the event now...";            if(.Event) announce ""+strcharinfo(0)+" ended Find the Naruto Event!",bc_all;            killmonster  .Map$,"All";            set .Event,0;        close;}OnMinute20:OnStart:    announce "It's time to kill the Naruto!",0;    sleep2 1000;    set $@ran, rand(1,1);//    if ($@ran == 11) set .Map$,"splendide";//    if ($@ran == 10) set .Map$,"hugel";//    if ($@ran == 9) set .Map$,"yuno";//    if ($@ran == 8) set .Map$,"comodo";//    if ($@ran == 7) set .Map$,"xmas";//    if ($@ran == 6) set .Map$,"aldebaran";//    if ($@ran == 5) set .Map$,"izlude";//    if ($@ran == 4) set .Map$,"payon";//    if ($@ran == 3) set .Map$,"geffen";//    if ($@ran == 2) set .Map$,"morocc";    if ($@ran == 1) set .Map$,"izlude";    sleep2 1000;    set $@ran2, rand(1,1);//    if ($@ran2 == 5) set .Naruto,"5";//    if ($@ran2 == 4) set .Naruto,"4";//    if ($@ran2 == 3) set .Naruto,"3";//    if ($@ran2 == 2) set .Naruto,"2";    if ($@ran2 == 1) set .Naruto,"1";    announce "The Naruto has landed in "+ .Map$ +"!",0;    sleep2 10000;    announce "" + .Naruto + " Naruto have spawned in "+ .Map$ +"!",0;    sleep2 10000;    monster .Map$,0,0,"Naruto",2518,.Naruto,"Find the Naruto::OnMobKilled";    end;OnMobKilled:    mapannounce .Map$,"We've got a winner: " + strcharinfo(0) + " Congrats!",0;//    set zeny,zeny+10000000;    getitem .7711,10;    set .Event,0;    end;}

Hi all. Im using this script. However. When I kill the monster above error appear. why ? I if kill the mobs, get event ticket..

 

[Error]: buildin_getitem: Nonexistant item 0 requested.[Debug]: Source (NPC): Find the Naruto at new_4-4 (143,169)

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

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.