[TUTORIAL]How to Remove Steam, Kongregate and Google Analytics From the AS3 Client
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:
Navigate to src>_qN_>Account and replace the entire thing with this:
Step 9:
Navigate to src>_9u>_074 and replace the entire thing with this:
Step 10:
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?
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:
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:
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:
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?
