Results 1 to 9 of 9
  1. #1
    Lxys's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Location
    England.
    Posts
    1,156
    Reputation
    208
    Thanks
    2,235
    My Mood
    Devilish

    [Seraphs] Pet Size Command [Better]

    I saw Omni released one for Fabiano so I made one for Seraphs.
    Code:
        internal class PetSizeCommand : Command
        {
            public PetSizeCommand() : base("PetSize", 1)
            {
            }
    
            protected override bool Process(Player player, RealmTime time, string args)
            {
                if (!string.IsNullOrEmpty(args))
                {
                    int newSize;
    
                    if (int.TryParse(args, out newSize) && (newSize > 0 && newSize < 101))
                    {
                        if (player.Pet != null && player.Pet.Size != newSize)
                        {
                            player.Pet.Size = newSize;
                            player.Pet.UpdateCount++;
                            player.UpdateCount++;
                            player.SendInfo(text: $"Pet size updated to {newSize}");
                            return true;
                        }
                        else
                        {
                            player.SendHelp("Something went wrong!\nAre you sure you have a pet?\nAre you sure that your pet is not already at that size?");
                            return false;
                        }
                    }
                    else
                    {
                        player.SendHelp("Something went wrong!\nAre your sure you entered a valid integar?\nAre you sure you are not setting it below 0 or above 100?");
                        return false;
                    }
                }
                else
                {
                    player.SendHelp("Usage: /PetSize <size>");
                    return false;
                }
            }
        }
    Specs
    Motherboard - Asus Z170-P
    CPU- Intel Core i5 6500
    SSD - Samsung SM951
    Ram - 8 GB (2 x 4 DDR2)
    HDD - Random 500GB One
    GPU - Integrated i5 (Intel HD Graphics 530)
    OS - Win10

  2. #2
    Omniraptor's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    278
    Reputation
    13
    Thanks
    431
    My Mood
    Inspired
    the size is within you
    any news on dj manual knees?

  3. #3
    sgrawsreghawrhgwrhgr's Avatar
    Join Date
    Oct 2014
    Gender
    male
    Location
    UK
    Posts
    516
    Reputation
    10
    Thanks
    727
    My Mood
    Angelic
    if I was you I would focus on fixing the pets before releasing commands for them xd

  4. The Following User Says Thank You to sgrawsreghawrhgwrhgr For This Useful Post:

    ImNotMakdoon (06-07-2016)

  5. #4
    Lxys's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Location
    England.
    Posts
    1,156
    Reputation
    208
    Thanks
    2,235
    My Mood
    Devilish
    Quote Originally Posted by Nobody77 View Post
    if I was you I would focus on fixing the pets before releasing commands for them xd
    Never used it, what is wrong with it?
    Specs
    Motherboard - Asus Z170-P
    CPU- Intel Core i5 6500
    SSD - Samsung SM951
    Ram - 8 GB (2 x 4 DDR2)
    HDD - Random 500GB One
    GPU - Integrated i5 (Intel HD Graphics 530)
    OS - Win10

  6. #5
    Riigged's Avatar
    Join Date
    Jan 2013
    Gender
    male
    Location
    no
    Posts
    3,846
    Reputation
    401
    Thanks
    10,254
    My Mood
    Devilish
    Quote Originally Posted by Versss View Post
    Never used it, what is wrong with it?
    he is saying before releasing commands related to pets, that the pets themselves should be fixed first, considering pets on SD are buggy as fuck.

     








  7. #6
    Lxys's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Location
    England.
    Posts
    1,156
    Reputation
    208
    Thanks
    2,235
    My Mood
    Devilish
    Quote Originally Posted by Riigged View Post
    he is saying before releasing commands related to pets, that the pets themselves should be fixed first, considering pets on SD are buggy as fuck.
    I'm saying never used a pet you knboobbb
    Specs
    Motherboard - Asus Z170-P
    CPU- Intel Core i5 6500
    SSD - Samsung SM951
    Ram - 8 GB (2 x 4 DDR2)
    HDD - Random 500GB One
    GPU - Integrated i5 (Intel HD Graphics 530)
    OS - Win10

  8. #7
    cxydsaewq's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Posts
    954
    Reputation
    25
    Thanks
    1,341
    My Mood
    Amazed
    Quote Originally Posted by Riigged View Post
    he is saying before releasing commands related to pets, that the pets themselves should be fixed first, considering pets on SD are buggy as fuck.
    I fixed them becuz I'm mlg
    All that's wrong is LeaveWorld and EnterWorld

  9. #8
    Lxys's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Location
    England.
    Posts
    1,156
    Reputation
    208
    Thanks
    2,235
    My Mood
    Devilish
    Quote Originally Posted by cxydsaewq View Post


    I fixed them becuz I'm mlg
    All that's wrong is LeaveWorld and EnterWorld
    They don't follow you into worlds? Is there already a public fix or not?
    Specs
    Motherboard - Asus Z170-P
    CPU- Intel Core i5 6500
    SSD - Samsung SM951
    Ram - 8 GB (2 x 4 DDR2)
    HDD - Random 500GB One
    GPU - Integrated i5 (Intel HD Graphics 530)
    OS - Win10

  10. #9
    cxydsaewq's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Posts
    954
    Reputation
    25
    Thanks
    1,341
    My Mood
    Amazed
    Quote Originally Posted by Versss View Post
    They don't follow you into worlds? Is there already a public fix or not?
    They do, just not at your position.
    They spawn at x: 0 y: 0

    And they don't leave the world properly

Similar Threads

  1. [FSOD] Pet Size Command
    By Omniraptor in forum Realm of the Mad God Private Servers Tutorials/Source Code
    Replies: 12
    Last Post: 06-06-2016, 10:07 AM
  2. [Solved] PetSize/Size Command?
    By DBFunx in forum Realm of the Mad God Private Servers Help
    Replies: 8
    Last Post: 06-03-2016, 06:03 AM
  3. [Solved] Can Someone Make A Better Holiday Paragon Pet Quest?
    By Nazew in forum Adventure Quest Worlds (AQW) Help
    Replies: 1
    Last Post: 01-14-2014, 01:14 AM
  4. Dayz Commander, better than 6 updater
    By xenoraxz in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 8
    Last Post: 08-12-2012, 07:16 PM
  5. Replies: 1
    Last Post: 04-02-2012, 02:49 AM