Thread: Making a DLL

Page 2 of 2 FirstFirst 12
Results 16 to 25 of 25
  1. #16
    Presiden's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    nnjnn
    Posts
    66
    Reputation
    10
    Thanks
    106
    1. 0x5527C0.
    2. That's your cvar value, you can rename it to int a, b, c, etc. It doesn't matter.
    3. BlackOpsMP.exe.
    4. The address is correct but where you execute it in C++? Also have you update your BO client?

  2. #17
    seaplusplus's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    106
    Reputation
    4
    Thanks
    51
    My Mood
    Drunk
    Quote Originally Posted by Presiden View Post
    1. 0x5527C0.
    2. That's your cvar value, you can rename it to int a, b, c, etc. It doesn't matter.
    3. BlackOpsMP.exe.
    4. The address is correct but where you execute it in C++? Also have you update your BO client?
    this is my source so far...:
    Code:
    #include <windows.h>
    
    bool IsGameReadyForHook()
    {
    	if(GetModuleHandleA("cshell.dll") != NULL)
    		return true;
    	return false;
    }
    
    int (__cdecl *execConsoleComand)(int a1, int a2, char *command) = (int (__cdecl*)(int, int, char*))0x5527C0;
    
    void main()
    {
    	//*(long*)0x???????? = ?;
    	while(true)
    	{
    
    		if(GetAsyncKeyState(VK_NUMPAD0)&1)
    		{
    			execConsoleComand(0, 0, "god");
    		}
    		if(GetAsyncKeyState(VK_NUMPAD1)&1)
    		{
    			execConsoleComand(0, 0, "noclip");
    		}
    
    		Sleep(200);
    	}
    }
    
    DWORD WINAPI dwHackThread(LPVOID)
    {
    	while(!IsGameReadyForHook())
    		Sleep(100);
    	main();
    	return 0;
    }
    
    BOOL WINAPI DllMain (HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
    {
    	DisableThreadLibraryCalls(hDll);
    	if (dwReason == DLL_PROCESS_ATTACH)
    	{
    		MessageBox(0, TEXT("Hack Attached"), TEXT("Attached"), MB_ICONINFORMATION);
    		CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
    	}
    	return TRUE;
    }
    I have not testing the address you just gave me yet, but will this work in BO Zombies?

    EDIT: I have a lot of experience with C++... I just wanted to tell you that because you said, "2. That's your cvar value, you can rename it to int a, b, c, etc. It doesn't matter."
    I'm not one of those fake noobs...
    Last edited by seaplusplus; 05-09-2011 at 01:26 PM.

  3. The Following User Says Thank You to seaplusplus For This Useful Post:

    Zyixc (05-09-2011)

  4. #18
    lolbie's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Netherlands
    Posts
    5,207
    Reputation
    288
    Thanks
    2,136
    My Mood
    Angelic
    just try it out
    and you'll see
    I love it when people keep their agreements /sarcasm ftw

  5. #19
    seaplusplus's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    106
    Reputation
    4
    Thanks
    51
    My Mood
    Drunk
    EDIT: Okay, I figured out my problem. Your guys gave me the Black Ops MP CVAR. Can anyone tell me the Black Ops SP CVAR, because I need it for Zombies...
    Last edited by seaplusplus; 05-10-2011 at 02:40 PM.

  6. #20
    seaplusplus's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    106
    Reputation
    4
    Thanks
    51
    My Mood
    Drunk
    Still need help...

  7. #21
    lolbie's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Netherlands
    Posts
    5,207
    Reputation
    288
    Thanks
    2,136
    My Mood
    Angelic
    Quote Originally Posted by seaplusplus View Post
    Still need help...
    do
    @Hell_Demon
    than if you want a person to come here
    I love it when people keep their agreements /sarcasm ftw

  8. #22
    Hell_Demon's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    I love causing havoc
    Posts
    3,976
    Reputation
    343
    Thanks
    4,320
    My Mood
    Cheeky
    Check my last post on this topic. It has the SP addie, and how it's called...
    if you can't figure it out with that you don't deserve any more help ._.
    Ah we-a blaze the fyah, make it bun dem!

  9. The Following User Says Thank You to Hell_Demon For This Useful Post:

    [MPGH]master131 (05-12-2011)

  10. #23
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,057
    Reputation
    1007
    Thanks
    2,013
    Quote Originally Posted by Hell_Demon View Post
    Check my last post on this topic. It has the SP addie, and how it's called...
    if you can't figure it out with that you don't deserve any more help ._.
    Be nice

    Ex Middleman

  11. #24
    Hell_Demon's Avatar
    Join Date
    Mar 2008
    Gender
    male
    Location
    I love causing havoc
    Posts
    3,976
    Reputation
    343
    Thanks
    4,320
    My Mood
    Cheeky
    Quote Originally Posted by Insane View Post


    Be nice
    I am nice, I downloaded the exe's just for him...
    @op: cshell.dll won't be loaded for black ops either, so it'll never reach your keychecks lol
    Ah we-a blaze the fyah, make it bun dem!

  12. #25
    seaplusplus's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    106
    Reputation
    4
    Thanks
    51
    My Mood
    Drunk
    Yo, my bad... I read your post to fast and figured it was the MP...

    EDIT: (@op: cshell.dll won't be loaded for black ops either, so it'll never reach your keychecks lol) I figured that already, but thanks...

    EDIT 2: The address you gave me is incorrect...
    Last edited by seaplusplus; 05-13-2011 at 01:08 PM.

Page 2 of 2 FirstFirst 12