Monday 19 May 2014

Eternity Warriors 3 Android Assembly-CSharp.dll 0.997.0.0 C# source codes

Eternity Warriors 3 Android Assembly-CSharp.dll 0.997.0.0 C# source codes

Hello guys

I decided to share AnonThanatos's code here because i don't know how to change the codes with NET reflector.

Install NET Reflector and Reflexil and try to find out how to edit the C# codes.

If you can edit it. Please tell me how to edit codes!

Requirements:
1.To know C# programming language
2. Some basic knowledge of Unity3d Game Engine
3. .NET Reflector 8.x
4.
.NET Reflector 8.x plugin reflexil

How to take out .dll file from .OBB file
Connect your Android device to your computer
Navigate to /Sdcard/Android/obb/com.glu.ewarriors3.obb/and copy to your computer
Open 'main.2112.com.glu.ewarriors3.obb' file with 7-zip
[Image: t1.png]
Take out the file 'Assembly-CSharp.dll' from OBB and place it on your desktop or anywhere
[Image: t2.png]

Done and open dll file with NET Reflector

How to install .NET Reflector:
Fake the infomation (email, phone, blah blah) and click "DOWNLOAD TRIAL"
Open installation file and follow the instruction
Done

How to install Reflexil add-in:
Go to: http://reflexil.net/and download reflexil
Extract 'reflexil.1.7.AIO.bin.zip' using winrar and put them in safe location
Click 'Tools'
Select 'Add-Ins'
[Image: 2d10m1f.png]
Click on '+' button
[Image: 317efz6.png]
Go to the location where you placed reflexil files and select 'Reflexil.Reflector.AIO.dll'
To activate Reflexil. Click 'Tools' and select 'Reflexil v1.7'
Done!

How to search class files:
Click on 'Search Object Browser (Ctrl-F)' and search for functions
Eg: EnergyCost, EnergyScore, CoolDownTime, etc...
 http://imagizer.imageshack.us/a/img838/6060/0y3c.png

C# Source codes:
NOTE: SOME CODES ARE CHANGED. YOU MAY NOT BE ABLE TO FIND SOME FUCTIONS
Don't put (CHANGE TO) thing inside. (CHANGE TO) means change the code in that line

Example:
Change this code
public int EnergyCost
{
    get
    {
        return this._skill._attackConfigs[0].EnergyCost;
    }
}

To
public int EnergyCost
{
    get
    {
        return 0x270f;
    }
}

Now try to find out how to change code and tell me when you found out. Thanks to AnonThanatos for sharing this C# codes

FILE: ActionController.cs

public int Energy
{
get
{
(CHANGE TO) return 0x270f;
}

FILE: BattleSummary.cs

public int EnergyScore
{
get
{
(CHANGE TO) return 0x270f;
}


FILE EWAttackConfig.cs

public int EnergyCost
{
get
{
(CHANGE TO) return 0;
}


FILE EWPassiveSkillConfig.cs

public float CoolDownTime
{
get
{
(CHANGE TO) return 0f;
}

public bool SkillIsCD
{
get
{
(CHANGE HERE TO) return (this._coolDownTime < 0.1f);
}


FILE EWSkillConfig.cs

public float CoolDownTime
{
get
{
(CHANGE TO) return 0f;
}

public int EnergyCost
{
get
{
(CHANGE TO) return 0;
}

public bool SkillIsCD
{
get
{
(CHANGE TO) return (this._coolDownTime < 0.1f);
}


FILE ItemInventory.cs

attributes2.HitValues += num2;
attributes2.GSValues += num2;
}
else
{
(CHANGE TO) attributes2.HitValues *= 5000f + num;
(CHANGE TO) attributes2.GSValues *= 5000f + num;
}


FILE LevelManager.cs

Hashtable hashtable2 = new Hashtable();
(CHANGE TO) float num = 5000f;
foreach (int num2 in PlayerInfoManager.Singleton.AccountProfile.CurPlayerProfile._equipmentInfos)
{


FILE LootAgent.cs

string format = Localization.instance.Get("IDS_GET_XP");
float num = ObjectManager.Instance.GetMyActionController().Data._exp_add;
(CHANGE TO) int num2 = (int) (this._owner.Data.LootXp * (6000f + num));
string str2 = string.Format(format, num2);


FILE MoveAgent.cs

public float CurrentSpeed
{
get
{
(CHANGE TO) return 15f;
}


Those are functions you can change.
Several other gamefunctions can be hacked this is just a small portion of whats possible to edit in EW3.
Its not hard modding this game.


No comments:

Post a Comment