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 


Cant find coordinates (X,Y) in singleplayer 2D game on Unity
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
ThisIsMyUserName
Newbie cheater
Reputation: 0

Joined: 03 Jun 2016
Posts: 12

PostPosted: Fri Jun 03, 2016 3:50 pm    Post subject: Cant find coordinates (X,Y) in singleplayer 2D game on Unity Reply with quote

For first i bind buttons for scan increased value and decreased values.

I start with "Unknown initial value". Move right and press scan increased value, after move left and scan decreased ... after many attempts i not found something looks like X coordinate ... i scan in 4 bytes.

store . steampowered . com / app / 454100/
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Fri Jun 03, 2016 7:02 pm    Post subject: Reply with quote

Use float instead.

Unless the game is grid-based, you're not likely to ever have an integer coordinate.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sat Jun 04, 2016 5:11 am    Post subject: Reply with quote

Since it's a 2D game, I wouldn't rule much out. I've seen 2 byte coordinates before.

Also, moving right may not increase your value. Especially for 2D games, the values may be inverted and/or be relative to a 0 value base line.
Back to top
View user's profile Send private message
Cake-san
Grandmaster Cheater
Reputation: 8

Joined: 18 Dec 2014
Posts: 541
Location: Semenanjung

PostPosted: Sat Jun 04, 2016 6:39 am    Post subject: Reply with quote

I would use dissect mono if I'm you.

Explore the Assembly-Csharp and find the player base address by jit-ing and seeking the right method/instruction. Rolling Eyes

But, not all Unity game give good result because some of them have anti-***
implement in it.

_________________
...


Last edited by Cake-san on Sat Jun 04, 2016 6:40 am; edited 1 time in total
Back to top
View user's profile Send private message
ThisIsMyUserName
Newbie cheater
Reputation: 0

Joined: 03 Jun 2016
Posts: 12

PostPosted: Sat Jun 04, 2016 6:40 am    Post subject: Reply with quote

Can you help me if i send free version? ) But now i try with float, 2 bytes and invert.


---------------------



I check float and 2 bytes, but nothing ...

@Cake-san what do you mean )
Back to top
View user's profile Send private message
Cake-san
Grandmaster Cheater
Reputation: 8

Joined: 18 Dec 2014
Posts: 541
Location: Semenanjung

PostPosted: Sat Jun 04, 2016 10:04 am    Post subject: Reply with quote

So, I tried the demo and it seems that I can't find the coordinate as well (found the display value,though) Rolling Eyes

But ,here 2 script that I made (easy,meh)

Infinite Jump script:
Code:

[ENABLE]
aobscan(inj_djump,C6 47 31 01 D9 47 1C)
inj_djump+3:
db 00
registersymbol(inj_djump)
[DISABLE]
inj_djump+3:
db 01
unregistersymbol(inj_djump)

invincible?
Code:

[ENABLE]
aobscan(inj_oncdamage,2B C8 B8 * * * * 89 08 C9 C3)
inj_oncdamage+7:
db 90 90
registersymbol(inj_oncdamage)

aobscan(inj_bdamage,2B C8 B8 * * * * 89 08 E9)
inj_bdamage+7:
db 90 90
inj_bdamage+41:
db 90 90
registersymbol(inj_bdamage)
[DISABLE]
inj_oncdamage+7:
db 89 08
unregistersymbol(inj_oncdamage)

inj_bdamage+7:
db 89 08
inj_bdamage+41:
db 89 08
unregistersymbol(inj_bdamage)

other version of invincible?(function the same)
Code:

[ENABLE]
aobscan(inj_hp1,7F 17 C6 47 1C 00)
inj_hp1:
db EB
registersymbol(inj_hp1)
aobscan(inj_hp2,7F 26 8B 45 08 0F B6 40 18)
inj_hp2:
db EB
registersymbol(inj_hp2)
[DISABLE]
inj_hp1:
db 7f
unregistersymbol(inj_hp1)
inj_hp2:
db 7f
unregistersymbol(inj_hp2)

Don't know if it will work for full ver. Laughing

_________________
...
Back to top
View user's profile Send private message
ThisIsMyUserName
Newbie cheater
Reputation: 0

Joined: 03 Jun 2016
Posts: 12

PostPosted: Sun Jun 05, 2016 4:45 am    Post subject: Reply with quote

Ok, now 2 questions Very Happy

1) How i can add this script (any lesson)

2) How i can like messages )


-------------

Ty with jump all ok, but with second something wrong ...


Last edited by ThisIsMyUserName on Sun Jun 05, 2016 5:33 am; edited 1 time in total
Back to top
View user's profile Send private message
Cake-san
Grandmaster Cheater
Reputation: 8

Joined: 18 Dec 2014
Posts: 541
Location: Semenanjung

PostPosted: Sun Jun 05, 2016 5:30 am    Post subject: Reply with quote

ThisIsMyUserName wrote:

1) How i can add this script (any lesson)

Open CE (Cheat Engine) -> copy the green/coloured script -> Ctrl+Alt+A on CE -> paste the script in AA(Auto assemble) windows -> File -> Assign to current cheat table.
ThisIsMyUserName wrote:

2) How i can like messages )

There're no "like/liking" system/function on this forum but, it has giving reputation function. Rolling Eyes

_________________
...
Back to top
View user's profile Send private message
ThisIsMyUserName
Newbie cheater
Reputation: 0

Joined: 03 Jun 2016
Posts: 12

PostPosted: Sun Jun 05, 2016 5:38 am    Post subject: Reply with quote

And how give rep? Very Happy

What can change in invincible? I think any value changed ...

----------------------------

Any lessons how you did this scripts? )

------------------------------

I can give you key for full version )
Back to top
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Sun Jun 05, 2016 4:48 pm    Post subject: Reply with quote

Where did you find the demo version of dungeon escape? I would like to take a look
Back to top
View user's profile Send private message
ThisIsMyUserName
Newbie cheater
Reputation: 0

Joined: 03 Jun 2016
Posts: 12

PostPosted: Mon Jun 06, 2016 2:37 am    Post subject: Reply with quote

small-games . info / ?go=game&c=2&i=20523 you can get not full version here, if you know russian )

"Скачать с TurboBit"
Back to top
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Mon Jun 06, 2016 3:10 pm    Post subject: Reply with quote

To find the X and Y coordinates, simply search for float, as you move right, it increases, as you move left it decreases

There isnt a mono function specifically for them, but this will give you the X and Y value:

AOB for the X and Y is:
Code:
8B 58 30 8B 78 2C


You need to make sure writable is a solid square to find the memory location.
Code:

8B 58 30 - mov ebx,[eax+30] //I'm Y
8B 78 2C - mov edi,[eax+2C] //I'm X



Dungeon Escape.CT
 Description:

Download
 Filename:  Dungeon Escape.CT
 Filesize:  4.4 KB
 Downloaded:  692 Time(s)

Back to top
View user's profile Send private message
ThisIsMyUserName
Newbie cheater
Reputation: 0

Joined: 03 Jun 2016
Posts: 12

PostPosted: Wed Jun 08, 2016 12:03 pm    Post subject: Reply with quote

But when i search float i get nothing )

How i can search for this code? (i stuped in CE)

Thanks for table, but X/Y dont work.
Back to top
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Wed Jun 08, 2016 5:12 pm    Post subject: Reply with quote

It is possible, but not likely, that they changed the operation of the game. While the code most likely has changes, the core concepts should be the same. I highly recommend downloading the demo that we used to provide the tables, and attempting to recreate our efforts. If you arent successful in the demo, we could explain what you are doing wrong. If you are successful in the demo and cant do it in the current steam version then that would mean something was changed.
Back to top
View user's profile Send private message
ThisIsMyUserName
Newbie cheater
Reputation: 0

Joined: 03 Jun 2016
Posts: 12

PostPosted: Thu Jun 09, 2016 1:10 pm    Post subject: Reply with quote

i mean, how i can use 8B 58 30 8B 78 2C code ) Where search ) And i can give 1 key for full version and all be ok ))

---

Where all? )

---

Ok, but this key for full steam game (WITH CARDS!!!1!11 Very Happy) i can give for free, but if you help with hack )

---

Common ...


Last edited by ThisIsMyUserName on Wed Jun 15, 2016 2:20 am; edited 3 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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