Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] All custom NPCS so far [V2]

Status
Not open for further replies.
The almighty chicken
Loyal Member
Joined
Apr 7, 2008
Messages
570
Reaction score
31
hey, since more and more people keep requesting for it,
i will release all my free market npcs (so far)
so this topic may be updated..
i don't have pictures right now, but that might follow later

i will include the exp seller and the other, since some people don't have them yet

Developing:
A fame npc that let you fame or defame someone else (or yourself) for mesos

EXP SELLER
PHP:
var status = 0;
function start() {
 status = -1;
 action(1, 0, 0);
}
function action(mode, type, selection) {
 if (mode == -1) {
  cm.dispose();
 } else {
  if (mode == 0 && status == 0) {
   cm.dispose();
   return;
  }
  if (mode == 1)
   status++;
  else
   status--;
  if (status == 0) {
   if (cm.itemQuantity(4001026) >= 50) {
    cm.sendOk("#fUI/UIWindow.img/QuestIcon/4/0#\r\nYou got 50 #i4001026#!\r\nI will give you some #fUI/UIWindow.img/QuestIcon/8/0#");
    cm.gainItem(4001026, -50);
    cm.gainExp(75000);
    cm.dispose();
   } else {
    cm.sendSimple("Hello #h #, Welcome to #rChickenMS!#k\r\nYou have this much Keys #B" + (cm.itemQuantity(4001026) * 2) + "#\r\nWhat do you want to do?\r\n#L1##bTrade 10k #fUI/UIWindow.img/QuestIcon/7/0# for 9k #fUI/UIWindow.img/QuestIcon/8/0#!#k#l\r\n\r\n#L2##bTrade 10k #fUI/UIWindow.img/QuestIcon/8/0# for 9k #fUI/UIWindow.img/QuestIcon/7/0#!#k#l\r\n\r\n#L3##bI want to choose how much Exp i get!#k#l\r\n#L4##eNothing really..#n#l");
   }
  } else if (status == 1) {
   if (selection == 1) {
    if (cm.getMeso() >= 10000 ) {
     cm.gainMeso(-10000);    
     cm.gainExp(9000);
     cm.gainItem(4001026, 1); 
     cm.dispose();
    } else {
     cm.sendOk("You don't have enough #bMesos#k\r\nDon't scam me or I will use this on you! #s5001001#");
     cm.dispose();
    }        
   } else if (selection == 2) {
    if (cm.getExp() >= 10000 ) {
                                        cm.gainMeso(9000);    
     cm.gainExp(-10000);
     cm.gainItem(4001026, 1); 
     cm.dispose();
    } else {
     cm.sendOk("You don't have enough #bExp#k\r\nDon't scam me or I will use this on you! #s5001001#");
     cm.dispose();
    }
   } else if (selection == 3) {
    var prompt = "How much exp do you want?\r\nWhatever you say will be multiplied by 1000\r\n#eHowever!#n Do #rNOT#k go over 128!";
    cm.sendGetNumber(prompt,1,1,32767);
   } else {
    cm.sendOk("Oh. i see... Well then, have fun in #rChickenMS!#k");
    cm.dispose();
   }
  } else if (status == 2) {
   qty = selection;
   cost = (selection * 2);
    cm.sendYesNo("Do you really want to pay " + (cost * 1000) + " mesos for " + (selection * 1000) + " Exp?");
  } else if (status == 3) {
   if (cm.getMeso() >= (cost * 1000)) {
    cm.gainMeso(-cost * 1000);
    cm.gainExp(qty * 1000);
    cm.dispose();
   } else {
    cm.sendOk("You don't have enough #bMesos#k\r\nDon't scam me or I will use this on you! #s5001001#");
    cm.dispose();
   }
  } else {
   cm.dispose();
  }
 }
}


JOB HELPER NPC
PHP:
//Made by me (kippieeej aka Bassoe) ^^
//WOMG, CHECK ALL THOSE VARIABLES
//bla lol, womg chicken, i wub chickens =O
var bla = 0;
var bla1 = 0;
var bla2 = 0;
var bla3 = 0;
var lol = 0;
var chicken = 0;
var gmskills = Array(5001000, 5001001, 5001002);
var supergmskills = Array(5101000, 5101001, 5101002, 5101003, 5101004, 5101005);
var beginnerskills = Array(1000, 1001, 1002, 1003, 1004, 1005);
var warriorskills = Array(1000000, 1000001, 1000002, 1001003, 1001004, 1001005);
var mageskills = Array(2000000, 2000001, 2001002, 2001003, 2001004, 2001005);
var bowmanskills = Array(3000000, 3000001, 3000002, 3001003, 3001004, 3001005);
var thiefskills = Array(4000000, 4000001, 4001002, 4001003, 4001334, 4001344);
var fighterskills = Array(1100000, 1100001, 1100002, 1100003, 1101004, 1101005, 1101006, 1101007);
var pageskills = Array(1200000, 1200001, 1200002, 1200003, 1201004, 1201005, 1201006, 1201007);
var spearmanskills = Array(1300000, 1300001, 1300002, 1300003, 1301004, 1301005, 1301006, 1301007);
var fpwizskills = Array(2100000, 2101001, 2101002, 2101003, 2101004, 2101005);
var ilwizskills = Array(2200000, 2201001, 2201002, 2201003, 2201004, 2201005);
var clericskills = Array(2300000, 2301001, 2301002, 2301003, 2301004, 2301005);
var hunterskills = Array(3100000, 3100001, 3101002, 3101003, 3101004, 3101005);
var crossbowmanskills = Array(3200000, 3200001, 3201002, 3201003, 3201004, 3201005);
var assassinskills = Array(4100000, 4100001, 4100002, 4101003, 4101004, 4101005);
var banditskills = Array(4200000, 4200001, 4201002, 4201003, 4201004, 4201005);
var crusaderskills = Array(1110000, 1110001, 1111002, 1111003, 1111004, 1111005, 1111006, 1111007, 1111008);
var whiteknightskills = Array(1210000, 1210001, 1211002, 1211003, 1211004, 1211005, 1211006, 1211007, 1211008, 1211009);
var dragonknightskills = Array(1310000, 1311001, 1311002, 1311003, 1311004, 1311005, 1311006, 1311007, 1311008);
var fpmageskills = Array(2110000, 2110001, 2111002, 2111003, 2111004, 2111005, 2111006);
var ilmageskills = Array(2210000, 2210001, 2211002, 2211003, 2211004, 2211005, 2211006);
var priestskills = Array(2310000, 2311001, 2311002, 2311003, 2311004, 2311005, 2311006);
var rangerskills = Array(3110000, 3110001, 3111002, 3111003, 3111004, 3111005, 3111006);
var sniperskills = Array(3210000, 3210001, 3211002, 3211003, 3211004, 3211005, 3211006);
var hermitskills = Array(4110000, 4111001, 4111002, 4111003, 4111004, 4111005, 4111006);
var cbskills = Array(4210000, 4211001, 4211002, 4211003, 4211004, 4211005, 4211006);
 
function start() {
    bla = -1;
    action(1, 0, 0);
}
 
function action(mode, type, selection) {
    if (mode == -1) {
        cm.dispose();
    } else {
        if (mode == 0 && bla == 0) {
            cm.dispose();
            return;
        }
        if (mode == 1)
            bla++;
        else
            bla--;
        if (bla == 0) {
                cm.sendSimple("Hello #h #, Welcome to #rChickenMS#k\r\nI am here to help you decide your destiny\r\nPick your job!\r\n#L1##bSuper GM#k#l\r\n#L2##rGM#k#l\r\n#L3##bBeginner#k#l\r\n#L4##rwarrior#k#l\r\n#L5##bmage#k#l\r\n#L6##rbowman#k#l\r\n#L7##bthief#k#l");
        } else if (bla == 1) {
            if (selection == 1) {
  lol = supergmskills;
      var Selstr = "SuperGM Skills are:\r\n";
  for (var i = 0; i < lol.length; i++) {
   Selstr += "#s" + lol[i] + "#";
  }
   cm.sendOk(Selstr);
   cm.dispose();
            } else if (selection == 2) {
  lol = gmskills;
  var Selstr = "GM Skills are:\r\n";
  for (var i = 0; i < lol.length; i++) {
   Selstr += "#s" + lol[i] + "#";
  }
   cm.sendOk(Selstr);
   cm.dispose();
            } else if (selection == 3) {
  lol = beginnerskills;
  var Selstr = "Beginner Skills are:\r\n";
  for (var i = 0; i < lol.length; i++) {
   Selstr += "#s" + lol[i] + "#";
  }
   cm.sendOk(Selstr);
   cm.dispose();
            } else if (selection == 4) {
  lol = warriorskills;
  chicken = 1;
  var Selstr = "Warrior Skills are:\r\n";
  for (var i = 0; i < lol.length; i++) {
   Selstr += "#s" + lol[i] + "#";
  }
   cm.sendNext(Selstr);
     } else if (selection == 5) {
  lol = mageskills;
  chicken = 2;
  var Selstr = "Mage Skills are:\r\n";
  for (var i = 0; i < lol.length; i++) {
   Selstr += "#s" + lol[i] + "#";
  }
   cm.sendNext(Selstr);
            } else if (selection == 6) {
  lol = bowmanskills;
  chicken = 3;
  var Selstr = "Bowman Skills are:\r\n";
  for (var i = 0; i < lol.length; i++) {
   Selstr += "#s" + lol[i] + "#";
  }
   cm.sendNext(Selstr);
     } else if (selection == 7) {
  lol = thiefskills;
  chicken = 4;
  var Selstr = "Thief Skills are:\r\n";
  for (var i = 0; i < lol.length; i++) {
   Selstr += "#s" + lol[i] + "#";
  }
   cm.sendNext(Selstr);
            }
 } else if (bla == 2) {
            if (chicken == 1) {
  bla1 = "Warrior #r2nd Job#k skills are:\r\nFighter Skills are:\r\n";
  for (var i = 0; i < fighterskills.length; i++) {
   bla1 += "#s" + fighterskills[i] + "#";
  }
  bla2 = "\r\nPage Skills are:\r\n";
  for (var i = 0; i < pageskills.length; i++) {
   bla2 += "#s" + pageskills[i] + "#";
  }
  bla3 = "\r\nSpearman Skills are:\r\n";
  for (var i = 0; i < spearmanskills.length; i++) {
   bla3 += "#s" + spearmanskills[i] + "#";
  }
  cm.sendNext(bla1 + bla2 + bla3);
            } else if (chicken == 2) {
  bla1 = "Mage #r2nd Job#k skills are:\r\nFire Poison Wizard Skills are:\r\n";
  for (var i = 0; i < fpwizskills.length; i++) {
   bla1 += "#s" + fpwizskills[i] + "#";
  }
  bla2 = "\r\nIce Lightning Wizard Skills are:\r\n";
  for (var i = 0; i < ilwizskills.length; i++) {
   bla2 += "#s" + ilwizskills[i] + "#";
  }
  bla3 = "\r\nCleric Skills are:\r\n";
  for (var i = 0; i < clericskills.length; i++) {
   bla3 += "#s" + clericskills[i] + "#";
  }
  cm.sendNext(bla1 + bla2 + bla3);
            } else if (chicken == 3) {
  bla1 = "Bowman #r2nd Job#k skills are:\r\nHunter Skills are:\r\n";
  for (var i = 0; i < hunterskills.length; i++) {
   bla1 += "#s" + hunterskills[i] + "#";
  }
  bla2 = "\r\nCrossbowman Skills are:\r\n";
  for (var i = 0; i < crossbowmanskills.length; i++) {
   bla2 += "#s" + crossbowmanskills[i] + "#";
  }
  cm.sendNext(bla1 + bla2);
     } else if (chicken == 4) {
  bla1 = "Thief #r2nd Job#k skills are:\r\nAssassin Skills are:\r\n";
  for (var i = 0; i < assassinskills.length; i++) {
   bla1 += "#s" + assassinskills[i] + "#";
  }
  bla2 = "\r\nBandit Skills are:\r\n";
  for (var i = 0; i < banditskills.length; i++) {
   bla2 += "#s" + banditskills[i] + "#";
  }
  cm.sendNext(bla1 + bla2);
            }
 } else if (bla == 3) {
            if (chicken == 1) {
  bla1 = "Warrior #d3rd Job#k skills are:\r\nCrusader Skills are:\r\n";
  for (var i = 0; i < crusaderskills.length; i++) {
   bla1 += "#s" + crusaderskills[i] + "#";
  }
  bla2 = "\r\nWhite Knight Skills are:\r\n";
  for (var i = 0; i < whiteknightskills.length; i++) {
   bla2 += "#s" + whiteknightskills[i] + "#";
  }
  bla3 = "\r\nDragon Knight Skills are:\r\n";
  for (var i = 0; i < dragonknightskills.length; i++) {
   bla3 += "#s" + dragonknightskills[i] + "#";
  }
  cm.sendNext(bla1 + bla2 + bla3);
            } else if (chicken == 2) {
  bla1 = "Mage #d3rd Job#k skills are:\r\nFire Poison Mage Skills are:\r\n";
  for (var i = 0; i < fpmageskills.length; i++) {
   bla1 += "#s" + fpmageskills[i] + "#";
  }
  bla2 = "\r\nIce Lightning Mage Skills are:\r\n";
  for (var i = 0; i < ilmageskills.length; i++) {
   bla2 += "#s" + ilmageskills[i] + "#";
  }
  bla3 = "\r\npriest Skills are:\r\n";
  for (var i = 0; i < priestskills.length; i++) {
   bla3 += "#s" + priestskills[i] + "#";
  }
  cm.sendNext(bla1 + bla2 + bla3);
            } else if (chicken == 3) {
  bla1 = "Bowman #d3rd Job#k skills are:\r\nRanger Skills are:\r\n";
  for (var i = 0; i < rangerskills.length; i++) {
   bla1 += "#s" + rangerskills[i] + "#";
  }
  bla2 = "\r\nSniper Skills are:\r\n";
  for (var i = 0; i < sniperskills.length; i++) {
   bla2 += "#s" + sniperskills[i] + "#";
  }
  cm.sendNext(bla1 + bla2);
     } else if (chicken == 4) {
  bla1 = "Thief #d3rd Job#k skills are:\r\nHermit Skills are:\r\n";
  for (var i = 0; i < hermitskills.length; i++) {
   bla1 += "#s" + hermitskills[i] + "#";
  }
  bla2 = "\r\nChief Bandit Skills are:\r\n";
  for (var i = 0; i < cbskills.length; i++) {
   bla2 += "#s" + cbskills[i] + "#";
  }
  cm.sendNext(bla1 + bla2);
            }
 } else if (bla == 4) {
            if (chicken == 1) {
  cm.sendOk("Warrior #e4th Job#n skills:\r\n#eIn progress#n");
  cm.dispose();
            } else if (chicken == 2) {
  cm.sendOk("Mage #e4th Job#n skills:\r\n#eIn progress#n");
  cm.dispose();
            } else if (chicken == 3) {
  cm.sendOk("Bowman #e4th Job#n skills:\r\n#eIn progress#n");
  cm.dispose();
     } else if (chicken == 4) {
  cm.sendOk("Thief #e4th Job#n skills:\r\n#eIn progress#n");
  cm.dispose();
            } 
        }
    }
}



Hengki (requires the best shop, which i will upload in this thread, credits to some1 else for this one)
PHP:
function start() {
 cm.sendSimple ("#L0##rMagican Shoes#k\r\n#L1##rMagican Overalls#k\r\n#L2##rMagican Gloves#k\r\n#L3##rMagican Hats#k\r\n#L4##rMagican Shields#k\r\n#L5##rMagican Wands And Common Wands#k\r\n#L6##rMagican Staffs And Common Staffs#k\r\n#L7##bThief Shoes#k\r\n#L8##bThief Bottoms#k\r\n#L9##bThief Tops#k\r\n#L10##bThief Overalls#l\r\n#L11##bThief Gloves#l\r\n#L12##bThief Hats#l\r\n#L13##bThief Shields#l\r\n#L14##bThief Daggers And Common Daggers#k\r\n#L15##bThief Claws And Common Claws#k\r\n#L16##bThief Throwing Stars#k\r\n#L17##dWarrior Shoes#k\r\n#L18##dWarrior Bottom#k\r\n#L19##dWarrior Top#k\r\n#L20##dWarrior Overalls#k\r\n#L21##dWarrior Gloves#k\r\n#L22##dWarrior Hats#k\r\n#L23##dWarrior Shields#k\r\n#L24##dWarrior One-Handed Axe And Common One-Handed Axe#k\r\n#L25##dWarrior Two-Handed Axe And Common Two-Handed Axe#k\r\n#L26##dWarrior One-Handed BW And Common One-Handed BW#k\r\n#L27##dWarrior Two-Handed BW And Common Two-Handed BW#k\r\n#L28##dWarrior One-Handed Sword And Common One-Handed Sword#k\r\n#L29##dWarrior Two-Handed Sword And Common Two-Handed Sword#k\r\n#L30##dWarrior Spear And Common Spears#k\r\n#L31##dWarrior Pole Arm And Common Pole Arms#k\r\n#L32##gArcher Shoes#k\r\n#L33##gArcher Overalls#k\r\n#L34##gArcher Gloves#k\r\n#L35##gArcher Hats#k\r\n#L36##gArcher Bows And Common Bows#k\r\n#L37##gArcher Crossbows And Common Crossbows#k\r\n#L38##gArcher Arrows#k\r\n#L39#Maple Weapons\r\n#L40#Earrings\r\n#L41#Necklaces and Face Accessories\r\n#L42#Capes\r\n#L43#Common Shoes\r\n#L44#Common Hats\r\n#L45#Common Gloves\r\n#L46#Common Overalls\r\n#L47#Common Shields\r\n#L48#Level 0 Weapons\r\n#L50#Smegas and Gachapon And Teleport Rocks and transform peices\r\n#L51#Buffs and Pots\r\n#L52#Boss Pieces\r\n#L53#Mounts\r\n#L54#All Scrolls, white scrolls, GM Scrolls\r\n#L55#All Pets\r\n#L56#All Pet Stuffs Even Pet food, Scrolls, books\r\n#L57#Chairs\r\n#L58#Sack Shop\r\n#L59#Cash Capes\r\n#L60#Cash Gloves\r\n#L61#Cash Shields\r\n#L62#Rings\r\n#L63#Fun Equips\r\n#L64#Emotion\r\n#L65#Cash Earrings\r\n#L66#Eye Things Like Glasses & Eye Guard & Eye Patch\r\n#L67#All Accesories");
}
function action(mode, type, selection) {
 cm.dispose();
 if (selection == 0) {
  cm.openShop (10000);
 } else if (selection == 1) {
  cm.openShop (10001);
 } else if (selection == 2) {
  cm.openShop (10002);
 } else if (selection == 3) {
  cm.openShop (10003);
 } else if (selection == 4) {
  cm.openShop (10004);
 } else if (selection == 5) {
  cm.openShop (10005);
 } else if (selection == 6) {
  cm.openShop (10006);
 } else if (selection == 7) {
  cm.openShop (10007);
  } else if (selection == 8) {
  cm.openShop (10008);
  } else if (selection == 9) {
  cm.openShop (10009);
  } else if (selection == 10) {
  cm.openShop (10010);
  } else if (selection == 11) {
  cm.openShop (10011);
  } else if (selection == 12) {
  cm.openShop (10012);
  } else if (selection == 13) {
  cm.openShop (10013);
  } else if (selection == 14) {
  cm.openShop (10014);
  } else if (selection == 15) {
  cm.openShop (10015);
  } else if (selection == 16) {
  cm.openShop (10038);
  } else if (selection == 17) {
  cm.openShop (10016);
  } else if (selection == 18) {
  cm.openShop (10017);
  } else if (selection == 19) {
  cm.openShop (10018);
  } else if (selection == 20) {
  cm.openShop (10019);
  } else if (selection == 21) {
  cm.openShop (10020);
  } else if (selection == 22) {
  cm.openShop (10021);
  } else if (selection == 23) {
  cm.openShop (10022);
  } else if (selection == 24) {
  cm.openShop (10023);
  } else if (selection == 25) {
  cm.openShop (10024);
  } else if (selection == 26) {
  cm.openShop (10025);
  } else if (selection == 27) {
  cm.openShop (10026);
  } else if (selection == 28) {
  cm.openShop (10027);
  } else if (selection == 29) {
  cm.openShop (10028);
  } else if (selection == 30) {
  cm.openShop (10029);
  } else if (selection == 31) {
  cm.openShop (10030);
  } else if (selection == 32) {
  cm.openShop (10031);
  } else if (selection == 33) {
  cm.openShop (10032);
  } else if (selection == 34) {
  cm.openShop (10033);
  } else if (selection == 35) {
  cm.openShop (10034);
  } else if (selection == 36) {
  cm.openShop (10035);
  } else if (selection == 37) {
  cm.openShop (100320);
  } else if (selection == 38) {
  cm.openShop (10037);
  } else if (selection == 39) {
  cm.openShop (10051);
  } else if (selection == 40) {
  cm.openShop (10039);
  } else if (selection == 41) {
  cm.openShop (10040);
  } else if (selection == 42) {
  cm.openShop (10041);
  } else if (selection == 43) {
  cm.openShop (10042);
  } else if (selection == 44) {
  cm.openShop (10043);
  } else if (selection == 45) {
  cm.openShop (10044);
  } else if (selection == 46) {
  cm.openShop (10045);
  } else if (selection == 47) {
  cm.openShop (10046);
  } else if (selection == 48) {
  cm.openShop (10047);
  } else if (selection == 49) {
  cm.openShop (10048);
  } else if (selection == 50) {
  cm.openShop (10048);
  } else if (selection == 51) {
  cm.openShop (10049);
  } else if (selection == 52) {
  cm.openShop (10050);
  } else if (selection == 53) {
  cm.openShop (10052);
  } else if (selection == 54) {
  cm.openShop (10053);
  } else if (selection == 55) {
  cm.openShop (10054);
  } else if (selection == 56) {
  cm.openShop (10055);
  } else if (selection == 57) {
  cm.openShop (10056);
         } else if (selection == 58) {
  cm.openShop (10057);
                } else if (selection == 59) {
  cm.openShop (10058);
                } else if (selection == 60) {
  cm.openShop (10059);
                } else if (selection == 61) {
  cm.openShop (10060);
                } else if (selection == 62) {
  cm.openShop (10061);
                } else if (selection == 63) {
  cm.openShop (10062);
                } else if (selection == 64) {
  cm.openShop (10063);
                } else if (selection == 65) {
  cm.openShop (10064);
                } else if (selection == 66) {
  cm.openShop (10065);
                } else if (selection == 67) {
  cm.openShop (10066);
 } else {
  cm.dispose();
 }
}




Cassandra, Random quest NPC (its lol)
PHP:
var chosen = Math.floor(Math.random()*2+1);
var status = 0;
var increase = 0;
var statup = new java.util.ArrayList();
function start() {
 status = -1;
 action(1, 0, 0);
}
function action(mode, type, selection) {
 if (mode == -1) {
  cm.dispose();
 } else {
  if (mode == 0 && status == 0) {
   cm.dispose();
   return;
  }
  if (mode == 1)
   status++;
  else
   status--;
  if (status == 0) {
   cm.sendSimple("#eA or B? You can win prizes#n\r\nWin #r3#k Times to get your price!\r\n#L1##bA#k#l\r\n#L2##bB#k#l");
  }
  if (status == 1) {
   if (increase == 2) {
    cm.sendOk("You made it! Here, take 75k Exp and Mesos!");
    cm.gainExp(75000);
    cm.gainMeso(75000);
    cm.dispose();
   } else {
    if (selection == chosen) {
     status = -1;
     chosen = Math.floor(Math.random()*2+1);
     increase = (increase + 1);     
     cm.sendNext("Good! Now only #e" + (3 - increase) + "#n times to go!");
    } else {
     var currenthp = cm.getChar().getHp();
     cm.getChar().setHp(currenthp - 100);
     statup.add (new net.sf.odinms.tools.Pair(net.sf.odinms.client.MapleStat.HP, java.lang.Integer.valueOf(cm.getChar().getHp())));
     cm.sendOk("Wrong, you won't get a price now\r\nI also decreased your HP with 100!");
     cm.dispose();
    }
   }
  }
 }
}



Mushroom Statue, random fame giver or taker
PHP:
var random = Math.floor(Math.random()*2+1);
var status = 0;
function start() {
 status = -1;
 action(1, 0, 0);
}
function action(mode, type, selection) {
 if (mode == -1) {
  cm.dispose();
 } else {
  if (mode == 0 && status == 0) {
   cm.dispose();
   return;
  }
  if (mode == 1)
   status++;
  else
   status--;
  if (status == 0) {
   cm.sendNext("Hello #h #, I am a #rStatue#k and i randomly give fame!\r\nHowever, there is also a chance that i take fame!\r\nSo, be careful whether you click Next or not!");
  }
  if (status == 1) {
   if (random == 1) {
    cm.sendOk("Aww, too bad, i'm taking 1 #bfame#k from you");
    cm.gainFame(-1);
    cm.dispose();
   } else {
    cm.sendOk("Good! i will give you 1 #bfame#k!");
    cm.gainFame(1);
    cm.dispose();
   }
  }
 }
}



No string - trades presents for NX
PHP:
var status = 0;
function start() {
 status = -1;
 action(1, 0, 0);
}
function action(mode, type, selection) {
 if (mode == -1) {
  cm.dispose();
 } else {
  if (mode == 0 && status == 0) {
   cm.dispose();
   return;
  }
  if (mode == 1)
   status++;
  else
   status--;
  if (status == 0) {
   cm.sendSimple("Hello #h #, Welcome to #rChickenMS!#k\r\nWhat do you want to do?\r\n#L1##bTrade #i4000422# for 1k NX#l\r\n#L2##bTrade #i4000423# for 2.5k NX#k#l\r\n#L3##bTrade #i4000424# for 5k NX#k#l\r\n#L4##bTrade #i4000425# for 10k NX#k#l\r\n#L5##eEww, you are ugly, i won't talk to you!#n#l");
  } else if (status == 1) {
   if (selection == 1) {
    if (cm.itemQuantity(4000422) >= 1 ) {
     cm.gainItem(4000422, -1);    
     cm.gainNX(1000);
     cm.dispose();
    } else {
     cm.sendOk("You don't have enough #i4000422#\r\nDon't scam me or I will use this on you! #s5001001#");
     cm.dispose();
    }        
   } else if (selection == 2) {
    if (cm.itemQuantity(4000423) >= 1 ) {
     cm.gainItem(4000423, -1);    
     cm.gainNX(2500);
     cm.dispose();
    } else {
     cm.sendOk("You don't have enough #i4000423#\r\nDon't scam me or I will use this on you! #s5001001#");
     cm.dispose();
    }
   } else if (selection == 3) {
    if (cm.itemQuantity(4000424) >= 1 ) {
     cm.gainItem(4000424, -1);    
     cm.gainNX(5000);
     cm.dispose();
    } else {
     cm.sendOk("You don't have enough #i4000424#\r\nDon't scam me or I will use this on you! #s5001001#");
     cm.dispose();
    }
   } else if (selection == 4) {
    if (cm.itemQuantity(4000425) >= 1 ) {
     cm.gainItem(4000425, -1);    
     cm.gainNX(10000);
     cm.dispose();
    } else {
     cm.sendOk("You don't have enough #i4000425#\r\nDon't scam me or I will use this on you! #s5001001#");
     cm.dispose();
    }
   } else {
    cm.sendOk("Oh. i see... Well then, have fun in #rChickenMS!#k\r\n\r\n#e*cries*#n");
    cm.dispose();
   }
  }
 }
}



Ok, the npcs
Exp Seller - 9010011.js
Job Helper - 9010012.js
Hengki the Shop - 9010013.js
Cassandra - 9010010.js
Statue - 9110015.js
No String - 9101000.js


I hope you enjoy them!

edit: uploaded my fm.wz
goto wz>map.wz>map9>910000000.img.xml
replace it
 

Attachments

You must be registered for see attachments list
Last edited:
Newbie Spellweaver
Joined
Jul 6, 2008
Messages
11
Reaction score
0
Re: [Release] All custom NPCS so far by ME

Nice release.
 
The almighty chicken
Loyal Member
Joined
Apr 7, 2008
Messages
570
Reaction score
31
Re: [Release] All custom NPCS so far by ME

thanks
pictures will follow
 
Master Summoner
Joined
Apr 29, 2008
Messages
534
Reaction score
3
Re: [Release] All custom NPCS so far by ME

Oooh. Nice release. I'll be trying this out. o.o
 
The almighty chicken
Loyal Member
Joined
Apr 7, 2008
Messages
570
Reaction score
31
Re: [Release] All custom NPCS so far by ME

thanks
i will upload my fm.wz in 1 second lol

edit: eww, not much replies ._.
 
Newbie Spellweaver
Joined
Jul 18, 2008
Messages
32
Reaction score
0
Re: [Release] All custom NPCS so far by ME

Nice job!
With Screenshot will b much better
 
Junior Spellweaver
Joined
Apr 6, 2008
Messages
140
Reaction score
0
Re: [Release] All custom NPCS so far by ME

i agree
 
Banned
Banned
Joined
Aug 25, 2008
Messages
625
Reaction score
0
Re: [Release] All custom NPCS so far by ME

I don't use most of the npcs, but it's a nice release
 
The almighty chicken
Loyal Member
Joined
Apr 7, 2008
Messages
570
Reaction score
31
Re: [Release] All custom NPCS so far by ME

thanks
and how can you have them already?
i thought that some really were unique o_O

4 of the 5 i made myself
 
Experienced Elementalist
Joined
May 19, 2008
Messages
281
Reaction score
0
Re: [Release] All custom NPCS so far by ME

nice release ~ :D
 
The almighty chicken
Loyal Member
Joined
Apr 7, 2008
Messages
570
Reaction score
31
Re: [Release] All custom NPCS so far by ME

thanks lol.
but anyways, i will upload some pictures
 
Supreme Arcanarch
Loyal Member
Joined
Jul 21, 2008
Messages
969
Reaction score
1
Re: [Release] All custom NPCS so far by ME

THANKS ALOT :) Will you release more? I will be looking forward to those XD
 
The almighty chicken
Loyal Member
Joined
Apr 7, 2008
Messages
570
Reaction score
31
Re: [Release] All custom NPCS so far by ME

of course i will
i only need some more ideas for developing npcs ^^
it's hard to think of new npcs lol
 
Supreme Arcanarch
Loyal Member
Joined
Jul 21, 2008
Messages
969
Reaction score
1
Re: [Release] All custom NPCS so far by ME

yea i agree haha. I totally loved every single npc that u have made so far.
 
Junior Spellweaver
Joined
Jul 28, 2008
Messages
131
Reaction score
0
Re: [Release] All custom NPCS so far by ME

Nice release , but useless thread , since poeple could get that at the release section and its a common thing
 
The almighty chicken
Loyal Member
Joined
Apr 7, 2008
Messages
570
Reaction score
31
Re: [Release] All custom NPCS so far by ME

what do you mean with that?
how is this a useless thread?
i made this npcs myself, and now i released them.
 
Banned
Banned
Joined
Aug 25, 2008
Messages
625
Reaction score
0
Re: [Release] All custom NPCS so far by ME

But if i remeber correctly, haven't you released these npcs seperatly?
 
The almighty chicken
Loyal Member
Joined
Apr 7, 2008
Messages
570
Reaction score
31
Re: [Release] All custom NPCS so far by ME

i have released 2, i explained that in the first post.
and now i release the others
and i will update this thread everytime i release a new npc
 
Status
Not open for further replies.
Back
Top