Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Hacking Unity based game on browser

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
rujohn
How do I cheat?
Reputation: 0

Joined: 16 Jul 2014
Posts: 5

PostPosted: Wed Jul 16, 2014 5:02 pm    Post subject: Hacking Unity based game on browser Reply with quote

Hi,
I'm looking for a way to get the address of specific value.
As you know, since it's browser;unity game, it's impossible to find constants pointers.

I've thought of those solutions:
- Parsing pixels that shown in the game to the value and scan it automatically.
- Trying to get the address by hook one of the browser's functions.

I would be happy to hear about more solutions.
Back to top
View user's profile Send private message
thenewcomer
Newbie cheater
Reputation: 0

Joined: 09 Mar 2013
Posts: 22
Location: Behind you

PostPosted: Sat Jul 19, 2014 7:59 pm    Post subject: Reply with quote

if you know about hacking flash, then you should know most people do it by editing the swf code via Array of Bytes (aob).

you can do the same thing with unity, just dump the CSharp DLL from memory, decompile it, and modify the IL codes in cheatengine via aob's

_________________
-TNC
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25288
Location: The netherlands

PostPosted: Sun Jul 20, 2014 3:28 am    Post subject: Reply with quote

Try activating the mono features in ce 6.4
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
rujohn
How do I cheat?
Reputation: 0

Joined: 16 Jul 2014
Posts: 5

PostPosted: Mon Jul 21, 2014 3:16 pm    Post subject: Reply with quote

thenewcomer wrote:
if you know about hacking flash, then you should know most people do it by editing the swf code via Array of Bytes (aob).

you can do the same thing with unity, just dump the CSharp DLL from memory, decompile it, and modify the IL codes in cheatengine via aob's

I've never wrote trainer to flash game. what DLL are you talking about?


Dark Byte wrote:
Try activating the mono features in ce 6.4

I activated it. It supposed to show me the names of the functions? If yes, which module's functions?
Back to top
View user's profile Send private message
661089799107
Expert Cheater
Reputation: 3

Joined: 25 Jan 2009
Posts: 186

PostPosted: Mon Jul 21, 2014 3:37 pm    Post subject: Reply with quote

If there is a downloadable version of the unity web player game you'll see a file called 'Assembly-CSharp.dll'. Which can be decompiled back into C#, and contains (nearly?) all the game specific code.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25288
Location: The netherlands

PostPosted: Mon Jul 21, 2014 3:42 pm    Post subject: Reply with quote

Dark Byte wrote:
Try activating the mono features in ce 6.4

I activated it. It supposed to show me the names of the functions? If yes, which module's functions?[/quote]
Yes, it shows all mono modules. you can also prejit those functions and edit them instantly instead of waiting for the first exec (e.g. the routine to kill the player)

Tip, check dissect

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Redouane
Master Cheater
Reputation: 3

Joined: 05 Sep 2013
Posts: 363
Location: Algeria

PostPosted: Mon Jul 21, 2014 4:01 pm    Post subject: Reply with quote

661089799107 wrote:
If there is a downloadable version of the unity web player game you'll see a file called 'Assembly-CSharp.dll'. Which can be decompiled back into C#, and contains (nearly?) all the game specific code.


Do you know any decompiler for C# dlls ?
(There are many for flash (swf files).)
Back to top
View user's profile Send private message
661089799107
Expert Cheater
Reputation: 3

Joined: 25 Jan 2009
Posts: 186

PostPosted: Mon Jul 21, 2014 4:01 pm    Post subject: Reply with quote

.NET reflector

reflexi plug in to modify and save changes
Back to top
View user's profile Send private message
thenewcomer
Newbie cheater
Reputation: 0

Joined: 09 Mar 2013
Posts: 22
Location: Behind you

PostPosted: Mon Jul 21, 2014 8:38 pm    Post subject: Reply with quote

Redone wrote:
661089799107 wrote:
If there is a downloadable version of the unity web player game you'll see a file called 'Assembly-CSharp.dll'. Which can be decompiled back into C#, and contains (nearly?) all the game specific code.


Do you know any decompiler for C# dlls ?
(There are many for flash (swf files).)


the first two i can remember off the top of my head are redgate's .net reflector, and ILDASM. redgates is either pay for new or free for outdated, ildasm is free all the way around

_________________
-TNC
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8517
Location: 127.0.0.1

PostPosted: Tue Jul 22, 2014 2:53 am    Post subject: Reply with quote

ILSpy is the newer decompiler that was aimed to replace Reflector after the developer sold the source / project to RedGate and they started charging for it.

There is also JetBeans dotPeek which works for some binaries that ILSpy and other decompilers have issues with.

All have their ups and downs. ILSpy is your best bet since its open source and you can alter it if need be.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
epichack
Cheater
Ban
Reputation: 1

Joined: 11 Sep 2015
Posts: 33

PostPosted: Sat Sep 19, 2020 5:15 pm    Post subject: Reply with quote

Redouane wrote:
661089799107 wrote:
If there is a downloadable version of the unity web player game you'll see a file called 'Assembly-CSharp.dll'. Which can be decompiled back into C#, and contains (nearly?) all the game specific code.


Do you know any decompiler for C# dlls ?


C# online decompiler also handles DLLs.
Back to top
View user's profile Send private message Visit poster's website
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8517
Location: 127.0.0.1

PostPosted: Sun Sep 20, 2020 11:02 pm    Post subject: Reply with quote

This topic is 6 years old, please be mindful before bumping super old posts.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites