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!

Buddy capacity seller (Fully Functional)

Λκαяυz føяeνeя
Loyal Member
Joined
Jun 28, 2008
Messages
1,950
Reaction score
73
Buddy capacity seller (Fully Functional)
Made by Luke and GangStaX​
* Some other buddy capacitys were released but fail, this is fully functionaly!

Code:
/*
Made by Luke(Roamer in RaGEZONE) and GanstaX(StraightX in RaGEZONE)

Please leave credits!
*/
/* Mr. Goldstein
    located in Lith Harbour (104000000)
    Buddy List Admin
*/

var status = 0;
var selected;
var capacity;
var fee;
var minusfee;
var feetotal

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

function action(mode, type, selection) {
	if (mode == -1) {
		cm.dispose();
	} else {
		if (mode == 0) {
			cm.sendOk("Later.");
			cm.dispose();
			return;
		}
		if (mode == 1)
			status++;
		else
			status--;
		if (status == 0) {
			cm.sendNext("Hello #h #, I am the Buddy Capacity seller of CookieMS.");
		} else if (status == 1) {
                        capacity = cm.getChar().getBuddyCapacity();
			cm.sendGetText("How many NEW TOTAL slots do you want? You have " + capacity + " right now. \r\nRemember, One Slot costs 100k.");
		} else if (status == 2) {
			selected = cm.getText();
			fee = cm.getText() * 100000;
                        minusfee = capacity * 100000;
                        totalfee = fee - minusfee;
			cm.sendYesNo("Are you sure you want to have " + selected + " TOTAL NOT ADDED Slots for " + totalfee + " mesos?, #h #?");
		} else if (status == 3) {
			if (cm.getMeso() < fee) {
				cm.sendOk("You dont have enough money.  Go get a job you bum!");
				cm.dispose();
			} else {
                                cm.getChar().setBuddyCapacity(selected);
				cm.gainMeso(totalfee * -1);
				cm.sendNext("Done! You have now received " + selected + " Buddy List Slots and " + totalfee + " mesos have been deducted from your account. Might need to re-log sometimes");
			}
		} else if (status == 4) {
			cm.sendOk("Have fun.\r\n\r\n\r\nThis NPC was made by GanstaX and Luke!")
            cm.dispose();
		}
	}
}

It works 100%
If you put less slots then you got, it will gain you mesos (not a bug,. basically a refund)

If you got 25 slots and you want +5 put in 30 SLOTS and NOT 5! If you put 5 it will make you have 5 slots.

Credits Luke(me) and GanstaX
PLEASE DONT CHANGE CREDITS!

Roamer - Buddy capacity seller (Fully Functional) - RaGEZONE Forums
 
Last edited:
Legendary Battlemage
Loyal Member
Joined
May 18, 2008
Messages
614
Reaction score
53
Re: [Release] Buddy capacity seller (Fully Functional)

this has been released the day odin ms was 0.o
 
Experienced Elementalist
Joined
Jul 18, 2008
Messages
232
Reaction score
0
Re: [Release] Buddy capacity seller (Fully Functional)

No but that wasn't functional.
 
Legendary Battlemage
Loyal Member
Joined
May 18, 2008
Messages
614
Reaction score
53
Re: [Release] Buddy capacity seller (Fully Functional)

it works fine tough 0.o i did some modifications tough
 
Legendary Battlemage
Loyal Member
Joined
May 18, 2008
Messages
614
Reaction score
53
Re: [Release] Buddy capacity seller (Fully Functional)

Finally, something that ppl can actually leech of off ^^
 
Legendary Battlemage
Loyal Member
Joined
May 18, 2008
Messages
614
Reaction score
53
Re: [Release] Buddy capacity seller (Fully Functional)

well not leech, i dont leech, xD its a decent release i guess
 
Master Summoner
Joined
May 31, 2008
Messages
524
Reaction score
1
Re: [Release] Buddy capacity seller (Fully Functional)

Well, I'll use it! Seems useful, anyways... XD
 
Experienced Elementalist
Joined
Jul 18, 2008
Messages
232
Reaction score
0
Re: [Release] Buddy capacity seller (Fully Functional)

Yup give the leechers what they want so they don't Ducking complain >_>
NO STOP RELEASING HERE
 
Master Summoner
Joined
May 31, 2008
Messages
524
Reaction score
1
Re: [Release] Buddy capacity seller (Fully Functional)

-.- You calling me a leecher?
 
Experienced Elementalist
Joined
Jul 18, 2008
Messages
232
Reaction score
0
Re: [Release] Buddy capacity seller (Fully Functional)

Hmm... I'll fix your script a bit... People can go negative
 
Newbie Spellweaver
Joined
Apr 25, 2008
Messages
78
Reaction score
0
Re: [Release] Buddy capacity seller (Fully Functional)

Leechers won't NEED this. Simply because Their Users don't NEED 100+ Buddy List slots. Hell, most of those servers don't even HAVE 100 users.
 
Master Summoner
Joined
May 31, 2008
Messages
524
Reaction score
1
Re: [Release] Buddy capacity seller (Fully Functional)

Well, still. It is pretty useful.
 
Legendary Battlemage
Loyal Member
Joined
May 18, 2008
Messages
614
Reaction score
53
Re: [Release] Buddy capacity seller (Fully Functional)

lolz, some leech servers have more then 100+ ppl 0.o
 
Newbie Spellweaver
Joined
Apr 25, 2008
Messages
78
Reaction score
0
Re: [Release] Buddy capacity seller (Fully Functional)

lolz, some leech servers have more then 100+ ppl 0.o

Right, I'm just saying this release isn't useless. And what leechers server has 100+ users that want to be buddies? 10ish?
 
Newbie Spellweaver
Joined
Apr 13, 2008
Messages
11
Reaction score
0
Re: [Release] Buddy capacity seller (Fully Functional)

Nice release luke and GanstaX
 
Back
Top