View previous topic :: View next topic |
Author |
Message |
tomsolo Newbie cheater Reputation: 1
Joined: 20 Dec 2011 Posts: 18
|
Posted: Sun May 20, 2012 12:16 pm Post subject: Help: CE Plugin and Trainer |
|
|
Hi,
my - maybe obvious - problem is here:
Is possible enabling/adding any CE plugins with the generated trainers?
I lot of search, but i didn't find any infos/commands or options...
More detail:
Usin a plugin with CE is work, but if I want generating a trainer (EXE, CETRAINER etc) the result don't work because the plugin is missing. (IMHO)
Example: Geri's stealthedit tutorial only work as CT table, and I can't build as trainer...
Regards
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Sun May 20, 2012 2:33 pm Post subject: |
|
|
Look into the loadPlugin lua command
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
tomsolo Newbie cheater Reputation: 1
Joined: 20 Dec 2011 Posts: 18
|
Posted: Sun May 20, 2012 2:42 pm Post subject: |
|
|
I tried this:
loadPlugin("umstealthedit-i386.dll")
but don't work. (I'm very newbie - so maybe is my fault.)
I drop this on the first row in the form's Lua Script window.
If I generating .EXE what happen the path?
Exe
umstealthedit-i386.dll
[usermode]
Is right? Or need add as files? I'm very confusing.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Sun May 20, 2012 2:54 pm Post subject: |
|
|
It needs the full path to the dll
If you create the exe and pack the plugin in the package use getCheatEngineDir
If you put the plugin side by side of the generated trainer use TrainerOrigin
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
tomsolo Newbie cheater Reputation: 1
Joined: 20 Dec 2011 Posts: 18
|
Posted: Sun May 20, 2012 3:36 pm Post subject: |
|
|
Thanks for the help.
Succesfully working, i use packed method. (Need a little trick: overwriting the original dll, because the packed method don't support the folders.)
|
|
Back to top |
|
|
Zec Newbie cheater Reputation: 0
Joined: 02 Jul 2016 Posts: 17
|
Posted: Fri Oct 13, 2017 1:09 pm Post subject: |
|
|
Sorry for thread digging. Maybe someone needs more details:
Add to the table script (example for x64):
plugin = loadPlugin(getCheatEngineDir() .. 'plugins\\stealthedit\\umstealthedit-x86_64.dll')
While generating the exe, add the files there.
Stealth edit rocks!
|
|
Back to top |
|
|
ManiacKnight How do I cheat? Reputation: 0
Joined: 07 Jan 2019 Posts: 8
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Fri Jan 11, 2019 5:23 am Post subject: |
|
|
During exe generation, and all files that are needed in their appropriate folders
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
ManiacKnight How do I cheat? Reputation: 0
Joined: 07 Jan 2019 Posts: 8
|
Posted: Fri Jan 11, 2019 6:23 am Post subject: |
|
|
Dark Byte wrote: | During exe generation, and all files that are needed in their appropriate folders |
Did exactly that but the cheat never works in game? Works in the cheat table bt not in the trainer. Heres the cheat
Code: | function craftingrChange(sender)
if (checkbox_getState(CETrainer.craftingr) == 1) then
autoAssemble[[
aobscanmodule(icr,MonsterHunterWorld.exe,75 09 48 8B 57 08)
stealtheditex(ICRC,icr,1)
alloc(newmem,$1000,icr)
label(code)
label(return)
registersymbol(icr)
label(ignorecraft)
registersymbol(ignorecraft)
newmem:
code:
mov rdx,[rdi+08]
mov ecx,[rax+0C]
mov ecx,63
jmp return
ICRC:
ignorecraft:
jmp newmem
nop
nop
nop
nop
return:
]]
else
autoAssemble[[
ignorecraft:
db 75 09 48 8B 57 08 8B 48 0C
unregistersymbol(icr)
unregistersymbol(ignorecraft)
dealloc(newmem)
]]
end
end |
_________________
uhh... hello? |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Fri Jan 11, 2019 6:44 am Post subject: |
|
|
your code is missing the loadPlugin part where it loads the plugin
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
ManiacKnight How do I cheat? Reputation: 0
Joined: 07 Jan 2019 Posts: 8
|
Posted: Fri Jan 11, 2019 8:14 am Post subject: |
|
|
Dark Byte wrote: | your code is missing the loadPlugin part where it loads the plugin |
No this is only the part of the trainer. The full code is :
Code: | plugin = loadPlugin(getCheatEngineDir() .. 'plugins\\umstealthedit-i386.dll')
--Infinite Health
function CECheckbox1Change(sender)
if (checkbox_getState(CETrainer.CECheckbox1) == 1) then
autoAssemble[[aobscanmodule(invulnerability,MonsterHunterWorld.exe,E8 DB 81 FD FE)
stealtheditex(PNCOC,invulnerability,1)
alloc(newmem,$1000,invulnerability)
label(code)
label(return)
registersymbol(invulnerability)
label(plinv)
registersymbol(plinv)
newmem:
code:
jmp return
PNCOC:
plinv:
jmp newmem
return:
]]
else
autoAssemble[[
plinv:
db E8 DB 81 FD FE
unregistersymbol(invulnerability)
unregistersymbol(plinv)
dealloc(newmem)
]]
end
end
--Infinite Stamina
function StaminaChange(sender)
if (checkbox_getState(CETrainer.Stamina) == 1) then
autoAssemble[[aobscanmodule(infstamina,MonsterHunterWorld.exe,F3 0F 5D C2 F3 0F 11 41 6C)
registersymbol(infstamina)
infstamina:
db 90 90 90 90
]]
else
autoAssemble[[
infstamina:
db F3 0F 5D C2
unregistersymbol(infstamina)
]]
end
end
function ItemChange(sender)
if (checkbox_getState(CETrainer.Item) == 1) then
autoAssemble[[aobscanmodule(infitemuse1,MonsterHunterWorld.exe,44 8B 60 0C 41 3B FC)
stealtheditex(IIC,infitemuse1,1)
alloc(newmem,$1000,infitemuse1)
label(code)
label(return)
label(wff)
label(pcw)
label(ocw)
label(efw)
registersymbol(infitemuse1)
label(itemuseCSE)
registersymbol(itemuseCSE)
aobscanmodule(infitemuse2,MonsterHunterWorld.exe,41 80 F8 01 75 06)
alloc(newmem2,$1000,infitemuse2)
label(code2)
label(return2)
registersymbol(infitemuse2)
newmem:
code:
cmp r13,6
je @f
cmp r13,8
je @f
cmp [rax+08],69
je wff
cmp [rax+08],AF
je pcw
cmp [rax+08],B0
je ocw
cmp [rax+08],B1
je ocw
cmp [rax+08],B2
je ocw
cmp [rax+08],B4
je ocw
cmp [rax+08],3AC
je efw
cmp [rax+08],3AD
je efw
cmp [rax+08],3AE
je efw
cmp [rax+08],3AF
je efw
cmp [rax+08],CC
jg @f
inc [rax+0C]
@@:
mov r12d,[rax+0C]
cmp edi,r12d
jmp return
wff:
mov [rax+0C],5
mov r12d,[rax+0C]
cmp edi,r12d
jmp return
pcw:
mov [rax+0C],33
mov r12d,[rax+0C]
cmp edi,r12d
jmp return
ocw:
mov [rax+0C],15
mov r12d,[rax+0C]
cmp edi,r12d
jmp return
efw:
mov [rax+0C],B
mov r12d,[rax+0C]
cmp edi,r12d
jmp return
newmem2:
cmp [rcx+08],CC
jg code2
cmp r13,6
je code2
cmp r13,8
je code2
cmp r8l,00
jne infitemuse2+0C
jmp return2
code2:
cmp r8l,01
jne infitemuse2+0C
jmp return2
IIC:
itemuseCSE:
jmp newmem
nop
nop
return:
infitemuse2:
jmp newmem2
nop
return2:
]]
else
autoAssemble[[
itemuseCSE:
db 44 8B 60 0C 41 3B FC
unregistersymbol(infitemuse1)
unregistersymbol(itemuseCSE)
dealloc(newmem)
infitemuse2:
db 41 80 F8 01 75 06
unregistersymbol(infitemuse2)
dealloc(newmem2)
]]
end
end
function SlingerChange(sender)
if (checkbox_getState(CETrainer.Slinger) == 1) then
autoAssemble[[aobscanmodule(infslinger,MonsterHunterWorld.exe,89 41 08 89 D0 C3)
registersymbol(infslinger)
infslinger:
db 90 90 90
end
]]
else
autoAssemble[[
infslinger:
db 89 41 08
unregistersymbol(infslinger)
]]
end
end
--Sharpness Hack
function SharpnessChange(sender)
if (checkbox_getState(CETrainer.Sharpness) == 1) then
autoAssemble[[aobscanmodule(infdur,MonsterHunterWorld.exe,89 9E D0 1D 00 00)
stealtheditex(IDC,infdur,1)
alloc(newmem,$1000,infdur)
label(code)
label(return)
registersymbol(infdur)
label(maxsharp)
registersymbol(maxsharp)
newmem:
code:
mov [rsi+00001DD0],eax
jmp return
IDC:
maxsharp:
jmp newmem
nop
return:
]]
else
autoAssemble[[
maxsharp:
db 89 9E D0 1D 00 00
unregistersymbol(infdur)
unregistersymbol(maxsharp)
dealloc(newmem)
]]
end
end
function VouchersChange(sender)
if (checkbox_getState(CETrainer.Item) == 1) then
autoAssemble[[
aobscanmodule(inflv,MonsterHunterWorld.exe,3B B0 BC 71 13 00 73 19)
stealtheditex(MLVC,inflv,1)
alloc(newmem,$1000,inflv)
label(code)
label(return)
registersymbol(inflv)
label(maxlvouchers)
registersymbol(maxlvouchers)
newmem:
mov [rax+001371BC],5
code:
cmp esi,[rax+001371BC]
jmp return
MLVC:
maxlvouchers:
jmp newmem
nop
return:
]]
else
autoAssemble[[
maxlvouchers:
db 3B B0 BC 71 13 00
unregistersymbol(inflv)
unregistersymbol(maxlvouchers)
dealloc(newmem)
]]
end
end
more cheats blah blah blah
--TRAINERGENERATORSTART--
--This is autogenerated code. Changing code in this block will
--get erased and rewritten if you regenerate the trainer code
--Uncomment the following line if this is a Cheat Table format trainer and you don't want CE to show (Tip, save as .CETRAINER alternatively)
--hideAllCEWindows()
RequiredCEVersion=6.82
if (getCEVersion==nil) or (getCEVersion()<RequiredCEVersion) then
messageDialog('Please install Cheat Engine '..RequiredCEVersion, mtError, mbOK)
closeCE()
end
getAutoAttachList().add("MonsterHunterWorld.exe")
gPlaySoundOnAction=false
CETrainer.show()
function AboutClick()
showMessage(gAboutText)
end
function CloseClick()
--called by the close button onClick event, and when closing the form
closeCE()
return caFree --onClick doesn't care, but onClose would like a result
end
--TRAINERGENERATORS
|
I also added all the files from plugin folders and seworker from USERMODE.. what am I doing wrong? I changed compression to none and ticked LUA symbols if that changes anything?
_________________
uhh... hello? |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Fri Jan 11, 2019 10:06 am Post subject: |
|
|
are the plugin files in their appropriate subfolders ?
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
ManiacKnight How do I cheat? Reputation: 0
Joined: 07 Jan 2019 Posts: 8
|
Posted: Fri Jan 11, 2019 10:18 am Post subject: |
|
|
Dark Byte wrote: | are the plugin files in their appropriate subfolders ? |
yes they are inside the "Plugins" Folder. Do I have to create a new folder name stealthedit and place them there?
_________________
uhh... hello? |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Fri Jan 11, 2019 10:24 am Post subject: |
|
|
look at the stealthedit plugin. It has subfolders of it's own for helper dll's and files. those also need to be in the correct relative path
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
ManiacKnight How do I cheat? Reputation: 0
Joined: 07 Jan 2019 Posts: 8
|
Posted: Fri Jan 11, 2019 10:29 am Post subject: |
|
|
Dark Byte wrote: | look at the stealthedit plugin. It has subfolders of it's own for helper dll's and files. those also need to be in the correct relative path |
I tried reinstalling the plugin and cheat Engine 6.8.2.. Now I get this error "Plugin could not be loaded, error (193)" Does the plugin not work with 6.8.2??
Edit:
Nvm got it working by installing the x86_64 version and adding that dll in LoadPLugin. 64 bit software and plugin both are not working for some reason. Thanks alot for responding!
_________________
uhh... hello? |
|
Back to top |
|
|
|