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] Co tu jest źle ?


Sh0othead

Rekomendowane odpowiedzi

Opublikowano
#include <windows.h>
#include <stdio.h>
#define ADR_PlayerPointer 0x9EDD6C
#define ADR_ServerPointer 0x9EDD08
#define OFS_5thSlot 0x1021BC
#define OFS_6thSlot 0x1021BD
#define OFS_NoRecoil1 0xC43C
#define OFS_NoRecoil2 0xC440
#define OFS_NoRecoil3 0xC444
#define OFS_NoFallDamage 0x102C8
#define OFS_NoSpread 0x100FC
#define OFS_Speed 0x854D08
void 5thSlot()
{
DWORD dwServerPointer = *(DWORD*)ADR_ServerPointer;
if(dwServerPointer != 0){
*(long*)(dwServerPointer + OFS_5thSlot) = 1;
}
}
void 6thSlot()
{
DWORD dwServerPointer = *(DWORD*)ADR_ServerPointer;
if(dwServerPointer != 0){
*(long*)(dwServerPointer + OFS_6thSlot) = 1;
}
}
void NoRecoil ()
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
  *(float*)(dwPlayerPtr+OFS_NoRecoil1) = 0;
  *(float*)(dwPlayerPtr+OFS_NoRecoil2) = 0;
  *(float*)(dwPlayerPtr+OFS_NoRecoil3) = 0;
}
}
void NoFallDamage()
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
  *(float*)(dwPlayerPtr+OFS_NoFallDamage) = -2000;
}
}
void NoSpread ()
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)NoSpread, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)No_Spread, &t , sizeof(t));
VirtualProtect((void*)NoSpread, sizeof(t), Protection, 0);
}
void Speedon1 ()
{
		if(GetAsyncKeyState(VK_NUMPAD1) &1<< 0xF)
{
*(float*)(Speed) = 200.0f;
}
}
void Speedon2 ()
{
		if(GetAsyncKeyState(VK_NUMPAD2) &1<< 0xF)
{
*(float*)(Speed) = 300.0f;
}
}
void Speedon3 ()
{
		if(GetAsyncKeyState(VK_NUMPAD3) &1<< 0xF)
{
*(float*)(Speed) = 500.0f;
}
}
void Speedoff ()
{
		if(GetAsyncKeyState(VK_NUMPAD0) &1<< 0xF)
{
*(float*)(Speed) = 100.0f;
}
}
void TIMER_HACKOW ()
{
for(;
{
5thSlot();
6thSlot();
NoRecoil();
NoFallDamage();
NoSpread();
Speed();
Sleep(30);
}
}
BOOL WINAPI DllMain(HINSTANCE module, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL, "Ja NoMenu v0.2", "By Ja For www.mpcforum.pl", MB_OK);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)TIMER_HACKOW, NULL, NULL, NULL);
}
return true;

}

 

 

co tu jest zle ? prosze o napisanie poprawnie

99% idiotów czyta ten opis z ręką

 

 

na myszce xD już nie zdejmuj ZA PÓŹNO ^^

Opublikowano

No Spread Twoje jest złe. Wgl. jakie błędy Ci wyskakują? Możesz je tutaj podać, bo aktualnie nie mam dostępu do vc++..

1393461645-U349224.png

Opublikowano

Zmień:


void Speedon1 ()
{
                       if(GetAsyncKeyState(VK_NUMPAD1) &1<< 0xF)
{
*(float*)(Speed) = 200.0f;
}
}

Na:


void Speedon1 ()
{
                       if(GetAsyncKeyState(VK_NUMPAD1) &1<< 0xF)
{
*(float*)(OFS_Speed ) = 200.0f;
}
}

 

 

 

I tak wszystkie te "speedon 1,2,3...

1393619387-U339575.png

 

 

 

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...