REAL Fame seller

Experienced Elementalist
Joined
Apr 6, 2008
Messages
296
Reaction score
3
After seeing the release that was just posted, i decided to post the correct one i made.

Code:
/*
    This file is part of the DuckStory Maple Story Server
    Copyright (C) 2008 Dhaniram Heera  
                       Zirak Chowdhry 
                       Waqar Ahmed 

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License version 3
    as published by the Free Software Foundation. You may not use, modify
    or distribute this program under any other version of the
    GNU Affero General Public License.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see .
*/

/* 
    Fame Seller (10mil mesos per fame)
*/



var status = 0;
var price = 10000000;
var fame = 1;

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

function action(mode, type, selection) {
    if (status == 0) {
        cm.sendYesNo("Do you wish to buy some #fUI/UIWindow.img/QuestIcon/6/0# for 10m mesos?");
        status++;
    } else {
        if ((status == 1 && type == 1 && selection == -1 && mode == 0) || mode == -1) {
            cm.dispose();
        } else {
            if (status == 1) {
                if (cm.getMeso() >= price) {
                    cm.gainFame(+fame);
                    cm.gainMeso(-price);
                    cm.dispose();
                } else {
                    cm.sendOk("You need atleast 10m Mesos.");
                    cm.dispose();
                }
            }
        }
    }
}
This asks if you want to buy fame for 10m mesos,
And if you accept it gives fame for 10m mesos and gives 1 fame.

This is the correct one and doesnt STEAL any money. Lol
I tested it and it worked.


Credits: Me(Killshadow05) of ShadowMS
 
Last edited:
Re: [Release]REAL Fame seller.

This actually works, It asks if you want to buy fame.
Its a useless thread but i thought since the other guy released the wrong version i might as well let people have the good one ^^


Edit: YES in every re-pack tehre is a fame seller but he STEALS fame, i.e PCMaple. This doesnt STEAL fame, it asks if you want to buy, if you do it takes 10m mesos and gives 1 fame, if not then it exits chat.
 
Re: [Release]REAL Fame seller.

This actually works, It asks if you want to buy fame.
Its a useless thread but i thought since the other guy released the wrong version i might as well let people have the good one ^^


Edit: YES in every re-pack tehre is a fame seller but he STEALS fame, i.e PCMaple. This doesnt STEAL fame, it asks if you want to buy, if you do it takes 10m mesos and gives 1 fame, if not then it exits chat.


That is what I say
 
Re: [Release]REAL Fame seller.

Haha , nice release , this going to be very useful...

*Checking the script because im not 100% sure of how does the getSendText(); works*

EDIT: Lol , this doesnt uses getSendText xD... But still is a very good release :)
 
Re: [Release]REAL Fame seller.

Thanks guys, didnt think it would be that much of a good release, it was very easy to make, like 2 seconds haha
 
Re: [Release]REAL Fame seller.

Thanks guys, didnt think it would be that much of a good release, it was very easy to make, like 2 seconds haha

Haha , its easy to make , but is a good release because is simple , structured and very easy to learn from... is like an example of how to make a NPC...

I was trying to make a NPC like this , but is hard do that because i make stuff for me and sometimes people dont really understand the code xD (Example , some friends >_>)
 
Re: [Release]REAL Fame seller.

Haha i told you guys it worked.

Suuure dont beleive me ;)
Haha. now u got proof it works. Well not proof, just a quite a bit of people saying it haha.
 
Back