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 


How to manipulate the Y axis

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
kokkinogenis
Advanced Cheater
Reputation: 0

Joined: 10 Sep 2015
Posts: 82
Location: Greece

PostPosted: Sun Jan 03, 2016 4:58 am    Post subject: How to manipulate the Y axis Reply with quote

Hello ! I found a game that i actually can find the Y axis, but i don't know how to "manipulate" it, so in every game, can i change. Any ideas ?? Thanks !!
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4697

PostPosted: Sun Jan 03, 2016 8:42 am    Post subject: Reply with quote

kokkinogenis wrote:
how to "manipulate" it, so in every game, can i change.

I don't understand. If you want to change it, then just change it. If changing it has no effect on the game, then what you found probably isn't the right value.

If you're wondering how to get it to persist between game restarts, then either write a script that gets the address for you, or try to find a static pointer to it (topic)

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
kokkinogenis
Advanced Cheater
Reputation: 0

Joined: 10 Sep 2015
Posts: 82
Location: Greece

PostPosted: Sun Jan 03, 2016 10:40 am    Post subject: Reply with quote

No, i found the address. I am 1000% sure. Changed my Y axis and i was flying Razz

Yes, i wanted to make the pointer but i ve got a problem. Ok. I did these steps:

1. I scanned for the Y axis and i found it.
2. I clicked right click and "find what accesses this address".
3. I jump some times, in order to write to the address something. I found 5 addresses. 4 addresses that they was running no mater what, and 1 address that it was increased by 24 every time that i was jumped.
4. I clicked "stop" and "show dissasembler".
5. I checked that i was pointed in the right address.
6. I did an AOB injection code, and i customize it like rydian said. So the code was:
Code:


[ENABLE]

aobscanmodule(INJECT,webplayer_win.dll,F2 0F 10 87 00 01 00 00) // should be unique
alloc(newmem,$1000)

label(code)
label(return)

globalalloc(_yaxis,4)

newmem:

code:
  mov [_yaxis],edi
  movsd xmm0,[edi+00000100]
  jmp return

INJECT:
  jmp code
  nop
  nop
  nop
return:
registersymbol(INJECT)

[DISABLE]

INJECT:
  db F2 0F 10 87 00 01 00 00

unregistersymbol(INJECT)
dealloc(newmem)


I saved it(not run it). I enabled it and i clicked on the button: "add address manually" and i put this:
Code:

[_yaxis]+100


and i checked that is a float value(because this is float of course).

7. I did all these, but the address, wasn't this i wanted.

The thing is, that thought, that if i would find the bytes of the address of the Y axis, i could make an "array if bytes" scan. But i didn't got any result when i did this. Please some help. Sad
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4697

PostPosted: Sun Jan 03, 2016 11:12 am    Post subject: Reply with quote

movsd is used for moving doubles. Not floats. Try changing the type to double and see if that helps.

Also you need to make this section of ASM run in order for it to copy the address of the structure into _yaxis, so jump at least once.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
kokkinogenis
Advanced Cheater
Reputation: 0

Joined: 10 Sep 2015
Posts: 82
Location: Greece

PostPosted: Sun Jan 03, 2016 1:12 pm    Post subject: Reply with quote

ParkourPenguin wrote:
movsd is used for moving doubles. Not floats. Try changing the type to double and see if that helps.

Also you need to make this section of ASM run in order for it to copy the address of the structure into _yaxis, so jump at least once.


Ok ! I did it ! I found it as double !! Thank you very much !! Smile

What you mean to make this section of ASM rin in order ??
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4697

PostPosted: Sun Jan 03, 2016 1:24 pm    Post subject: Reply with quote

If the instruction you hooked is never run, then your code will never be run, and _yaxis will always be 0 until it's run at least once.
This shouldn't be a problem for most instructions, however, so don't worry about it.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
kokkinogenis
Advanced Cheater
Reputation: 0

Joined: 10 Sep 2015
Posts: 82
Location: Greece

PostPosted: Mon Jan 04, 2016 2:09 am    Post subject: Reply with quote

Αααα ok then. One more question though. There is GOOD a tutorial on how i can make with the Yaxis an "moon jump"??
Back to top
View user's profile Send private message
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