There's absolutely no reason why your AS3 client should have any of this crap enabled. Do yourself a favor and remove it!
Let's begin...
Step 1:
Right click the src>_L_7 folder. Click Refactor->Safe Delete->OK
Step 2:
Right click the src>_rK_ folder. Click Refactor->Safe Delete->OK
Step 3:
Right click the src>_Z_h folder. Click Refactor->Safe Delete->OK
Step 4:
Right click the src>_01H_ folder. Click Refactor->Safe Delete->OK
Step 5:
Navigate to src>_aD_ and right click _Y_Z_. Click Refactor->Safe Delete->OK. A notification will pop up informing you that it's unsafe to delete this file. Click "Delete Anyway".
Step 6:
Navigate to src>_aD_ and right click _e3. Click Refactor->Safe Delete->OK. A notification will pop up informing you that it's unsafe to delete this file. Click "Delete Anyway".
Step 7:
Navigate to src>_0M_m>_0E_v and replace the entire thing with this:
Step 8:Code:package _0M_m{ import com.company.assembleegameclient.util.offer.Offers; import _sp._aJ_; import com.company.assembleegameclient.util.offer.Offer; import com.company.assembleegameclient.appengine._02k; import _zo._8C_; import _qN_.Account; import _00g.WebAccount; public class _0E_v implements _j5 { private static const _Q_3:int = 2600; private var _0J_E_:Offers; private var _U_k:_aJ_; private var _Z_r:Offer; public function _002():void{ _02k._U_t(this._E_A_(), this._y6); } public function _U_t():Offers{ return (this._0J_E_); } public function get _Z_8():_aJ_{ return ((this._U_k = ((this._U_k) || (new _aJ_())))); } private function _y6(_arg1:_8C_):void{ this._0J_E_ = new Offers(XML(_arg1.data_)); this._Z_8.dispatch(); } private function _E_A_():String { switch (Account._get().gameNetwork()) { case WebAccount._000: default: return ("/credits"); }; } } }
Navigate to src>_qN_>Account and replace the entire thing with this:
Step 9:Code:package _qN_ { import _00g.WebAccount; import flash.display.Stage; import com.company.assembleegameclient.parameters.Parameters; import flash.display.Sprite; public class Account { private static var _N_7:Account = null; public static function load(_arg1:Stage, _arg2:Function):void { _N_7 = new WebAccount(); _N_7.internalLoad(_arg1, _arg2); } public static function _get():Account { if (_N_7 == null) { _N_7 = new WebAccount(); }; return (_N_7); } public function guid():String { return (null); } public function password():String { return (""); } public function secret():String { return (""); } public function credentials():Object { return (null); } public function isRegistered():Boolean { return (false); } public function modify(_arg1:String, _arg2:String, _arg3:String):void { } public function clear():void { Parameters._hk = true; } public function reportIntStat(_arg1:String, _arg2:int):void { } public function newAccountText():_9j { return (null); } public function newAccountManagement():Sprite { return (null); } public function showInGameRegister(_arg1:Stage):void { } public function cacheOffers():void { } public function showMoneyManagement(_arg1:Stage):void { } public function gameNetworkUserId():String { return (""); } public function gameNetwork():String { return (null); } public function playPlatform():String { return (null); } public function entrytag():String { return (null); } protected function internalLoad(_arg1:Stage, _arg2:Function):void { } } }
Navigate to src>_9u>_074 and replace the entire thing with this:
Step 10:Code:package _9u{ import _0_p._v; import _eZ_._08b; import _W_D_._B_d; import _aD_._09h; import _W_D_._0I_z; import _aD_._G_a; public class _074 implements _v { [Inject] public var _O_R_:_08b; [Inject] public var _0K_y:_B_d; public function _K_():void{ this._O_R_.map(_09h)._02g(this._085()); } private function _085():Class { switch (this._0K_y._R_K_()) { case _0I_z._nB_: case _0I_z._kj: default: return (_G_a); }; } } }
Click File->Save All then Build->Rebuild Project.
Steam and Kongregate are now officially eliminated from your client!
Removing Google Analytics:
Use AstroGrep to search for the string "GA.global()" throughout your source. Navigate to each file that AstroGrep lists here and manually remove or comment out any lines where "GA.global()" appears. There's at least 20+ of these that need to be deleted.
Removing all this garbage from your client will simply give it a smaller footprint, making it cleaner, and a bit more stable.
Please enjoy!
Cyb0r wit I?
And this affects gameplay how exactly?
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
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
It's a tutorial. None of them are "necessary". You can either take the 10 minutes to do it or not.
In the grand scheme of things it's a small optimization but it's an optimization nonetheless. If you don't care about all the GA requests and your client being tied to Steam and Kongregate still then this tutorial isn't for you.
Most people that care about their client will want to get this crap removed ASAP and they'll find this guide to be quite helpful.
And @Organized Chaos dissappeard again. Hmmmmmm...
i'm actually just a horny boy
[MPGH]Ahl (02-18-2015)
You think that it affects anything? Seriously?
Only reason I removed the checkers for Steam, Kongregate and pretty much all traces of Kabam and Google Analytics (commented out) was because I am picky.
I had no use for Steam or Kongregate and I didn't want any kabam shit around... It doesn't affect performance at all.
Google Analytics is instant and does not require any power at all... GA is actually is pretty neat thing to have as you can monitor how many people has done what on the server. If you know how to code the client you could link GA to all kinds of checks and new systems.
What I feel like all you might've done is compare the client I released with the client I had for my server and look at what was removed then made an assumption on why it was done.
Note: This does not affect performance and the "optimization" is non-existant... Nothing is affected by this system as GA isn't even being used to begin with because the GA is not linked to anyones account anymore so it just returns a null value when client boots and is never used again in the client afterwards.
I is pansexual furry and proud
Server Information:
Status: Confused
[MPGH]Ahl (02-18-2015)
1. This has nothing to do with your failed client.
2. This affects exactly what I said it does. Smaller footprint, cleaner client.
3. This is for people like me that don't want this needless crap installed in their client.
Are you fucking serious about wanting to use analytics on a RotMG private server? Lol kid, you need to come back down to reality. I refuse to argue with some kid less than half my age that doesn't know the first thing about life. So get a fucking grip.
"failed client" - If it's failed, why do you rip shit from it and try to take credit for it?
"Smaller footpint, Cleaner client" - It's still an obfuscated client... Removing a package or two won't change it so it's still not a "clean" client... It won't be until you deobfuscate everything in it
"people like me" - So annoying leechers?
Google Analytics is a very easy way to monitor the use of your private server. If you know how many users are on, about from what country and the times they are on. You can optimize your server location to where the majority of your user-base is located.
"less then half my age"... What are you? 5?
"doesn't know the first thing about life" - What exactly do you mean? Please... Elaborate...
I is pansexual furry and proud
Server Information:
Status: Confused
[MPGH]Ahl (02-18-2015)
i saw this shit coming. only snuffleaids could come back with something like this..
well if that's so why do you take his and travs work... don't see you talking shit to trav all the time. you're just a thickheaded swine that can't face that somebody can provide better content. RIP snuffleaids.
It's safe to assume so, since you don't do anything on your own and you try to take credit for things inside the "failed client"
Says the guy who's started pointless arguments with Kithio in the past just because you dislike him
You can't say you know anything about life if you think taking others' work and calling it your own isn't gonna make you look like a worthless dick who can't do anything on their own. Also, spitting out insults at Kithio every time you talk to him isn't gonna make you better than him, it's just gonna make you look more like a selfish prick, since you seem to base everything you do off of his work. You should probably get your morality checked before you say anything bad about anyone else.
Regardless whether or not this was based off the Seraphs' Dominion client, unless you actually make a unique, useful/enjoyable, and time-consuming feature, you're still one of the worst coders on this entire forum, especially if ranked by effort put into coding. Take in some life lessons, such as the fact that effort needs to be put in to accomplish your goals, and that whining gets you nothing.
Seraphs' Dominion Developer
Seraphs' Dominion Server ******
Seraphs' Dominion Client ******
Trav's Domain Server ******
Trav's Domain Client ******
Yay another war.
Since this will get lost like the other one...
When my fingers touch my nipples, it changes color. Just by touching.
i'm actually just a horny boy
it's funny because this guy chooses to make some pointless and typical "kid" trash talk instead of actually trying to come back with reason backed by evidence...
It's very evident of what Google Analytics does, but you have done nothing to prove that it actually has a significant negative effect on performance.
You should meet SorenOwl. You two have more alike. Oh wait, I forgot that you're his evil twin who erased his memories.