lol i'm not even fired up! if you see me fire up all my words will be caps lock
This is a discussion on Advanced Fame Seller within the Releases forums, part of the Java Based (Odin) category; Dude, chill out. We never blame you for anything And it was never a contest, i just wanted people to ...
lol i'm not even fired up! if you see me fire up all my words will be caps lock
someone needs to know the meaning of "Advance".
also, the "+fame" is not "One More Fame"
fame = 1 in that script..
and the +fame = +1, it means POSITIVE 1 basically.
In others words.. "+" is not necessary. and all you need is (If you got this function) cm.gainFame(100);/cm.gainFame(fame+[AMOUNT-1]) (the last one is stupid, but ok..).
does this stop the spammage?
Things you need to add in case you think your script is so perfect :
ToCode:winningplayer = cm.getChar().getName();And addCode:var winningplayer = cm.getChar().getName();Both of them can be added at the top of the script. Add a proper disposing method too. If the player chooses "End Chat" It would not close the chatbox.Code:var fame = 1;
Otherwise just do what XxOsirisxX said.
Blader's pwnzor gfx. Thanks Blader.
i've already done wat u said, i'm uploading pictures now
the var fame = 1 is already there, but, it dose'nt have ";"
Also mode == -1 is Exit Chat.
Great job dude u accually made more advanced Fame seller XD
thanxs i've done the first bitthe var fame = 1 is already there, but, it dose'nt have ";"
Also mode == -1 is Exit Chat.
i'm gonna leave the exit chat bit like it is cause its a way of going back instead of exiting it.
Good job.
thanxs
This is the way i guess it should be :)
Oo, i put dots instead of coma :x and forget the [selection] tag at price.. so much mistake it had :(Code:/* This file is part of the MyStoryMS Maple Story Server Copyright (C) 2008. Created by Nathan 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 .#fUI/UIWindow.img/QuestIcon/6/0 */ //Malady var status = 0; var fame = Array(1,3,5,10,20,50,100); var price = Array(10000000,30000000,50000000,100000000,200000000,500000000,1000000000); function start() { status = -1; action(1, 0, 0); } function action(mode, type, selection) { if (mode == -1) { cm.dispose(); } else { if (mode == 0 && status == 1) { cm.sendOk("Wherever you wants fame, come back to me"); cm.dispose(); return; } if (mode == 1) status++; else status--; if (status == 0) { cm.sendSimple("Hello...\r\nI am the #fUI/UIWindow.img/QuestIcon/6/0# Seller .. If you would like to buy some Fame just choose one of the following deals :\r\n#b#L0#1 #fUI/UIWindow.img/QuestIcon/6/0# (10,000,000 mesos).#l\r\n#L1#3 #fUI/UIWindow.img/QuestIcon/6/0# (30,000,000 mesos).#l\r\n#L2#5 #fUI/UIWindow.img/QuestIcon/6/0# (50,000,000 mesos).#l\r\n#L3#10 #fUI/UIWindow.img/QuestIcon/6/0# (100,000,000 mesos).#l\r\n#L4#20 #fUI/UIWindow.img/QuestIcon/6/0# (200,000,000 mesos).#l\r\n#L5#50 #fUI/UIWindow.img/QuestIcon/6/0# (500,000,000 mesos).#l\r\n#L6#100 #fUI/UIWindow.img/QuestIcon/6/0# (1,000,000,000 mesos).#l\r\n\r\n#kEnjoy :)"); } else if (status == 1) { cm.sendYesNo(fame[selection] + " #fUI/UIWindow.img/QuestIcon/6/0# #b " + price[selection] + " mesos#k.\r\nAre you sure you want to buy it?"); } else if (status == 2) { if (cm.getMeso() >= price[selection]) { cm.sendOk("Thanks you, Take here you fame \r\n\n#fUI/UIWindow.img/QuestIcon/6/0# \r\n " + fame[selection]); cm.gainMeso(-price[selection]); cm.gainFame(fame[selection]); if (selection == 6){ cm.mapMessage(5, "[FAME] "+ cm.getChar().getName() +" Just bought 100 Fame for 1,000,000,000! WOW, so rich! ~"); } cm.dispose(); }else{ cm.playerMessage(1,"You don't have enough mesos."); cm.dispose(); } } }
Last edited by XxOsirisxX; 24-09-08 at 11:28 PM.
what all is needed in the srouce files cuz this doesnt work at all. it doesnt add any fame at all just steals mesos.
It does work. I tested it. So how can it not work for you?