Paradise Corner

Paradise Corner
 
HomeFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 [Tutorial] Comander Hack 1.25

Go down 
AuthorMessage
Goliath
Super Admin
avatar

Posts : 80
Join date : 2008-03-27
Age : 23
Location : My house

PostSubject: [Tutorial] Comander Hack 1.25   Fri Mar 28, 2008 11:54 pm

these are for 1.25, enjoy


R4z8r


Code:
///=====COMMANDER=======////
BYTE commanderoff2[6] = {0x8A,0x81,0x0C,0x01,0x00,0x00};
BYTE commanderon2[6] = {0xB0,0x01,0x90,0x90,0x90,0x90};

struct DropPos {
      float fl1; float fl2;
      };       
      DropPos flUnknown = {*(float*)0x9AFD50,*(float*)0x9AFD50};
      void DropSupplies()
      {
      _asm MOV ECX,DWORD PTR DS:[ dwCommanderBase ];
      _asm MOV ECX,[ ECX ];
      _asm MOV EAX,DWORD PTR DS:[ ECX ];
      _asm LEA EDX,DWORD PTR DS:[ flUnknown.fl1 ];
      _asm PUSH EDX;
      _asm PUSH 0;
      _asm CALL DWORD PTR DS:[ EAX + 0x364 ];
      }

      struct DropPos2 {
      float fl3; float fl4;
      };       
      DropPos2 flUnknown2 = {*(float*)0x9AFD50,*(float*)0x9AFD50};
      void DropUAV()
      {
      _asm MOV ECX,DWORD PTR DS:[ dwCommanderBase ];
      _asm MOV ECX,[ ECX ];
      _asm MOV EAX,DWORD PTR DS:[ ECX ];
      _asm LEA EDX,DWORD PTR DS:[ flUnknown2.fl3 ];
      _asm PUSH EDX;
      _asm PUSH 0;
      _asm CALL DWORD PTR DS:[ EAX + 0x368 ];
      }

//////////////////////CREDITS TO XERO|F|HAWK FOR THE VOIDS!!!!/////////////////////////////////////////






                                if(GetAsyncKeyState(VK_NUMPAD1))   //supplies   
      {   
      DropSupplies();
      }
         
      if(GetAsyncKeyState(VK_NUMPAD2))   //uav(if you hold it, it drops a few sometimes ;) :D
      {
      DropUAV();
      }

      if(GetAsyncKeyState(VK_NUMPAD3)) //emp   
      {
      _asm MOV ECX,DWORD PTR DS:[0xB33FE0]
      _asm MOV EAX,DWORD PTR DS:[ECX]
      _asm CALL DWORD PTR DS:[EAX+0x350]
      }

      if(GetAsyncKeyState(VK_NUMPAD4))   //orbital   
      {

      _asm MOV ECX,DWORD PTR DS:[0xB33FE0]
      _asm MOV EAX,DWORD PTR DS:[ECX]
      _asm CALL DWORD PTR DS:[EAX+0x334]
      }

      if(GetAsyncKeyState(VK_NUMPAD7))      //resign commander
      {      

      WriteProcessMemory(GetCurrentProcess(),(void*) (0x400000 + 0x190C80),&commanderon2,6, NULL);
      _asm MOV ECX,DWORD PTR DS:[0xB33FE0]
      _asm MOV EAX,DWORD PTR DS:[ECX]
      _asm CALL DWORD PTR DS:[EAX+0x32C]   
      WriteProcessMemory(GetCurrentProcess(),(void*) (0x400000 + 0x190C80),&commanderoff2,6, NULL);
      }

      if(GetAsyncKeyState(VK_NUMPAD8))      apply commander
      {      
      _asm MOV ECX,DWORD PTR DS:[0xB33FE0]
      _asm MOV EAX,DWORD PTR DS:[ECX]
      _asm CALL DWORD PTR DS:[EAX+0x328]      
      }      
      

      if(GetAsyncKeyState(VK_NUMPAD9))      //mutity,resign(so he cant apply for 5 mins) and apply
      {
      _asm MOV ECX,DWORD PTR DS:[0xB33FE0]
      _asm MOV EAX,DWORD PTR DS:[ECX]
      _asm CALL DWORD PTR DS:[EAX+0x330]      
      Sleep(4);
      WriteProcessMemory(GetCurrentProcess(),(void*) (0x400000 + 0x190C80),&commanderon2,6, NULL);
      _asm MOV ECX,DWORD PTR DS:[0xB33FE0]
      _asm MOV EAX,DWORD PTR DS:[ECX]
      _asm CALL DWORD PTR DS:[EAX+0x32C]   
      WriteProcessMemory(GetCurrentProcess(),(void*) (0x400000 + 0x190C80),&commanderoff2,6, NULL);
      Sleep(4);            
      _asm MOV ECX,DWORD PTR DS:[0xB33FE0]
      _asm MOV EAX,DWORD PTR DS:[ECX]
      _asm CALL DWORD PTR DS:[EAX+0x328]
      Sleep(1);
      }
Back to top Go down
View user profile http://paradise-corner.top-me.com
P|RATELORD#2
Noob Hacker
Noob Hacker
avatar

Posts : 35
Join date : 2008-03-27
Age : 24
Location : middle of know where in illinois

PostSubject: Re: [Tutorial] Comander Hack 1.25   Sat Mar 29, 2008 1:12 am

hmm....
Back to top Go down
View user profile
PIRATELORD#1
Coders
Coders
avatar

Posts : 81
Join date : 2008-03-27
Age : 28
Location : west

PostSubject: Re: [Tutorial] Comander Hack 1.25   Sat Mar 29, 2008 10:45 am

see the floats and offsets in the codes those are constantly changed to make undetected
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: [Tutorial] Comander Hack 1.25   

Back to top Go down
 
[Tutorial] Comander Hack 1.25
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Paradise Corner  :: Battlefield Fan Talk :: Battlefield 2142-
Jump to: