Crafrise Gui

ANTİGRAVİTY(Gemini 3.1 Pro) YAPTIGI CRAFRİSEDE SORUNSUZ CALISAN GUİ
İNSERT İLE KAPANIP ACILIYOR
(NOT:HİÇBİR ÖZELİK CALIŞMIYOR)
DAHA NASIL GELİŞTİREBİLİRİM BU GUİYİ


#include <windows.h>
#include <iostream>
#include "MinHook.h"

// ImGui
#include "imgui.h"
#include "imgui_impl_win32.h"
#include "imgui_impl_opengl2.h"
#include <gl/GL.h>

#pragma comment(lib, "opengl32.lib")

typedef BOOL(WINAPI* twglSwapBuffers)(HDC hDc);
twglSwapBuffers o_wglSwapBuffers = nullptr;

typedef BOOL(WINAPI* tSetCursorPos)(int X, int Y);
tSetCursorPos o_SetCursorPos = nullptr;

typedef LRESULT(CALLBACK* tWndProc)(HWND, UINT, WPARAM, LPARAM);
tWndProc o_WndProc = nullptr;

bool bMenuOpen = false;
bool bInit = false;
HWND window = nullptr;

// FONT POINTERLARI (HD JİLET GİBİ YAZILAR İÇİN)
ImFont* bigFont = nullptr; // TheFloodDXD için (45px)
ImFont* mediumFont = nullptr; // Discord ve Menü Başlıkları İçin (24px)

extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);

// ------ KLAVYE/MOUSE OLAYLARI ------
LRESULT CALLBACK hkWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) {
if (msg == WM_KEYDOWN && wParam == VK_INSERT) {
bMenuOpen = !bMenuOpen;
ImGui::GetIO().MouseDrawCursor = bMenuOpen;
return true;
}

if (bMenuOpen) {
ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam);
if (msg >= WM_MOUSEFIRST && msg <= WM_MOUSELAST) return true;
if (msg >= WM_KEYFIRST && msg <= WM_KEYLAST) return true;
}

ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam);
return CallWindowProc(o_WndProc, hWnd, msg, wParam, lParam);
}

// ------ MOUSE OYUNA HAPSOLMASIN DİYE ------
BOOL WINAPI hkSetCursorPos(int X, int Y) {
if (bMenuOpen) return TRUE;
return o_SetCursorPos(X, Y);
}

// ------ MENU TASARIMI (PREMIUM SEKME YAPISI) ------
void DecorateMenu() {
ImGuiStyle& style = ImGui::GetStyle();
style.WindowRounding = 6.0f;
style.FrameRounding = 4.0f;
style.ChildRounding = 4.0f;

style.Colors[ImGuiCol_WindowBg] = ImVec4(0.06f, 0.06f, 0.06f, 0.96f);
style.Colors[ImGuiCol_Border] = ImVec4(0.30f, 0.15f, 0.85f, 1.0f);
style.Colors[ImGuiCol_TitleBg] = ImVec4(0.08f, 0.08f, 0.09f, 1.0f);
style.Colors[ImGuiCol_TitleBgActive] = ImVec4(0.30f, 0.15f, 0.85f, 1.0f);
style.Colors[ImGuiCol_Header] = ImVec4(0.30f, 0.15f, 0.85f, 1.0f);
style.Colors[ImGuiCol_HeaderHovered] = ImVec4(0.40f, 0.25f, 0.95f, 1.0f);
style.Colors[ImGuiCol_HeaderActive] = ImVec4(0.50f, 0.35f, 1.00f, 1.0f);
style.Colors[ImGuiCol_Text] = ImVec4(1.0f, 1.0f, 1.0f, 1.0f);
}

// ------ EKRAN RENDER'I ------
BOOL WINAPI hkwglSwapBuffers(HDC hDc) {
if (!bInit) {
window = WindowFromDC(hDc);
ImGui::CreateContext();
ImGuiIO& io = ImGui::GetIO();

io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard;

// MOUSE BUG'INI (FARENİN EKRANDA TİTREMESİ/GELMESİ) KÖKTEN ÇÖZEN O EFSANE KOD:
io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange;

io.Fonts->AddFontDefault();
// İKİ ADET HD FONT YÜKLÜYORUZ AMK!
bigFont = io.Fonts->AddFontFromFileTTF("C:\\Windows\\Fonts\\tahoma.ttf", 45.0f);
mediumFont = io.Fonts->AddFontFromFileTTF("C:\\Windows\\Fonts\\tahoma.ttf", 24.0f);

DecorateMenu();

ImGui_ImplWin32_Init(window);
ImGui_ImplOpenGL2_Init();

o_WndProc = (tWndProc)SetWindowLongPtr(window, GWLP_WNDPROC, (LONG_PTR)hkWndProc);
bInit = true;
}

ImGui_ImplOpenGL2_NewFrame();
ImGui_ImplWin32_NewFrame();
ImGui::NewFrame();

// GÖKKUŞAĞI MATEMATİĞİ
static float static_hue = 0.0f;
static_hue += 0.002f;
if (static_hue > 1.0f) static_hue = 0.0f;

float r, g, b;
ImGui::ColorConvertHSVtoRGB(static_hue, 1.0f, 1.0f, r, g, b);
ImVec4 rainbow(r, g, b, 1.0f);

// ============================================
// GÖKKUŞAĞI HUD (Sol Üst)
// ============================================
ImGui::SetNextWindowPos(ImVec2(15, 15), ImGuiCond_FirstUseEver);
ImGui::Begin("HUD_Watermark", nullptr, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoBackground | ImGuiWindowFlags_NoSavedSettings);

// TheFloodDXD Yazısı (Devasa 45px)
if (bigFont) ImGui::PushFont(bigFont);
ImGui::TextColored(rainbow, "TheFloodDXD");
if (bigFont) ImGui::PopFont();

// DISCORD KOPYALA BUTONU (Özel 24px Font ile, PİKSELSİZ ve GÖKKUŞAĞI RENKLİ)
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0, 0, 0, 0));
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, ImVec4(r, g, b, 0.2f)); // Üstüne gelince gökkuşağı parlaması
ImGui::PushStyleColor(ImGuiCol_ButtonActive, ImVec4(r, g, b, 0.4f));
ImGui::PushStyleColor(ImGuiCol_Text, rainbow);

if (mediumFont) ImGui::PushFont(mediumFont); // HD Küçük Font
if (ImGui::Button("> DISCORD: ok_2z <")) {
ImGui::SetClipboardText("ok_2z");
}
if (mediumFont) ImGui::PopFont();

ImGui::PopStyleColor(4);
ImGui::End();

// ============================================
// ANA MENÜ (PREMIUM SEKME YAPILI INSERT MENÜSÜ)
// ============================================
if (bMenuOpen) {
ImGui::SetNextWindowSize(ImVec2(650, 400), ImGuiCond_FirstUseEver); // Menüyü biraz büyüttüm
ImGui::Begin("Synapse Software | Premium Edition", &bMenuOpen, ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoResize);

static int tab = 0;

// --- SOL PANEL (Sekmeler) ---
ImGui::BeginChild("TabsPanel", ImVec2(120, 0), true);
if (ImGui::Selectable("COMBAT", tab == 0)) tab = 0;
ImGui::Spacing();
if (ImGui::Selectable("VISUALS", tab == 1)) tab = 1;
ImGui::Spacing();
if (ImGui::Selectable("MOVEMENT", tab == 2)) tab = 2;
ImGui::Spacing();
if (ImGui::Selectable("MISC", tab == 3)) tab = 3;
ImGui::EndChild();

ImGui::SameLine();

// --- SAĞ PANEL (Özellik İçerikleri ve Antigravity Çizimi) ---
ImGui::BeginChild("FeaturePanel", ImVec2(0, 0), true);

// ------------- ANTIGRAVITY ENGINE BANNER ÇİZİMİ -------------
// Attığın logonun birebir renkleri kullanılarak harika bir kutu çizilir.
ImVec2 p = ImGui::GetCursorScreenPos();
float w = ImGui::GetContentRegionAvail().x;

// Turuncudan Maviye doğru efsane gradient arka plan (Antigravity Logosundan ilham alındı)
ImGui::GetWindowDrawList()->AddRectFilledMultiColor(p, ImVec2(p.x + w, p.y + 45),
IM_COL32(255, 120, 0, 255), // Sol Üst (Turuncu)
IM_COL32(255, 50, 50, 255), // Sağ Üst (Kırmızımsı)
IM_COL32(40, 100, 255, 255), // Sağ Alt (Mavi)
IM_COL32(40, 180, 255, 255)); // Sol Alt (Açık Mavi)

// Üstündeki Yazı
if (mediumFont) ImGui::PushFont(mediumFont);
ImGui::SetCursorScreenPos(ImVec2(p.x + (w/2) - 120, p.y + 10)); // Ortalamak için ayarlandı
ImGui::TextColored(ImVec4(1, 1, 1, 1), "ANTIGRAVITY ENGINE");
if (mediumFont) ImGui::PopFont();

// Banner'dan sonra aşağı in
ImGui::SetCursorScreenPos(ImVec2(p.x, p.y + 55));
// -----------------------------------------------------------

static bool f_killaura, f_aimbot, f_reach, f_velocity;
static bool f_esp, f_chams, f_nametags;
static bool f_speed, f_fly, f_noslow;
static bool f_nofall, f_spammer;

if (tab == 0) { // COMBAT
ImGui::Spacing(); ImGui::Separator(); ImGui::Spacing();
ImGui::Checkbox("KillAura", &f_killaura); if (f_killaura) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("Aimbot", &f_aimbot); if (f_aimbot) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("Reach", &f_reach); if (f_reach) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("Velocity (Anti-Knockback)", &f_velocity); if (f_velocity) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
}
else if (tab == 1) { // VISUALS
ImGui::Spacing(); ImGui::Separator(); ImGui::Spacing();
ImGui::Checkbox("Player ESP", &f_esp); if (f_esp) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("Chams (Wallhack)", &f_chams);if (f_chams) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("NameTags", &f_nametags); if (f_nametags) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
}
else if (tab == 2) { // MOVEMENT
ImGui::Spacing(); ImGui::Separator(); ImGui::Spacing();
ImGui::Checkbox("SpeedHack", &f_speed); if (f_speed) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("Fly", &f_fly); if (f_fly) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("NoSlowDown", &f_noslow); if (f_noslow) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
}
else if (tab == 3) { // MISC
ImGui::Spacing(); ImGui::Separator(); ImGui::Spacing();
ImGui::Checkbox("NoFall", &f_nofall); if (f_nofall) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("Chat Spammer", &f_spammer); if (f_spammer) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
}

ImGui::EndChild();
ImGui::End();
}

ImGui::Render();
ImGui_ImplOpenGL2_RenderDrawData(ImGui::GetDrawData());

return o_wglSwapBuffers(hDc);
}

// ------ OYUNA ENJEKTE EDİLEN ANA THREAD ------
DWORD WINAPI MainThread(LPVOID lpReserved) {
HMODULE hMod = GetModuleHandleA("opengl32.dll");
if (!hMod) return FALSE;
void* pSwapBuffers = (void*)GetProcAddress(hMod, "wglSwapBuffers");

HMODULE hUser32 = GetModuleHandleA("user32.dll");
void* pSetCursorPos = (void*)GetProcAddress(hUser32, "SetCursorPos");

if (MH_Initialize() != MH_OK) return FALSE;

MH_CreateHook(pSwapBuffers, &hkwglSwapBuffers, reinterpret_cast<LPVOID*>(&o_wglSwapBuffers));
MH_CreateHook(pSetCursorPos, &hkSetCursorPos, reinterpret_cast<LPVOID*>(&o_SetCursorPos));

MH_EnableHook(MH_ALL_HOOKS);

while (true) {
Sleep(100);
}

return TRUE;
}

// ------ DLL START ------
BOOL WINAPI DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) {
if (ul_reason_for_call == DLL_PROCESS_ATTACH) {
DisableThreadLibraryCalls(hModule);
CreateThread(nullptr, 0, MainThread, hModule, 0, nullptr);
}
return TRUE;
}
İşinize yarar beyki
vox dei
 
ortada bi proje yokken gui yi nabicaksin wglbuffers glortho opengl gibi şeyllerle çizim yapiyosun zaten pek önemi yok gibi renderin önce modullere falan bak ve görünüşe göre hiç uğraşilmamiş gibime geldi

- Font.ttf ekle
- İcon.ttf ekle
-Categoryleri daha net ve anlaşilir büyüklüklerde yazabilirisn

kısaca iconlar fontlar i düzenle categoryleri isimle deil mesela iconla yapabvilrisin örnek oalrak module açıklamalaırnı falan font ile düzgün yazabilirsin pixel pixel olmaz enazindan
 
ANTİGRAVİTY(Gemini 3.1 Pro) YAPTIGI CRAFRİSEDE SORUNSUZ CALISAN GUİ
İNSERT İLE KAPANIP ACILIYOR
(NOT:HİÇBİR ÖZELİK CALIŞMIYOR)
DAHA NASIL GELİŞTİREBİLİRİM BU GUİYİ


#include <windows.h>
#include <iostream>
#include "MinHook.h"

// ImGui
#include "imgui.h"
#include "imgui_impl_win32.h"
#include "imgui_impl_opengl2.h"
#include <gl/GL.h>

#pragma comment(lib, "opengl32.lib")

typedef BOOL(WINAPI* twglSwapBuffers)(HDC hDc);
twglSwapBuffers o_wglSwapBuffers = nullptr;

typedef BOOL(WINAPI* tSetCursorPos)(int X, int Y);
tSetCursorPos o_SetCursorPos = nullptr;

typedef LRESULT(CALLBACK* tWndProc)(HWND, UINT, WPARAM, LPARAM);
tWndProc o_WndProc = nullptr;

bool bMenuOpen = false;
bool bInit = false;
HWND window = nullptr;

// FONT POINTERLARI (HD JİLET GİBİ YAZILAR İÇİN)
ImFont* bigFont = nullptr; // TheFloodDXD için (45px)
ImFont* mediumFont = nullptr; // Discord ve Menü Başlıkları İçin (24px)

extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);

// ------ KLAVYE/MOUSE OLAYLARI ------
LRESULT CALLBACK hkWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) {
if (msg == WM_KEYDOWN && wParam == VK_INSERT) {
bMenuOpen = !bMenuOpen;
ImGui::GetIO().MouseDrawCursor = bMenuOpen;
return true;
}

if (bMenuOpen) {
ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam);
if (msg >= WM_MOUSEFIRST && msg <= WM_MOUSELAST) return true;
if (msg >= WM_KEYFIRST && msg <= WM_KEYLAST) return true;
}

ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam);
return CallWindowProc(o_WndProc, hWnd, msg, wParam, lParam);
}

// ------ MOUSE OYUNA HAPSOLMASIN DİYE ------
BOOL WINAPI hkSetCursorPos(int X, int Y) {
if (bMenuOpen) return TRUE;
return o_SetCursorPos(X, Y);
}

// ------ MENU TASARIMI (PREMIUM SEKME YAPISI) ------
void DecorateMenu() {
ImGuiStyle& style = ImGui::GetStyle();
style.WindowRounding = 6.0f;
style.FrameRounding = 4.0f;
style.ChildRounding = 4.0f;

style.Colors[ImGuiCol_WindowBg] = ImVec4(0.06f, 0.06f, 0.06f, 0.96f);
style.Colors[ImGuiCol_Border] = ImVec4(0.30f, 0.15f, 0.85f, 1.0f);
style.Colors[ImGuiCol_TitleBg] = ImVec4(0.08f, 0.08f, 0.09f, 1.0f);
style.Colors[ImGuiCol_TitleBgActive] = ImVec4(0.30f, 0.15f, 0.85f, 1.0f);
style.Colors[ImGuiCol_Header] = ImVec4(0.30f, 0.15f, 0.85f, 1.0f);
style.Colors[ImGuiCol_HeaderHovered] = ImVec4(0.40f, 0.25f, 0.95f, 1.0f);
style.Colors[ImGuiCol_HeaderActive] = ImVec4(0.50f, 0.35f, 1.00f, 1.0f);
style.Colors[ImGuiCol_Text] = ImVec4(1.0f, 1.0f, 1.0f, 1.0f);
}

// ------ EKRAN RENDER'I ------
BOOL WINAPI hkwglSwapBuffers(HDC hDc) {
if (!bInit) {
window = WindowFromDC(hDc);
ImGui::CreateContext();
ImGuiIO& io = ImGui::GetIO();

io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard;

// MOUSE BUG'INI (FARENİN EKRANDA TİTREMESİ/GELMESİ) KÖKTEN ÇÖZEN O EFSANE KOD:
io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange;

io.Fonts->AddFontDefault();
// İKİ ADET HD FONT YÜKLÜYORUZ AMK!
bigFont = io.Fonts->AddFontFromFileTTF("C:\\Windows\\Fonts\\tahoma.ttf", 45.0f);
mediumFont = io.Fonts->AddFontFromFileTTF("C:\\Windows\\Fonts\\tahoma.ttf", 24.0f);

DecorateMenu();

ImGui_ImplWin32_Init(window);
ImGui_ImplOpenGL2_Init();

o_WndProc = (tWndProc)SetWindowLongPtr(window, GWLP_WNDPROC, (LONG_PTR)hkWndProc);
bInit = true;
}

ImGui_ImplOpenGL2_NewFrame();
ImGui_ImplWin32_NewFrame();
ImGui::NewFrame();

// GÖKKUŞAĞI MATEMATİĞİ
static float static_hue = 0.0f;
static_hue += 0.002f;
if (static_hue > 1.0f) static_hue = 0.0f;

float r, g, b;
ImGui::ColorConvertHSVtoRGB(static_hue, 1.0f, 1.0f, r, g, b);
ImVec4 rainbow(r, g, b, 1.0f);

// ============================================
// GÖKKUŞAĞI HUD (Sol Üst)
// ============================================
ImGui::SetNextWindowPos(ImVec2(15, 15), ImGuiCond_FirstUseEver);
ImGui::Begin("HUD_Watermark", nullptr, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoBackground | ImGuiWindowFlags_NoSavedSettings);

// TheFloodDXD Yazısı (Devasa 45px)
if (bigFont) ImGui::PushFont(bigFont);
ImGui::TextColored(rainbow, "TheFloodDXD");
if (bigFont) ImGui::PopFont();

// DISCORD KOPYALA BUTONU (Özel 24px Font ile, PİKSELSİZ ve GÖKKUŞAĞI RENKLİ)
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0, 0, 0, 0));
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, ImVec4(r, g, b, 0.2f)); // Üstüne gelince gökkuşağı parlaması
ImGui::PushStyleColor(ImGuiCol_ButtonActive, ImVec4(r, g, b, 0.4f));
ImGui::PushStyleColor(ImGuiCol_Text, rainbow);

if (mediumFont) ImGui::PushFont(mediumFont); // HD Küçük Font
if (ImGui::Button("> DISCORD: ok_2z <")) {
ImGui::SetClipboardText("ok_2z");
}
if (mediumFont) ImGui::PopFont();

ImGui::PopStyleColor(4);
ImGui::End();

// ============================================
// ANA MENÜ (PREMIUM SEKME YAPILI INSERT MENÜSÜ)
// ============================================
if (bMenuOpen) {
ImGui::SetNextWindowSize(ImVec2(650, 400), ImGuiCond_FirstUseEver); // Menüyü biraz büyüttüm
ImGui::Begin("Synapse Software | Premium Edition", &bMenuOpen, ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoResize);

static int tab = 0;

// --- SOL PANEL (Sekmeler) ---
ImGui::BeginChild("TabsPanel", ImVec2(120, 0), true);
if (ImGui::Selectable("COMBAT", tab == 0)) tab = 0;
ImGui::Spacing();
if (ImGui::Selectable("VISUALS", tab == 1)) tab = 1;
ImGui::Spacing();
if (ImGui::Selectable("MOVEMENT", tab == 2)) tab = 2;
ImGui::Spacing();
if (ImGui::Selectable("MISC", tab == 3)) tab = 3;
ImGui::EndChild();

ImGui::SameLine();

// --- SAĞ PANEL (Özellik İçerikleri ve Antigravity Çizimi) ---
ImGui::BeginChild("FeaturePanel", ImVec2(0, 0), true);

// ------------- ANTIGRAVITY ENGINE BANNER ÇİZİMİ -------------
// Attığın logonun birebir renkleri kullanılarak harika bir kutu çizilir.
ImVec2 p = ImGui::GetCursorScreenPos();
float w = ImGui::GetContentRegionAvail().x;

// Turuncudan Maviye doğru efsane gradient arka plan (Antigravity Logosundan ilham alındı)
ImGui::GetWindowDrawList()->AddRectFilledMultiColor(p, ImVec2(p.x + w, p.y + 45),
IM_COL32(255, 120, 0, 255), // Sol Üst (Turuncu)
IM_COL32(255, 50, 50, 255), // Sağ Üst (Kırmızımsı)
IM_COL32(40, 100, 255, 255), // Sağ Alt (Mavi)
IM_COL32(40, 180, 255, 255)); // Sol Alt (Açık Mavi)

// Üstündeki Yazı
if (mediumFont) ImGui::PushFont(mediumFont);
ImGui::SetCursorScreenPos(ImVec2(p.x + (w/2) - 120, p.y + 10)); // Ortalamak için ayarlandı
ImGui::TextColored(ImVec4(1, 1, 1, 1), "ANTIGRAVITY ENGINE");
if (mediumFont) ImGui::PopFont();

// Banner'dan sonra aşağı in
ImGui::SetCursorScreenPos(ImVec2(p.x, p.y + 55));
// -----------------------------------------------------------

static bool f_killaura, f_aimbot, f_reach, f_velocity;
static bool f_esp, f_chams, f_nametags;
static bool f_speed, f_fly, f_noslow;
static bool f_nofall, f_spammer;

if (tab == 0) { // COMBAT
ImGui::Spacing(); ImGui::Separator(); ImGui::Spacing();
ImGui::Checkbox("KillAura", &f_killaura); if (f_killaura) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("Aimbot", &f_aimbot); if (f_aimbot) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("Reach", &f_reach); if (f_reach) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("Velocity (Anti-Knockback)", &f_velocity); if (f_velocity) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
}
else if (tab == 1) { // VISUALS
ImGui::Spacing(); ImGui::Separator(); ImGui::Spacing();
ImGui::Checkbox("Player ESP", &f_esp); if (f_esp) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("Chams (Wallhack)", &f_chams);if (f_chams) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("NameTags", &f_nametags); if (f_nametags) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
}
else if (tab == 2) { // MOVEMENT
ImGui::Spacing(); ImGui::Separator(); ImGui::Spacing();
ImGui::Checkbox("SpeedHack", &f_speed); if (f_speed) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("Fly", &f_fly); if (f_fly) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("NoSlowDown", &f_noslow); if (f_noslow) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
}
else if (tab == 3) { // MISC
ImGui::Spacing(); ImGui::Separator(); ImGui::Spacing();
ImGui::Checkbox("NoFall", &f_nofall); if (f_nofall) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("Chat Spammer", &f_spammer); if (f_spammer) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
}

ImGui::EndChild();
ImGui::End();
}

ImGui::Render();
ImGui_ImplOpenGL2_RenderDrawData(ImGui::GetDrawData());

return o_wglSwapBuffers(hDc);
}

// ------ OYUNA ENJEKTE EDİLEN ANA THREAD ------
DWORD WINAPI MainThread(LPVOID lpReserved) {
HMODULE hMod = GetModuleHandleA("opengl32.dll");
if (!hMod) return FALSE;
void* pSwapBuffers = (void*)GetProcAddress(hMod, "wglSwapBuffers");

HMODULE hUser32 = GetModuleHandleA("user32.dll");
void* pSetCursorPos = (void*)GetProcAddress(hUser32, "SetCursorPos");

if (MH_Initialize() != MH_OK) return FALSE;

MH_CreateHook(pSwapBuffers, &hkwglSwapBuffers, reinterpret_cast<LPVOID*>(&o_wglSwapBuffers));
MH_CreateHook(pSetCursorPos, &hkSetCursorPos, reinterpret_cast<LPVOID*>(&o_SetCursorPos));

MH_EnableHook(MH_ALL_HOOKS);

while (true) {
Sleep(100);
}

return TRUE;
}

// ------ DLL START ------
BOOL WINAPI DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) {
if (ul_reason_for_call == DLL_PROCESS_ATTACH) {
DisableThreadLibraryCalls(hModule);
CreateThread(nullptr, 0, MainThread, hModule, 0, nullptr);
}
return TRUE;
}
İşinize yarar beyki
e.s knk
 
fi02s3y.png
 
Kardesim siteye hesap olusturmadan bakiyordum ve en fazla ne kadar kötü olabilir ki diyip hizliresim linkine tiklayabilmek icin hesap olusturdum, gercekten bok gibiydi mumkunse bir daha hicbir is yapma
 
ANTİGRAVİTY(Gemini 3.1 Pro) YAPTIGI CRAFRİSEDE SORUNSUZ CALISAN GUİ
İNSERT İLE KAPANIP ACILIYOR
(NOT:HİÇBİR ÖZELİK CALIŞMIYOR)
DAHA NASIL GELİŞTİREBİLİRİM BU GUİYİ


#include <windows.h>
#include <iostream>
#include "MinHook.h"

// ImGui
#include "imgui.h"
#include "imgui_impl_win32.h"
#include "imgui_impl_opengl2.h"
#include <gl/GL.h>

#pragma comment(lib, "opengl32.lib")

typedef BOOL(WINAPI* twglSwapBuffers)(HDC hDc);
twglSwapBuffers o_wglSwapBuffers = nullptr;

typedef BOOL(WINAPI* tSetCursorPos)(int X, int Y);
tSetCursorPos o_SetCursorPos = nullptr;

typedef LRESULT(CALLBACK* tWndProc)(HWND, UINT, WPARAM, LPARAM);
tWndProc o_WndProc = nullptr;

bool bMenuOpen = false;
bool bInit = false;
HWND window = nullptr;

// FONT POINTERLARI (HD JİLET GİBİ YAZILAR İÇİN)
ImFont* bigFont = nullptr; // TheFloodDXD için (45px)
ImFont* mediumFont = nullptr; // Discord ve Menü Başlıkları İçin (24px)

extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);

// ------ KLAVYE/MOUSE OLAYLARI ------
LRESULT CALLBACK hkWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) {
if (msg == WM_KEYDOWN && wParam == VK_INSERT) {
bMenuOpen = !bMenuOpen;
ImGui::GetIO().MouseDrawCursor = bMenuOpen;
return true;
}

if (bMenuOpen) {
ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam);
if (msg >= WM_MOUSEFIRST && msg <= WM_MOUSELAST) return true;
if (msg >= WM_KEYFIRST && msg <= WM_KEYLAST) return true;
}

ImGui_ImplWin32_WndProcHandler(hWnd, msg, wParam, lParam);
return CallWindowProc(o_WndProc, hWnd, msg, wParam, lParam);
}

// ------ MOUSE OYUNA HAPSOLMASIN DİYE ------
BOOL WINAPI hkSetCursorPos(int X, int Y) {
if (bMenuOpen) return TRUE;
return o_SetCursorPos(X, Y);
}

// ------ MENU TASARIMI (PREMIUM SEKME YAPISI) ------
void DecorateMenu() {
ImGuiStyle& style = ImGui::GetStyle();
style.WindowRounding = 6.0f;
style.FrameRounding = 4.0f;
style.ChildRounding = 4.0f;

style.Colors[ImGuiCol_WindowBg] = ImVec4(0.06f, 0.06f, 0.06f, 0.96f);
style.Colors[ImGuiCol_Border] = ImVec4(0.30f, 0.15f, 0.85f, 1.0f);
style.Colors[ImGuiCol_TitleBg] = ImVec4(0.08f, 0.08f, 0.09f, 1.0f);
style.Colors[ImGuiCol_TitleBgActive] = ImVec4(0.30f, 0.15f, 0.85f, 1.0f);
style.Colors[ImGuiCol_Header] = ImVec4(0.30f, 0.15f, 0.85f, 1.0f);
style.Colors[ImGuiCol_HeaderHovered] = ImVec4(0.40f, 0.25f, 0.95f, 1.0f);
style.Colors[ImGuiCol_HeaderActive] = ImVec4(0.50f, 0.35f, 1.00f, 1.0f);
style.Colors[ImGuiCol_Text] = ImVec4(1.0f, 1.0f, 1.0f, 1.0f);
}

// ------ EKRAN RENDER'I ------
BOOL WINAPI hkwglSwapBuffers(HDC hDc) {
if (!bInit) {
window = WindowFromDC(hDc);
ImGui::CreateContext();
ImGuiIO& io = ImGui::GetIO();

io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard;

// MOUSE BUG'INI (FARENİN EKRANDA TİTREMESİ/GELMESİ) KÖKTEN ÇÖZEN O EFSANE KOD:
io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange;

io.Fonts->AddFontDefault();
// İKİ ADET HD FONT YÜKLÜYORUZ AMK!
bigFont = io.Fonts->AddFontFromFileTTF("C:\\Windows\\Fonts\\tahoma.ttf", 45.0f);
mediumFont = io.Fonts->AddFontFromFileTTF("C:\\Windows\\Fonts\\tahoma.ttf", 24.0f);

DecorateMenu();

ImGui_ImplWin32_Init(window);
ImGui_ImplOpenGL2_Init();

o_WndProc = (tWndProc)SetWindowLongPtr(window, GWLP_WNDPROC, (LONG_PTR)hkWndProc);
bInit = true;
}

ImGui_ImplOpenGL2_NewFrame();
ImGui_ImplWin32_NewFrame();
ImGui::NewFrame();

// GÖKKUŞAĞI MATEMATİĞİ
static float static_hue = 0.0f;
static_hue += 0.002f;
if (static_hue > 1.0f) static_hue = 0.0f;

float r, g, b;
ImGui::ColorConvertHSVtoRGB(static_hue, 1.0f, 1.0f, r, g, b);
ImVec4 rainbow(r, g, b, 1.0f);

// ============================================
// GÖKKUŞAĞI HUD (Sol Üst)
// ============================================
ImGui::SetNextWindowPos(ImVec2(15, 15), ImGuiCond_FirstUseEver);
ImGui::Begin("HUD_Watermark", nullptr, ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoBackground | ImGuiWindowFlags_NoSavedSettings);

// TheFloodDXD Yazısı (Devasa 45px)
if (bigFont) ImGui::PushFont(bigFont);
ImGui::TextColored(rainbow, "TheFloodDXD");
if (bigFont) ImGui::PopFont();

// DISCORD KOPYALA BUTONU (Özel 24px Font ile, PİKSELSİZ ve GÖKKUŞAĞI RENKLİ)
ImGui::PushStyleColor(ImGuiCol_Button, ImVec4(0, 0, 0, 0));
ImGui::PushStyleColor(ImGuiCol_ButtonHovered, ImVec4(r, g, b, 0.2f)); // Üstüne gelince gökkuşağı parlaması
ImGui::PushStyleColor(ImGuiCol_ButtonActive, ImVec4(r, g, b, 0.4f));
ImGui::PushStyleColor(ImGuiCol_Text, rainbow);

if (mediumFont) ImGui::PushFont(mediumFont); // HD Küçük Font
if (ImGui::Button("> DISCORD: ok_2z <")) {
ImGui::SetClipboardText("ok_2z");
}
if (mediumFont) ImGui::PopFont();

ImGui::PopStyleColor(4);
ImGui::End();

// ============================================
// ANA MENÜ (PREMIUM SEKME YAPILI INSERT MENÜSÜ)
// ============================================
if (bMenuOpen) {
ImGui::SetNextWindowSize(ImVec2(650, 400), ImGuiCond_FirstUseEver); // Menüyü biraz büyüttüm
ImGui::Begin("Synapse Software | Premium Edition", &bMenuOpen, ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoResize);

static int tab = 0;

// --- SOL PANEL (Sekmeler) ---
ImGui::BeginChild("TabsPanel", ImVec2(120, 0), true);
if (ImGui::Selectable("COMBAT", tab == 0)) tab = 0;
ImGui::Spacing();
if (ImGui::Selectable("VISUALS", tab == 1)) tab = 1;
ImGui::Spacing();
if (ImGui::Selectable("MOVEMENT", tab == 2)) tab = 2;
ImGui::Spacing();
if (ImGui::Selectable("MISC", tab == 3)) tab = 3;
ImGui::EndChild();

ImGui::SameLine();

// --- SAĞ PANEL (Özellik İçerikleri ve Antigravity Çizimi) ---
ImGui::BeginChild("FeaturePanel", ImVec2(0, 0), true);

// ------------- ANTIGRAVITY ENGINE BANNER ÇİZİMİ -------------
// Attığın logonun birebir renkleri kullanılarak harika bir kutu çizilir.
ImVec2 p = ImGui::GetCursorScreenPos();
float w = ImGui::GetContentRegionAvail().x;

// Turuncudan Maviye doğru efsane gradient arka plan (Antigravity Logosundan ilham alındı)
ImGui::GetWindowDrawList()->AddRectFilledMultiColor(p, ImVec2(p.x + w, p.y + 45),
IM_COL32(255, 120, 0, 255), // Sol Üst (Turuncu)
IM_COL32(255, 50, 50, 255), // Sağ Üst (Kırmızımsı)
IM_COL32(40, 100, 255, 255), // Sağ Alt (Mavi)
IM_COL32(40, 180, 255, 255)); // Sol Alt (Açık Mavi)

// Üstündeki Yazı
if (mediumFont) ImGui::PushFont(mediumFont);
ImGui::SetCursorScreenPos(ImVec2(p.x + (w/2) - 120, p.y + 10)); // Ortalamak için ayarlandı
ImGui::TextColored(ImVec4(1, 1, 1, 1), "ANTIGRAVITY ENGINE");
if (mediumFont) ImGui::PopFont();

// Banner'dan sonra aşağı in
ImGui::SetCursorScreenPos(ImVec2(p.x, p.y + 55));
// -----------------------------------------------------------

static bool f_killaura, f_aimbot, f_reach, f_velocity;
static bool f_esp, f_chams, f_nametags;
static bool f_speed, f_fly, f_noslow;
static bool f_nofall, f_spammer;

if (tab == 0) { // COMBAT
ImGui::Spacing(); ImGui::Separator(); ImGui::Spacing();
ImGui::Checkbox("KillAura", &f_killaura); if (f_killaura) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("Aimbot", &f_aimbot); if (f_aimbot) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("Reach", &f_reach); if (f_reach) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("Velocity (Anti-Knockback)", &f_velocity); if (f_velocity) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
}
else if (tab == 1) { // VISUALS
ImGui::Spacing(); ImGui::Separator(); ImGui::Spacing();
ImGui::Checkbox("Player ESP", &f_esp); if (f_esp) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("Chams (Wallhack)", &f_chams);if (f_chams) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("NameTags", &f_nametags); if (f_nametags) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
}
else if (tab == 2) { // MOVEMENT
ImGui::Spacing(); ImGui::Separator(); ImGui::Spacing();
ImGui::Checkbox("SpeedHack", &f_speed); if (f_speed) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("Fly", &f_fly); if (f_fly) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("NoSlowDown", &f_noslow); if (f_noslow) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
}
else if (tab == 3) { // MISC
ImGui::Spacing(); ImGui::Separator(); ImGui::Spacing();
ImGui::Checkbox("NoFall", &f_nofall); if (f_nofall) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
ImGui::Checkbox("Chat Spammer", &f_spammer); if (f_spammer) { ImGui::SameLine(); ImGui::TextColored(ImVec4(1, 0, 0, 1), " > GELISTIRILECEK!"); }
}

ImGui::EndChild();
ImGui::End();
}

ImGui::Render();
ImGui_ImplOpenGL2_RenderDrawData(ImGui::GetDrawData());

return o_wglSwapBuffers(hDc);
}

// ------ OYUNA ENJEKTE EDİLEN ANA THREAD ------
DWORD WINAPI MainThread(LPVOID lpReserved) {
HMODULE hMod = GetModuleHandleA("opengl32.dll");
if (!hMod) return FALSE;
void* pSwapBuffers = (void*)GetProcAddress(hMod, "wglSwapBuffers");

HMODULE hUser32 = GetModuleHandleA("user32.dll");
void* pSetCursorPos = (void*)GetProcAddress(hUser32, "SetCursorPos");

if (MH_Initialize() != MH_OK) return FALSE;

MH_CreateHook(pSwapBuffers, &hkwglSwapBuffers, reinterpret_cast<LPVOID*>(&o_wglSwapBuffers));
MH_CreateHook(pSetCursorPos, &hkSetCursorPos, reinterpret_cast<LPVOID*>(&o_SetCursorPos));

MH_EnableHook(MH_ALL_HOOKS);

while (true) {
Sleep(100);
}

return TRUE;
}

// ------ DLL START ------
BOOL WINAPI DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) {
if (ul_reason_for_call == DLL_PROCESS_ATTACH) {
DisableThreadLibraryCalls(hModule);
CreateThread(nullptr, 0, MainThread, hModule, 0, nullptr);
}
return TRUE;
}
İşinize yarar beyki
klavyeye malafatimi sursem daha iyi sey cikar kardesim.
 

Şuanda konuyu görüntüleyen kullanıcılar

Geri
Üst Alt