פרשתיבהצלחה.
פרשתיבהצלחה.
נערך לאחרונה על ידי SapiRxD; 03-04-2010 בשעה 19:52.
|
|
ריפאק:kopa repacker v4
פירוט על הNPC:איש שיקח SLIME EARASER על דברים ושיהיה איזה 10 אופציות לבחור נגיד 1slime בעד work gloves שיהיה עשר אופציות כאלה אני כבר יערוך למה שאני רוצה
IDים: SLIME ERASER-4001042
הערות : אין
נערך לאחרונה על ידי xNewNick; 26-02-2010 בשעה 12:21.
בבקשה:
תהנה (:קוד PHP://Slime Eraser's Exchanger NPC Created by Warden from the iAtraf NPC Creation Factory
var wui = 0;
function start() {
cm.sendSimple ("Hello,I trade Slime Eraser's If you got any Slime Eras'ers you can exchange them here for awesome prizes. \r\n#L0#Slime Eraser for a #rEditHere.#k #l\r\n#L1#Slime Eraser for a #rEdit Here#k #l\r\n#L2#Slime Erasers for a #rEdit Here#k #l\r\n#L3#Slime Erasers for a #rEdit Here#k #l\r\n#L4#Slime Erasers for a #rEdit Here#k \r\n#L5#Slime Erasers for a #rEdit Here#k \r\n#L6#lime Erasers for a #rEdit Here#k \r\n#L7#Slime Erasers for a #rEdit Here#k \r\n#L8#Slime Erasers for a #rEdit Here#k \r\n\#L9#Slime Erasers for a #rEdit Here#k \r\n\#L10#Slime Erasers for a #rEdit Here#k");
}
function action(mode, type, selection) {
cm.dispose();
if (selection == 0) {
if (cm.haveItem(4001042, 1)) {
cm.gainItem(ItemID,Quantity);
cm.gainItem(4001042, -1);
cm.sendOk("Congrats!!");
cm.dispose();
} else {
cm.sendOk(" Sorry. You do not have enough Slime Erasers. ");
cm.dispose();
}
} else if (selection == 1) {
if (cm.haveItem(4001042, 1)) {
cm.gainItem(ItemID,Quantity);
cm.gainItem(4001042, -1);
cm.sendOk("Congrats!!");
cm.dispose();
} else {
cm.sendOk(" Sorry. You do not have enough Slime Erasers. ");
cm.dispose();
}
} else if (selection == 2) {
if (cm.haveItem(4001042, 2)) {
cm.gainItem(ItemID,Quantity);
cm.gainItem(4001042, -1);
cm.sendOk("Congrats!!");
cm.dispose();
} else {
cm.sendOk(" Sorry. You do not have enough Slime Erasers. ");
cm.dispose();
}
} else if (selection == 3) {
if (cm.haveItem(4001042, 1)) {
cm.gainItem(ItemID,Quantity);
cm.gainItem(4001042, -1);
cm.sendOk("Congrats!!");
cm.dispose();
} else {
cm.sendOk(" Sorry. You do not have enough Slime Erasers. ");
cm.dispose();
}
} else if (selection == 4) {
if (cm.haveItem(4001042, 1)) {
cm.gainItem(ItemID,Quantity);
cm.gainItem(4001042, -1);
cm.sendOk("Well done, Here's your Stirge Seat.");
cm.dispose();
} else {
cm.sendOk(" Sorry. You do not have enough Slime Erasers. ");
cm.dispose();
}
} else if (selection == 5) {
if (cm.haveItem(4001042, 1)) {
cm.gainItem(ItemID,Quantity);
cm.gainItem(4001042, -1);
cm.sendOk("Congrats!!");
cm.dispose();
} else {
cm.sendOk(" Sorry. You do not have enough Slime Erasers. ");
cm.dispose();
}
} else if (selection == 6) {
if (cm.haveItem(4001042, 1)) {
cm.gainItem(ItemID,Quantity);
cm.gainItem(4001042, -1);
cm.sendOk("Congrats!!");
cm.dispose();
} else {
cm.sendOk(" Sorry. You do not have enough Slime Erasers. ");
cm.dispose();
}
} else if (selection == 7) {
if (cm.haveItem(4001042, 1)) {
cm.gainItem(ItemID,Quantity);
cm.gainItem(4001042, -1);
cm.sendOk("Congrats!!");
cm.dispose();
} else {
cm.sendOk(" Sorry. You do not have enough Slime Erasers. ");
cm.dispose();
}
} else if (selection == 8) {
if (cm.haveItem(4001042, 1)) {
cm.gainItem(ItemID,Quantity);
cm.gainItem(4001042, -1);
cm.sendOk("Congrats!!");
cm.dispose();
} else {
cm.sendOk(" Sorry. You do not have enough Slime Erasers. ");
cm.dispose();
}
} else if (selection == 9) {
if (cm.haveItem(4001042, 1)) {
cm.gainItem(ItemID,Quantity);
cm.gainItem(4001042, -1);
cm.sendOk("Congrats");
cm.dispose();
} else {
cm.sendOk(" Sorry. You do not have enough Slime Erasers. ");
cm.dispose();
}
} else if (selection == 10) {
if (cm.haveItem(4001042, 1)) {
cm.gainItem(ItemID,Quantity);
cm.gainItem(4001042, -1);
cm.sendOk("Congrats!!");
cm.dispose();
} else {
cm.sendOk(" Sorry. You do not have enough Slime Erasers. ");
cm.dispose();
}
} else if (selection == 11) {
if (cm.haveItem(4001042, 1)) {
cm.gainItem(ItemID,Quantity);
cm.gainItem(4001042, -1);
cm.sendOk("Congrats!!");
cm.dispose();
} else {
cm.sendOk(" Sorry. You do not have enough Slime Erasers. ");
cm.dispose();
}
cm.dispose();
}
}
אני יסביר לך מה לערוך:
אתה תראה שם בcm.gainItem(ItemID, Quantity
בItemID תערוך את האיידי שאתה רוצה שהוא יקבל.
בQuantity תערוך את הכמות של אותו אייטם שאתה רוצה שהוא יקבל.
נערך לאחרונה על ידי Warden; 26-02-2010 בשעה 12:53.
זהו חזי החזרזיר והוא על סמים קשים!
rapake zombie
1902000
1902001
1902002
1902005
1902006
1902007
1902008
1902009
1902011
1902012
1902015
1902016
1902017
1902018
1902020
1902021
1912000
1912003
1912004
1912005
1912007
1912008
1912011
1912013
1912014 tahin hanot le ze bevakasha
נערך לאחרונה על ידי maorboy; 26-02-2010 בשעה 13:52.
הכנתי לך כבר שלחתי לך בפרטית.
בבקשה להבא תעבוד לפי הטופס.
בבקשה:
תהנה (:קוד PHP:INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1902000 , 1, 1);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1902001 , 1, 2);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1902002 , 1, 3);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1902005 , 1, 4);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1902006 , 1, 5);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1902007 , 1, 6);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1902008 , 1, 7);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1902009 , 1, 8);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1902011 , 1, 9);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1902012 , 1, 10);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1902015 , 1, 11);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1902016 , 1, 12);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1902017 , 1, 13);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1902018 , 1, 14);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1902020 , 1, 15);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1902021 , 1, 16);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1912000 , 1, 17);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1912003 , 1, 18);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1912004 , 1, 19);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1912005 , 1, 20);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1912007 , 1, 21);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1912008 , 1, 22);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1912011 , 1, 23);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1912013 , 1, 24);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1912014, 1, 25);
(`shopid`, `npcid`)
VALUES
(6515, 2100);
זהו חזי החזרזיר והוא על סמים קשים!
ריפאק:RaverStory
פירוט על הNPC: שהוא יעשה Rebirth זה הכל
IDים:זה סקריפט
הערות :מה ש Lover<3 הביא לי לא עובד
תנסה את זהבבקשה לא לכתוב הודעות לא קשורות...קוד PHP://Reborn NPC Created by Warden from the iAtaf NPC creation Factory
var status = 0;
function start() {
cm.sendSimple("Do you want to #gRebirth#k??\r\n#L0#Yes#l\n#L1#No#l");
}
function action(mode, type, selection) {
if (selection==0){
if(cm.getLevel() < 200){
cm.sendOk("You have to be level 200 or higher in order to do a #bRebirth#k.");
cm.dispose();
}
else{
cm.doReborn();
cm.dispose();
}
}
}
1.אתה יכול לערוך את הNPC בעצמך זה לא בעיה פשוט תערוך את השורה 2100.
2.תשלח פעם הבאה הודעה פרטית בכיף אני יערוך את זה (:.
נערך לאחרונה על ידי Warden; 28-02-2010 בשעה 10:58.
זהו חזי החזרזיר והוא על סמים קשים!
she eye et Mo oo yavi hayot rehiva A iID
9201099
NPC : 9201028
IDים והמחיר של כל אחד : מחיר 1 MESOS
הערות : אני מהוד מודה לך אים אפשר חנית לחפצים אהלה
ריפאק:זומבי
1052211
1052209
1052202
1052090
1050126
1002948
1002949
1002800
1002980
1002971
1002851
1002999
1002998
1002995
1002839
1002881
1002880
1002803
1072341
1102148
1102149
1102152
1102184
1102218
1472068
1472086
1452057
שלח לי בפרטי
נערך לאחרונה על ידי maorboy; 26-02-2010 בשעה 15:51.
להבא בבקשה להכניס את הקודים לתגי קוד כי אז יותר נוח וזה לא מאריך את הדף..
קוד PHP:/*Created by SapiRxD from the iAtraf NPC Creation Factory*/
DELETE FROM `shops` WHERE `shopid` = 8888;
DELETE FROM `shopitems` WHERE `shopid` = 8888;
INSERT INTO `shops` (`shopid`, `npcid`) VALUES
(8888, 9201028);
INSERT INTO `shopitems` (`shopid`, `itemid`, `price`, `position`) VALUES
(8888, 1052211, 1, 0),
(8888, 1052209, 1, 1),
(8888, 1052202, 1, 2),
(8888, 1052090, 1, 3),
(8888, 1050126, 1, 4),
(8888, 1002948, 1, 5),
(8888, 1002949, 1, 6),
(8888, 1002800, 1, 7),
(8888, 1002980, 1, 8),
(8888, 1002971, 1, 9),
(8888, 1002851, 1, 10),
(8888, 1002999, 1, 11),
(8888, 1002998, 1, 12),
(8888, 1002995, 1, 13),
(8888, 1002839, 1, 14),
(8888, 1002921, 1, 15),
(8888, 1002881, 1, 16),
(8888, 1002880, 1, 17),
(8888, 1002803, 1, 18),
(8888, 1072341, 1, 19),
(8888, 1102148, 1, 20),
(8888, 1102149, 1, 21),
(8888, 1102152, 1, 22),
(8888, 1102184, 1, 23),
(8888, 1102218, 1, 24),
(8888, 1472068, 1, 25),
(8888, 1472086, 1, 26),
(8888, 1452057, 1, 27);
ערכתי את מה שwarden הכין למעלה כך :
אוי לא ראיתי שספיר הביאה לך סליחה..קוד PHP:INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1052211 , 1, 1);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1052209 , 1, 2);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1052202 , 1, 3);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1052090 , 1, 4);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1050126 , 1, 5);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1002948 , 1, 6);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1002949 , 1, 7);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1002800 , 1, 8);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1002980 , 1, 9);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1002971 , 1, 10);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1002851 , 1, 11);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1002999 , 1, 12);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1002998 , 1, 13);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1002995 , 1, 14);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1002839 , 1, 15);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1002921 , 1, 16);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1002881 , 1, 17);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1002880 , 1, 18);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1002803 , 1, 19);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1072341 , 1, 20);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1102148 , 1, 21);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1102149 , 1, 22);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1102152 , 1, 23);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1102184 , 1, 24);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1102218, 1, 25);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1472068, 1, 26);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1472086, 1, 27);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (6515, 1452057, 1, 28);
(`shopid`, `npcid`)
VALUES
(6515, 2100);
אם אפשר NPC שמזמן מפלצות =] ומדריכון איפה להשים את הקוד אם זה לא מSQL..
ריפאק ריבר
IDS:
Headless Horseman
9400549
Griffey
8180001
Manon
8180000
Thanatos
8170000
Bigfoot
9400575
Black Crow
9400014
Ergoth
9300028
Inferno Kyrin
9300159
Kyrin
9300158
Papulatus
8500002
Papulatus Clock
8500001
Pianus
8520000
נערות: אם אפשר מדריכון איפה, איך להשים ,אלא אם זה בקובץ SQL..
נערך לאחרונה על ידי NoLimits; 27-02-2010 בשעה 13:59.
ריפאק:kopa repacker v4
פירוט על הNPC:איש שנותן משימה שבעד 100 blue shial snial-id 4000000 עכשיו אפשרות כזאת
Yes,have 100 blue shial snial עכשיו שילחצו על זה זה יבדוק עם יש להם את זה ויתן להם 1 SLIME ERASER ואז אותו דבר רק עם אפשרות שלאסוף 200 כאלה והוא יתן 3 SLIME ERASER
IDים: SLIME ERASER-4001042
הערות : תודה :]
בהכנות, אערוך כשיהיה מוכן.
רק לידע כללי, תצטרך להוסיף פונקציה לסורס.
עריכה:
קודם כל תצטרך להוסיף את הפונקציה הבאה לתוך NPCConversationManager.java
למעלה בImports תוסיף:
לאחר מכן תוסיף את הפונקציה הבאה בין שתי פונקציות קיימות..קוד PHP:import net.sf.odinms.server.life.MapleLifeFactory;
וזה הNPC, מדריך איך להשתמש בו או איך לשים אותו יש בהודעה הראשונה באשכול.קוד PHP:public void spawnMonster(int mobid, int amount){
for(int i = 0; i < amount ; i++){
getPlayer().getMap().spawnMonsterOnGroudBelow(MapleLifeFactory.getMonster(mobid), getPlayer().getPosition());
}
}
קוד PHP:/*Mob Spawner NPC Created by SapiRxD from the iAtaf NPC creation Factory*/
var status = 0;
var mob = Array(9400549, 8180001, 8180000, 8170000, 9400575, 9400014, 9300028, 9300159, 9300158, 8500002, 8500001, 8520000);
function start() {
var text = "Hey there,\r\nI can summon some monsters for you.\r\nWhich monster do you want me to summon?";
for(var i = 0; i <= mob.length; i++){
text += "\r\n#L" +i+ "##o" + mob[i] + "##l";
}
text += "\r\n#L30#I dont want to summon any monster.#l";
cm.sendSimple(text);
}
function action(mode, type, selection) {
if(selection == 30){
cm.sendOk("Ok,\r\nCya next time");
}
else {
cm.spawnMonster(mob[selection], 1);
}
}
נערך לאחרונה על ידי SapiRxD; 26-02-2010 בשעה 17:29.