141
"[X] <== Warhammer Inquisitor - Martyr v1.0.1 Steam Script v2.1 AOB"
FF0000
Auto Assembler Script
{
===========================================
Game Title : Warhammer 40K Inquisitor Martyr
Game Version : 1.0.1 (2018-06-08)
Game Sponsor : Patrons
Process Name : Warhammer_x64_11.exe
Relevant Info : 64bits/RPG
Script Version: 2.1 (AOB)
CE Version : 6.8
Release date : 08-Jun-2018
Author : Recifense
History:
07-Nov-2017: First Release
28-Nov-2017: Release for version 0.6.4 Alpha (2017-11-10)
12-Jan-2018: Release for version 0.7.2 Alpha (2018-01-12)
19-Jan-2018: Release for version 0.7.2b Alpha (2018-01-19)
06-Feb-2018: Release for version 0.7.2b Alpha (2018-02-06)
21-Feb-2018: Release for version 0.7.3 Alpha (2018-02-21) (s1.1)
22-Feb-2018: Release for version 0.7.3b Alpha (2018-02-22)
06-Mar-2018: Release for version 0.7.3b Alpha (2018-03-06)
14-Mar-2018: Release for version 0.7.4 Alpha (2018-03-14)
21-Mar-2018: Release for version 0.7.4b Alpha (2018-03-21)
28-May-2018: Release for version 0.8.2b Alpha (2018-05-28)
02-Jun-2018: Release for version 0.8.4 Beta (2018-06-02)
05-Jun-2018: Release for version 1.0.0 AOB (2018-06-05)
07-Jun-2018: Added "No Weapon Heat" (s20)
08-Jun-2018: Release for version 1.0.1 + fix for suppression (s21)(CE68) + ptr2credits in mission
Features:
- God Mode
- Include companions (s1.1)
- Adrenaline
- Supression Resistense
- Unlimited Ammo
- No Weapon Heat (new)(s2.0)
- Some Pointers
===========================================
}
//=========================================
// Checking CE version
{$lua}
if(getCEVersion() < 6.7) then
ShowMessage('Sorry. CE version should be 6.7 or above')
end
{$asm}
//=========================================
// Checking Selected Process
{$lua}
if(process == nil) then
ShowMessage('No process was selected')
elseif (process ~= "Warhammer_x64_11.exe") then
ShowMessage('Error. Expected Process = Warhammer_x64_11.exe')
end
{$asm}
//=========================================
// Definitions
{
define(LUDO,"Warhammer_x64_11.exe")
define(MOPH,Warhammer_x64_11.exe+0040abd1) //=#==#==#=##=
define(GDMD,Warhammer_x64_11.exe+0044fae4) //====#==#=#==
define(MOHA,Warhammer_x64_11.exe+0040b0cb) //=#==#==#=##=
define(MOHS,Warhammer_x64_11.exe+004786f8) //=========#==
define(MOPA,Warhammer_x64_11.exe+00438afa) //============
define(MPHB,Warhammer_x64_11.exe+0044cd5e) //N===#==#=#==
define(MOWH,Warhammer_x64_11.exe+00438009) //-----------N
define(MOMM,Warhammer_x64_11.exe+009442a8) //-----------N
}
//=========================================
// Constants used in the script (that can be changed)
define(ctCE68,(float)6.8)
//=========================================
[ENABLE]
//=========================================
//LuaCall(CheckVersion())
//=========================================
// Check if script is compatible to this game version
// If false the script will not be loaded
AOBScanModule(MOPH,$process,f3 0f 10 81 00 0c 00 00 0f 57 c9 f3 0f 5f c1 c3 cc cc cc cc cc)
AOBScanModule(GDMD,$process,f3 0f 11 87 4c 06 00 00 45 33 e4 0f 2f 05 ?? ?? ?? ?? ?? ?? 48)
AOBScanModule(MOHA,$process,f3 0f 11 8f 00 0c 00 00 83 bf a8 00 00 00 03 ?? ?? ba 00 10 00)
AOBScanModule(MOHS,$process,f3 0f 11 53 08 48 8b 0b 48 8b 01 ff 90 e8 00 00 00 84 c0 ?? ??)
AOBScanModule(MOPA,$process,8b 79 40 48 8b d9 03 fa e8 ?? ?? ?? ?? 3b f8 ?? ?? 89 7b 40 48)
AOBScanModule(MPHB,$process,f3 0f 10 8b 4c 06 00 00 66 0f 6e c0 0f 5b c0 f3 0f 5c c1 0f 2f)
AOBScanModule(MOWH,$process,f3 0f 11 41 48 e8 ?? ?? ?? ?? 0f 2f 43 48 ?? ?? f3 0f 11 43 48)
AOBScanModule(MOMC,$process,01 b8 a8 00 00 00 ?? ?? 45 33 ed 48 8b 06 48 8b ce ff 50 10 84 c0)
//=========================================
alloc(MyCode,4096,$process)
//=========================================
// Declaration section
label(_MonPlayerHero)
label(_BackMPH)
label(_GodMode)
label(_BackGMD)
label(_MonHeroAdrenaline)
label(_BackMHA)
label(_MonHeroSupression)
label(_BackMHS)
label(_MonPlayerAmmo)
label(_BackMPA)
label(_MonPlayerHeroB)
label(_BackPHB)
label(_MonWeaponHeat)
label(_BackMWH)
label(_MonMissionCredits)
label(_BackMMC)
label(iEnableGMD)
label(iEnableGMO)
label(iEnableMHA)
label(iEnableMHS)
label(iEnableMPA)
label(iEnableMWH)
label(pHero)
label(pCredits)
label(pHeroB)
label(pLast)
//=========================================
// Registering Symbols
registersymbol(MyCode)
registersymbol(iEnableGMD)
registersymbol(iEnableGMO)
registersymbol(iEnableMHA)
registersymbol(iEnableMHS)
registersymbol(iEnableMPA)
registersymbol(iEnableMWH)
registersymbol(pHero)
registersymbol(pCredits)
registersymbol(pHeroB)
registersymbol(pLast)
registersymbol(MOPH)
registersymbol(GDMD)
registersymbol(MOHA)
registersymbol(MOHS)
registersymbol(MOPA)
registersymbol(MPHB)
registersymbol(MOWH)
registersymbol(MOMC)
//=========================================
MyCode:
//========================================= 084 *
// Player Hero at Mission (all the time)
_MonPlayerHero:
mov [pHero],rcx
_ExitMPH:
movss xmm0,[rcx+00000C00] // Original code (get cAD)
jmp _BackMPH // Back to main code
//========================================= 082b *
// During Mission (Health points)
_GodMode:
mov [pLast],rdi
cmp dword ptr [iEnableGMD],0
je _ExitGMD // Jump if feature is disabled
cmp rdi,[pHero]
je _GodMD00
cmp dword ptr [iEnableGMO],0
je _ExitGMD // Jump if feature is disabled
mov rax,[rdi+00000640]
test rax,rax
jz _ExitGMD
cmp byte ptr [rax+00000174],00
jne _ExitGMD
_GodMD00:
maxss xmm0,[rdi+0000064c]
_ExitGMD:
movss [rdi+0000064c],xmm0 // Original code (upd HP)
jmp _BackGMD // Back to main code
//========================================= 084 *
// During Mission (Adrenaline)
_MonHeroAdrenaline:
cmp dword ptr [iEnableMHA],0
je _ExitMHA // Jump if feature is disabled
cmp rdi,[pHero]
jne _ExitMHA
maxss xmm1,[rdi+00000C00]
_ExitMHA:
movss [rdi+00000C00],xmm1 // Original code (upd AD)
jmp _BackMHA // Back to main code
//========================================= 101 (s2.1)
// During Mission (Supression Resistense)
_MonHeroSupression:
mov rcx,[rbx] // Original code
cmp dword ptr [iEnableMHS],0
je _ExitMHS // Jump if feature is disabled
cmp rcx,[pHero]
jne _ExitMHS
movss xmm2,xmm0
_ExitMHS:
movss [rbx+08],xmm2 // Original code (upd SR)
jmp _BackMHS // Back to main code
//========================================= ok
// When updating Ammo
_MonPlayerAmmo:
cmp dword ptr [iEnableMPA],0
je _ExitMPA // Jump if feature is disabled
cmp rsi,[pHero]
jne _ExitMPA
test edx,edx
jns _ExitMPA
xor edx,edx
_ExitMPA:
mov edi,[rcx+40] // Original code (get Ammo)
mov rbx,rcx // Original code
add edi,edx // Original code (upd Ammo)
jmp _BackMPA // Back to main code
//========================================= 082b *
// Player Hero at Base (all the time)
_MonPlayerHeroB:
mov [pHeroB],rbx
_ExitPHB:
movss xmm1,[rbx+0000064c] // Original code (get cHP)
jmp _BackPHB // Back to main code
//========================================= new S2.0
// When updating weapon heat
_MonWeaponHeat:
mov [pRAX],rax
cmp dword ptr [iEnableMWH],0
je _ExitMWH // Jump if feature is disabled
cmp r14,[pHero]
je _MonWH00
mov rax,[rsp+70]
cmp rax,[pHero]
jne _ExitMWH
_MonWH00:
xorps xmm0,xmm0
_ExitMWH:
mov rax,[pRAX]
movss [rcx+48],xmm0 // Original code (upd Heat)
jmp _BackMWH // Back to main code
//========================================= 101 new
// Valid in mission after picking some credits
_MonMissionCredits:
mov [pCredits],rax
_ExitMMC:
add [rax+000000A8],edi // Original code (upd Mission credits)
jmp _BackMMC // Back to main code
//=========================================
align 10,'='
//=========================================
db '===============================>'
db 'CE6.8 Script by Recifense 180608'
//=========================================
// Variables
iEnableGMD:
dd 0
iEnableGMO:
dd 0
iEnableMHA:
dd 0
iEnableMHS:
dd 0
iEnableMPA:
dd 0
iEnableMWH:
dd 0
pHero:
dq 0
pCredits:
dq 0
pHeroB:
dq 0
pRAX:
dq 0
pLast:
dq 0
//=========================================
// Hacking Points
MOPH:
jmp _MonPlayerHero
nop
nop
nop
_BackMPH:
GDMD:
jmp _GodMode
nop
nop
nop
_BackGMD:
MOHA:
jmp _MonHeroAdrenaline
nop
nop
nop
_BackMHA:
MOHS:
jmp _MonHeroSupression
nop
nop
nop
_BackMHS:
MOPA:
jmp _MonPlayerAmmo
nop
nop
nop
_BackMPA:
MPHB:
jmp _MonPlayerHeroB
nop
nop
nop
_BackPHB:
MOWH:
jmp _MonWeaponHeat
_BackMWH:
MOMC:
jmp _MonMissionCredits
nop
_BackMMC:
//=========================================
// Script for Restoring Original Codes
[DISABLE]
MOPH:
// movss xmm0,[rcx+00000C00]
db f3 0f 10 81 00 0c 00 00
GDMD:
// movss [rdi+0000064C],xmm0
db f3 0f 11 87 4c 06 00 00
MOHA:
// movss [rdi+00000C00],xmm1
db f3 0f 11 8f 00 0c 00 00
MOHS:
// movss [rbx+08],xmm2
// mov rcx,[rbx]
db f3 0f 11 53 08 48 8b 0b
MOPA:
// mov edi,[rcx+40]
// mov rbx,rcx
// add edi,edx
db 8b 79 40 48 8b d9 03 fa
MPHB:
// movss xmm1,[rbx+0000064C]
db f3 0f 10 8b 4c 06 00 00
MOWH:
// movss [rcx+48],xmm0
db f3 0f 11 41 48
MOMC:
// add [rax+000000A8],edi
db 01 b8 a8 00 00 00
//=========================================
// Unregistering Symbols
unregistersymbol(MyCode)
unregistersymbol(iEnableGMD)
unregistersymbol(iEnableGMO)
unregistersymbol(iEnableMHA)
unregistersymbol(iEnableMHS)
unregistersymbol(iEnableMPA)
unregistersymbol(iEnableMWH)
unregistersymbol(pHero)
unregistersymbol(pCredits)
unregistersymbol(pHeroB)
unregistersymbol(pLast)
unregistersymbol(MOPH)
unregistersymbol(GDMD)
unregistersymbol(MOHA)
unregistersymbol(MOHS)
unregistersymbol(MOPA)
unregistersymbol(MPHB)
unregistersymbol(MOWH)
unregistersymbol(MOMC)
//=========================================
dealloc(MyCode)
//============= Scripts End ===============
// ****************************************
// NOTES
// ****************************************
{
}
96
"[X] <== God Mode"
C08000
Auto Assembler Script
[enable]
{$LUA}
writeInteger("iEnableGMD",1)
memrec.Color=0x0004000
{$ASM}
[disable]
{$LUA}
writeInteger("iEnableGMD",0)
memrec.Color=0x0c08000
{$ASM}
142
"[X] <== Include Companions"
C08000
Auto Assembler Script
[enable]
{$LUA}
writeInteger("iEnableGMO",1)
memrec.Color=0x0004000
{$ASM}
[disable]
{$LUA}
writeInteger("iEnableGMO",0)
memrec.Color=0x0c08000
{$ASM}
143
"[X] <== Full Adrenaline"
C08000
Auto Assembler Script
[enable]
{$LUA}
writeInteger("iEnableMHA",1)
memrec.Color=0x0004000
{$ASM}
[disable]
{$LUA}
writeInteger("iEnableMHA",0)
memrec.Color=0x0c08000
{$ASM}
144
"[X] <== Unlimited Supression Resistense"
C08000
Auto Assembler Script
[enable]
{$LUA}
writeInteger("iEnableMHS",1)
memrec.Color=0x0004000
{$ASM}
[disable]
{$LUA}
writeInteger("iEnableMHS",0)
memrec.Color=0x0c08000
{$ASM}
145
"[X] <== Unlimited Ammo (no releoad needed)"
C08000
Auto Assembler Script
[enable]
{$LUA}
writeInteger("iEnableMPA",1)
memrec.Color=0x0004000
{$ASM}
[disable]
{$LUA}
writeInteger("iEnableMPA",0)
memrec.Color=0x0c08000
{$ASM}
229
"[X] <== No Weapon Heat"
C08000
Auto Assembler Script
[enable]
{$LUA}
writeInteger("iEnableMWH",1)
memrec.Color=0x0004000
{$ASM}
[disable]
{$LUA}
writeInteger("iEnableMWH",0)
memrec.Color=0x0c08000
{$ASM}
237
"[X] <== Credits picked during Mission (valid after picking some credits)"
404080
1
238
"Credits picked so far ==>"
0000FF
4 Bytes
pCredits
a8
228
"[X] <== Table/Script Information"
0000FF
Auto Assembler Script
[enable]
{$LUA}
getMainForm().CommentButton.doClick()
{$ASM}
[disable]
Recifense
20180608
===========================================
Game Title : Warhammer 40K Inquisitor Martyr
Game Version : 1.0.1 (2018-06-08)
Game Sponsor : Patrons
Process Name : Warhammer_x64_11.exe
Relevant Info : 64bits/RPG
Script Version: 2.1 (AOB)
CE Version : 6.8
Release date : 08-Jun-2018
Author : Recifense
History:
07-Nov-2017: First Release
28-Nov-2017: Release for version 0.6.4 Alpha (2017-11-10)
12-Jan-2018: Release for version 0.7.2 Alpha (2018-01-12)
19-Jan-2018: Release for version 0.7.2b Alpha (2018-01-19)
06-Feb-2018: Release for version 0.7.2b Alpha (2018-02-06)
21-Feb-2018: Release for version 0.7.3 Alpha (2018-02-21) (s1.1)
22-Feb-2018: Release for version 0.7.3b Alpha (2018-02-22)
06-Mar-2018: Release for version 0.7.3b Alpha (2018-03-06)
14-Mar-2018: Release for version 0.7.4 Alpha (2018-03-14)
21-Mar-2018: Release for version 0.7.4b Alpha (2018-03-21)
28-May-2018: Release for version 0.8.2b Alpha (2018-05-28)
02-Jun-2018: Release for version 0.8.4 Beta (2018-06-02)
05-Jun-2018: Release for version 1.0.0 AOB (2018-06-05)
07-Jun-2018: Added "No Weapon Heat" (s20)
08-Jun-2018: Release for version 1.0.1 + fix for suppression (s21)(CE68) + ptr2credits in mission
Features:
- God Mode [1]
- Include companions (s1.1) [2]
- Adrenaline [3]
- Supression Resistense [4]
- Unlimited Ammo [5]
- No Weapon Heat [6] (new)(s2.0)
- Some Pointers
===========================================
[1] For player's main hero;
[2] God Mode can be extended for hero's companions;
[3] Full adrenaline for player's main hero;
[4] Unlimited supression resistence for player's hero;
[5] Player's hero ammo will not decrease (no reload needed);
[6] Player's hero Weapon will not increase heat;
===========================================
[USAGE]
1) Run CE67 or greater;
2) Run Game;
3) Load the game process "Warhammer_x64_11.exe" in CE;
4) Load this table and activate the main script;
5) Now Activate the script of each cheat you want to use;
6) Game On;
===========================================
[HOTKEYS]
- None defined;
===========================================
[NOTE]
Used to be For Patreon only, now it is public. :)
===========================================
[INFO]
Tested on Win 10 64bits
===========================================
Cheers!