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 


Many questions:answering this will help many newbies like me

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

Joined: 11 Mar 2016
Posts: 231

PostPosted: Thu Aug 04, 2016 5:47 am    Post subject: Many questions:answering this will help many newbies like me Reply with quote

Help me to understand this please .
In the picture ce Q : i know 268 is the pointer offset of my X co ordinates



*Is there any method to get the pointer without pointer scanning of my player ?
**Is there any method to make this elua script read all the players co ordinates ( auto guessing of another players pointers ) :
look → this code


Code:
function enemyTeleportHotkeyFunc()
  local x=readInteger("[[[[[mygame.exe+00773B44]+324]+1f0]+77c]+620]+6e4")
  local y=readInteger("[[[[[mygame.exe+00773B44]+324]+2d0]+2cc]+520]+708")


if x==0 then

  local x=readInteger("[[[[[mygame.exe+00773B44]+324]+1f0]+77c]+620]+6e4")
  local y=readInteger("[[[[[mygame.exe+00773B44]+324]+2d0]+2cc]+520]+708")



  elseif y==0 then

  local x=readInteger("[[[[[mygame.exe+00773B44]+324]+1f0]+77c]+620]+6e4")
  local y=readInteger("[[[[[mygame.exe+00773B44]+324]+2d0]+2cc]+520]+708")






elseif x~=nil then

    writeInteger("[mygame.exe+00773B54]+268",x)

    writeInteger("[mygame.exe+00773B54]+26C",y)


    elseif y~=nil then

    writeInteger("[mygame.exe+00773B54]+268",x)

    writeInteger("[mygame.exe+00773B54]+26C",y)


 end
  end

if enemyTeleportHotkey~=nil then enemyTeleportHotkey.destroy(); enemyTeleportHotkey=nil end
enemyTeleportHotkey = createHotkey(enemyTeleportHotkeyFunc,VK_LBUTTON)
enemyTeleportHotkey.DelayBetweenActivate = 1





this is my player co ordinates pointer


Code:
"[mygame.exe+00773B54]+268"



this is my 1st enemy co ordinates
Code:

mygame.exe+00773B44]+324]+1f0]+77c]+620]+6e4

but I dont get the other co ordinates

***can I tell Elua to read another players co ordinates without getting the pointer of each player (1st and 2nd and 3rd...etc ) players in my screen .. thats will take long time (we know the offset is 268)

**** In auto assembler when I try to move value stored in this pointer
Code:
"[[[[[mygame.exe+00773B44]+324]+1f0]+77c]+620]+6e4"


the game crashes I start with push ecx and pop it in exit code ...etc but in the elua code the game didnot crush ( when I could push ecx or eax to store the value in my pointer in it )

ex:
this code

Code:



[Enable]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here
push ecx
mov ecx,[mygame.exe+000CE8AC]+7d8]+f8]+7fc]+c0]+1c
cmp ecx,0
je originalcode

mov ebx,[esi+00000200]



jmp exit
originalcode:
mov ebx,[esi+00000200]

exit:
pop ecx
jmp returnhere

"mygame.exe"+2EE2F8:
jmp newmem
nop
returnhere:
[Disable]
dealloc(newmem)
"mygame.exe"+2EE2F8:
mov ebx,[esi+00000200]




as u see i started with push ecx what if I but ebx or another register .... the game keep crashing or the values go wrong why but in my elua code dont .





Now another question : do not sleep please Very Happy

at the picture ce q 2

I know when I want to change for example this offset 420 :
Code:
mov [esi+420],#130


and If I want to compare it

Code:
cmp [esi+420],#130


But in the offset 428 there is a pointer and I want to change the offset 20 at it and compare the offset 20 with the offset 420 (this offset not included inside the pointer of offset 428 ) I know filters etc but how can I do this of pointer pointed by another look the picture u will understand easy .

Answer with quote please if you cannot answer all.



CE q2.jpg
 Description:
Pointer pointed by another pointer
 Filesize:  234.78 KB
 Viewed:  2290 Time(s)

CE q2.jpg



ce Q.jpg
 Description:
offsets
 Filesize:  257.7 KB
 Viewed:  2290 Time(s)

ce Q.jpg


Back to top
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Thu Aug 04, 2016 1:18 pm    Post subject: Reply with quote

Answers to one:
If you google "cheat engine idiot user detected," you will see another fairly recent thread where someone learns why their ASM code is bad for the same reason!

right click the instruction that writes your coordinates, see what addresses it accesses, and you will have an easy way to grab every entity's coordinates


Answer to two:
mov register, [register+offset]
cmp [register+offset2], value
Back to top
View user's profile Send private message
Twistedfate
Expert Cheater
Reputation: 1

Joined: 11 Mar 2016
Posts: 231

PostPosted: Thu Aug 04, 2016 6:51 pm    Post subject: Reply with quote

Iam not native with English so its very hard to learn and u are very offended
can you explain to me with example ? I dont want to attach the debugger every time to get cords... can u answer another questions with example please Sad
Back to top
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Thu Aug 04, 2016 7:32 pm    Post subject: Reply with quote

You cannot get the coordinates without attaching something to the game, sorry.

Also, dont take the google search personally, it is in reference to comment DB put into the source code and the point is very important to learn. That language is the best way to find the post.

The specific example is simply to replace register with esi, offset with 428, offset2 with 20, and value with w/e you are looking for.
Back to top
View user's profile Send private message
Twistedfate
Expert Cheater
Reputation: 1

Joined: 11 Mar 2016
Posts: 231

PostPosted: Fri Aug 05, 2016 3:57 am    Post subject: Reply with quote

thnx for help I will complete working on ASM language first ^^
the topic was useful to man .
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