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 


[HELP] Teleport script !

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

Joined: 11 Aug 2014
Posts: 27

PostPosted: Tue Aug 16, 2016 7:52 am    Post subject: [HELP] Teleport script ! Reply with quote

Hi! i want to make a teleport script for " Grand theft auto 3 " ,i have the coordinates (picture) but i don't know how to (save/load) handle this type of address.
i'm a little noob Rolling Eyes

Thanks in advance for your help !!!



Capture.png
 Description:
 Filesize:  29.44 KB
 Viewed:  12721 Time(s)

Capture.png


Back to top
View user's profile Send private message
rog9001
Expert Cheater
Reputation: 2

Joined: 22 Dec 2015
Posts: 214
Location: Jupiter

PostPosted: Tue Aug 16, 2016 8:39 am    Post subject: Reply with quote

well its not that hard basically what you can do is create a injection at the 3 "fld" instructions
Code:

fld dword ptr [ebp+34],

fld dword ptr [ebp+38],

fld dword ptr [ebp+3C]


and then simply write something like this:

Code:


//Code Injection

[ENABLE]
blah blah blah
alloc(newmem,1000)

newmem:

code:
mov [ebp+34],(float)31.4709
fld dword ptr [ebp+34]
fadd dword ptr [esp+04]
jmp return

gta3.exe+9FA20
jmp code
nop
nop
return:

[DISABLE]
dealloc(newmem)
gta3.exe+9FA20:
fld dword ptr [ebp+34]
fadd dword ptr [esp+04]


also find out what addresses access the "fstp" instruction and see if its only your coordinates and not something else.

If its only the coordinates then you could try injecting right at the 3 "fstp" instruction and write the same example line as above (mov [ebp+34],(float)31.4709). It would be nice to know what value type are your coordinates because if they are "float" then use the example line as it is (obviously the value can be any) but if they are "double" then you will have to write the same thing but instead of (float)31.4709 it would be (double)31.4709.

Well this is how I deal with these instructions and it works for me all the time. But ask around maybe people know a better way to deal with these instructions.


Last edited by rog9001 on Tue Aug 16, 2016 10:05 am; edited 1 time in total
Back to top
View user's profile Send private message
jeck00119
Cheater
Reputation: 0

Joined: 11 Aug 2014
Posts: 27

PostPosted: Tue Aug 16, 2016 9:51 am    Post subject: Reply with quote

Thanks alot for your help! But when I execute the scripts the game crash , maybe i forget something.


Capture1.PNG
 Description:
 Filesize:  76.88 KB
 Viewed:  12691 Time(s)

Capture1.PNG


Back to top
View user's profile Send private message
rog9001
Expert Cheater
Reputation: 2

Joined: 22 Dec 2015
Posts: 214
Location: Jupiter

PostPosted: Tue Aug 16, 2016 10:06 am    Post subject: This post has 1 review(s) Reply with quote

I edited the last comment.

If you want I could get GTA 3 and try to make it and then send you a CT with the scripts.

NOTE: I SAID SOMETHING INCORRECT. MAKE 3 INJECTIONS AT THE FSTP INSTRUCTIONS AND THEN REPLACE FSTP WITH MOV SO INSTEAD OF "fstp dword ptr [ebp+34]" YOU WOULD HAVE "mov [ebp+34],(float or double)2.09"

I am in a rush because I have to leave really soon. xD


Last edited by rog9001 on Tue Aug 16, 2016 10:18 am; edited 2 times in total
Back to top
View user's profile Send private message
jeck00119
Cheater
Reputation: 0

Joined: 11 Aug 2014
Posts: 27

PostPosted: Tue Aug 16, 2016 10:17 am    Post subject: Reply with quote

+ REP Thanks alot for your help,Sir ! If you don't mind, I'd like. Very Happy
Back to top
View user's profile Send private message
rog9001
Expert Cheater
Reputation: 2

Joined: 22 Dec 2015
Posts: 214
Location: Jupiter

PostPosted: Tue Aug 16, 2016 10:20 am    Post subject: Reply with quote

jeck00119 wrote:
+ REP Thanks alot for your help,Sir ! If you don't mind, I'd like. Very Happy


where did you get the game at? was it steam? if so then I will have to look for a free version because I don't have a lot of money right now to be spending it on games.
Back to top
View user's profile Send private message
jeck00119
Cheater
Reputation: 0

Joined: 11 Aug 2014
Posts: 27

PostPosted: Tue Aug 16, 2016 10:23 am    Post subject: Reply with quote

No problem, thank you again for your help !!! Very Happy

EDIT: it's cracked,if you want i will send you a link
Back to top
View user's profile Send private message
rog9001
Expert Cheater
Reputation: 2

Joined: 22 Dec 2015
Posts: 214
Location: Jupiter

PostPosted: Tue Aug 16, 2016 10:28 am    Post subject: Reply with quote

jeck00119 wrote:
No problem, thank you again for your help !!! Very Happy

EDIT: it's cracked,if you want i will send you a link


yes that would be great Smile
Back to top
View user's profile Send private message
rog9001
Expert Cheater
Reputation: 2

Joined: 22 Dec 2015
Posts: 214
Location: Jupiter

PostPosted: Tue Aug 16, 2016 11:11 am    Post subject: Reply with quote

Here are the simple scripts. Hope you like them xD

Note: I input random values. input the ones you want.

Y = Up, Down;

X = Left, Right;

Z = Forwards, Backwards.



gta3 coordinates.CT
 Description:

Download
 Filename:  gta3 coordinates.CT
 Filesize:  1.86 KB
 Downloaded:  1272 Time(s)

Back to top
View user's profile Send private message
jeck00119
Cheater
Reputation: 0

Joined: 11 Aug 2014
Posts: 27

PostPosted: Tue Aug 16, 2016 11:28 am    Post subject: Reply with quote

rog9001 wrote:
Here are the simple scripts. Hope you like them xD

Note: I input random values. input the ones you want.

Y = Up, Down;

X = Left, Right;

Z = Forwards, Backwards.


Thanks alot for your help,Sir ! Works like a charm! Very Happy
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