Results 1 to 9 of 9
  1. #1
    MikeRaarupBirk's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    1,583
    Reputation
    38
    Thanks
    3,775
    My Mood
    Stressed

    /lock on fabiano source

    Have anyone created a /lock? It seems like its not there, idk why.

  2. #2
    The First Sin's Avatar
    Join Date
    May 2016
    Gender
    male
    Location
    At the Jugg House
    Posts
    54
    Reputation
    10
    Thanks
    16
    My Mood
    Devilish
    Designing code now, if I am successful then I will post it, also THIS IS NOT A FUCKING HELP REQUEST MOTHERFUCKER WHERE IS THE HELP AT NIGGA????????

    @Joe @Nyaro's Panda pls move to discussion
    Last edited by The First Sin; 06-01-2016 at 01:46 PM.
    Be thankful that you're blessed yet cursed with life and death.
     



    Violence, Bad Words, Scammers, Pornography, Drugs, Discrimination, Gambling, All on the internet.
    PEGI FAQ
    Review Internet Safety and Stay Safe Kids.

     


    ESRB RATINGS GUIDE
    Review Internet Safety and Stay Safe Kids.



    Gaming since 1994
    Microsoft Computing since 2000
    C since 2001
    Java since 2003
    Mobile since 2007
    Python since 2010


  3. #3
    MikeRaarupBirk's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    1,583
    Reputation
    38
    Thanks
    3,775
    My Mood
    Stressed
    Quote Originally Posted by The First Sin View Post
    Designing code now, if I am successful then I will post it, also THIS IS NOT A FUCKING HELP REQUEST MOTHERFUCKER WHERE IS THE HELP AT NIGGA????????

    @Joe @Nyaro's Panda pls move to discussion
    Meh, it kinda is "HELP" since i need the code... Whatever man if your gonna be like that, then be like that i aint gonna change you. But hopefully it will be a success to code the code and ill be really glad to get it, if your gonna post it!

  4. #4
    The First Sin's Avatar
    Join Date
    May 2016
    Gender
    male
    Location
    At the Jugg House
    Posts
    54
    Reputation
    10
    Thanks
    16
    My Mood
    Devilish
    Quote Originally Posted by MikeRaarupBirk View Post
    Meh, it kinda is "HELP" since i need the code... Whatever man if your gonna be like that, then be like that i aint gonna change you. But hopefully it will be a success to code the code and ill be really glad to get it, if your gonna post it!
    No, you don't need it, it isn't like you can't play without it, all you are doing is asking for someone to make it which isn't a help request, and I don't see a ?(QuestionMark) so this isn't a question it is just a statement which is a discussion.

    whatever if i make it then ill post it but keep your discussions in the discussion section and your questions may stay here.
    Last edited by The First Sin; 06-01-2016 at 01:54 PM.
    Be thankful that you're blessed yet cursed with life and death.
     



    Violence, Bad Words, Scammers, Pornography, Drugs, Discrimination, Gambling, All on the internet.
    PEGI FAQ
    Review Internet Safety and Stay Safe Kids.

     


    ESRB RATINGS GUIDE
    Review Internet Safety and Stay Safe Kids.



    Gaming since 1994
    Microsoft Computing since 2000
    C since 2001
    Java since 2003
    Mobile since 2007
    Python since 2010


  5. #5
    MikeRaarupBirk's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    1,583
    Reputation
    38
    Thanks
    3,775
    My Mood
    Stressed
    Quote Originally Posted by The First Sin View Post


    No, you don't need it, it isn't like you can't play without it, all you are doing is asking for someone to make it which isn't a help request, and I don't see a ?(QuestionMark) so this isn't a question it is just a statement which is a discussion.

    whatever if i make it then ill post it but keep your discussions in the discussion section and your questions may stay here.
    True, but would make my life easier by doing /lock (player) instead of finding them in a big group of players.

  6. #6
    The First Sin's Avatar
    Join Date
    May 2016
    Gender
    male
    Location
    At the Jugg House
    Posts
    54
    Reputation
    10
    Thanks
    16
    My Mood
    Devilish
    I present to you /lock <playername>

    usage :: /lock <playername>
    (it will lock if the player is not lock and it will unlock if the player is locked)

    example :: /lock TheFirstSin
    (if you have not locked me it will lock me but if I am locked then it will unlock me)

    Code ::
     
    Code:
        internal class Lock : Command
        {
            public Lock()
                : base("lock", 1)
            {
            }
    
            protected override bool Process(Player player, RealmTime time, string[] args)
            {
                if (args.Length != 1)
                {
                    player.SendHelp("Usage: /lock <playername>");
                    return false;
                }
                if (string.Equals(player.Name.ToLower(), args[0].ToLower()))
                {
                    player.SendInfo("You are trying to lock yourself...Dumass.");
                    return false;
                }
                foreach (KeyValuePair<string, Client> i in player.Manager.Clients.Where (i => i.Value.Player.Name.EqualsIgnoreCase(args[0])))
                {
                    foreach(string l in player.Locked)
                    {
                        Database db = new Database();
                        if (!l.Contains(i.Value.Account.AccountId))
                           {
                            db.AddLock(player.AccountId, i.Value.Account.AccountId);
                            player.Locked.Add(i.Value.Account.AccountId);
                            player.UpdateCount++;
                            return true;
                          }
                        db.RemoveLock(player.AccountId, i.Value.Account.AccountId);
                        player.Locked.Remove(i.Value.Account.AccountId);
                        player.UpdateCount++;
                        return true;
                    }
                }
                player.SendError($"Player {args[0]} could not be found");
                return false;
            }
        }


    if there is any questions or concerns PM me @</The First Sin/>


    - - - Updated - - -

    If this works and there is not problems then close it.


    - - - Updated - - -
    @MikeRaarupBirk
    close it.
    Be thankful that you're blessed yet cursed with life and death.
     



    Violence, Bad Words, Scammers, Pornography, Drugs, Discrimination, Gambling, All on the internet.
    PEGI FAQ
    Review Internet Safety and Stay Safe Kids.

     


    ESRB RATINGS GUIDE
    Review Internet Safety and Stay Safe Kids.



    Gaming since 1994
    Microsoft Computing since 2000
    C since 2001
    Java since 2003
    Mobile since 2007
    Python since 2010


  7. #7
    MikeRaarupBirk's Avatar
    Join Date
    Mar 2016
    Gender
    male
    Posts
    1,583
    Reputation
    38
    Thanks
    3,775
    My Mood
    Stressed
    @Joe cloes dis pl0x

  8. #8
    The First Sin's Avatar
    Join Date
    May 2016
    Gender
    male
    Location
    At the Jugg House
    Posts
    54
    Reputation
    10
    Thanks
    16
    My Mood
    Devilish
    @Luis look above
    Be thankful that you're blessed yet cursed with life and death.
     



    Violence, Bad Words, Scammers, Pornography, Drugs, Discrimination, Gambling, All on the internet.
    PEGI FAQ
    Review Internet Safety and Stay Safe Kids.

     


    ESRB RATINGS GUIDE
    Review Internet Safety and Stay Safe Kids.



    Gaming since 1994
    Microsoft Computing since 2000
    C since 2001
    Java since 2003
    Mobile since 2007
    Python since 2010


  9. #9
    Danny's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    9,617
    Reputation
    2835
    Thanks
    3,002
    My Mood
    Aggressive
    Quote Originally Posted by The First Sin View Post
    @Luis look above
    Isn't it Nyaro's Panda now

    /closed

    I am not a middleman nor do I buy/sell anything. If you are being contacted by someone off-site from MPGH then it's not me! Please report these to me via PM. Don't be stupid, think first.

Similar Threads

  1. [Solved] Fabianos source
    By LordSpectilas in forum Realm of the Mad God Private Servers Help
    Replies: 1
    Last Post: 05-31-2015, 07:00 PM
  2. [Help Request] Can't Register on Fabiano Source
    By Celestialz in forum Realm of the Mad God Private Servers Help
    Replies: 2
    Last Post: 05-27-2015, 09:00 AM
  3. Having difficulty customizing my nexus map in the Fabiano source. Please help
    By chargn_yeti in forum Realm of the Mad God Private Servers Help
    Replies: 8
    Last Post: 05-25-2015, 10:22 PM
  4. [Help Request] Fabiano Source Multiplayer
    By uncookedcat in forum Realm of the Mad God Private Servers Help
    Replies: 1
    Last Post: 05-22-2015, 07:22 PM
  5. [Source Code] Lock On Mode - Source Code
    By Aeir in forum Piercing Blow Hack Coding/Source Code
    Replies: 15
    Last Post: 02-05-2013, 06:20 AM