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 


Flying/teleportation
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Niko
Cheater
Reputation: 0

Joined: 28 Mar 2014
Posts: 33

PostPosted: Wed Jun 11, 2014 9:55 am    Post subject: Reply with quote

Geri wrote:
Niko wrote:
This fadd dword ptr [eax] is the only thing it lets me do. Anything else like fadd [eax],5 or fadd [eax],(float)5 says there is an error in that line. Could you add what you mean to the script and post it?



For float instructions, read this topic:

http://forum.cheatengine.org/viewtopic.php?p=5532514

(Or any other topic you may find. It is a common question and it was answered many times on the forum.)


Hey Geri.
Code:

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
alloc(whatever,100)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here

whatever:
dd (float)5

originalcode:
fadd dword ptr [whatever]
fstp dword ptr [eax+04]
fld dword ptr [ebx+08]

exit:
jmp returnhere

"AvP_DX11.exe"+13D20F:
jmp newmem
nop
returnhere:


 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"AvP_DX11.exe"+13D20F:
fstp dword ptr [eax+04]
fld dword ptr [ebx+08]
//Alt: db D9 58 04 D9 43 08


This is what I did with the Y axis, it crashed the game Very Happy . I don't know. Maybe I've found the wrong values. Is it normal for the coordinates to be constantly written on by the opcode? Or for the opcode to access so many addresses? Also if this thing regards collision, is there any way to just get that feature out of the way without affecting anything else in the game? The reason I think its the right thing is because I can only move either straight Z when I freeze X or straight X when I freeze Z. I also don't fall or stuff like that if I freeze Y, I can't go up when I freeze Y either. But maybe its possible that I'm only moving the map? I've tried this on other maps too. IT still had about the same effect.
Back to top
View user's profile Send private message
Rissorr
Master Cheater
Reputation: 3

Joined: 17 Sep 2013
Posts: 273
Location: Israel!

PostPosted: Wed Jun 11, 2014 10:23 am    Post subject: Reply with quote

Thanks Geri for the link that you posted before!!!!
VARY helpful!! Very Happy

P.S.
Niko wrote:

It crashed the game. Very Happy


In your code: alloc(whatever,100)
try: alloc(whatever,4)

also i downloaded the game and will try it by myself... your arcticle is too much interesting hehehe Question Exclamation Idea


Last edited by Rissorr on Wed Jun 11, 2014 10:30 am; edited 1 time in total
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Wed Jun 11, 2014 10:26 am    Post subject: Reply with quote

First you need to make sure that you have found the right values.

Then you should figure out the scales for the co-ordinates, eg 100 could be 100 cm in the game or 100 km.

If you have figured out the scale, you can guess how much do you want to add to the co-ordinates and then you need to look at the code, how frequently is it accessed (probably very frequently, like most physics related codes, maybe even thousands of times per second) and more importantly how many values are accessed by it. If a code is used for all the objects, then making a script that will change the values will obviously result in a crash or something nasty.


(Ah, the script itself is ok by the way, you have used the instruction correctly, that is not your problem.)

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Niko
Cheater
Reputation: 0

Joined: 28 Mar 2014
Posts: 33

PostPosted: Thu Jun 12, 2014 10:01 am    Post subject: Reply with quote

Geri wrote:
First you need to make sure that you have found the right values.

Then you should figure out the scales for the co-ordinates, eg 100 could be 100 cm in the game or 100 km.

If you have figured out the scale, you can guess how much do you want to add to the co-ordinates and then you need to look at the code, how frequently is it accessed (probably very frequently, like most physics related codes, maybe even thousands of times per second) and more importantly how many values are accessed by it. If a code is used for all the objects, then making a script that will change the values will obviously result in a crash or something nasty.


(Ah, the script itself is ok by the way, you have used the instruction correctly, that is not your problem.)


Yeah geri, it is most likely accessing above 10 values, maybe 20. and they are all different. Obv they are float. But different. Now I can't say how frequently it does indeed access them. But its very frequently. Like at least about 10 - 20 times per second. So its doing quite a thing. If I just nop it out it does something weird. First of all it makes weird sounds, I always take off my headset when I do this. Cuz srsly it can scare the shit out of me. 2. I can move trough objects and only in the axis direction that isn't frozen. 3. Idnk when exactly this happens, but I get in a grey place that I haven't even seen. I've fallen off the map and I've seen what its like, this isn't that. Maybe this writes to the coordinates of other players too. I guess what we should do is maybe... make this address writable? what I mean by that is make it so it isn't accessed as frequently, or so I can modify the value in some way without fucking with everything else that the code accesses? Even if I make a pointer, i can't change the value. Because it is always updated, constantly. Maybe find a pointer and do something with it in a script? P.S Geri, if you could install this game and have a look at it yourself it would be awesome. Maybe I'm missing out on mentioning something? This is all I can think of so far.

If you have this game on steam you can add me, anyone who wants could, here is a link:
http://steamcommunity.com/id/NikoTheBaws/

Maybe we can have a larger and/or quicker discussion there.
Back to top
View user's profile Send private message
Rissorr
Master Cheater
Reputation: 3

Joined: 17 Sep 2013
Posts: 273
Location: Israel!

PostPosted: Thu Jun 12, 2014 10:05 am    Post subject: Reply with quote

Geri, why in your code:

Code:
alloc(whatever,4)


why you not doing:

Code:

registersymbol(whatever)
label(whatever)
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Thu Jun 12, 2014 10:24 am    Post subject: Reply with quote

If it's too difficult to find a code that is accessing to your coordinates only, then try the pointer scanner instead.

(I will not install the game, because I don't have a 100TB HDD so I keep the games that I am playing then I delete them.)

@mixmax35
It's not needed to use registersymbol for this, you just need to allocate a few bytes to store the value or you can even store it in the newmem area.

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Niko
Cheater
Reputation: 0

Joined: 28 Mar 2014
Posts: 33

PostPosted: Thu Jun 12, 2014 10:30 am    Post subject: Reply with quote

Geri wrote:
If it's too difficult to find a code that is accessing to your coordinates only, then try the pointer scanner instead.

(I will not install the game, because I don't have a 100TB HDD so I keep the games that I am playing then I delete them.)

@mixmax35
It's not needed to use registersymbol for this, you just need to allocate a few bytes to store the value or you can even store it in the newmem area.


But even if I do the pointer, which would be relatively easy, how do I stop the game from constantly writing to it? Or maybe make a code that lets this code get accessed only a certain number of times? Like I said I can't actually edit the value cuz of how fast the game accesses it.
Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 112

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Thu Jun 12, 2014 10:57 am    Post subject: Reply with quote

If you have found the right value, it will not be overwritten (unless you play online, in which case the cords maybe stored on the server).
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
Rissorr
Master Cheater
Reputation: 3

Joined: 17 Sep 2013
Posts: 273
Location: Israel!

PostPosted: Thu Jun 12, 2014 3:17 pm    Post subject: Reply with quote

hehe

Geri wrote:

(I will not install the game, because I don't have a 100TB HDD so I keep the games that I am playing then I delete them.)


I too have only 500GB (only 20 are free, because the system need at least 5-10% free) but i got about 10 games... and i dont really care about the space, what i catually need is a new GTX780 Ti Mr. Green Mr. Green Mr. Green
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
Goto page Previous  1, 2
Page 2 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