Results 1 to 3 of 3
  1. #1
    SakkeMan's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    0

    Unhappy How do i get /gland?

    Can someone tell me how do i get /gland command?

  2. #2
    Desire's Avatar
    Join Date
    Sep 2013
    Gender
    male
    Location
    Insert Name Here
    Posts
    1,039
    Reputation
    58
    Thanks
    1,394
    My Mood
    Amused
    Code:
        internal class GlandCommand : Command
        {
            public GlandCommand()
                : base("glands", 0)
            {
            }
    
            protected override bool Process(Player player, RealmTime time, string[] args)
            {
                if (args.Length == 1000 || args.Length == 1000)
                {
                    player.SendHelp("Usage: /glands to tp to glands");
                }
                else
                {
                    int x, y;
                    try
                    {
                        x = int.Parse("1000");
                        y = int.Parse("1000");
                    }
                    catch
                    {
                        player.SendError("Invalid coordinates!");
                        return false;
                    }
                    player.Move(x + 0.5f, y + 0.5f);
                    if (player.Pet != null)
                        player.Pet.Move(x + 0.5f, y + 0.5f);
                    player.UpdateCount++;
                    player.Owner.BroadcastPacket(new networking.svrPackets.GotoPacket
                    {
                        ObjectId = player.Id,
                        Position = new Position
                        {
                            X = player.X,
                            Y = player.Y
                        }
                    }, null);
                }
                return true;
            }
        }
    im not really back nor will i ever get back into developing pservers
    though ill check once every month atleast


     

  3. The Following User Says Thank You to Desire For This Useful Post:

    SakkeMan (09-20-2016)

  4. #3
    AzzyG's Avatar
    Join Date
    Aug 2016
    Gender
    male
    Location
    I Think The Worst Thing You Can Do About a Situation Is Nothing
    Posts
    1,732
    Reputation
    261
    Thanks
    476
    Quote Originally Posted by SakkeMan View Post
    Can someone tell me how do i get /gland command?
    Add @Bear 's code to command.cs
    @Luis @Raple @Joe
    Solved

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

    SakkeMan (09-20-2016)

Similar Threads

  1. [help]how would i get the superjump address?
    By fable741 in forum WarRock - International Hacks
    Replies: 9
    Last Post: 05-08-2007, 08:37 AM
  2. How do i get Korean???
    By Cataldo in forum WarRock - International Hacks
    Replies: 1
    Last Post: 04-11-2007, 11:17 PM
  3. how do i get hacks 4 war rock???
    By bigsyph in forum WarRock - International Hacks
    Replies: 6
    Last Post: 04-08-2007, 03:29 PM
  4. how do i get unbanned?
    By cool4345 in forum WarRock - International Hacks
    Replies: 2
    Last Post: 03-04-2007, 03:50 AM
  5. how not to get caught
    By gavone26 in forum WarRock - International Hacks
    Replies: 13
    Last Post: 03-03-2007, 08:24 AM