MPC Forums
BattleApps


Go Back   MPC Forums > ..:: Games ::.. > America's Army > Coding Tech Support

Coding Tech Support For all your coding needs based on America's Army

Reply
 
Thread Tools
Old 12th May 2005, 14:36   #1
temp2
c:\tmp\~8b045cf75687.tmp
Golden Dragon
 
temp2's Avatar
 
Exclamation [C++ Development Tool] Type III "Bot Loader"

My personal type III "Bot Loader" Version 1.0 © Temp2 Fecit Anno 2005.

I regard DrUnKeN ChEeTaH's original as a type IV Bot Loader. This one will show you diagnostics concerning the injection process. I developed it to get over a problem I had in another game.
Attached Images
File Type: jpg BotInjector1.jpg (71.3 KB, 169 views)
Attached Files
File Type: rar BotLoader.rar (88.0 KB, 83 views)
temp2 is offline   Reply With Quote
Old 12th May 2005, 14:43   #2
snadder
$åñ†åñ4 ƒụ¢қҳŻǾº®Ż
Assassin
 
snadder's Avatar
 
Nice temp2!
I might need it when i'm gonna learn C++ and/or Uscript
__________________
Þ®ºµd mèmbè® ºƒ £iºñhè宆 ƒåñ¢lµb

*Working on dutch versions of hacks*
....:::www.dutch-hacks.tk:::....
Status: Hacks/Tools Translated: Timbernickle Project-X \\ AAOM \\
Simple DLL Injector \\ UCPF Training Hack
snadder is offline   Reply With Quote
Old 12th May 2005, 16:22   #3
HyPeR-X
Moderator
Apprentice God
 
HyPeR-X's Avatar
 
lol, thx temp nice stuff, it just terminated some processes wich my windblows couldnt terminate

Grtz HyPeR-X
__________________
Legal CDKeys: GameKeyShop
HyPeR-X is offline   Reply With Quote
Old 12th May 2005, 16:33   #4
S@t@nic@
Devil of Hell
 
S@t@nic@'s Avatar
 
Quote:
Originally Posted by HyPeR-X
lol, thx temp nice stuff, it just terminated some processes wich my windblows couldnt terminate

Grtz HyPeR-X
debug privileges are set before to kill process...
you can use something like that:

Code:
BOOL SetDebugPrivileges() 
{
	BOOL bRetour=TRUE;
    DWORD dwPID;
    HANDLE hProcess;
    HANDLE hToken;
    LUID Luid;
    TOKEN_PRIVILEGES tpDebug;
    dwPID = GetCurrentProcessId();
    if ((hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, dwPID)) == NULL)
		bRetour=FALSE;
    if (OpenProcessToken(hProcess, TOKEN_ALL_ACCESS, &hToken) == 0)
		bRetour=FALSE;
    if ((LookupPrivilegeValue(NULL, SE_DEBUG_NAME, &Luid)) == 0)
		bRetour=FALSE;
    tpDebug.PrivilegeCount = 1;
    tpDebug.Privileges[0].Luid = Luid;
    tpDebug.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
    if ((AdjustTokenPrivileges(hToken, FALSE, &tpDebug, sizeof(tpDebug), NULL, NULL)) == 0)
		bRetour=FALSE;
    if (GetLastError() != ERROR_SUCCESS)
		bRetour=FALSE;
    CloseHandle(hToken);
    CloseHandle(hProcess);
    return bRetour;
}

//to kill process by pid
BOOL KillPid(int Pid)
{

    HANDLE hProcess;
    if ((hProcess = OpenProcess(PROCESS_TERMINATE, FALSE, Pid)) != NULL)
	{
        if (TerminateProcess(hProcess, 0) == 0) 
			MessageBox("****in process");
        CloseHandle(hProcess);
		return TRUE;
    }
	MessageBox("process sucks");
	return FALSE;
}

Any plan to make your injector open source temp?
S@t@nic@ is offline   Reply With Quote
Old 12th May 2005, 17:00   #5
HyPeR-X
Moderator
Apprentice God
 
HyPeR-X's Avatar
 
thx for the code S@t@nic@ might prove use full later on

Grtz HyPeR-X
__________________
Legal CDKeys: GameKeyShop
HyPeR-X is offline   Reply With Quote
Old 12th May 2005, 17:51   #6
S@t@nic@
Devil of Hell
 
S@t@nic@'s Avatar
 
when i'm injecting my dll in AA, all running fine but:
Quote:
The Thread is nonsignaled after 3000ms.
what would you mean by that Temp ?

edited:

ok... that was just my computer... not enought free resource when i had inject the dll, so that had take more than 3s... eheheh

Last edited by S@t@nic@; 12th May 2005 at 18:04..
S@t@nic@ is offline   Reply With Quote
Old 13th May 2005, 01:13   #7
noob-cheater
» Ex Super ********* «
Evil One
 
noob-cheater's Avatar
 
file also availble on mpcdownloads now!

http://www.mpcdownloads.com/_mpc_d0w.../botloader.rar

Thx Temp2, keep it up
__________________
Former MPC Super Moderater
noob-cheater is offline   Reply With Quote
Old 13th May 2005, 03:38   #8
TABACKY
Angel of Darkness
 
TABACKY's Avatar
 
noob .. dude you avatar is so ****ing tight nice work
TABACKY is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 19:07.

Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Style Provided By: Wrestling Clique - Wrestling Forums


Page generated in 0.14709 seconds with 12 queries