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 


[C++] Dll

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Sun Dec 02, 2007 12:01 pm    Post subject: [C++] Dll Reply with quote

I took Flyte's suggestion and put my bot's functions in a dll. Injected As PCOMdebug. It gets injected, but it doesn't work. Ill push F8 and auto loot wont work.

Maybe i need to make a procedure. can anyone tel me how to work it.
Back to top
View user's profile Send private message AIM Address MSN Messenger
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Sun Dec 02, 2007 12:58 pm    Post subject: Reply with quote

i made mine as a win32.console.app

yes, in C++ (yeah baby..) it has auto loot, i called postmessagex from pmx.dll.

it'll be easy, don't forget to move the the char Z <-- (left) 16 times (shl / <<)

Code:
DWORD __stdcall aLoot(void* param)
{
        while(lol)
        {
                PostMessageX( hWnd,WM_KEYDOWN,'Z',(MapVirtualKey('Z',0) << 16) | 0x01000001);
                Sleep(10);
        }
        return 0;
}


that's the code me and assaf127 created, enjoy it (i made a bot, but it wasn't ment for release cause i just wanted to see if it really works)

use CreateThread();
Back to top
View user's profile Send private message
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Sun Dec 02, 2007 7:03 pm    Post subject: Reply with quote

I've made mine in non gui, but i want it to be in a dll so it can support auto pot. And i still need help >_>
Back to top
View user's profile Send private message AIM Address MSN Messenger
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Mon Dec 03, 2007 5:24 am    Post subject: Reply with quote

slippppppppp wrote:
I've made mine in non gui, but i want it to be in a dll so it can support auto pot. And i still need help >_>


so like executeable can't support auto pot or what ?

i thought you know what you're doing :S

want the whole src ? it only has ac and looter.
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 programming 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