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 add all my cheat to a single script

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

Joined: 31 Oct 2010
Posts: 70
Location: New Zealand

PostPosted: Mon Sep 05, 2016 11:33 am    Post subject: Trying to add all my cheat to a single script Reply with quote

So I'm annoying yip a few post in a few days.

I hate my memory obviously my memory in my computers works just not the memory of my own mind.

I used to know how to make a script that would use Assert and things and make it all into one script.

I know this will be my fault and I bet that I have made a mistake in this following script that will not activate but having to reteach yourself after looking at other tables I guess this is what happens when you stop making cheats for games for a wee while (real life and work).

Code:

// Farcry 4 Uplay Version
// Game Version  : 1.10.0
// Script Version: 1.0
// CE Version    : 5.6.1
// Unlimited Ammo // No Reload // Unlimited Money
// 06-Sep-2016


//==============================
//Definitions
define(LUDO,"FarCry4.exe") //1
//define(LUDO,"FC64.dll")
//define(AmmoCheck,"FC64.dll"+BA15B9)
define(AmmoCheck,"FarCry4.exe"+BA15B9) //2
//define(AmmoCheck,"FarCry4.exe"+7FFCD22615B9)
//define(NoReloadCheck,"FC64.dll"+D4CFE4)
define(NoReloadCheck,"FarCry4.exe"+D4CFE4) //3
//define(NoReloadCheck,"FarCry4.exe"+7FFCD240CFE4)
//define(UnlimMoneyCheck,"FC64.dll"+B9E77C)
define(UnlimMoneyCheck,"FarCry4.exe"+B9E77C) //4
//define(UnlimMoneyCheck,"FarCry4.exe"+7FFCD225E77C)



[ENABLE]
assert(AmmoCheck,89 03 48 8B 5C 24 30 C6 47 39 01 8B C1 48 8B 74 24 38 48 83 C4 20)
assert(NoReloadCheck,8B C8 2B CB 3B C8 74 21 89 8A 04 01 00 00 48 8B 4A 60 C6 81 9C 00 00 00 01)
assert(UnlimMoneyCheck,89 97 28 01 00 00 48 83 C4 20 5F C3 CC CC CC CC CC CC CC CC 44 8B 81 10 02 00 00)

alloc(MyCode,1024)
//===================================
label(Ammo)
label(returnfromammo)
label(ExitAmmo)
//==================================
label(MyCode)
label(Noreload)
label(returnNoreload)
label(Exitnoreload)
//==================================
label(UnlimMoney)
label(returnUnlimMoney)
label(ExitUnlimMoney)
//======================================
label(iEnableAmmo)
label(iEnableNoreload)
label(iEnableUnlimMoney)
//==================================
registersymbol(MyCode)
registersymbol(iEnableAmmo)
registersymbol(iEnableNoreload)
registersymbol(iEnableUnlimMoney)
//====================================
//Hacking Points
"FC64.dll"+BA15B9:
jmp Ammo
nop
nop
returnfromammo:

"FC64.dll"+D4CFE4:
jmp Noreload
nop
returnNoreload:

"FC64.dll"+B9E77C:
jmp UnlimMoney
nop
returnUnlimMoney:

//==================================
MyCode:
//==================================
//Unlimited Ammo
Ammo:
  add rbx,0
  mov [ammo],rbx
  mov eax,[rbx]
  sub rbx,0
  mov rbx,[rsp+30]

cmp dword ptr [iEnableAmmo],0
je ExitAmmo

ExitAmmo:
mov [rbx],eax
mov rbx,[rsp+30]
jmp returnfromammo
//===================================
// No Reload

Noreload:
mov ecx,3e7
mov eax,3e7
mov ecx,3e7
mov ebx,3e7
nop

cmp dword ptr [iEnableNoreload],0
je Exitnoreload


Exitnoreload:
mov ecx,eax
sub ecx,ebx
cmp ecx,eax
jmp returnNoreload
//===================================
//Unlimited Money

UnlimMoney:
mov [rdi+00000128],f423f

cmp dword ptr [iEnableUnlimMoney],0
jmp ExitUnlimMoney

ExitUnlimMoney:
mov [rdi+00000128],eax
jmp returnUnlimMoney

//===================================
//Variables
iEnableAmmo:
dd 0

iEnableNoreload:
dd 0

iEnableUnlimMoney:
dd 0
//====================================
// Original Codes

[DISABLE]

//Ammo
"FC64.dll"+BA15B9:
mov [rbx],eax
mov rbx,[rsp+30]

//No Reload
"FC64.dll"+D4CFE4:
mov ecx,eax
sub ecx,ebx
cmp ecx,eax

//Unlimited Money
"FC64.dll"+B9E77C:
mov [rdi+00000128],eax

//==============================
// Unregistering Symbols

unregistersymbol(MyCode)
unregistersymbol(iEnableAmmo)
unregistersymbol(iEnableNoreload)
unregistersymbol(iEnableUnlimMoney)

dealloc(MyCode)
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