• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Release] Possibility to disable My Servers

Joined
Aug 14, 2009
Messages
2,304
Reaction score
1,189
Why Am I releasing this?

e7nYnsH - [Release] Possibility to disable My Servers - RaGEZONE Forums


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!

<-- 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);
}
 

Attachments

You must be registered for see attachments list
Last edited:
Junior Spellweaver
Joined
Jan 6, 2014
Messages
175
Reaction score
7
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:
Newbie Spellweaver
Joined
Jul 10, 2013
Messages
59
Reaction score
4
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.....
 
Junior Spellweaver
Joined
Jan 6, 2014
Messages
175
Reaction score
7
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.
 
Joined
Aug 14, 2009
Messages
2,304
Reaction score
1,189
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!
 
Joined
Apr 23, 2013
Messages
1,172
Reaction score
1,797
Download
Download Original flash sources
Download

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


but how do I modify this code and then I save ?
 
Last edited:
Back
Top