Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Pomoc] 5 slot


Keasr223

Rekomendowane odpowiedzi

Opublikowano

Siemka kiedyś robiłem hacki na tym forum ale niestety głowa słaba i się zapomniało :P i niewiem co nie tak robię w hacku na 5 slot no sami zerknijcie na kod :

include <windows.h>

 

//============================= GLOBALS ===============================//

#define ADR_PlayerPointer 0x9EDD6C

#define ADR_ServerPointer 0x9EDD08

#define OFS_5thSlot 0x1021BC

//============================= FUNCTIONS =============================//

 

void slot

{

DWORD dwServerPointer = *(DWORD*)ADR_ServerPointer;

if(dwServerPointer != 0)

{

*(long*)(dwServerPointer + OFS_5thSlot) = 1;

}

}

 

void timer ()

 

{

for(; ;)

 

{

slot();

sleep(30);

}

}

 

//============================= BASE ===================================//

 

BOOL WINAPI DllMain(HINSTANCE module, DWORD dwReason, LPVOID lpvReserved)

{

if(dwReason == DLL_PROCESS_ATTACH)

{

MessageBoxA(NULL, "Injected!", "Hack By Keasr223", MB_OK);

CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)timer, NULL, NULL, NULL);

}

return true;

}

 

Liczę na szybką pomoc będą LIKE

 

P>S JUŻ SOBIE PORADZIŁEM MOŻNA ZAMKNĄĆ

"...przeważnie zachowuje się rozważnie ... "

Opublikowano

Zobacz to:

#include <windows.h>
#include <stdio.h>
//*************// Address //*************//
#define ADR_PlayerPointer 0x9EDD6C
#define ADR_ServerPointer 0x9EDD08
#define ADR_OFS_X 0x00102E0
#define ADR_OFS_Y 0x00102F0
#define ADR_OFS_Z 0x00102E8
#define OFS_NoFallDamage 0x102C8
#define OFS_NoRecoil1 0xC43C
#define OFS_NoRecoil2 0xC440
#define OFS_NoRecoil3 0xC444
#define OFS_Premium1 0x58C
#define OFS_NoSpread 0x100FC
#define OFS_5thSlot 0x1021BC
#define ADR_OFFSET_NORECOIL_3	  0xC444
DWORD *ingame= (DWORD*)ADR_PlayerPointer;
DWORD *megame= (DWORD*)ADR_ServerPointer;
void UnProtectFloat( void* pxAddress, float code)
{
		unsigned long Protection;
		VirtualProtect((void*)pxAddress, sizeof(code), PAGE_READWRITE, &Protection);
		memcpy((void*)pxAddress, &code, sizeof(code));
		VirtualProtect((void*)pxAddress,sizeof(code), Protection, 0);
}
//============================= Functions =============================//

void SLOT ()
{
DWORD dwServerPointer = *(DWORD*)ADR_ServerPointer;
 if(dwServerPointer != 0) {
				*(long*)(dwServerPointer + OFS_5thSlot) = 1;

}
}
//============================= Timer ===================================//
void Timer()
{
for (;
{
 SLOT();
 Sleep(30);
}
}
//============================= Base ===================================//
BOOL WINAPI DllMain(HINSTANCE module, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL, "xx", "xxxx", MB_OK);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Timer, NULL, NULL, NULL);
}
return true;
}

Dodałem to:

#include <stdio.h>

oraz:

DWORD *ingame= (DWORD*)ADR_PlayerPointer;
DWORD *megame= (DWORD*)ADR_ServerPointer;
void UnProtectFloat( void* pxAddress, float code)
{
		unsigned long Protection;
		VirtualProtect((void*)pxAddress, sizeof(code), PAGE_READWRITE, &Protection);
		memcpy((void*)pxAddress, &code, sizeof(code));
		VirtualProtect((void*)pxAddress,sizeof(code), Protection, 0);
}

@Down po co dałeś to samo i to jeszcze w dodatku to co ja Ci dałem, pozdro?

1346594784-U507582.png

By lux.

 

| Validating | Members | WarRock Helper | Coding Cheats | Pro User | PostMaker | MPC Champion | MPC Popular | Gold Member | Blue Member |

Opublikowano

#include <Windows.h>
#include <stdio.h>
/////////////////////////////////////////////
///////////// by. LeeMR /////////////////////
/////////////////////////////////////////////
#define ADR_PlayerPointer 0x9EDD6C
#define ADR_ServerPointer 0x9EDD08
#define OFS_5thSlot 0x1021BC
//////////////////////////////////////////////////////////////
DWORD *ingame= (DWORD*)ADR_PlayerPointer;
DWORD *megame= (DWORD*)ADR_ServerPointer;
void UnProtectFloat( void* pxAddress, float code)
{
	    unsigned long Protection;
	    VirtualProtect((void*)pxAddress, sizeof(code), PAGE_READWRITE, &Protection);
	    memcpy((void*)pxAddress, &code, sizeof(code));
	    VirtualProtect((void*)pxAddress,sizeof(code), Protection, 0);
}
///////////////////////////////////////////////////////////////////////
void SLOT ()
{
DWORD dwServerPointer = *(DWORD*)ADR_ServerPointer;
 if(dwServerPointer != 0) {
	    *(long*)(dwServerPointer + OFS_5thSlot) = 1;

}
}
void Timer()
{
for (;
{
 SLOT();
 Sleep(30);///200
}
}
BOOL WINAPI DllMain(HINSTANCE module, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL, "5th Slot", "By. LeeM.R", MB_OK);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Timer, NULL, NULL, NULL);
}
return true;
}

 

Pozdrawiam.

Opublikowano

emm ja CI nie dam Calego kodu tylko powiem co zrobiles zle.. ;D wiec tak jak na to patrze to widze 1 blad

 

void slot

 

jesli masz jakas funkce to musisz ja zakonczyc nawiasami () czyli powinno byc tak

 

void slot () 

 

jak bys mial jescze jakies problemy to pw pomoge na ile jestem w stanie ;)

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...