Jump to content

ZizOo

Members
  • Posts

    27
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by ZizOo

  1.  

    Photo npceu8.png

     

    Download:http://www.4shared.com/file/128695478/18503a3e/NPC_Creator.html

    ====================================================

     

    Originally Posted by The Readme

     

    NPCC by ZiZoO

     

    - Simple tool used to help the process of making shop npcs easier.

    ONLY SUPPORTS THE NPCHANDLER SYSTEM!

     

     

    Script section:

     

     

    ~~~~ Buy/Sell

    If you are making a new npc, make sure you have initialized the npc script (press New).

     

    To add a buyable object, all four textboxes need to be filled.

     

    Keyword - The words the npc will recognize "mpa" for magic plate armor is common.

    NPCC only supports one keyword at this time. (Applies to buying and selling)

     

    ID - ItemID to be sold to the player (Applies to buying and selling)

     

    Cost/Paid - The amount of gold to be paid for the item (Applies to buying and selling)

     

    Name - Only used in buying. The Name is the name the NPC will say

    if the keyword is an abbreviation, the Name should be the full item name.

     

    ~~~~

     

    ~~~~~ Conversation

    Click "Add Conversation" to add talk/respond information to the NPC.

    (Such as the player saying "Hello", and the npc responding "HI!")

    ~~~~~

     

    The options below the Buy/Sell/Conversation buttons do the following:

     

    "Player must be the NPC's focus?" - (Only applies to conversations.)

    When enabled, the NPC has to be focused on the player to respond.

    When disabled, the NPC will respond to anyone who says that keyword close enough to them.

     

    "Include Buy or Sell before each keyword?" - Lets you choose whether or not to include Buy or Sell before the keyword.

    This is recommended as being able to buy and sell the same item requires different keywords.

    Otherwise you will always be offered to buy the item.

     

    Finish - Adds the last line of code to the npc file.

     

    Export Script - Lets you save the npc file anywhere you wish.

     

    NOTE:

     

    When loading a script, MAKE SURE YOU TAKE OFF THE LINE OF CODE THAT SETS THE NPCS FOCUS.

    This is supposed to be at the end of the script, so just press "Finish" when you are done editing.

     

    ~~~~~~ XML File Exporting

     

    Fill in the textboxes (Looktype, etc) to determine the NPCs outfit.

    Fill in the NPC Name textbox to set the NPC's in-game name.

    The Script Name textbox sets the NPC's script file. (You only need to put the <scriptname>.lua,

    it will automatically be converted to data/npc/scripts/<scriptname>.lua)

  2. Ok, this is going to be my third time starting this over and making it more organized. SO far it just advances begginers into a new job. By the end I want it to be able to do a lot of thing. No, I DO NOT no java at all, i just took a lot of guesses on this. I basically look at other NPCs and see how they work then go from there. So, would this thing work so far? I dont know why but I really need feedback a lot. =)

     

     

    var exit = 0;
    var start = 0;
    var part = 0;
    var mode = 0;
    var extra = 0;
    var rest = 0;
    var jobone = Array (THIEF, BOWMAN, WARRIOR, MAGICIAN, PIRATE);
    var jobonename = Array (Thief, Bowman, Warrior, Magician, Pirate);
    var jobtwo = Array (ASSASSIN, BANDIT, FIGHTER, PAGE, SPEARMAN, IL_WIZARD, FP_WIZARD, CLERIC, HUNTER, CROSSBOWMAN, BRAWLER, GUNSLINGER);
    
    function start {
       if (exit == 0) {
           if (rest == 0) {
               if (extra == 0) {
                   if (start == 0) {
                       start++;
                       cm.sendSimple("#L10#Warp To Maps#l/r/n#L11#Job Advance#l/r/n#L99#Leave#l");
                       part = selection;
                   } else {
                       if (part == 10) {
                           extra = 1;
                       } else if (part == 11) {
                           extra = 2;
                       } else if (part == 99) {
                           exit++;
                       } else {
                           start = 0;
                       }
                   }
               } else {
                   if (extra == 1) {
                       //comming soon
                   } else if (extra == 2) {
                       if (cm.getPlayer().isGM()) {
                           cm.sendSimple("What job would you like to be?");
                       } else {
                           if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BEGINNER)) {
                               cm.sendSimple("What job would you like to be?/r/n#L31#Thief#l/r/n#L32#Bowman#l/r/n#L33#Warrior#l/r/n#L34#Magician#l/r/n#L35#Pirate#l");
                                   if (cm.getLevel() >= 10) {
                                       cm.changeJob(MapleJob.(jobone[selection-30]));
                                       var jobname = jobonename[selection-30]
                                       cm.sendSimple("You are now a " + jobname + "! Enjoy.);
                                   } else {
                                       cm.sendSimple("You are not over level 10!");
                                       rest++;
                           } else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.THIEF)) {
    
                           } else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.WARRIOR)) {
    
                           } else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.MAGICIAN)) {
    
                           } else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.BOWMAN)) {
    
                           } else if (cm.getJob().equals(net.sf.odinms.client.MapleJob.PIRATE)) {
    
                           }
                       }
                   } else {
                       exit++;
                   }
               }
           } else {
               rest = 0;
               start = 0;
               part = 0;
               mode = 0;
               extra = 0;
           }
       } else {
           cm.sendOk("See you later!");
           cm.dispose();
       }
    }

  3. 8a xriasteite :P

     

    1:1 xazo admin :p h gm

     

    2:1 kalo filo p empisteueste

     

    3:na exete pc spiti(grigoro)

     

    lpn as arxisoume les ston admin 8elw na doso px 10.000 euro gia na boi8isw ton server autos fisika san skili 8a er8ei kai 8eas xaideuei kai 8 tou peite epidi dinw pl poso 8elw ta items prota na ta testarw gia 2 meres kai meta 8a apofasisw san xaroumenos 8a sas pei ne oso pio grigora figei kai ine off o admin ktlp ftiaxnete 2 acc dinete ta items kai meta ta dinete se alon char kai 3ana poles fores kai meta ston filo sas kai meta 8a pate apo alo net i home 8a kanete acc kai 8a mpeite me to acc tou char p eixe to items 8a kanete trade se eann char sas kai meta xalara pate na mpeite apo net to proto net lete ston admin oti scamaristikate kai pite tou na kita3ei to pio sixno trade p egine pite t kai kala oti den mpenate trogate dc kai ola auta meta afou 8a exete ta items krifteta gia ligo sto wh freight apo to acc apo to spiti sas kai meta 8a peite ston admin oxi den 8elw ase den 8elw na me 3ana scamaroune oi kolo hacker kai enjoy me donator items ;)to ekana se kati noobo server kai gamousa 8imi8eite 1 pc spiti me 2 para8ira 2 internet kafe me 2 para8ira h spitia ton char sas se eann internet cafe kai diabaste ta parakato gia ipen8imisis an den katalabate tpt kante me add anonimos_ftw@hotmail.com

    kai meta 8a dei tin db  k 8a s kanei ban ip :S teliws xazo
  4. file exo tin entiposi oti auto to post 8a eprepe na to eixes kanei sto forum tou server i sto general discussion.

     

    tora gia to problima sou sry alla dn exo na po kati :/

    Exei dikio kai eisai kai se la8os section epitelous Read The Rules esto gia mia fora 8a miraza karma :P
×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock