 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
dimey Newbie cheater
Reputation: 0
Joined: 11 Aug 2011 Posts: 10
|
Posted: Thu Aug 11, 2011 5:05 pm Post subject: Trainer won't start |
|
|
Hello,
I'm new to the forum so.. hello everyone!
Now for my problem
I have my cheat table that works fine, the creation of the trainer goes fine aswell, but the trainer does not show or start properly. There are just 3 new processes running and nothing shows.
I did some search before posting and the solution given is usually setting an icon for the trainer or closing the explorer window of the destination; but it doesnt seem to work for me, the trainer still doesnt show.
what can I try to make it work?
Thanks!
-DiMey
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25833 Location: The netherlands
|
Posted: Thu Aug 11, 2011 5:09 pm Post subject: |
|
|
Make sure the generated script is valid
Especially check the about text, it sometimes happens that the ending ]] are missing if you changed the about text.
_________________
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 |
|
 |
dimey Newbie cheater
Reputation: 0
Joined: 11 Aug 2011 Posts: 10
|
Posted: Thu Aug 11, 2011 5:50 pm Post subject: |
|
|
How can I see the generated script? And what how do I know it's valid?
Also, on a very old thread it said that I can't use code injection with allocated memory with the trainer generator in CE, is that still valid?
Thanks for the answer
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25833 Location: The netherlands
|
Posted: Thu Aug 11, 2011 6:43 pm Post subject: |
|
|
After generating the trainer check in table->script, paste it here for us to check
And you can use whatever feature you want,
_________________
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 |
|
 |
Geri Moderator
Reputation: 111
Joined: 05 Feb 2010 Posts: 5627
|
Posted: Thu Aug 11, 2011 10:38 pm Post subject: |
|
|
| Dark Byte wrote: | Make sure the generated script is valid
Especially check the about text, it sometimes happens that the ending ]] are missing if you changed the about text. |
Probably this is why I screwed up many times when I was making trainers with CE 6.1. Good to know. I suspected that my issue may have something to do with the about box but wasn't sure and it seemed to be a ridiculous idea that changing the text may cause this error. Thanks for the info. Now I will check this every time when I make a trainer.
_________________
|
|
| Back to top |
|
 |
dimey Newbie cheater
Reputation: 0
Joined: 11 Aug 2011 Posts: 10
|
Posted: Fri Aug 12, 2011 12:17 am Post subject: |
|
|
| Code: | [ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
push eax
mov eax,[esi+64]
mov [esi+68],eax
pop eax
originalcode:
cvtsi2ss xmm0,[esi+68]
exit:
jmp returnhere
"GamePlugin.vPlugin"+91E4D:
jmp newmem
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"GamePlugin.vPlugin"+91E4D:
cvtsi2ss xmm0,[esi+68]
//Alt: db F3 0F 2A 46 68
--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()
addresslist=getAddressList()
memrec9=addresslist_getMemoryRecordByID(addresslist,9)
memrec7=addresslist_getMemoryRecordByID(addresslist,7)
memrec3=addresslist_getMemoryRecordByID(addresslist,3)
memrec11=addresslist_getMemoryRecordByID(addresslist,11)
memrec13=addresslist_getMemoryRecordByID(addresslist,13)
memrec9_hotkey0=memoryrecord_getHotkeyByID(memrec9,0)
memrec7_hotkey0=memoryrecord_getHotkeyByID(memrec7,0)
memrec3_hotkey0=memoryrecord_getHotkeyByID(memrec3,0)
memrec11_hotkey0=memoryrecord_getHotkeyByID(memrec11,0)
memrec13_hotkey0=memoryrecord_getHotkeyByID(memrec13,0)
function onPostHotkey0(Hotkey)
--Executed after the "toggle*" cheat got executed
local memrec=memoryrecordhotkey_getOwner(Hotkey)
local isActive=memoryrecord_isActive(memrec) --get the state after the hotkey got triggered
cheatcomponent_setActive(CETrainer_CHEAT0, isActive)
if gBeepOnAction then
beep()
end
end
memoryrecordhotkey_onPostHotkey(memrec9_hotkey0,onPostHotkey0)
function onPostHotkey1(Hotkey)
--Executed after the "toggle*" cheat got executed
local memrec=memoryrecordhotkey_getOwner(Hotkey)
local isActive=memoryrecord_isActive(memrec) --get the state after the hotkey got triggered
cheatcomponent_setActive(CETrainer_CHEAT1, isActive)
if gBeepOnAction then
beep()
end
end
memoryrecordhotkey_onPostHotkey(memrec7_hotkey0,onPostHotkey1)
function onPostHotkey2(Hotkey)
--Executed after the "toggle*" cheat got executed
local memrec=memoryrecordhotkey_getOwner(Hotkey)
local isActive=memoryrecord_isActive(memrec) --get the state after the hotkey got triggered
cheatcomponent_setActive(CETrainer_CHEAT2, isActive)
if gBeepOnAction then
beep()
end
end
memoryrecordhotkey_onPostHotkey(memrec3_hotkey0,onPostHotkey2)
function onPostHotkey3(Hotkey)
--Executed after the "toggle*" cheat got executed
local memrec=memoryrecordhotkey_getOwner(Hotkey)
local isActive=memoryrecord_isActive(memrec) --get the state after the hotkey got triggered
cheatcomponent_setActive(CETrainer_CHEAT3, isActive)
if gBeepOnAction then
beep()
end
end
memoryrecordhotkey_onPostHotkey(memrec11_hotkey0,onPostHotkey3)
function onPostHotkey4(Hotkey)
--Executed after the "toggle*" cheat got executed
local memrec=memoryrecordhotkey_getOwner(Hotkey)
local isActive=memoryrecord_isActive(memrec) --get the state after the hotkey got triggered
cheatcomponent_setActive(CETrainer_CHEAT4, isActive)
if gBeepOnAction then
beep()
end
end
memoryrecordhotkey_onPostHotkey(memrec13_hotkey0,onPostHotkey4)
control_setVisible(CETrainer_SEPERATOR, false)
strings_add(getAutoAttachList(), "BlackCove.exe")
gBeepOnAction=true
form_show(CETrainer)
function AboutClick()
showMessage(gAboutText)
end
gAboutText=[[Made by DiMey
function CloseClick()
closeCE()
return caFree --onClick doesn't care, but onClose would like a result
end
--TRAINERGENERATORSTOP-- |
Ok, this is the script. the about text is missing the ]] and i don't get why it shows only one of the cheats before it.. is it even supposed to be there?
Thanks!!
EDIT: Nevermind, i corrected the script and it seems to be working now awesome! Thanks every1
|
|
| Back to top |
|
 |
|
|
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
|
|