As title, the script did not detect the item that is already equipped,
its on line 170 if(!isequipped(40016))
here is the script:
Spoiler
new_1-3,105,59,6 script Benimaru483,{if(BeginnerQuest==0)gotoBeginnerQuest0;if(BeginnerQuest==1)gotoBeginnerQuest1;if(BeginnerQuest==2)gotoBeginnerQuest2;if(BeginnerQuest==3)gotoBeginnerQuest3;if(BeginnerQuest==4)gotoBeginnerQuest4;BeginnerQuest0:
cutin "3rd_sura_master.bmp",2;
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "Welcome to Durengo Online";
mes "my name is ^ff9300 Benimaru ^000000";
next;
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "Ok. let's get to the basic,";
mes "your on Durengo Online,";
mes "and this is no place for";
mes "a new survivor like you";
next;
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "That is why i am here,";
mes "to help you.";
next;
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "There is still a lot of work to do";
mes "but lets begin with the basic stuff,";
mes "now then, are you ready?";
next;switch(select("- Yes! Please help me:- i need a minute")){case1:
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "Great, now in this world, you will have";
mes "to gather materials for your tools and";
mes "craft your own equipment.";
next;
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "Unless you are skilled blacksmith,";
mes "you may craft a limited number of equipment";
next;
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "Also, monster will not";
mes "drop any equipment, and npc do not";
mes "sell any equipment as well..";
next;
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "We shall start with ^c90076 [ Stone Dagger ] ^000000";
mes "a Stone Dagger is a gathering tools";
next;
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "Which allow you to gather Stalk, Meat";
mes "and bone, which later can be craft to";
mes "better gears or tools";
next;
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "Let's craft ^c90076 [ Stone Dagger ] ^000000";
mes "now if you look around there should be";
mes "^2986cc A Pile Of Rocks ^000000,";
next;
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "gather ^c90076 [4] Rocks ^000000";
mes "and come back to me when u have them";setBeginnerQuest,1;
cutin "",255;
close;case2:
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "Come back when your ready";
cutin "",255;
close;}BeginnerQuest1:
cutin "3rd_sura_master.bmp",2;if(countitem(40005)<4){
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "I did say i need ^c90076 [4] Rocks ^000000";
mes "look around there should be";
mes "a ^2986cc Pile Of Rocks ^000000 nearby";
next;
mes "....";
cutin "",255;
close;}else{
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "Good, now if you look around near me";
mes "there should be a workbench,";
mes "you can start working on crafting";
mes "your own Stone Dagger there.";setBeginnerQuest,2;
next;
mes "....";
cutin "",255;
close;}BeginnerQuest2:
cutin "3rd_sura_master.bmp",2;if(!isequipped(40001)){
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "If you do have the Stone Dagger";
mes "equip it.";
mes "===================";
mes "if you dont have it, go craft one";
next;
mes "=== ^ff9300 Benimaru ^000000 ===";
cutin "",255;
close;}
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "Great now you have your first";
mes "Stone Dagger";
next;
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "Now i will teach you how to craft";
mes "a [Stone Axe].";
next;
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "With a [Stone Axe] you can gather logs";
mes "and some other stuff,";
mes "to make it we need ^c90076 [8] Stalk ^000000";
mes "[1] rock chunk and a branch";
next;
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "from those [Stalk] you can make [2] ropes";
mes "you can gather [Stalk] from those Tall Grass";
next;
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "To make a [Rock chunk] u gone need";
mes "[4] Rocks, i assume you know where to find [Rock]?";
next;
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "And last item is a branch, u can get from a tree";
mes "simple as that.";
next;
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "Remember";
mes "[8] Stalk = [2] Ropes (workbench)";
mes "[1] Rock Chunk = [4] Rock (workbench)";
mes "[1] Branch";
next;
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "Come back to me when you have all of it";
next;
mes "....";
cutin "",255;setBeginnerQuest,3;
close;BeginnerQuest3:if(countitem(40018)<1|| countitem(40014)<2|| countitem(40003)<1){
cutin "3rd_sura_master.bmp",2;
mes".....";
next;
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "Its not enough kid..";
mes "Remember";
mes "[8] Stalk = [2] Ropes (workbench)";
mes "[1] Rock Chunk = [4] Rock (workbench)";
mes "[1] Branch";
next;
mes "....";
cutin "",255;
close;}elseif(!isequipped(40016)){//======= This Line Script not detect even item is equipped
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "Great work !";
next;
mes "....";
cutin "",255;setBeginnerQuest,4;
close;}else{
mes "=== ^ff9300 Benimaru ^000000 ===";
mes "If you have the [Stone Axe]";
mes "equip it.";
next;
mes "....";
cutin "",255;
close;}OnInit:
setunitdata (getnpcid(0), UNPC_GROUP_ID,2);
setunittitle(getnpcid(0),"Newbies Trainer");
end;}
Question
Dolphin86
As title, the script did not detect the item that is already equipped,
its on line 170 if(!isequipped(40016))
here is the script:
Help please...
Link to comment
Share on other sites
3 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.