View previous topic :: View next topic |
Author |
Message |
cereal1 Cheater
Reputation: 0
Joined: 29 May 2007 Posts: 27
|
Posted: Mon Jul 21, 2008 1:17 pm Post subject: Can't Create Trainer with my custom CE |
|
|
I compiled an undetected CE 5.4 and everything works on it except when I click on "Generate Trainer" to make my trainer.
I get an error "Access violation at address 004DA641 in module 'Ekztal.exe". Read of address 00000000."
As far as I know I've created all the appropriate dll's and exe's, but apparently I'm wrong.
Any ideas for me?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25788 Location: The netherlands
|
Posted: Mon Jul 21, 2008 5:39 pm Post subject: |
|
|
make the standalone a autocreated form. (prioject->options->forms)
_________________
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 |
|
 |
cereal1 Cheater
Reputation: 0
Joined: 29 May 2007 Posts: 27
|
Posted: Tue Jul 22, 2008 7:02 am Post subject: |
|
|
StandAlone is already listed as an autocreate form
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25788 Location: The netherlands
|
Posted: Tue Jul 22, 2008 10:50 am Post subject: |
|
|
uncomment the code in trainer.rc if you commented that out
If you deleted it, this is the code:
Code: |
//first compile the standalone project to generate the needed trainer.exe
//it is recommended to compress the standalone before release so the generated
//trainers don't become so big
TRAINER CEINCEXE "trainerwithassembler.exe"
|
And make sure you have compiled trainerwithassembler.dpr in the standalone folder before building (Also, you may want to make the standalone undetected as well)
_________________
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 |
|
 |
cereal1 Cheater
Reputation: 0
Joined: 29 May 2007 Posts: 27
|
Posted: Thu Jul 24, 2008 2:08 pm Post subject: Off-base |
|
|
Okay, I hate to derail this thread, but how does CE write memory to process like WoW.exe which are protected? I can't get a process handle for it.
I've done: Code: | OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES or TOKEN_QUERY, hToken);
LookupPrivilegeValue(NIL, SE_DEBUG_NAME, tp.Privileges[0].LUID);
tp.PrivilegeCount := 1;
tp.Privileges[0].LUID := LUID;
tp.Privileges[0].Attributes := (SE_PRIVILEGE_ENABLED);
dwretlen:=0;
AdjustTokenPrivileges(hToken, FALSE, tp, sizeof(tp), tpPrev, dwretlen); |
|
|
Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Thu Jul 24, 2008 2:58 pm Post subject: |
|
|
OMG dude. x0r already said: Warden. And dude that code just changes your privileges so you can use PROCESS_ALL_ACCESS (which you don't even need). CE also uses WPM
_________________
8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Thu Jul 24, 2008 9:54 pm Post subject: |
|
|
Cheat Engine uses a driver that is basically a replica of the kernel, except with only functions used by Cheat Engine (e.g. ZwWriteProcessMemory, ZwOpenProcess, etc).
You could either try to read the driver's source and understand it, or just compile your own and use that, with credits to DB for the idea and the code and all of that.
_________________
|
|
Back to top |
|
 |
cereal1 Cheater
Reputation: 0
Joined: 29 May 2007 Posts: 27
|
Posted: Thu Jul 24, 2008 10:45 pm Post subject: |
|
|
oib111 wrote: | OMG dude. x0r already said: Warden, And dude that code just changes your privileges so you can use PROCESS_ALL_ACCESS (which you don't even need). CE also uses WPM |
I'm sorry, you're a bit confused, I never asked about why wow.exe was protected. I asked how to write its memory. Simmer down.
|
|
Back to top |
|
 |
|