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 


Unity Game Hacking

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

Joined: 20 May 2014
Posts: 4

PostPosted: Tue May 20, 2014 6:31 pm    Post subject: Unity Game Hacking Reply with quote

Ok, so I have been playing this multiplayer Unity Game, and it is still in the BETA stage, so even though it is multiplayer, almost everything is client sided. Maybe you could help me figure out a few things:

1. Some of the values in this seem to change where they are stored in the memory EVERY time they update. If I pause the game and scan for the value, I can find it, but as soon as I resume, the value in my code list changes to ??. Has anyone seen this before and know how I can stop it? It is a browser based game so I can not create pointers.

2. You can create a server, but the server name is limited to 13 characters. I have seen seen a few servers that have more than 13 characters in them, however, so there must be a way to hack it. Anyone know how I can do this? I tried searching for the text that I type in the name text box and I can find it, but nothing happens when I change it.

3. I was in one game where the server host (called the Master Client in this game) was spawning in mobs that shouldn't have been in that world. There is no console or any kind of server commands for this game, so idk how he was able to do it. Can this even be done with cheat engine, or would this require a different type of hack program?
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue May 20, 2014 8:20 pm    Post subject: Reply with quote

Unity games almost all use a backend scripting engine in .NET (C#) which can be exploited easily. You can overwrite the DLL and literally take control of the game.

1. This is called DMA. Things will shift as the state of the object changes and becomes disposed / recreated. There are various tutorials explaining DMA and how to 'defeat' it on these forums, just look around.

2. Locate the function(s) that make use of the server name. One of them will land up having the restriction in it that you can patch.

3. As mentioned in the first part of my post, they probably decompiled and overwrote the script engine assembly that the unity framework uses for the game. It is an easy way to obtain access to all kinds of data in the game.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
TheDoctorWho
How do I cheat?
Reputation: 0

Joined: 20 May 2014
Posts: 4

PostPosted: Tue May 20, 2014 10:50 pm    Post subject: Reply with quote

Ok I have been looking into the DMA tutorials. It looks like the way to defeat the DMA is to find the pointers, but it also seems that web based games often do not have pointers. Is there another way around this that I am missing? I was able to find the function that controls my power up and NOP the cooldown so it remains 0 for the whole session, but the second I close or refresh the browser it resets and I need to track the value down again.

Also I am pretty new to this, so please try to explain as simple as possible =/
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed May 21, 2014 1:15 am    Post subject: Reply with quote

You can scan for AoB (array of bytes) for functions that you know of that reference any of the objects you are looking for.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Wed May 21, 2014 4:25 am    Post subject: Reply with quote

Unity pointers are static.

Find base module + offset to pointer (note that they won't work in other PCs).
Or AoB scan the functions.

I could help you much more, but since you've told us its multiplayer game, I prefer not to.

Unless it does not have PvP (only PvE).

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
TheDoctorWho
How do I cheat?
Reputation: 0

Joined: 20 May 2014
Posts: 4

PostPosted: Wed May 21, 2014 7:29 am    Post subject: Reply with quote

I have been running a pointer scan on the game for the past 20 minutes and it is still going, so I'm hoping it will give me something soon.

Also, the game (right now) does not have working PvP. There are waves of AI that come and all the players have to defeat them. After one side is wiped out, the game restarts. Not much to it yet. They are working on a PvP game mode but it is horribly broken right now.

EDIT: Also, is there any way to separate the game from the rest of the webpage so it is easier to scan? Whenever I run scans I get data from all the other elements on the page that are not the game.


Last edited by TheDoctorWho on Wed May 21, 2014 8:04 am; edited 2 times in total
Back to top
View user's profile Send private message
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Wed May 21, 2014 7:33 am    Post subject: Reply with quote

PM me with game name.
I'll send you some cheats for PvE.

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
TheDoctorWho
How do I cheat?
Reputation: 0

Joined: 20 May 2014
Posts: 4

PostPosted: Wed May 21, 2014 7:45 am    Post subject: Reply with quote

Apparently I am too new on the forums and can not PM someone unless they PM me first Sad Send me a PM Very Happy
Back to top
View user's profile Send private message
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Wed May 21, 2014 8:11 am    Post subject: Reply with quote

sent
_________________
I'm rusty and getting older, help me re-learn lua.
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