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] MapleNerd Reward Exchanger (Meso & Items)

Status
Not open for further replies.
Junior Spellweaver
Joined
Jun 22, 2008
Messages
127
Reaction score
0
This is a meso & item exchanger.
Made this but not just by myself.

RATE THE THREAD PLOX :D

Credits:
Moogra - He made the mesos for 1 golden leaf part and golden leaf to 1bil part
Mages4Ever - Help fix the npc with any bugs in it
Me - Scripting it

FLAME SHIELD ACTIVATED!!!!

You may add this to any npc.
Yes this may be edited and release but credits needed.

Please give credits if using or posting somewhere else o_o

Meso & Item Exchanger v1:
PHP:
// Credits to Moogra,xChibi,& Mages4Ever
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, I am the special npc of the game. Here are your options: \r\n#L1# I would like to trade my #b#v4000313##k for 1 billion mesos!#l \r\n#L2# I would like to exchange 1 billion mesos for a #b#v4000313##k!#l \r\n#L3# I would like to exchange 500 #b#v4000313##k for a 1000 att stormcaster.#l \r\n#L4# I would like to exchange 800 #b#v4000313##k for a 5,000 stat Genenis Bandana. #l"); 
       } else if (status == 1) {
            if (selection == 1) {
                if (cm.haveItem(4000313, 1)) {
                    cm.gainMeso(+1000000000);
                    cm.gainItem(4000313, -1); 
                    cm.sendOk("Thank you for your mesos!");
                } else {
                    cm.sendOk("Sorry, you don't have a #b#v4000313##k!");
                }
                cm.dispose();
            }  else if (selection == 2) {
                if (cm.getMeso() >= 1000000000) {
                    cm.gainMeso(-1000000000);
                    cm.gainItem(4000313, 1);
                    cm.sendOk("Thank you for your item!");
                } else {
                    cm.sendOk("Sorry, you don't have enough mesos!");
                }
                cm.dispose();
        } else if (selection == 3) {
                if (cm.haveItem(4000313, 500)) {
                    cm.gainItem(1082223, 1);
                    cm.gainItem(4000313, -500); 
                    cm.sendOk("Thank you for your #b#v4000313##k!");
                } else {
                    cm.sendOk("Sorry you dont have enough #b#v4000313##k!");
                }
                cm.dispose();
        } else if (selection == 4) {
                if(cm.haveItem(4000313, 800)) {
                    cm.gainItem(1002553, 1);
                    cm.gainItem(4000313, -800); 
                    cm.sendOk("Thank you for your #b#v4000313##k!");
                } else {
                    cm.sendOk("Sorry you dont have enough #b#v4000313##k!");
                }
                cm.dispose();    
            }
            else{
                cm.sendOk("All right. Come back later");
            }
        }
    }
}

Meso & Item exchanger v2:
PHP:
// Credits to Moogra, xChibi,Mages4ever from RaGEZoNE
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, I am the special npc of the game. Here are your options: \r\n#L1# I would like to trade my #b#v4000313##k for 1 billion mesos!#l \r\n#L2# I would like to exchange 1 billion mesos for a #b#v4000313##k!#l \r\n#L3# I would like to exchange 500 #b#v4000313##k for a 1000 att stormcaster.#l \r\n#L4# I would like to exchange 800 #b#v4000313##k for a 5,000 stat Genenis Bandana.#l  \r\n\#L5# I would like to exchange 30 #b#v4000313##k for 50 white scrolls.#l  \r\n\#L6# I would like to exchange 10,000 #b#v4000313##k for a Wizet GM Hat.#l "); 
       } else if (status == 1) {
            if (selection == 1) {
                if (cm.haveItem(4000313, 1)) {
                    cm.gainMeso(+1000000000); // Mesos
                    cm.gainItem(4000313, -1); 
                    cm.sendOk("Thank you for your mesos!");
                } else {
                    cm.sendOk("Sorry, you don't have a #b#v4000313##k!");
                }
                cm.dispose();
            }  else if (selection == 2) {
                if (cm.getMeso() >= 1000000000) {
                    cm.gainMeso(-1000000000);
                    cm.gainItem(4000313, 1); // Golden Maple leaf
                    cm.sendOk("Thank you for your item!");
                } else {
                    cm.sendOk("Sorry, you don't have enough mesos!");
                }
                cm.dispose();
        } else if (selection == 3) {
                if (cm.haveItem(4000313, 500)) {
                    cm.gainItem(1082223, 1); // Stormcaster gloves
                    cm.gainItem(4000313, -500); 
                    cm.sendOk("Thank you for your #b#v4000313##k!");
                } else {
                    cm.sendOk("Sorry you dont have enough #b#v4000313##k!");
                }
                cm.dispose();
        } else if (selection == 4) {
                if(cm.haveItem(4000313, 800)) {
                    cm.gainItem(1002553, 1); // genesis bandana
                    cm.gainItem(4000313, -800); 
                    cm.sendOk("Thank you for your #b#v4000313##k!");
                } else {
                    cm.sendOk("Sorry you dont have enough #b#v4000313##k!");
                }
                cm.dispose();    
		} else if (selection == 5) {
                if(cm.haveItem(4000313, 30)) {
                    cm.gainItem(2340000, 50); // white scrolls
                    cm.gainItem(4000313, -30); 
                    cm.sendOk("Thank you for your #b#v4000313##k!");
                } else {
                    cm.sendOk("Sorry you dont have enough #b#v4000313##k!");
                }
                cm.dispose();    
		} else if (selection == 6) {
                if(cm.haveItem(4000313, 10000)) {
                    cm.gainItem(1002140, 1); // wizet hat 
                    cm.gainItem(4000313, -10000); 
                    cm.sendOk("Thank you for your #b#v4000313##k!");
                } else {
                    cm.sendOk("Sorry you dont have enough #b#v4000313##k!");
                }
                cm.dispose();    		
            }
            else{
                cm.sendOk("All right. Come back later");
            }
        }
    }
}


If you use these scripts then your gonna need the following things in here:
(Note:Only download these if you want the 5000 stat genesis bandana and 1000 att stormcaster gloves!)



Put them in your character wz places
their a glove and a cap
01002553 - Genesis Bandana (cap folder)
01082223 - Stormcaster Gloves (glove folder)

Put these in their folders. :thumbup:
 
Last edited:
Getting into Graphics
Joined
Jun 22, 2008
Messages
173
Reaction score
0
Re: Meso & Item Exchanger

Add a [Release] Tag Please.
From Help to Release nice going.
 
Junior Spellweaver
Joined
Jun 22, 2008
Messages
127
Reaction score
0
Re: Meso & Item Exchanger

forgot about it sorry :[
 
Master Summoner
Loyal Member
Joined
Sep 25, 2008
Messages
501
Reaction score
0
Re: Meso & Item Exchanger

add it edit ur post click go adavnce
 
Junior Spellweaver
Joined
Jun 22, 2008
Messages
127
Reaction score
0
Re: [Release] Meso & Item Exchanger

thanks for telling never knew dat
 
Junior Spellweaver
Joined
Jun 22, 2008
Messages
127
Reaction score
0
Re: [Release] Meso & Item Exchanger

bump o_o
 
Elite Diviner
Joined
Jul 16, 2008
Messages
411
Reaction score
0
Re: [Release] Meso & Item Exchanger

Why would you bump a release thread? If it dies out that means no one wants it (No offence) Nice release anyways.
 
Junior Spellweaver
Joined
Jun 22, 2008
Messages
127
Reaction score
0
Re: [Release] Meso & Item Exchanger v2

Thanx i appreciate it :] since its my first i really appreciate someone saying nice release
 
Custom Title Activated
Loyal Member
Joined
Aug 21, 2009
Messages
1,149
Reaction score
598
Why you bump such old and crappy thread?
 
Status
Not open for further replies.
Back
Top