Welcome to the RaGEZONE - MMORPG development forums.

Advanced Fame Seller

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 ...

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 40
  1. #16
    Kuchiki Byakuya
    Rank
    Alpha Member
    Join Date
    Jul 2008
    Location
    Singapore
    Posts
    1,491
    Liked
    1

    Re: [RELEASE] Advanced Fame Seller

    Click
    Dude, chill out. We never blame you for anything
    And it was never a contest, i just wanted people to have a good fame seller instead of that stealing one.
    He wasn't refering to YOU. He meant that the original Coco will take mesos from you even if you select 'no'.

  2. #17
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    Jul 2008
    Posts
    357
    Liked
    3

    Re: [RELEASE] Advanced Fame Seller

    lol i'm not even fired up! if you see me fire up all my words will be caps lock

  3. #18
    Infraction Banned
    Rank
    Alpha Member
    Join Date
    Jul 2008
    Posts
    2,505
    Liked
    0

    Re: [RELEASE] Advanced Fame Seller

    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..).

  4. #19
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    Jul 2008
    Posts
    357
    Liked
    3

    Re: [RELEASE] Advanced Fame Seller

    does this stop the spammage?

  5. #20
    i Quit :) On to C++
    Rank
    Member +
    Join Date
    Jul 2008
    Location
    SiNGaPoRe
    Posts
    718
    Liked
    0

    Re: [RELEASE] Advanced Fame Seller

    Things you need to add in case you think your script is so perfect :
    Code:
    winningplayer = cm.getChar().getName();
    To
    Code:
    var winningplayer = cm.getChar().getName();
    And add
    Code:
    var fame = 1;
    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.

    Otherwise just do what XxOsirisxX said.

    Blader's pwnzor gfx. Thanks Blader.

  6. #21
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    Jul 2008
    Posts
    357
    Liked
    3

    Re: [RELEASE] Advanced Fame Seller

    i've already done wat u said, i'm uploading pictures now

  7. #22
    Infraction Banned
    Rank
    Alpha Member
    Join Date
    Jul 2008
    Posts
    2,505
    Liked
    0

    Re: [RELEASE] Advanced Fame Seller

    the var fame = 1 is already there, but, it dose'nt have ";"

    Also mode == -1 is Exit Chat.

  8. #23
    ♣CK♣ GameMaster
    Rank
    Alpha Member
    Join Date
    Jun 2008
    Location
    Ragezone
    Posts
    1,649
    Liked
    0

    Re: [RELEASE] Advanced Fame Seller

    Great job dude u accually made more advanced Fame seller XD

  9. #24
    Ultimate Member
    Rank
    Member
    Join Date
    Jul 2008
    Location
    Australia
    Posts
    188
    Liked
    0

    Re: [RELEASE] Advanced Fame Seller

    Quote Originally Posted by natkemon View Post
    Yes i know, i did it this way because it looked like i put alot of effort into it.

    Killshadow05, Mine owns your fame seller
    noone likes a bragger lol

    MyStoryMS, Where mystory becomes your story, x500 EXP, 100X MESOS, 2X DROP

  10. #25
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    Jul 2008
    Posts
    357
    Liked
    3

    Re: [RELEASE] Advanced Fame Seller

    the var fame = 1 is already there, but, it dose'nt have ";"

    Also mode == -1 is Exit Chat.
    thanxs i've done the first bit

    i'm gonna leave the exit chat bit like it is cause its a way of going back instead of exiting it.

  11. #26
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    Jul 2008
    Location
    Stalker
    Posts
    1,129
    Liked
    0

    Re: [RELEASE] Advanced Fame Seller

    Good job.

  12. #27
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    Jul 2008
    Posts
    357
    Liked
    3

    Re: [RELEASE] Advanced Fame Seller

    thanxs

  13. #28
    Infraction Banned
    Rank
    Alpha Member
    Join Date
    Jul 2008
    Posts
    2,505
    Liked
    0

    Re: [RELEASE] Advanced Fame Seller

    This is the way i guess it should be :)

    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();
    	}
         }
      }
    Oo, i put dots instead of coma :x and forget the [selection] tag at price.. so much mistake it had :(
    Last edited by XxOsirisxX; 24-09-08 at 11:28 PM.

  14. #29
    Kaotic Owner
    Rank
    Alpha Member
    Join Date
    Oct 2005
    Location
    no mans land
    Posts
    2,208
    Liked
    54

    Re: [RELEASE] Advanced Fame Seller

    what all is needed in the srouce files cuz this doesnt work at all. it doesnt add any fame at all just steals mesos.

  15. #30
    Kuchiki Byakuya
    Rank
    Alpha Member
    Join Date
    Jul 2008
    Location
    Singapore
    Posts
    1,491
    Liked
    1

    Re: [RELEASE] Advanced Fame Seller

    It does work. I tested it. So how can it not work for you?

 

 
Page 2 of 3 FirstFirst 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •