- Katılım
- 8 Şub 2022
- Konular
- 95
- Mesajlar
- 645
- Online süresi
- 2ay 17g
- Reaksiyon Skoru
- 722
- Altın Konu
- 5
- Başarım Puanı
- 158
- Yaş
- 29
- TM Yaşı
- 4 Yıl 2 Ay 11 Gün
- MmoLira
- 15,792
- DevLira
- 0
Metin2 EP, Valorant VP dahil tüm oyun ürünlerini en uygun fiyatlarla bulabilir, Item ve Karakterlerinizi hızlıca satabilirsiniz. HEMEN TIKLA!
C+ GetPixel:
DWORD CPythonCharacterManager = 0x3BEB48;
DWORD Instance = 0x14;
DWORD GetPixelPosition = 0x006F170;
static DWORD* GetMainActorPtr()
{
DWORD* CPythonCharacterManager = *(DWORD**)(client + metin2client::CPythonCharacterManager);
if (!CPythonCharacterManager)return nullptr;
DWORD* Instance = *(DWORD**)((DWORD)CPythonCharacterManager + metin2client::Instance);
if (!Instance)return nullptr;
return Instance;
}
static D3DVECTOR GetPixelPosition()
{
try
{
typedef void(__thiscall* tCInstanceBaseNEW_GetPixelPosition)(void* thisPtr, D3DVECTOR* pOut);
tCInstanceBaseNEW_GetPixelPosition GetPixel = (tCInstanceBaseNEW_GetPixelPosition)(client + metin2client::GetPixelPosition);
void* Instance = Addresses::GetMainActorPtr();
if (!Instance || !GetPixel)
return D3DVECTOR{ 0.f, 0.f, 0.f };
D3DVECTOR vector{};
GetPixel(Instance, &vector);
return vector;
}
catch (...) {
return D3DVECTOR{ 0.f, 0.f, 0.f };
}
}
DWORD WINAPI mantos(HMODULE hModule)
{
while (true)
{
D3DVECTOR VecOrigin = Gamepacked::GetPixelPosition();
Sleep(20);
}
}
extern "C" BOOL APIENTRY DllMain(HINSTANCE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
if (ul_reason_for_call == DLL_PROCESS_ATTACH)
{
DisableThreadLibraryCalls(hModule);
if (Beep(200, 200))
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)mantos, 0, 0, 0);
}
}
return TRUE;
}
extern "C" __declspec(dllexport) int Nethan2(int code, WPARAM wParam, LPARAM lParam) {
return CallNextHookEx(NULL, code, wParam, lParam);
}
anlatmama gereek yok getpixelposition'zaten yapamayanlar olursa bana discord dan yazsınlar
Son düzenleme:
- Katılım
- 13 Ocak 2020
- Konular
- 1,399
- Mesajlar
- 9,721
- Online süresi
- 1y 29g
- Reaksiyon Skoru
- 7,089
- Altın Konu
- 306
- Başarım Puanı
- 393
- TM Yaşı
- 6 Yıl 3 Ay 9 Gün
- MmoLira
- 3,946
- DevLira
- 15
Teşekkürler
- Katılım
- 10 Eyl 2024
- Konular
- 4
- Mesajlar
- 30
- Online süresi
- 1g 82144s
- Reaksiyon Skoru
- 5
- Altın Konu
- 0
- Başarım Puanı
- 27
- TM Yaşı
- 1 Yıl 7 Ay 11 Gün
- MmoLira
- 575
- DevLira
- 0
dc kullanıcı adım kixx_03124
- Katılım
- 8 Şub 2022
- Konular
- 95
- Mesajlar
- 645
- Online süresi
- 2ay 17g
- Reaksiyon Skoru
- 722
- Altın Konu
- 5
- Başarım Puanı
- 158
- Yaş
- 29
- TM Yaşı
- 4 Yıl 2 Ay 11 Gün
- MmoLira
- 15,792
- DevLira
- 0
dc eklemiyorum malesef yardım icindc kullanıcı adım kixx_03124
- Katılım
- 10 Kas 2009
- Konular
- 425
- Mesajlar
- 687
- Online süresi
- 11g 37006s
- Reaksiyon Skoru
- 194
- Altın Konu
- 0
- Başarım Puanı
- 187
- TM Yaşı
- 16 Yıl 5 Ay 14 Gün
- MmoLira
- 4,142
- DevLira
- 0
Hocam bu source koduyla mu WaitDamage yapılıyor suan öğrenme aşamasındayım TargetDamage yaptım metinlere falan tek atıyor fakat benim öğrenmek istediğim böyle yürürken tüm slotların ölmesi önüne çıkan herşeye targetdamage gibi vursun istiyorumC+ GetPixel:DWORD CPythonCharacterManager = 0x3BEB48; DWORD Instance = 0x14; DWORD GetPixelPosition = 0x006F170; static DWORD* GetMainActorPtr() { DWORD* CPythonCharacterManager = *(DWORD**)(client + metin2client::CPythonCharacterManager); if (!CPythonCharacterManager)return nullptr; DWORD* Instance = *(DWORD**)((DWORD)CPythonCharacterManager + metin2client::Instance); if (!Instance)return nullptr; return Instance; } static D3DVECTOR GetPixelPosition() { try { typedef void(__thiscall* tCInstanceBaseNEW_GetPixelPosition)(void* thisPtr, D3DVECTOR* pOut); tCInstanceBaseNEW_GetPixelPosition GetPixel = (tCInstanceBaseNEW_GetPixelPosition)(client + metin2client::GetPixelPosition); void* Instance = Addresses::GetMainActorPtr(); if (!Instance || !GetPixel) return D3DVECTOR{ 0.f, 0.f, 0.f }; D3DVECTOR vector{}; GetPixel(Instance, &vector); return vector; } catch (...) { return D3DVECTOR{ 0.f, 0.f, 0.f }; } } DWORD WINAPI mantos(HMODULE hModule) { while (true) { D3DVECTOR VecOrigin = Gamepacked::GetPixelPosition(); Sleep(20); } } extern "C" BOOL APIENTRY DllMain(HINSTANCE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) { if (ul_reason_for_call == DLL_PROCESS_ATTACH) { DisableThreadLibraryCalls(hModule); if (Beep(200, 200)) { CreateThread(0, 0, (LPTHREAD_START_ROUTINE)mantos, 0, 0, 0); } } return TRUE; } extern "C" __declspec(dllexport) int Nethan2(int code, WPARAM wParam, LPARAM lParam) { return CallNextHookEx(NULL, code, wParam, lParam); }
anlatmama gereek yok getpixelposition'zaten yapamayanlar olursa bana discord dan yazsınlar
Şu an konuyu görüntüleyenler (Toplam : 1, Üye: 0, Misafir: 1)
Benzer konular
- Cevaplar
- 11
- Görüntüleme
- 1K
- Cevaplar
- 3
- Görüntüleme
- 381
- Cevaplar
- 12
- Görüntüleme
- 2K
- Cevaplar
- 12
- Görüntüleme
- 1K
- Cevaplar
- 2
- Görüntüleme
- 545