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 


trying to make Vacum hack

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

Joined: 30 Jul 2016
Posts: 49

PostPosted: Sun Apr 08, 2018 6:03 pm    Post subject: trying to make Vacum hack Reply with quote

greetings i need help in making vacuum hack ( taking zombies teleporting them to me and freezing them in my last saved position ) i have tried for hours but its not working it crashes the game every time .

this is the code i have used and cmp [edi+38],201 to make sure this is me
in the structure so it doesn't vacuum zombies to another zombies




Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
label(code)
label(s_pos)
label(hack)
label(xpos)
label(ypos)
label(zpos)
label(save)
label(vacum)
registersymbol(save)
registersymbol(vacum)

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

xpos:
dd 0
ypos:
dd 0
zpos:
dd 0
save:
dd 0
vacum:
dd 0



code:

  cmp [save],1 // checks if save is activated to save my position
  je s_pos
  cmp [vacum],1 // checks if symbol vac is 1 to keep vacuming
  je hack
  jmp originalcode


s_pos:

cmp [edi+38],201 // making sure this is my player
jne originalcode
mov [save],0 // turning the symbol off so it doesn't loop saving

push eax
mov eax,[edi+50]
mov [xpos],eax
mov eax,[edi+54]
mov [ypos],eax
mov eax,[edi+58]
mov [zpos],eax
pop eax

jmp originalcode


hack:
cmp [edi+38],201 // avoiding vacuuming myself
je originalcode

push eax
mov eax,xpos
mov [edi+50],eax
mov eax,ypos
mov [edi+54],eax
mov eax,zpos
mov [edi+50],eax
pop eax
jmp originalcode









originalcode:
movss [edi+50],xmm2

exit:
jmp returnhere

"BH6.exe"+B9F7CA:
jmp newmem
returnhere:


 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat


dealloc(newmem)
"BH6.exe"+B9F7CA:
movss [edi+50],xmm2
unregistersymbol(save)
unregistersymbol(vacum)
//Alt: db F3 0F 11 57 50



can u help me out please thanks in advance .


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

Joined: 24 Feb 2017
Posts: 385
Location: Right Here Buddy.

PostPosted: Sun Apr 08, 2018 6:21 pm    Post subject: Reply with quote

Code:

push eax
mov eax,xpos //// Your setting the coordinates to addresses.
mov [edi+50],eax
mov eax,ypos
mov [edi+54],eax
mov eax,zpos
mov [edi+50],eax
pop eax
jmp originalcode


Code:

push eax
mov eax,[xpos] //// set it to the value at the address
mov [edi+50],eax
mov eax,[ypos]
mov [edi+54],eax
mov eax,[zpos]
mov [edi+50],eax
pop eax
jmp originalcode

_________________
A: What manner of man are you that can summon up fire without flint or tinder?
T: I... am an enchanter.
Back to top
View user's profile Send private message
mbabo
Cheater
Reputation: 0

Joined: 30 Jul 2016
Posts: 49

PostPosted: Sun Apr 08, 2018 6:28 pm    Post subject: Reply with quote

this is the original code i had found in you-tube tut.

it should work to teleport but it doesn't work Sad .

after 5 hours of trying am giving up for now lol

please guys help me out . ( this original code is for teleporting ( i tried both my code and this its not teleporting me although saving is working )
when ever i make save position to 1 it sets back to zero and x y z symbols have values of my current coordinates .

telporting to it however doesn't do anything .

game is Resident evil 6 .

Sad its probably silly mistake .






Code:


[ENABLE]

aobscanmodule(teleport,BH6.exe,F3 0F 11 57 50 F3 0F 10 94) // should be unique
alloc(newmem,$1000)

label(code)
label(return)

label(savecord)
label(load)
label(xpos)
label(ypos)
label(zpos)

label(hack)

label(s_enable)
label(l_enable)
registersymbol(s_enable)
registersymbol(l_enable)

registersymbol(xpos)
registersymbol(ypos)
registersymbol(zpos)


newmem:

xpos:
dd 0
ypos:
dd 0
zpos:
dd 0
s_enable:
dd 0
l_enable:
dd 0






code:

  movss [edi+50],xmm2
  jmp return


hack:

 cmp [s_enable],1
 je savecord
 cmp [l_enable],1
 je load
 jmp code


savecord:

cmp [edi+38],201
jne code
mov [s_enable],0

push eax

mov eax,[edi+50]
mov [xpos],eax
mov eax,[edi+54]
mov [ypos],eax
mov eax,[edi+58]
mov [zpos],eax

pop eax

jmp code






load:

//cmp [edi+38],201
//jne code
// mov [l_enable],0

push eax

mov eax,[xpos]
mov [edi+50],eax
mov eax,[ypos]
mov [edi+54],eax
mov eax,[zpos]
mov [edi+58],eax

pop eax

jmp code






teleport:
  jmp hack
return:
registersymbol(teleport)

[DISABLE]

teleport:
  db F3 0F 11 57 50

unregistersymbol(teleport)
dealloc(newmem)
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