Thread: Hiding Players

Results 1 to 9 of 9
  1. #1
    PainPlayzz's Avatar
    Join Date
    Sep 2018
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    6
    My Mood
    Amazed

    Post Hiding Players

    Seen only a few servers with this feature so not release it.

    Go to: com > comp > assem > objects > Player.as

    Place this code in the "override public function draw" function above "super.draw(_arg_1, _arg_2, _arg_3);"
    Code:
            switch (Parameters.data_.hideList) {
                case 1:
                    if (this != map_.player_ && !this.starred_) return;
                    break;
                case 2:
                    if (this != map_.player_ && !this.isFellowGuild_) return;
                    break;
                case 3:
                    if (this != map_.player_ && !this.starred_ && !this.isFellowGuild_) return;
                    break;
            }

    Next. Go to: com > comp > assem > ui > options > Options.as

    Add this line of code in the "private function addGraphicOptions"
    Code:
    this.addOptionAndPosition(new ChoiceOption("hideList", makeHideLabels(), [0, 1, 2, 3], "Hide Players", "Hide players on screen", null));
    Last but not least. In the same file, add this function below the "private function addGraphicOptions" ( NOT IN BUT BELOW)
    Code:
        private static function makeHideLabels():Vector.<StringBuilder> {
            return (new <StringBuilder>[new StaticStringBuilder("Off"),
                new StaticStringBuilder("Locked"), new StaticStringBuilder("Guild"), new StaticStringBuilder("Both")]);
        }

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

    NyanCatOK (05-13-2019),SBisEPIC (08-10-2020),Tonymndz (07-13-2019)

  3. #2
    philipovrell's Avatar
    Join Date
    Oct 2014
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    1
    My Mood
    Cool
    Hey there! i could not find private function addGraphicOptions on my as3 client
    im using fsod

  4. #3
    PainPlayzz's Avatar
    Join Date
    Sep 2018
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    6
    My Mood
    Amazed
    Quote Originally Posted by philipovrell View Post
    Hey there! i could not find private function addGraphicOptions on my as3 client
    im using fsod
    Just press Shift + F and search the function in the file. That should help a lot

  5. #4
    philipovrell's Avatar
    Join Date
    Oct 2014
    Gender
    male
    Posts
    22
    Reputation
    10
    Thanks
    1
    My Mood
    Cool
    Well i tryed that lmao!

  6. #5
    Magiertoasti's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Posts
    7
    Reputation
    10
    Thanks
    3

    Fix

    Quote Originally Posted by philipovrell View Post
    Well i tryed that lmao!
    Hey just add "private static function makeHideLabels" somewhere in options.as

  7. #6
    NyanCatOK's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    thanks @PainPlayzz
    u great developer

  8. #7
    PainPlayzz's Avatar
    Join Date
    Sep 2018
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    6
    My Mood
    Amazed
    Quote Originally Posted by NyanCatOK View Post
    thanks @PainPlayzz
    u great developer
    Me bad developer but your welcome

  9. #8
    Littlizard's Avatar
    Join Date
    Mar 2017
    Gender
    male
    Location
    MiddleOfNowhere
    Posts
    36
    Reputation
    10
    Thanks
    3
    My Mood
    Blah
    Quote Originally Posted by PainPlayzz View Post
    Seen only a few servers with this feature so not release it.

    Go to: com > comp > assem > objects > Player.as

    Place this code in the "override public function draw" function above "super.draw(_arg_1, _arg_2, _arg_3);"
    Code:
            switch (Parameters.data_.hideList) {
                case 1:
                    if (this != map_.player_ && !this.starred_) return;
                    break;
                case 2:
                    if (this != map_.player_ && !this.isFellowGuild_) return;
                    break;
                case 3:
                    if (this != map_.player_ && !this.starred_ && !this.isFellowGuild_) return;
                    break;
            }

    Next. Go to: com > comp > assem > ui > options > Options.as

    Add this line of code in the "private function addGraphicOptions"
    Code:
    this.addOptionAndPosition(new ChoiceOption("hideList", makeHideLabels(), [0, 1, 2, 3], "Hide Players", "Hide players on screen", null));
    Last but not least. In the same file, add this function below the "private function addGraphicOptions" ( NOT IN BUT BELOW)
    Code:
        private static function makeHideLabels():Vector.<StringBuilder> {
            return (new <StringBuilder>[new StaticStringBuilder("Off"),
                new StaticStringBuilder("Locked"), new StaticStringBuilder("Guild"), new StaticStringBuilder("Both")]);
        }
    is this for nrcore or fsod?

  10. #9
    PainPlayzz's Avatar
    Join Date
    Sep 2018
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    6
    My Mood
    Amazed
    Quote Originally Posted by Littlizard View Post
    is this for nrcore or fsod?
    This works in both. Already tested myself

Similar Threads

  1. [Help Request] How to hide players in client?
    By opanz2 in forum Realm of the Mad God Help & Requests
    Replies: 5
    Last Post: 02-19-2018, 10:15 AM
  2. [Help Request] CrazyClient Hide Players
    By Brebro in forum Realm of the Mad God Help & Requests
    Replies: 4
    Last Post: 11-05-2017, 03:55 PM
  3. [Help] Crossfire Replay Hiding Player Names
    By RamonCF in forum CrossFire Discussions
    Replies: 4
    Last Post: 06-24-2013, 09:33 PM
  4. [Help Request] Crossfire Replay Hiding Player Names
    By RamonCF in forum CrossFire Help
    Replies: 1
    Last Post: 06-23-2013, 06:41 PM
  5. [Request] CS:S Hide and Seek Player Color
    By OxGeRo in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 6
    Last Post: 07-20-2012, 04:00 PM