Results 1 to 4 of 4
  1. #1
    Azuki's Avatar
    Join Date
    Mar 2015
    Gender
    female
    Location
    京都市
    Posts
    1,110
    Reputation
    195
    Thanks
    20,161
    My Mood
    Angelic

    /fame command [Fabiano]

    I was tired of doing the fame adding in the database, couldn't find it here, so I made one. If this is already here, feel free to delete the thread.
    Code:
        internal class Fame : Command
        {
            public Fame()
                : base("fame", 1)
            {
            }
    
            protected override bool Process(Player player, RealmTime time, string[] args)
            {
                if (args[0] == "")
                {
                    player.SendHelp("Usage: /fame <Fame Amount>");
                    return false;
                }
                try
                {
                    int newFame = Convert.ToInt32(args[0]);
                    int newXP = Convert.ToInt32(newFame.ToString() + "000"); 
                    player.Fame = newFame;
                    player.Experience = newXP;
                    player.SaveToCharacter();
                    player.Client.Save();
                    player.UpdateCount++;
                    player.SendInfo("Updated Fame To: " + newFame);
                }
                catch
                {
                    player.SendInfo("Error Setting Fame");
                    return false;
                }
                return true;
            }
        }

    BTC: 1LLm4gaPYCZsczmi8n1ia1GsEMsDRs2ayy
    ETH: 0x7d8045F6e452045439c831D09BAB19Bf9D5263EE



  2. The Following 2 Users Say Thank You to Azuki For This Useful Post:

    Fightera100 (10-29-2015),sebastianfra12 (08-25-2015)

  3. #2
    sebastianfra12's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    361
    Reputation
    21
    Thanks
    75
    My Mood
    Inspired
    Nice, thanks

  4. #3
    Riigged's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Location
    no
    Posts
    3,846
    Reputation
    401
    Thanks
    10,254
    My Mood
    Devilish
    thought this was for like acc fame, but it changes the current character fame xD i was doing /fame 10000 like 80 times in a row like WHY ISNT IT CHANGING

     








  5. The Following User Says Thank You to Riigged For This Useful Post:

    Azuki (10-25-2015)

  6. #4
    Warlordos's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Austria
    Posts
    281
    Reputation
    10
    Thanks
    14
    LoL finally no more Chicken Farming or /killall Medusa in Realm ^^

Similar Threads

  1. [Fabiano] Set Stat Command
    By Juix in forum Realm of the Mad God Private Servers Tutorials/Source Code
    Replies: 24
    Last Post: 06-09-2016, 09:59 AM
  2. How to make Character Slots cost Fame [Fabiano]
    By Juix in forum Realm of the Mad God Private Servers Tutorials/Source Code
    Replies: 10
    Last Post: 01-12-2016, 03:03 PM
  3. [Help Request] Command rank [Fabiano]
    By imSHIELD in forum Realm of the Mad God Private Servers Help
    Replies: 13
    Last Post: 06-28-2015, 04:43 AM
  4. Fabiano Admin Command [Custom Effects]
    By Juix in forum Realm of the Mad God Private Servers Tutorials/Source Code
    Replies: 0
    Last Post: 06-20-2015, 07:04 PM
  5. Edit Fabiano's Initial Gold/Fame
    By Omniraptor in forum Realm of the Mad God Private Servers Tutorials/Source Code
    Replies: 3
    Last Post: 06-14-2015, 06:26 PM