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] My Custom X'mas Event [Updated]

Mythic Archon
Loyal Member
Joined
Jul 14, 2008
Messages
712
Reaction score
164
*NEVER LEECH ANYONE'S ITEM, PURELY SCRIPTED BY ZAIREAN DEV*

All of those will be found in Happy Village...
*Notice* All those are tested and work well...


Reactor - 2092001.js: Happy Village - Drop X'mas Present Box For Item Exchanger
PHP:
/* Author Johnlth93 - Zairean Dev
*
 * X'mas Event
 * 
 * 2092001.js: Happy Village - Drop X'mas Present Box For Item Exchanger
 */

function act() {
	rm.dropItems();
}

Reactor Sql :
PHP:
/* Author ~ johnlth93 - Zairean Dev
*
* X'mas Event Reactor Drop
*/
INSERT reactordrops (reactorid,itemid,chance) VALUES (2092001,4000423,1);

Npc - 9201030.js: Happy Village - X'mas Present Box Item Exchanger....
PHP:
/* Author ~ johnlth93, xb0ib0ix3 and vincent - Zairean Dev
* 
* X'mas Event
*
* 9201030.js: Happy Village - X'mas Present Box Item Exchanger.... Fixed a serious error in selection 4,5 (can get item without X'mas Present Box)
*/
function start() {   
		cm.sendSimple("Hello,Would you like to exchange #v4000423# for my Santa Equipments? #k\r\n#L0# #v4000423# for a #v1002225# #k\r\n#L1##v4000423# for a #v1012007##k\r\n#L2##v4000423# for a #v1082101##k\r\n#L3##v4000423# for a #v1051049# #k\r\n#L4##v4000423# for a #v1070005##k\r\n#L5##v4000423# for a #v1071016##k\r\n#L6##v4000423# for a #v1050119# #k\r\n#L7##v4000423# for a #v1050019# #k\r\n#L8##v4000423# for a #v1051131# #k\r\n#L9##v4000423# for a #v1702166# #k\r\n#L10##v4000423# for a #v1702100# #k\r\n#L11##v4000423# for a #v1702008# #k\r\n#L12##v4000423# for a #v1002479# #k\r\n#L13##v4000423# for a #v1052046#");
	}
function action(mode, type, selection) {
    cm.dispose();
		if (selection == 0) {
			cm.haveItem(4000423,1);
			cm.gainItem(4000423,-1);
			cm.gainItem(1002225,1);
			cm.sendOk("Happy Merry Christmas with the #v1002225#");
		} else if (selection == 1) {
			cm.haveItem(4000423,1);
			cm.gainItem(4000423,-1);
			cm.gainItem(1012007,1);
			cm.sendOk("Happy Merry Christmas with the #v1012007#");
		} else if (selection == 2) {
			cm.haveItem(4000423,1);
			cm.gainItem(4000423,-1);
			cm.gainItem(1082101,1);
			cm.sendOk("Happy Merry Christmas with the #v1082101#");
		} else if (selection == 3) {
			cm.haveItem(4000423,1);
			cm.gainItem(4000423,-1);
			cm.gainItem(1051049,1);
			cm.sendOk("Happy Merry Christmas with the #v1051049#");
		} else if (selection == 4) {
			cm.haveItem(4000423,1);
			cm.gainItem(4000423,-1);
			cm.gainItem(1070005,1);
			cm.sendOk("Happy Merry Christmas with the #v1070005#");
		} else if (selection == 5) {
			cm.haveItem(4000423,1);
			cm.gainItem(4000423,-1);
			cm.gainItem(1071016,1);
			cm.sendOk("Happy Merry Christmas with the #v1071016#");
		} else if (selection == 6) {
			cm.haveItem(4000423,1);
			cm.gainItem(4000423,-1);
			cm.gainItem(1050119,1);
			cm.sendOk("Happy Merry Christmas with the #v1050119#");
		} else if (selection == 7) {
			cm.haveItem(4000423,1);
			cm.gainItem(4000423,-1);
			cm.gainItem(1050019,1);
			cm.sendOk("Happy Merry Christmas with the #v1050019#");
		} else if (selection == 8) {
			cm.haveItem(4000423,1);
			cm.gainItem(4000423,-1);
			cm.gainItem(1051131,1);
			cm.sendOk("Happy Merry Christmas with the #v1051131#");
		} else if (selection == 9) {
			cm.haveItem(4000423,1);
			cm.gainItem(4000423,-1);
			cm.gainItem(1702166,1);
			cm.sendOk("Happy Merry Christmas with the #v1702166#");
			cm.dispose();
		} else if (selection == 10) {
			cm.haveItem(4000423,1);
			cm.gainItem(4000423,-1);
			cm.gainItem(1702100,1);
			cm.sendOk("Happy Merry Christmas with the #v1702100#");
			cm.dispose();
		} else if (selection == 11) {
			cm.haveItem(4000423,1);
			cm.gainItem(4000423,-1);
			cm.gainItem(1702008,1);
			cm.sendOk("Happy Merry Christmas with the #v1702008#");
			cm.dispose();
		} else if (selection == 12) {
			cm.haveItem(4000423,1);
			cm.gainItem(4000423,-1);
			cm.gainItem(1002479,1);
			cm.sendOk("Happy Merry Christmas with the #v1002479#");
			cm.dispose();
		} else if (selection == 13) {
			cm.haveItem(4000423,1);
			cm.gainItem(4000423,-1);
			cm.gainItem(1052046,1);
			cm.sendOk("Happy Merry Christmas with the #v1052046#");
			cm.dispose();
		}
	}

NPC - 2001001.js: Happy Village - 1st warper to the x'mas tree
PHP:
/* Author Johnlth93 - Zairean Dev
*
 * X'mas Event
 * 
 * 2001001.js: Happy Village - 1st warper to the x'mas tree
 */
		function start() { 
			cm.sendYesNo("We have a beautiful christmas tree.\r\nDo you want to see/decorate it?"); 
		} 
		function action(mode, type, selection) { 
		if (mode == 1) { 
		if (cm.getChar().getGender() == 0) { 
			cm.warp(209000001,0); 
		} else { 
			cm.warp(209000001,0); 
		} 
	} 
	cm.dispose(); 
}

NPC - 2001003.js: Happy Village - 1st warper to the x'mas tree
PHP:
/* Author Johnlth93 - Zairean Dev
*
 * X'mas Event
 * 
 * 2001003.js: Happy Village - 1st warper to the x'mas tree
 */
var status = 0; 

	function start() { 
		cm.sendYesNo("We have a beautiful christmas tree.\r\nDo you want to see/decorate it?"); 
	} 
	
	function action(mode, type, selection) { 
		if (mode == 1) { 
		if (cm.getChar().getGender() == 0) { 
			cm.warp(209000001,0); 
		} else { 
			cm.dispose();
		} 
	} 
	cm.dispose();
}

NPC - 2001004.js: Happy Village - Warper Inside The X'mas Tree
PHP:
/* Author Johnlth93 - Zairean Dev
*
 * X'mas Event
 * 
 * 2001004.js: Happy Village - Warper Inside The X'mas Tree
 */
	function start() { 
		cm.sendSimple("Hello, Im #b#p"+cm.getNpc()+"##k\r\nIm in charge of warping in this Event, what can i help you?\r\n#L0##m209000001# 1#k \r\n#L1##m209000002# 2#k \r\n#L2##m209000003# 3#k \r\n#L3##m209000004# 4#k \r\n#L4##m209000005# 5#k \r\n#L5##m209000006# 6#k \r\n#L6##m209000007# 7#k \r\n#L7##m209000008# 8#k \r\n#L8##m209000009# 9#k \r\n#L9##m209000010# 10#k \r\n#L10##m209000011# 11#k \r\n#L11##m209000012# 12#k \r\n#L12##m209000013# 13#k \r\n#L13##m209000014# 14#k \r\n#L14##m209000015# 15#k \r\n#L15##rNope i bored~I wanna get out of here~!!#k"); 
	} 
	
	function action(mode, type, selection) {
		cm.dispose();
		if (selection == 0) {
			cm.warp(209000001,0);
			cm.sendOk("Happy Merry Christmas~ Enjoy ur stay in #r#m209000001# 1#k");
			cm.dispose();
		} else if (selection == 1) {
			cm.warp(209000002,0);
			cm.sendOk("Happy Merry Christmas~ Enjoy ur stay in #r#m209000002# 2#k");
			cm.dispose();
		} else if (selection == 2) {
			cm.warp(209000003,0);
			cm.sendOk("Happy Merry Christmas~ Enjoy ur stay in #r#m209000003# 3#k");
			cm.dispose();
		} else if (selection == 3) {
			cm.warp(209000004,0);
			cm.sendOk("Happy Merry Christmas~ Enjoy ur stay in #r#m209000004# 4#k");
			cm.dispose();
		} else if (selection == 4) {
			cm.warp(209000005,0);
			cm.sendOk("Happy Merry Christmas~ Enjoy ur stay in #r#m209000005# 5#k");
			cm.dispose();
		} else if (selection == 5) {
			cm.warp(209000006,0);
			cm.sendOk("Happy Merry Christmas~ Enjoy ur stay in #r#m209000006# 6#k");
			cm.dispose();
		} else if (selection == 6) {
			cm.warp(209000007,0);
			cm.sendOk("Happy Merry Christmas~ Enjoy ur stay in #r#m209000007# 7#k");
			cm.dispose();
		} else if (selection == 7) {
			cm.warp(209000008,0);
			cm.sendOk("Happy Merry Christmas~ Enjoy ur stay in #r#m209000008# 8#k");
			cm.dispose();
		} else if (selection == 8) {
			cm.warp(209000009,0);
			cm.sendOk("Happy Merry Christmas~ Enjoy ur stay in #r#m209000009# 9#k");
			cm.dispose();
		} else if (selection == 9) {
			cm.warp(209000010,0);
			cm.sendOk("Happy Merry Christmas~ Enjoy ur stay in #r#m209000010# 10#k");
			cm.dispose();
		} else if (selection == 10) {
			cm.warp(209000011,0);
			cm.sendOk("Happy Merry Christmas~ Enjoy ur stay in #r#m209000011# 11#k");
			cm.dispose();
		} else if (selection == 11) {
			cm.warp(209000012,0);
			cm.sendOk("Happy Merry Christmas~ Enjoy ur stay in #r#m209000012# 12#k");
			cm.dispose();
		} else if (selection == 12) {
			cm.warp(209000013,0);
			cm.sendOk("Happy Merry Christmas~ Enjoy ur stay in #r#m209000013# 13#k");
			cm.dispose();
		} else if (selection == 13) {
			cm.warp(209000014,0);
			cm.sendOk("Happy Merry Christmas~ Enjoy ur stay in #r#m209000014# 14#k");
			cm.dispose();
		} else if (selection == 14) {
			cm.warp(209000015,0);
			cm.sendOk("Happy Merry Christmas~ Enjoy ur stay in #r#m209000015# 15#k");
			cm.dispose();
		} else if (selection == 15) {
			cm.warp(209000000,0);
			cm.sendOk("Happy Merry Christmas~ Enjoy ur stay in #r#m209000000##k");
			cm.dispose();
		}
	}

NPC - 2001004.js: Happy Village - Henesys - Happy Village
PHP:
/* Author Johnlth93 - Zairean Dev (Original by someone idk, i just clean up)
*
 * X'mas Event
 * 
 * 2001004.js: Happy Village - Henesys - Happy Village
 */
var status = 0; 
	function start() { 
	status = -1; 
	action(1, 0, 0); 
	} 
	
	function action(mode, type, selection) { 
	if (mode == -1) { 
		cm.dispose(); 
	} else { 
	if (status >= 0 && mode == 0) { 
		cm.sendOk("Ok, feel free to hang around until you're ready to go!"); 
		cm.dispose(); 
		return; 
	} 
	if (mode == 1) 
		status++; 
	else 
		status--; 
	if (status == 0) { 
		if (cm.getChar().getMapId() == 209000000) { 
			cm.sendYesNo("I can take you back to Henesys Are you ready to go?"); 
	} else { 
		cm.sendYesNo("Santa told me to go to here, only he didn't told me when...  I hope i'm here on the right time! Oh! By the way, I'm Rupi, I can take you to HappyVille Are you ready to go?"); 
	} 
	} else if (status == 1) { 
		if (cm.getChar().getMapId() == 100000000) { 
			cm.warp(209000000, 0); 
			cm.resetReactors();
		} else { 
			cm.warp(100000000, 0); 
			cm.resetReactors();
		} 
			cm.dispose(); 
		}
	}
}

SQL - X'mas Fun sell~!!
PHP:
/*
* X'mas Fun sell~!!
* Author ~ johnlth93 - Zairean Dev
*/
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990000, 1000, 1);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990001, 1000, 2);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990002, 1000, 3);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990003, 1000, 4);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990004, 1000, 5);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990005, 1000, 6);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990006, 1000, 7);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990007, 1000, 8);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990008, 1000, 9);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990009, 1000, 10);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990010, 1000, 11);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990011, 1000, 12);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990012, 1000, 13);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990013, 1000, 14);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990014, 1000, 15);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990015, 1000, 16);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990016, 1000, 17);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990017, 1000, 18);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990018, 1000, 19);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990019, 1000, 20);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990020, 1000, 21);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990021, 1000, 22);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990022, 1000, 23);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3990023, 1000, 24);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991000, 1000, 25);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991001, 1000, 26);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991002, 1000, 27);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991003, 1000, 28);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991003, 1000, 29);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991004, 1000, 30);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991005, 1000, 31);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991006, 1000, 32);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991007, 1000, 33);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991008, 1000, 34);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991009, 1000, 35);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991010, 1000, 36);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991011, 1000, 37);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991012, 1000, 38);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991013, 1000, 39);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991014, 1000, 40);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991015, 1000, 41);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991016, 1000, 42);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991017, 1000, 43);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991018, 1000, 44);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991019, 1000, 45);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991020, 1000, 46);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991021, 1000, 47);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991022, 1000, 48);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991023, 1000, 49);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991024, 1000, 50);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991025, 1000, 51);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991026, 1000, 52);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991027, 1000, 53);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991028, 1000, 54);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991029, 1000, 55);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991030, 1000, 56);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991031, 1000, 57);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991032, 1000, 58);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991033, 1000, 59);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991034, 1000, 60);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991035, 1000, 61);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991036, 1000, 62);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991037, 1000, 63);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991038, 1000, 64);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991039, 1000, 65);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991040, 1000, 66);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991041, 1000, 67);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991042, 1000, 68);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991043, 1000, 69);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991044, 1000, 70);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991045, 1000, 71);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991046, 1000, 72);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991047, 1000, 73);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991048, 1000, 74);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991049, 1000, 75);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991050, 1000, 76);
INSERT INTO shopitems (shopid, itemid, price, position) VALUES (100000, 3991051, 1000, 77);

INSERT INTO shops
(`shopid`, `npcid`)
VALUES
(100000, 2001000);

Extra ---> Link to zairean dev svn --->

Flame Shield Activated :​

johnlth93 - [Release] My Custom X'mas Event [Updated] - RaGEZONE Forums
 
Last edited:
Newbie Spellweaver
Joined
Apr 24, 2008
Messages
89
Reaction score
0
Re: [Release] My Custom X'mas Event

LOL @ YOUR NPC SCRIPT.
Did you even test it, doubt it works.
Go ahead and request a fix at our npc help desk ;]


EDIT: wtf took 3 devs.
 
Newbie Spellweaver
Joined
Dec 8, 2008
Messages
41
Reaction score
2
Re: [Release] My Custom X'mas Event

@happy : Obviously , The script isn't tested before :D .

- XotiCraze .
 
Mythic Archon
Loyal Member
Joined
Jul 14, 2008
Messages
712
Reaction score
164
Re: [Release] My Custom X'mas Event [Part only, more update soon]

@xoti well this is tested and work well but i think its not fully secure lol (This never released b4, i think so. So i make it lol)
Cuz my team having lot of beginner dev -.-''

So, someone to re-test it and post result??
 
Newbie Spellweaver
Joined
Apr 24, 2008
Messages
89
Reaction score
0
Re: [Release] My Custom X'mas Event [Part only, more update soon]

Just offering our help.

PHP:
/*
* X'mas present box item exchanger....
* Author ~ johnlth93, xb0ib0ix3 and vincent from Zairean Dev
* Fixed by happydud3 && XotiCraze
*/

var status;

function start() {
	status = 0;
	action (1, 0, 0);
}

function action(mode, type, selection) {
	if (mode == 0 || mode == -1) {
		cm.dispose();
		return;
	} else if (mode == 1)
		status++;
	else
		status--; //eh no need for this
	var items = new Array(1002225, 1012007, 1082101, 1051049, 1070005, 1071016, 1050119, 1050019, 1051131, 1702166, 1702100, 1702008, 1002479, 1052046);
	if (status == 1) {
		var talk = "Hello,Would you like to exchange #v4000423# for my Santa Equipments?";
		for(var i = 0; i < items.length; i++)
			talk += "\r\n#L"+i+"##v4000423# for a #v"+items[i]+"##l";
		cm.sendSimple(talk);
	} else {
		if (cm.haveItem(4000423)) {
			cm.gainItem(items[selection]);
			cm.gainItem(4000423, -1);
		} else
			cm.sendOk("You dont have a #v4000423# for me");
			cm.dispose();
	}
}
 
Last edited:
Mythic Archon
Loyal Member
Joined
Jul 14, 2008
Messages
712
Reaction score
164
Re: [Release] My Custom X'mas Event [Part only, more update soon]

well, urs having Array
Mine just a simple one, but mine working what T.T
 
Newbie Spellweaver
Joined
Dec 8, 2008
Messages
41
Reaction score
2
Re: [Release] My Custom X'mas Event [Part only, more update soon]

well, urs having Array
Mine just a simple one, but mine working what T.T

No yours isnt. You didnt end the selection in function start() and didnt call function action .
In function action, you did this for every selection :
PHP:
cm.haveItem(4000423,1);
where you are supposed to put it like this :
PHP:
if (cm.haveItem(4000423,1)) {
Got it ? o_O .

- XotiCraze .
 
Mythic Archon
Loyal Member
Joined
Jul 14, 2008
Messages
712
Reaction score
164
Re: [Release] My Custom X'mas Event [Part only, more update soon]

i know that, but it work for me lol
although the check item not probably work
 
Newbie Spellweaver
Joined
Apr 24, 2008
Messages
89
Reaction score
0
Re: [Release] My Custom X'mas Event [Part only, more update soon]

Lets just say, our script is neater/cleaner/works better.
 
Master Summoner
Loyal Member
Joined
Sep 25, 2008
Messages
501
Reaction score
0
Re: [Release] My Custom X'mas Event [Part only, more update soon]

lol they both good ROFL
 
Mythic Archon
Loyal Member
Joined
Jul 14, 2008
Messages
712
Reaction score
164
Re: [Release] My Custom X'mas Event [Part only, more update soon]

Really? By the look of it, how would it work when you didnt even end A single selection..



They both = ? o_O .


-XotiCraze .

Did you actually tried my scripts?
And what about the "A single selection"
 
Newbie Spellweaver
Joined
Dec 8, 2008
Messages
41
Reaction score
2
Re: [Release] My Custom X'mas Event [Part only, more update soon]

Did you actually tried my scripts?
And what about the "A single selection"

Dont really need to when cm.haveItem(id, quantity); is already wrongly used.
And, You didnt end any selection how would it work ? o_o . You are supposed to start a selection with #L0# and end with #l but you didnt.

- XotiCraze .
 
Master Summoner
Loyal Member
Joined
Jul 27, 2008
Messages
583
Reaction score
0
Re: [Release] My Custom X'mas Event [Part only, more update soon]

Even trough TS says it works, which such syntax is wrong... this part will make the NPC crash if the item quantity is 0 already.
Code:
			cm.haveItem(4000423,1);
			cm.gainItem(4000423,-1);
			cm.gainItem(1082101,1);
 
Interesting...
Loyal Member
Joined
Oct 25, 2008
Messages
1,372
Reaction score
604
Re: [Release] My Custom X'mas Event [Part only, more update soon]

No yours isnt. You didnt end the selection in function start() and didnt call function action .
In function action, you did this for every selection :
PHP:
cm.haveItem(4000423,1);
where you are supposed to put it like this :
PHP:
if (cm.haveItem(4000423,1)) {
Got it ? o_O .

- XotiCraze .
Agreed. You aren't using cm.haveitem properly. You say it works but j00 L1ed =(.
 
Newbie Spellweaver
Joined
Apr 2, 2008
Messages
93
Reaction score
0
Code:
if (cm.getChar().getGender() == 0) { 
            cm.warp(209000001,0); 
        } else { 
            cm.warp(209000001,0); 
        }

WTF?!
Good job anyway.
 
Mythic Archon
Loyal Member
Joined
Jul 23, 2008
Messages
796
Reaction score
56
No yours isnt. You didnt end the selection in function start() and didnt call function action .
That's true. You didn't call action at all... It won't even dispose
 
Experienced Elementalist
Joined
May 5, 2008
Messages
219
Reaction score
0
another 1 .
dun mean to flame , but RZ is getting worse nowadays.
 
Back
Top