[Release] Possibility to disable My Servers

Results 1 to 17 of 17
  1. #1
    Developer GigaToni is offline
    DeveloperRank
    Aug 2009 Join Date
    GER / FRLocation
    2,322Posts

    [Release] Possibility to disable My Servers

    Why Am I releasing this?



    It sucks that you can't disable the My Servers Button :). So I rewrote a little from the AS file and I decided to share it with you. Maybe you think so too :D!

    http://pastebin.com/AYvN6T5r <-- PlayChannelsScreen.as

    search for:
    void FrontendWarZ::InitButtons()
    replace all with this:
    void FrontendWarZ::InitButtons()
    {
    Scaleform::GFx::Value vars[8];
    vars[0].SetBoolean(false); // Trial Servers
    vars[1].SetBoolean(true); // Official Servers
    vars[2].SetBoolean(false); // Private Servers
    vars[3].SetBoolean(true); // Premium Servers
    vars[4].SetBoolean(false); // Strongholds
    vars[5].SetBoolean(false); // Public Test Environment
    vars[6].SetBoolean(false); // My Servers
    vars[7].SetBoolean(false); // Veteran Servers
    gfxMovie.Invoke("_root.api.Main.BrowseGamesChannelsAnim.initButtons", vars, 8);
    }
    Last edited by GigaToni; 30-06-14 at 02:13 AM.


  2. #2
    Member batman1 is offline
    MemberRank
    Mar 2014 Join Date
    34Posts

    Re: [Release] Possibility to disable My Servers

    GigaToni releasing stuff :O

  3. #3
    Developer GigaToni is offline
    DeveloperRank
    Aug 2009 Join Date
    GER / FRLocation
    2,322Posts

    Re: [Release] Possibility to disable My Servers

    Love you too :D.

    No seriously. It's nothing special that I am releasing Stuff.

    BTW: noticed I forgot to add a param to the debug shit. Updated my first post.

    #Updated again. Now it properly shows the "lock" icon :D
    Last edited by GigaToni; 30-06-14 at 02:14 AM.

  4. #4
    ¿ aLca is offline
    Grand MasterRank
    Apr 2013 Join Date
    /dev/nullLocation
    549Posts

    Re: [Release] Possibility to disable My Servers

    Good job, it's nice to see some AS stuff pop's up.

  5. #5
    Developer GigaToni is offline
    DeveloperRank
    Aug 2009 Join Date
    GER / FRLocation
    2,322Posts

    Re: [Release] Possibility to disable My Servers

    AS is fairly easy. But the Flash GUI thing (Workspace shit) is horribly.

  6. #6
    Member unnamed12 is offline
    MemberRank
    Apr 2014 Join Date
    93Posts

    Re: [Release] Possibility to disable My Servers

    How edit PlayChannelsScreen.as ?

  7. #7
    Developer GigaToni is offline
    DeveloperRank
    Aug 2009 Join Date
    GER / FRLocation
    2,322Posts

    Re: [Release] Possibility to disable My Servers

    Search for the SWF source by yuri released in this forum.

  8. #8
    Elite Member JohnzBallad is offline
    Member +Rank
    Jan 2014 Join Date
    Rio de JaneiroLocation
    175Posts

    Re: [Release] Possibility to disable My Servers

    With this code or something like it, Could I disable the Premium Server button?
    Just to not open the Premium Server List.
    I will be able to buy the premium, but after that, this button disappear or be locked like the My Servers.
    Thanks for the code, :)
    Last edited by JohnzBallad; 13-09-14 at 06:35 PM.

  9. #9
    Member steventhedon187 is offline
    MemberRank
    Jul 2013 Join Date
    -> Your RAM <-Location
    59Posts

    Re: [Release] Possibility to disable My Servers

    lel..... wtf is that ? is this helpfull for anyone ? no it isnt..... its like the tutorials that this kid called "m70b1jr" posted, WHO NEEDS IT ?

    post a "good" tutorial in this section like some others.... im serious !

    and YOU know how to.....

  10. #10
    Elite Member JohnzBallad is offline
    Member +Rank
    Jan 2014 Join Date
    Rio de JaneiroLocation
    175Posts

    Re: [Release] Possibility to disable My Servers

    Quote Originally Posted by steventhedon187 View Post
    lel..... wtf is that ? is this helpfull for anyone ? no it isnt..... its like the tutorials that this kid called "m70b1jr" posted, WHO NEEDS IT ?

    post a "good" tutorial in this section like some others.... im serious !

    and YOU know how to.....
    WTF are you talking about. He is the first i ever seen posting something like that. You should be glad.

  11. #11
    Developer GigaToni is offline
    DeveloperRank
    Aug 2009 Join Date
    GER / FRLocation
    2,322Posts

    Re: [Release] Possibility to disable My Servers

    Quote Originally Posted by steventhedon187 View Post
    lel..... wtf is that ? is this helpfull for anyone ? no it isnt..... its like the tutorials that this kid called "m70b1jr" posted, WHO NEEDS IT ?

    post a "good" tutorial in this section like some others.... im serious !

    and YOU know how to.....
    Where do you got the info that this is a TUTORIAL?!

    [Release] Possibility to disable My Servers
    Forum -> MMO Zone -> MMO and MMORPG Developments -> The War Z / Infestation MMO -> Infestation Releases
    hmm It's obviously not a tutorial. It's a release & If it isn't helpful for you why you don't just leave this here alone? Couple of people find this helpful.

    Also it wasn't intended to be useful for everyone.

    As I said:
    It sucks that you can't disable the My Servers Button :). So I rewrote a little from the AS file and I decided to share it with you. Maybe you think so too :D!
    --> My opinion.

    And why don't YOU just post some useful tutorial instead of calling others work worse!

  12. #12
    Elite Member JohnzBallad is offline
    Member +Rank
    Jan 2014 Join Date
    Rio de JaneiroLocation
    175Posts

    Re: [Release] Possibility to disable My Servers

    Quote Originally Posted by GigaToni View Post
    Search for the SWF source by yuri released in this forum.
    Where I can find the file "PlayChannelsScreen.as" ?

  13. #13
    Developer GigaToni is offline
    DeveloperRank
    Aug 2009 Join Date
    GER / FRLocation
    2,322Posts

    Re: [Release] Possibility to disable My Servers

    src\classes\warz\frontend
    There it is

    If you mean the download link use the search function.

    Or for the lazy people:
    http://forum.ragezone.com/f790/relea...ginal-1010928/

  14. #14
    Elite Member JohnzBallad is offline
    Member +Rank
    Jan 2014 Join Date
    Rio de JaneiroLocation
    175Posts

    Re: [Release] Possibility to disable My Servers

    Quote Originally Posted by GigaToni View Post
    There it is

    If you mean the download link use the search function.

    Or for the lazy people:
    http://forum.ragezone.com/f790/relea...ginal-1010928/
    I'm not finding in my src (RageZone Community Editiom). But, in the game the button is working, so I need to download or not?

    EDIT:

    Forget it.
    Last edited by JohnzBallad; 12-10-14 at 05:20 PM.

  15. #15
    Grand Master Oosmar02 is offline
    Grand MasterRank
    Sep 2013 Join Date
    FranceLocation
    894Posts

    Re: [Release] Possibility to disable My Servers

    I want to know is what line to disable "Myserver" in PLayChannelScreen

  16. #16
    Developer GigaToni is offline
    DeveloperRank
    Aug 2009 Join Date
    GER / FRLocation
    2,322Posts

    Re: [Release] Possibility to disable My Servers

    Download WinMerge
    Download Original flash sources
    Download My flash source

    Open WinMerge and compare the original one PlayChannelsScreen.as with mine.
    Last edited by GigaToni; 12-10-14 at 05:36 PM.

  17. #17
    My Status --> LukasCCB is offline
    Grand MasterRank
    Apr 2013 Join Date
    CracolandiaLocation
    1,189Posts

    Re: [Release] Possibility to disable My Servers

    Quote Originally Posted by GigaToni View Post
    Download WinMerge
    Download Original flash sources
    Download My flash source

    Open WinMerge and compare the original one PlayChannelsScreen.as with mine.

    but how do I modify this code and then I save ?
    Last edited by LukasCCB; 25-10-14 at 09:12 AM. Reason: double post, bug



Advertisement