[Release] My Services

Status
Not open for further replies.
Heres a request.
I don't know if its entirely possible since im not 100% sure as to how the clock works.
But i mean ... it only shows for the players on that map at that time.. so its like map notice right?

My request is to recode the clock command to be able to do it to more then just the map, like say the entire world.

For example:
!notice I need to do a storage meso fix, anyone who needs it log off before the timer hits 0.
!clockworld <seconds>
Also if possible...

!removeclockworld
or
!removeclock
Since the clock will sit there with 0:00 untill you relog cc or change map...

There could be many other uses to a world clock too... like for events and such.
I dunno just something id like to see done lol.. if possible.

Edit: Grammar ;o
 
Heres a request.
I don't know if its entirely possible since im not 100% sure as to how the clock works.
But i mean ... it only shows for the players on that map at that time.. so its like map notice right?

My request is to recode the clock command to be able to do it to more then just the map, like say the entire world.

For example:
!notice I need to do a storage meso fix, anyone who needs it log off before the timer hits 0.
!clockworld <seconds>
Also if possible...

!removeclockworld
or
!removeclock
Since the clock will sit there with 0:00 untill you relog cc or change map...

There could be many other uses to a world clock too... like for events and such.
I dunno just something id like to see done lol.. if possible.

Edit: Grammar ;o


You mean... !clock 60 (Clock counts 60 seconds)on the world, then when clock reach 0 server turn off?
 
i dont know if this exists but can you make a command for npcs so they level you
like cm.levelup? i dont wanna do the exp way because my server has multi leveling in it
 
erm im having problems with a script , but since i got the cm.spawnMonster from this thread , imma ask here . the prob is , when anybody click an option , the monster is spawned and mesos is deducted. but no chat box comes out and the summoner dcs immediately.

PHP:
/* Duey skil maxer
*/


var status = 0;

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

function action(mode, type, selection) {
	if (mode == -1) {
		cm.dispose();
	} else {
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0) {
		cm.sendSimple("Would you like to summon any monsters? It costs 500 Million Mesos. Only the Special Snail Which has 100 mil HP is 2bil. \r\n#L0#1 Loki Box#l\r\n#L1#1 Snowman#l\r\n#L2#1 Griffey#l\r\n#L3#1 Manon#l\r\n#L4#2 Giant Centipedes#l\r\n#L5#2 Snack Bars#l\r\n#L6#1 Pianus#l\r\n#L7#6 NX slimes#l\r\n#L8#1 1gMS special snail(Gives 6Mil Exp)#l");
		} else if (status == 1) {
			if (selection == 0 && cm.getMeso()>=500000000) { 
                        cm.gainMeso(-500000000);
			cm.spawnMonster(9400566,1000000,5000,100,500,1,1,1,347,-17);
			cm.sendOk("Its on the barrel next to Amos. Happy Killing!!");
                        cm.dispose();
				} else {
                        cm.sendOk("**** Off . You dont have enough mesos noob.");
                        cm.dispose();
                              }
			if (selection == 1 && cm.getMeso()>=500000000) { 
                        cm.gainMeso(-500000000);
			cm.spawnMonster(9400708,100000,5000,10,200,1,0,1,347,-17);
			cm.sendOk("Its on the barrel next to Amos. Happy Killing!!");
                        cm.dispose();
				} else {
                        cm.sendOk("**** Off . You dont have enough mesos noob.");
                        cm.dispose();
                              }
			if (selection == 2 && cm.getMeso()>=500000000) { 
                        cm.gainMeso(-500000000);
			cm.spawnMonster(8180001,3700000,1500,105,13500,1,0,1,347,-17);
			cm.sendOk("Its on the barrel next to Amos. Happy Killing!!");
                        cm.dispose();
				} else {
                        cm.sendOk("**** Off . You dont have enough mesos noob.");
                        cm.dispose();
                              }
			if (selection == 3 && cm.getMeso()>=500000000) { 
                        cm.gainMeso(-500000000);
			cm.spawnMonster(8180000,3700000,1500,105,13500,1,0,1,347,-17);
			cm.sendOk("Its on the barrel next to Amos. Happy Killing!!");
                        cm.dispose();
				} else {
                        cm.sendOk("**** Off . You dont have enough mesos noob.");
                        cm.dispose();
                              }
			if (selection == 4 && cm.getMeso()>=500000000) { 
                        cm.gainMeso(-500000000);
			cm.spawnMonster(9500177,1000000,200,70,5000,1,0,2,347,-17);
			cm.sendOk("Its on the barrel next to Amos. Happy Killing!!");
                        cm.dispose();
				} else {
                        cm.sendOk("**** Off . You dont have enough mesos noob.");
                        cm.dispose();
                              }
			if (selection == 5 && cm.getMeso()>=500000000) { 
                        cm.gainMeso(-500000000);
			cm.spawnMonster(9410015,1500000,1000,98,6500,1,0,2,347,-17);
			cm.sendOk("Its on the barrel next to Amos. Happy Killing!!");
                        cm.dispose();
				} else {
                        cm.sendOk("**** Off . You dont have enough mesos noob.");
                        cm.dispose();
                              }
			if (selection == 6 && cm.getMeso()>=500000000) { 
                        cm.gainMeso(-500000000);
			cm.spawnMonster(8510000,40000000,3000000,110,1300000,1,0,1,347,-17);
			cm.sendOk("Its on the barrel next to Amos. Happy Killing!!");
                        cm.dispose();
				} else {
                        cm.sendOk("**** Off . You dont have enough mesos noob.");
                        cm.dispose();
                              }
			if (selection == 7 && cm.getMeso()>=500000000) { 
                        cm.gainMeso(-500000000);
			cm.spawnMonster(9400202,20000,500,5,10,1,0,6,347,-17);
			cm.sendOk("Its on the barrel next to Amos. Happy Killing!!");
                        cm.dispose();
				} else {
                        cm.sendOk("**** Off . You dont have enough mesos noob.");
                        cm.dispose();
                              }
			if (selection == 8 && cm.getMeso()>=500000000) { 
                        cm.gainMeso(-2000000000);
			cm.spawnMonster(100100,100000000,3000000,1,6000000,1,1,1,347,-17);
			cm.sendOk("Its on the barrel next to Amos. Happy Killing!!");
                        cm.dispose();
				} else {
                        cm.sendOk("**** Off . You dont have enough mesos noob.");
                        cm.dispose();
                              }			
			}
	    }
}

Any probs with it?
 
erm im having problems with a script , but since i got the cm.spawnMonster from this thread , imma ask here . the prob is , when anybody click an option , the monster is spawned and mesos is deducted. but no chat box comes out and the summoner dcs immediately.

PHP:
/* Duey skil maxer
*/


var status = 0;

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

function action(mode, type, selection) {
    if (mode == -1) {
        cm.dispose();
    } else {
        if (mode == 1)
            status++;
        else
            status--;
        if (status == 0) {
        cm.sendSimple("Would you like to summon any monsters? It costs 500 Million Mesos. Only the Special Snail Which has 100 mil HP is 2bil. \r\n#L0#1 Loki Box#l\r\n#L1#1 Snowman#l\r\n#L2#1 Griffey#l\r\n#L3#1 Manon#l\r\n#L4#2 Giant Centipedes#l\r\n#L5#2 Snack Bars#l\r\n#L6#1 Pianus#l\r\n#L7#6 NX slimes#l\r\n#L8#1 1gMS special snail(Gives 6Mil Exp)#l");
        } else if (status == 1) {
            if (selection == 0 && cm.getMeso()>=500000000) { 
                        cm.gainMeso(-500000000);
            cm.spawnMonster(9400566,1000000,5000,100,500,1,1,1,347,-17);
            cm.sendOk("Its on the barrel next to Amos. Happy Killing!!");
                        cm.dispose();
                } else {
                        cm.sendOk("**** Off . You dont have enough mesos noob.");
                        cm.dispose();
                              }
            if (selection == 1 && cm.getMeso()>=500000000) { 
                        cm.gainMeso(-500000000);
            cm.spawnMonster(9400708,100000,5000,10,200,1,0,1,347,-17);
            cm.sendOk("Its on the barrel next to Amos. Happy Killing!!");
                        cm.dispose();
                } else {
                        cm.sendOk("**** Off . You dont have enough mesos noob.");
                        cm.dispose();
                              }
            if (selection == 2 && cm.getMeso()>=500000000) { 
                        cm.gainMeso(-500000000);
            cm.spawnMonster(8180001,3700000,1500,105,13500,1,0,1,347,-17);
            cm.sendOk("Its on the barrel next to Amos. Happy Killing!!");
                        cm.dispose();
                } else {
                        cm.sendOk("**** Off . You dont have enough mesos noob.");
                        cm.dispose();
                              }
            if (selection == 3 && cm.getMeso()>=500000000) { 
                        cm.gainMeso(-500000000);
            cm.spawnMonster(8180000,3700000,1500,105,13500,1,0,1,347,-17);
            cm.sendOk("Its on the barrel next to Amos. Happy Killing!!");
                        cm.dispose();
                } else {
                        cm.sendOk("**** Off . You dont have enough mesos noob.");
                        cm.dispose();
                              }
            if (selection == 4 && cm.getMeso()>=500000000) { 
                        cm.gainMeso(-500000000);
            cm.spawnMonster(9500177,1000000,200,70,5000,1,0,2,347,-17);
            cm.sendOk("Its on the barrel next to Amos. Happy Killing!!");
                        cm.dispose();
                } else {
                        cm.sendOk("**** Off . You dont have enough mesos noob.");
                        cm.dispose();
                              }
            if (selection == 5 && cm.getMeso()>=500000000) { 
                        cm.gainMeso(-500000000);
            cm.spawnMonster(9410015,1500000,1000,98,6500,1,0,2,347,-17);
            cm.sendOk("Its on the barrel next to Amos. Happy Killing!!");
                        cm.dispose();
                } else {
                        cm.sendOk("**** Off . You dont have enough mesos noob.");
                        cm.dispose();
                              }
            if (selection == 6 && cm.getMeso()>=500000000) { 
                        cm.gainMeso(-500000000);
            cm.spawnMonster(8510000,40000000,3000000,110,1300000,1,0,1,347,-17);
            cm.sendOk("Its on the barrel next to Amos. Happy Killing!!");
                        cm.dispose();
                } else {
                        cm.sendOk("**** Off . You dont have enough mesos noob.");
                        cm.dispose();
                              }
            if (selection == 7 && cm.getMeso()>=500000000) { 
                        cm.gainMeso(-500000000);
            cm.spawnMonster(9400202,20000,500,5,10,1,0,6,347,-17);
            cm.sendOk("Its on the barrel next to Amos. Happy Killing!!");
                        cm.dispose();
                } else {
                        cm.sendOk("**** Off . You dont have enough mesos noob.");
                        cm.dispose();
                              }
            if (selection == 8 && cm.getMeso()>=500000000) { 
                        cm.gainMeso(-2000000000);
            cm.spawnMonster(100100,100000000,3000000,1,6000000,1,1,1,347,-17);
            cm.sendOk("Its on the barrel next to Amos. Happy Killing!!");
                        cm.dispose();
                } else {
                        cm.sendOk("**** Off . You dont have enough mesos noob.");
                        cm.dispose();
                              }            
            }
        }
}
Any probs with it?

You're trying to open a new window without destroying the first one. That's why it disconnects you.
 
Do you think you can code something like the NPC summoning monster thing but instead, its a NPC that gives away items with a certain stat

EX:
cm.givethatitem(ITEMID, slots, level, Str, Dex, int, luk, hp, mp, Watk, Matk, Wdef, Mdef, acc, avoid, hands, speed, jump);

Slots = Upgrade slots
Watk = Weapon Attack
Matk = Magic Attack
Wdef = Weapon Defense
Mdef = Magic Defense
Acc = Accuracy
Avoid = avoidability
 
Do you think you can code something like the NPC summoning monster thing but instead, its a NPC that gives away items with a certain stat

EX:
cm.givethatitem(ITEMID, slots, level, Str, Dex, int, luk, hp, mp, Watk, Matk, Wdef, Mdef, acc, avoid, hands, speed, jump);

Slots = Upgrade slots
Watk = Weapon Attack
Matk = Magic Attack
Wdef = Weapon Defense
Mdef = Magic Defense
Acc = Accuracy
Avoid = avoidability
Can't you do this with XML WZ Editting? And just say cm.gainItem(ID,amount)?
&&
Airflow could you make a cm.warpParty([mapid]) NPC command? So that it warps everybody in the party your in to the map. **this is optional ONLY if their in the same map as the one who clicked
 
You mean... !clock 60 (Clock counts 60 seconds)on the world, then when clock reach 0 server turn off?

Nope, well i mean it would also be useful for shutdowns.
But i was wanting it for timers for my players to know when im running certain SQL commands and that they should be logged off by then so they can be effected.
 
Can't you do this with XML WZ Editting? And just say cm.gainItem(ID,amount)?
&&
Airflow could you make a cm.warpParty([mapid]) NPC command? So that it warps everybody in the party your in to the map. **this is optional ONLY if their in the same map as the one who clicked
Ya but it won't work until you restart server and I hate editing items.
 
Status
Not open for further replies.
Back