[Help] All-in-one problem

Results 1 to 6 of 6
  1. #1
    Valued Member nempoguy is offline
    MemberRank
    Sep 2012 Join Date
    118Posts

    [Help] All-in-one problem

    I've been using Shawn's Tut here on ragezone and I got everything executed with no errors. Although everything worked properly I spawn the npc ingame, click him, (ex) choose NX -> nx bottoms -> and it says It works now but no item is given.

    NPC Script(Npc is Bob the snail, ID: 9201074)
    Spoiler:
    /**
    * Created by : Shawn of RaGEZONE
    **/
    var name = "#b#ePrivateServer#k#n";
    var talk = "What would you like to browse?\r\n\r\n";
    var menu = ["Common","Warrior","Magician","Archer","Thief","Pirate","NX Items","ETC"];
    var options = [
    /*Common*/ ["Hats","Earrings","Necklaces and Face Accessories","Capes","Overalls","Gloves","Shields","Shoes","Maple Weapons","Level 0 Weapons"],
    /*Warrior*/ ["Hats","Tops","Bottoms","Overalls","Gloves","Shields","Shoes","1H Axes","2H Axes","1H BWs","2H BWs","1H Swords","2H Swords","Spears","Pole Arms"],
    /*Mage*/ ["Hats","Overalls","Gloves","Shields","Shoes","Wands","Staffs"],
    /*Archer*/ ["Hats","Overalls","Gloves","Shoes","Bows","CrossBows","Arrows"],
    /*Thief*/ ["Hats","Tops","Bottoms","Overalls","Gloves","Shields","Shoes","Daggers","Claws","Throwing Stars"],
    /*Pirate*/ ["Hats","Overalls","Gloves","Shoes","Weapons","Bullets and Capsules"],
    /*NX*/ ["Hats","Earrings","Face","Tops","Bottoms","Capes","Overalls","Rings","Gloves","Shields","Shoes","Weapons","Throwing Stars","Pets","Pet Misc","Emotion","Effects","Accessories","Player FM Stores"],
    /*ETC*/ ["Messengers","Super Megaphones, Gachapon Tickets, Rocks, and Morphs","Boss Pieces","Buffs and Potions","Scrolls","Summoning Sacks","Chairs","Mounts"]];
    var colors = ["#g","#r","#d","#b"];
    var rand = Math.floor(Math.random()*4);
    var rand2 = Math.ceil(Math.floor(Math.random()*4));
    var c;
    npc = 0;
    function start(){
    var text = "Hello #e#d#h ##k#n. I am the All in One seller of "+name+". "+talk+"";
    for (var z = 0; z < menu.length; z++)
    text+= "#L"+z+"##e"+colors[rand]+""+menu[z]+"#l\r\n";
    cm.sendSimple(text);
    }
    function action(m,t,s){
    if (m != 1){
    cm.dispose();
    return;
    }else{
    npc++;
    }
    if (npc == 1){
    c = s;
    for (var i = 0; i < options[c].length; i++)
    talk+="#L"+i+"##e"+colors[rand2]+""+options[c][i]+"#k#l\r\n";
    cm.sendSimple(talk);
    } else if (npc == 2){
    //cm.openShop(6000+((c*100)+s));
    cm.sendOk("It works now.");
    cm.dispose();
    }
    }

    Got ny ideas?


  2. #2
    Valued Member nempoguy is offline
    MemberRank
    Sep 2012 Join Date
    118Posts

    Re: [Help] All-in-one problem

    Please help.

  3. #3
    Account Upgraded | Title Enabled! avivii12345 is offline
    MemberRank
    Jan 2012 Join Date
    276Posts

    Re: [Help] All-in-one problem

    Maybe your repack is bugged..

  4. #4
    Valued Member nempoguy is offline
    MemberRank
    Sep 2012 Join Date
    118Posts

    Re: [Help] All-in-one problem

    I don't think so.. anyother ideas?

  5. #5
    Member VaD NeRdRaGe is offline
    MemberRank
    Aug 2010 Join Date
    TexasLocation
    67Posts

    Re: [Help] All-in-one problem

    More information + Screenshots on npc please?
    Does everything else work except the NX Bottoms?
    Does the shop open and theres just no items for sale in the shop?
    Last edited by VaD NeRdRaGe; 12-11-12 at 06:36 AM.

  6. #6
    Valued Member nempoguy is offline
    MemberRank
    Sep 2012 Join Date
    118Posts

    Re: [Help] All-in-one problem

    The NX Bottoms were an example, nothing works. The shop opens, but there are no items for sale



Advertisement