Results 1 to 10 of 10
  1. #1
    Omniraptor's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    278
    Reputation
    13
    Thanks
    431
    My Mood
    Inspired

    Talking [Tutorial] How to add more tiers to your AS3 Client

    Adding additional tiers to your As3 Client!





    Haven't done a tutorial in a while. Anyhow, if you want to add Set Tiers to your client or your own Tier of unique items and you're wondering how...well here's how lol

    First, open up your IntelliJ or whatever you use to edit your As3 client and go to _E_7>EquipmentToolTip.

    Find this function

    Code:
            private function _07X_():void{
                this._V_0 = new SimpleText(16, 0xFFFFFF, false, 30, 0, "Myriad Pro");
                this._P_V_.setBold(true);
                this._V_0.y = ((this._5U_.height / 2) - (this._P_V_._I_x / 2));
                this._V_0.x = (_be - 30);
                if ((((this._I_z.hasOwnProperty("Consumable") == false)) && ((this._tO_() == false))))
                {
                    if (this._I_z.hasOwnProperty("Tier"))
                    {
    
                        this._V_0.text = ("T" + this._I_z.Tier);
                    }
                    else
                    {
                        this._V_0.setColor(9055202);
                        this._V_0.text = "UT";
                    }
                    this._V_0.updateMetrics();
                    addChild(this._V_0);
                };
            }
    Now add an if statement under the else statement like so
    Code:
                    if (this._I_z.Tier == "Put your Tier name right here!")
                    {
                        this._V_0.setColor(Put the color code for text in here);
                        this._V_0.text = "Put your Tier name right here!";
                    };
    If you want your text to be bold just slap setBold onto it :P




    Next you need to go to the server and go to Descriptors.cs.
    Now find the start of

    Code:
    if ((n = elem.Element("Tier")) != null)
    
    replace this block 'o code with 
    
    
            if ((n = elem.Element("Tier")) != null)
                try
                {
                    Tier = Utils.FromString(n.Value);
                }
                catch
                {
                    Tier = -1;
                }
            else
                Tier = -1;
    All you have to do now is just add <Tier>Put your Tier name right here!</Tier> to an item and it should pop up once you look at the tier! Enjoy!
    any news on dj manual knees?

  2. #2
            (╭ರ_•)          
    Premium Member
    ~V~'s Avatar
    Join Date
    May 2014
    Gender
    male
    Location
    Posts
    628
    Reputation
    29
    Thanks
    1,478
    Where is my credits for testing this ?

  3. #3
    Omniraptor's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    278
    Reputation
    13
    Thanks
    431
    My Mood
    Inspired
    Quote Originally Posted by VoOoLoX View Post
    Where is my credits for testing this ?
    bleh. nah u get none lol i tested this one myself
    you tested derpy version so u git creds for derpy version

    Edit: To be honest I was going to add it but was too lazy.
    any news on dj manual knees?

  4. #4
            (╭ರ_•)          
    Premium Member
    ~V~'s Avatar
    Join Date
    May 2014
    Gender
    male
    Location
    Posts
    628
    Reputation
    29
    Thanks
    1,478
    Quote Originally Posted by Darkfark View Post
    bleh. nah u get none lol i tested this one myself
    you tested derpy version so u git creds for derpy version

    Edit: To be honest I was going to add it but was too lazy.
    jk man
    /10char

  5. #5
    sacredmike's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Location
    Uranus ;)
    Posts
    685
    Reputation
    15
    Thanks
    3,255
    My Mood
    Devilish
    So, basically you can make like the ST off prod with the orangish color?
    i'm actually just a horny boy

  6. #6
    Omniraptor's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    278
    Reputation
    13
    Thanks
    431
    My Mood
    Inspired
    Quote Originally Posted by sacredmike View Post
    So, basically you can make like the ST off prod with the orangish color?
    Yep, if you can find the code color :P
    any news on dj manual knees?

  7. #7
    Ahl's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    /modcp
    Posts
    16,599
    Reputation
    3219
    Thanks
    5,383
    My Mood
    Angelic
    Did you get this off Seraph's Dominion's client?

    Nice job though
    News Force Head Editor from 09/14/2018 - 03/02/2020
    Publicist from 11/23/2017 - 06/07/2019
    Global Moderator since 09/24/2017
    Minion+ from 04/16/2017 - 09/24/2017
    Market Place Minion from 04/16/2017 - 09/24/2017
    Minecraft Minion from 02/23/2017 - 09/24/2017
    Realm of the Mad God Minion from 11/06/2016 - 09/24/2017

    Middleman from 09/14/2016 - 09/24/2017
    News Force Editor from 08/23/2016 - 09/14/2018
    News Force (Section of the Week) from 03/21/2016 - 07/17/2017
    News Force (User News) from 10/18/2015 - 09/14/2018

    Donator since 03/16/2015
    Realm of the Mad God Editor from 05/20/2014 - 07/08/2014
    Member since 12/23/2012


    Rep Power: 82

  8. #8
    KieronZeCoder69's Avatar
    Join Date
    Jun 2014
    Gender
    male
    Location
    On my computer
    Posts
    439
    Reputation
    20
    Thanks
    219
    My Mood
    Aggressive
    Quote Originally Posted by Color's Sheep View Post
    Did you get this off Seraph's Dominion's client?

    Nice job though
    yeah he did xD

  9. #9
    Stellar Spark's Avatar
    Join Date
    Jun 2013
    Gender
    female
    Posts
    724
    Reputation
    35
    Thanks
    799
    Quote Originally Posted by Color's Sheep View Post
    Did you get this off Seraph's Dominion's client?

    Nice job though
    eghhh

    this isn't anything advanced

    i'm pretty sure leeching off of SD wasn't a really needed thing if someone wanted to make a tutorial about this since the code is very straightforward

    i could be wrong

  10. #10
    Omniraptor's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    278
    Reputation
    13
    Thanks
    431
    My Mood
    Inspired
    Quote Originally Posted by Color's Sheep View Post
    Did you get this off Seraph's Dominion's client?

    Nice job though
    No, I didn't leech off of SD lol such simple code isn't really much of a hassle to add
    any news on dj manual knees?

Similar Threads

  1. [QUESTION]How to add custom skins to your cross-mod?
    By Viper 85626 in forum Combat Arms Mod Discussion
    Replies: 4
    Last Post: 05-07-2010, 01:26 PM
  2. [Question] - How to add more then 1 TEXTURE
    By breaksafe in forum Combat Arms Mod Discussion
    Replies: 3
    Last Post: 04-30-2010, 12:05 AM
  3. How to add more cool items to your toolbox
    By Zoom in forum Visual Basic Programming
    Replies: 14
    Last Post: 11-18-2009, 08:40 AM
  4. [Info] How To Add An Attachment To Your Thread
    By Jimmy in forum Combat Arms Hacks & Cheats
    Replies: 0
    Last Post: 11-14-2009, 01:59 PM
  5. how to add the flash on your profile
    By dk173 in forum General
    Replies: 4
    Last Post: 07-07-2009, 11:51 PM