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 pointer (abnormally)

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

Joined: 21 Sep 2018
Posts: 6

PostPosted: Fri Sep 21, 2018 1:20 am    Post subject: Cant find pointer (abnormally) Reply with quote

I created some lua script (count of shots) for training and first problem that i found that i cant find pointer.
I found address of value - 0B657100
The instruction looks like
Code:
movups [r9],xmm0
r9 = 0B657100  -  the same as primary address


So next im trying to search this address - no result
And pointer scan gives no result

Then i try figure out movups [r9],xmm0 address with break and trace (im not pro in this stage).
And it was different. r9 = 0B6BC2D0.
Then i try to search for this address and it gives me some dynamic address.
But when i try to add founded address as pointer it gives wrong value (must give value of count of shots(or not?) )
Im not sure mb there would be another offset?

Also when i shot, r9 adress in break and trace, changing some times.

This is lua script mb it will help u to help me )


Code:

getApplication().Title='LuaGame'

ShotCount = 0


form=createForm()
-- form.OnClose = function(sender) closeCE() return caFree end -- close script, use when compiling to .exe
form_centerScreen(form)
control_setSize(form,150,150)
control_setCaption(form,'Game')

button1=createButton(form)
control_setSize(button1,50,50)
control_setPosition(button1,20,80)
control_setCaption(button1,'Shot')

button2=createButton(form)
control_setSize(button2,50,50)
control_setPosition(button2,80,80)
control_setCaption(button2,'Re')

function Button1Click()
ShotCount = (ShotCount + 1)
control_setCaption(label1,ShotCount)
end
setMethodProperty(button1,'OnClick',Button1Click)

function Button2Click()
ShotCount = 0
control_setCaption(label1,ShotCount)
end
setMethodProperty(button2,'OnClick',Button2Click)

label1=createLabel(form)
control_setPosition(label1,70,30)
control_setCaption(label1,ShotCount)


local font1=label1.Font
local font2=button1.Font
local font3=button2.Font
font1.Size = 16
font2.Size = 14
font3.Size = 16

form.ShowInTaskBar = 'stAlways'
Back to top
View user's profile Send private message
Oklecgo
How do I cheat?
Reputation: 0

Joined: 21 Sep 2018
Posts: 6

PostPosted: Wed Sep 26, 2018 2:46 am    Post subject: Reply with quote

any advice?
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Wed Sep 26, 2018 4:34 am    Post subject: Reply with quote

It's probably a shared instruction. The pointer scanner just scans all possible paths, and you tend to need to change the settings a bit for each game; easiest is, big games you need a lot of levels, small games the default works well. You can generate some pointer maps then do a pointer scan to help with bigger games. Or you can learn some assembly and try a code injection, but I think you might want to look for a different instruction. And I think that address might just be some kind of copy, a shot counter being manipulated with an XMM registry doesn't make a lot of sense.
But learning to use a search engine, is really the best advise.

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

Joined: 21 Sep 2018
Posts: 6

PostPosted: Wed Sep 26, 2018 8:12 am    Post subject: Reply with quote

TheyCallMeTim13 wrote:


Pointer scan dosent work. I used to change settings in a different ways = 0 result.

All tutorials that i examined got no example like mine.

I wish somebody will use my script to fint that static address bcuz i realy tired breaking my head on that.
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Wed Sep 26, 2018 4:19 pm    Post subject: Reply with quote

Oklecgo wrote:
...

Pointer scan dosent work. I used to change settings in a different ways = 0 result.

All tutorials that i examined got no example like mine.

I wish somebody will use my script to fint that static address bcuz i realy tired breaking my head on that.

The pointer scanner works, you just have to set the structure size and depth big enough and scan for a valid address.

And you'll never really find a tutorial to do something this specific and uncommon. Really you'll need a few tutorials at lest, to do something like this.

And your script doesn't do anything close to finding a static address. You create a variable then a form and some buttons and increase the variable and set a non existing label's caption when one button is pressed, and the second button just zeros the variable and sets the non existing label's caption. But you never read or write to any memory in another process, or even have an address in your script.

At what point does the script find an address or do anything with an address?

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

Joined: 21 Sep 2018
Posts: 6

PostPosted: Wed Sep 26, 2018 6:49 pm    Post subject: Reply with quote

TheyCallMeTim13 wrote:

The pointer scanner works, you just have to set the structure size and depth big enough and scan for a valid address.

And you'll never really find a tutorial to do something this specific and uncommon. Really you'll need a few tutorials at lest, to do something like this.

And your script doesn't do anything close to finding a static address. You create a variable then a form and some buttons and increase the variable and set a non existing label's caption when one button is pressed, and the second button just zeros the variable and sets the non existing label's caption. But you never read or write to any memory in another process, or even have an address in your script.

At what point does the script find an address or do anything with an address?


Well i mean i did set the structure size and depth big enough too = 0 results.
Pointer scan works basically but not in my case.

Quote:
Really you'll need a few tutorials at lest, to do something like this.

I bet you didn`t try to use my script. Cuz if u did u wouldn`t say like this.
I did examined many tuts before start use CE also i completed all tuts in CE + 3 games.

Quote:
And your script doesn't do anything close to finding a static address.


My script not containe a code to find a static address. I never said it did.
My script is simple. I just create it for trainings. But joke is that i stuck in the begining.
Also i create the same script on AHK and i found static address easylly.

[/quote]
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Wed Sep 26, 2018 8:45 pm    Post subject: Reply with quote

Oklecgo wrote:
...
I bet you didn`t try to use my script. Cuz if u did u wouldn`t say like this...

I told exactly what your script dose.

Oklecgo wrote:
...
My script not containe a code to find a static address. I never said it did.

Yeah, you kinda did.
Oklecgo wrote:
...
I wish somebody will use my script to fint that static address...

It's the "use my script to [find] that static address" part. But with no address in the script and you still having not mentioned the game's name, I'm not sure how any one would be able to find the address for you.

Oklecgo wrote:
...
I just create it for trainings. But joke is that i stuck in the begining.
Also i create the same script on AHK and i found static address easylly...

That's great, but I still don't see what the address is even for. And it's hard to help with so little information. Plus I already told you to try a different instruction, and the whole "I think it's a copy" thing.

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

Joined: 21 Sep 2018
Posts: 6

PostPosted: Wed Sep 26, 2018 10:59 pm    Post subject: Reply with quote

TheyCallMeTim13
Ok there was misunderstandings.
My script is the game. Has two buttons. One for increase value another for reload.
I need the static address of this value.
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Thu Sep 27, 2018 4:48 am    Post subject: Reply with quote

Then learn about how Lua stores and deals with memory, so you can understand way this is a bad idea; I don't think you'll be able to find a static address with a variable in a Lua script. Then learn and write it in C++, that's the best advice I have for this.
_________________
Back to top
View user's profile Send private message Visit poster's website
Oklecgo
How do I cheat?
Reputation: 0

Joined: 21 Sep 2018
Posts: 6

PostPosted: Thu Sep 27, 2018 5:18 am    Post subject: Reply with quote

TheyCallMeTim13 wrote:
Then learn about how Lua stores and deals with memory, so you can understand way this is a bad idea; I don't think you'll be able to find a static address with a variable in a Lua script. Then learn and write it in C++, that's the best advice I have for this.


Ok thank you. Now i see its all because of Lua.
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
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