From 9013437a8d90ac328a772f4b6580056e627bdaa2 Mon Sep 17 00:00:00 2001 From: nullifiedcat Date: Wed, 14 Dec 2016 15:50:24 +0300 Subject: [PATCH] mv /uran/ to /cathook/ --- {uran => cathook}/.cproject | 0 {uran => cathook}/.gitignore | 0 cathook/.project | 38 ++++++ .../.settings/language.settings.xml | 0 .../org.eclipse.cdt.codan.core.prefs | 0 .../org.eclipse.cdt.managedbuilder.core.prefs | 0 {uran => cathook}/TODO | 0 {uran => cathook}/src/CDumper.h | 0 {uran => cathook}/src/common.h | 0 .../src/copypasted/CSignature.cpp | 0 {uran => cathook}/src/copypasted/CSignature.h | 0 {uran => cathook}/src/copypasted/Netvar.cpp | 0 {uran => cathook}/src/copypasted/Netvar.h | 0 {uran => cathook}/src/cvarspoof.h | 0 {uran => cathook}/src/drawing.cpp | 0 {uran => cathook}/src/drawing.h | 0 {uran => cathook}/src/entity.cpp | 0 {uran => cathook}/src/entity.h | 0 {uran => cathook}/src/entitycache.cpp | 0 {uran => cathook}/src/entitycache.h | 0 {uran => cathook}/src/entry.cpp | 0 {uran => cathook}/src/enums.h | 0 {uran => cathook}/src/fixsdk.h | 0 {uran => cathook}/src/globals.cpp | 0 {uran => cathook}/src/globals.h | 0 {uran => cathook}/src/hack.cpp | 0 {uran => cathook}/src/hack.h | 0 {uran => cathook}/src/hacks/Aimbot.cpp | 0 {uran => cathook}/src/hacks/Aimbot.h | 0 {uran => cathook}/src/hacks/Airstuck.cpp | 0 {uran => cathook}/src/hacks/Airstuck.h | 0 {uran => cathook}/src/hacks/AntiAim.cpp | 0 {uran => cathook}/src/hacks/AntiAim.h | 0 {uran => cathook}/src/hacks/AntiDisguise.cpp | 0 {uran => cathook}/src/hacks/AntiDisguise.h | 0 {uran => cathook}/src/hacks/AutoHeal.cpp | 0 {uran => cathook}/src/hacks/AutoHeal.h | 0 {uran => cathook}/src/hacks/AutoReflect.cpp | 0 {uran => cathook}/src/hacks/AutoReflect.h | 0 {uran => cathook}/src/hacks/AutoSticky.cpp | 0 {uran => cathook}/src/hacks/AutoSticky.h | 0 {uran => cathook}/src/hacks/AutoStrafe.cpp | 0 {uran => cathook}/src/hacks/AutoStrafe.h | 0 {uran => cathook}/src/hacks/Bunnyhop.cpp | 0 {uran => cathook}/src/hacks/Bunnyhop.h | 0 {uran => cathook}/src/hacks/ESP.cpp | 0 {uran => cathook}/src/hacks/ESP.h | 0 {uran => cathook}/src/hacks/FollowBot.cpp | 0 {uran => cathook}/src/hacks/FollowBot.h | 0 .../src/hacks/HuntsmanCompensation.cpp | 0 .../src/hacks/HuntsmanCompensation.h | 0 {uran => cathook}/src/hacks/IHack.h | 0 {uran => cathook}/src/hacks/Misc.cpp | 0 {uran => cathook}/src/hacks/Misc.h | 0 {uran => cathook}/src/hacks/SpyAlert.cpp | 0 {uran => cathook}/src/hacks/SpyAlert.h | 0 {uran => cathook}/src/hacks/Trigger.cpp | 0 {uran => cathook}/src/hacks/Trigger.h | 0 {uran => cathook}/src/helpers.cpp | 0 {uran => cathook}/src/helpers.h | 0 {uran => cathook}/src/hooks.cpp | 0 {uran => cathook}/src/hooks.h | 0 {uran => cathook}/src/interfaces.cpp | 0 {uran => cathook}/src/interfaces.h | 0 {uran => cathook}/src/ipc/ipcctl.cpp | 0 {uran => cathook}/src/ipc/ipcctl.h | 0 {uran => cathook}/src/localplayer.cpp | 0 {uran => cathook}/src/localplayer.h | 0 {uran => cathook}/src/logging.cpp | 0 {uran => cathook}/src/logging.h | 0 {uran => cathook}/src/netmessage.cpp | 0 {uran => cathook}/src/netmessage.h | 0 {uran => cathook}/src/playerresource.cpp | 0 {uran => cathook}/src/playerresource.h | 0 {uran => cathook}/src/prediction.cpp | 0 {uran => cathook}/src/prediction.h | 0 {uran => cathook}/src/profiler.cpp | 0 {uran => cathook}/src/profiler.h | 0 {uran => cathook}/src/relations.cpp | 0 {uran => cathook}/src/relations.h | 0 {uran => cathook}/src/sdk.h | 0 {uran => cathook}/src/sdk/convar.cpp | 0 {uran => cathook}/src/sdk/in_buttons.h | 0 {uran => cathook}/src/sharedobj.cpp | 0 {uran => cathook}/src/sharedobj.h | 0 {uran => cathook}/src/targethelper.cpp | 0 {uran => cathook}/src/targethelper.h | 0 .../src/targeting/ITargetSystem.cpp | 0 .../src/targeting/ITargetSystem.h | 0 .../src/targeting/TargetSystemDistance.cpp | 0 .../src/targeting/TargetSystemDistance.h | 0 .../src/targeting/TargetSystemFOV.cpp | 0 .../src/targeting/TargetSystemFOV.h | 0 .../src/targeting/TargetSystemSmart.cpp | 0 .../src/targeting/TargetSystemSmart.h | 0 {uran => cathook}/src/trace.cpp | 0 {uran => cathook}/src/trace.h | 0 {uran => cathook}/src/usercmd.h | 0 {uran => cathook}/src/weaponprefs.cpp | 0 {uran => cathook}/src/weaponprefs.h | 0 uran/src_/Log.cpp | 50 -------- uran/src_/Log.h | 19 --- uran/src_/SharedObject.cpp | 46 ------- uran/src_/SharedObject.h | 29 ----- uran/src_/Uran.h | 62 ---------- uran/src_/draw.h | 48 ------- uran/src_/hooks.h | 18 --- uran/src_/main.cpp | 117 ------------------ uran/src_/sdk.h | 33 ----- uran/src_/sigscan.h | 38 ------ uran/src_/stdheader.h | 20 --- uran/src_/vtable.h | 31 ----- 112 files changed, 38 insertions(+), 511 deletions(-) rename {uran => cathook}/.cproject (100%) rename {uran => cathook}/.gitignore (100%) create mode 100644 cathook/.project rename {uran => cathook}/.settings/language.settings.xml (100%) rename {uran => cathook}/.settings/org.eclipse.cdt.codan.core.prefs (100%) rename {uran => cathook}/.settings/org.eclipse.cdt.managedbuilder.core.prefs (100%) rename {uran => cathook}/TODO (100%) rename {uran => cathook}/src/CDumper.h (100%) rename {uran => cathook}/src/common.h (100%) rename {uran => cathook}/src/copypasted/CSignature.cpp (100%) rename {uran => cathook}/src/copypasted/CSignature.h (100%) rename {uran => cathook}/src/copypasted/Netvar.cpp (100%) rename {uran => cathook}/src/copypasted/Netvar.h (100%) rename {uran => cathook}/src/cvarspoof.h (100%) rename {uran => cathook}/src/drawing.cpp (100%) rename {uran => cathook}/src/drawing.h (100%) rename {uran => cathook}/src/entity.cpp (100%) rename {uran => cathook}/src/entity.h (100%) rename {uran => cathook}/src/entitycache.cpp (100%) rename {uran => cathook}/src/entitycache.h (100%) rename {uran => cathook}/src/entry.cpp (100%) rename {uran => cathook}/src/enums.h (100%) rename {uran => cathook}/src/fixsdk.h (100%) rename {uran => cathook}/src/globals.cpp (100%) rename {uran => cathook}/src/globals.h (100%) rename {uran => cathook}/src/hack.cpp (100%) rename {uran => cathook}/src/hack.h (100%) rename {uran => cathook}/src/hacks/Aimbot.cpp (100%) rename {uran => cathook}/src/hacks/Aimbot.h (100%) rename {uran => cathook}/src/hacks/Airstuck.cpp (100%) rename {uran => cathook}/src/hacks/Airstuck.h (100%) rename {uran => cathook}/src/hacks/AntiAim.cpp (100%) rename {uran => cathook}/src/hacks/AntiAim.h (100%) rename {uran => cathook}/src/hacks/AntiDisguise.cpp (100%) rename {uran => cathook}/src/hacks/AntiDisguise.h (100%) rename {uran => cathook}/src/hacks/AutoHeal.cpp (100%) rename {uran => cathook}/src/hacks/AutoHeal.h (100%) rename {uran => cathook}/src/hacks/AutoReflect.cpp (100%) rename {uran => cathook}/src/hacks/AutoReflect.h (100%) rename {uran => cathook}/src/hacks/AutoSticky.cpp (100%) rename {uran => cathook}/src/hacks/AutoSticky.h (100%) rename {uran => cathook}/src/hacks/AutoStrafe.cpp (100%) rename {uran => cathook}/src/hacks/AutoStrafe.h (100%) rename {uran => cathook}/src/hacks/Bunnyhop.cpp (100%) rename {uran => cathook}/src/hacks/Bunnyhop.h (100%) rename {uran => cathook}/src/hacks/ESP.cpp (100%) rename {uran => cathook}/src/hacks/ESP.h (100%) rename {uran => cathook}/src/hacks/FollowBot.cpp (100%) rename {uran => cathook}/src/hacks/FollowBot.h (100%) rename {uran => cathook}/src/hacks/HuntsmanCompensation.cpp (100%) rename {uran => cathook}/src/hacks/HuntsmanCompensation.h (100%) rename {uran => cathook}/src/hacks/IHack.h (100%) rename {uran => cathook}/src/hacks/Misc.cpp (100%) rename {uran => cathook}/src/hacks/Misc.h (100%) rename {uran => cathook}/src/hacks/SpyAlert.cpp (100%) rename {uran => cathook}/src/hacks/SpyAlert.h (100%) rename {uran => cathook}/src/hacks/Trigger.cpp (100%) rename {uran => cathook}/src/hacks/Trigger.h (100%) rename {uran => cathook}/src/helpers.cpp (100%) rename {uran => cathook}/src/helpers.h (100%) rename {uran => cathook}/src/hooks.cpp (100%) rename {uran => cathook}/src/hooks.h (100%) rename {uran => cathook}/src/interfaces.cpp (100%) rename {uran => cathook}/src/interfaces.h (100%) rename {uran => cathook}/src/ipc/ipcctl.cpp (100%) rename {uran => cathook}/src/ipc/ipcctl.h (100%) rename {uran => cathook}/src/localplayer.cpp (100%) rename {uran => cathook}/src/localplayer.h (100%) rename {uran => cathook}/src/logging.cpp (100%) rename {uran => cathook}/src/logging.h (100%) rename {uran => cathook}/src/netmessage.cpp (100%) rename {uran => cathook}/src/netmessage.h (100%) rename {uran => cathook}/src/playerresource.cpp (100%) rename {uran => cathook}/src/playerresource.h (100%) rename {uran => cathook}/src/prediction.cpp (100%) rename {uran => cathook}/src/prediction.h (100%) rename {uran => cathook}/src/profiler.cpp (100%) rename {uran => cathook}/src/profiler.h (100%) rename {uran => cathook}/src/relations.cpp (100%) rename {uran => cathook}/src/relations.h (100%) rename {uran => cathook}/src/sdk.h (100%) rename {uran => cathook}/src/sdk/convar.cpp (100%) rename {uran => cathook}/src/sdk/in_buttons.h (100%) rename {uran => cathook}/src/sharedobj.cpp (100%) rename {uran => cathook}/src/sharedobj.h (100%) rename {uran => cathook}/src/targethelper.cpp (100%) rename {uran => cathook}/src/targethelper.h (100%) rename {uran => cathook}/src/targeting/ITargetSystem.cpp (100%) rename {uran => cathook}/src/targeting/ITargetSystem.h (100%) rename {uran => cathook}/src/targeting/TargetSystemDistance.cpp (100%) rename {uran => cathook}/src/targeting/TargetSystemDistance.h (100%) rename {uran => cathook}/src/targeting/TargetSystemFOV.cpp (100%) rename {uran => cathook}/src/targeting/TargetSystemFOV.h (100%) rename {uran => cathook}/src/targeting/TargetSystemSmart.cpp (100%) rename {uran => cathook}/src/targeting/TargetSystemSmart.h (100%) rename {uran => cathook}/src/trace.cpp (100%) rename {uran => cathook}/src/trace.h (100%) rename {uran => cathook}/src/usercmd.h (100%) rename {uran => cathook}/src/weaponprefs.cpp (100%) rename {uran => cathook}/src/weaponprefs.h (100%) delete mode 100644 uran/src_/Log.cpp delete mode 100644 uran/src_/Log.h delete mode 100644 uran/src_/SharedObject.cpp delete mode 100644 uran/src_/SharedObject.h delete mode 100644 uran/src_/Uran.h delete mode 100644 uran/src_/draw.h delete mode 100644 uran/src_/hooks.h delete mode 100644 uran/src_/main.cpp delete mode 100644 uran/src_/sdk.h delete mode 100644 uran/src_/sigscan.h delete mode 100644 uran/src_/stdheader.h delete mode 100644 uran/src_/vtable.h diff --git a/uran/.cproject b/cathook/.cproject similarity index 100% rename from uran/.cproject rename to cathook/.cproject diff --git a/uran/.gitignore b/cathook/.gitignore similarity index 100% rename from uran/.gitignore rename to cathook/.gitignore diff --git a/cathook/.project b/cathook/.project new file mode 100644 index 00000000..8f65f418 --- /dev/null +++ b/cathook/.project @@ -0,0 +1,38 @@ + + + cathook + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + 0 + src_ + 30 + + org.eclipse.ui.ide.multiFilter + 1.0-name-matches-false-false-* + + + + diff --git a/uran/.settings/language.settings.xml b/cathook/.settings/language.settings.xml similarity index 100% rename from uran/.settings/language.settings.xml rename to cathook/.settings/language.settings.xml diff --git a/uran/.settings/org.eclipse.cdt.codan.core.prefs b/cathook/.settings/org.eclipse.cdt.codan.core.prefs similarity index 100% rename from uran/.settings/org.eclipse.cdt.codan.core.prefs rename to cathook/.settings/org.eclipse.cdt.codan.core.prefs diff --git a/uran/.settings/org.eclipse.cdt.managedbuilder.core.prefs b/cathook/.settings/org.eclipse.cdt.managedbuilder.core.prefs similarity index 100% rename from uran/.settings/org.eclipse.cdt.managedbuilder.core.prefs rename to cathook/.settings/org.eclipse.cdt.managedbuilder.core.prefs diff --git a/uran/TODO b/cathook/TODO similarity index 100% rename from uran/TODO rename to cathook/TODO diff --git a/uran/src/CDumper.h b/cathook/src/CDumper.h similarity index 100% rename from uran/src/CDumper.h rename to cathook/src/CDumper.h diff --git a/uran/src/common.h b/cathook/src/common.h similarity index 100% rename from uran/src/common.h rename to cathook/src/common.h diff --git a/uran/src/copypasted/CSignature.cpp b/cathook/src/copypasted/CSignature.cpp similarity index 100% rename from uran/src/copypasted/CSignature.cpp rename to cathook/src/copypasted/CSignature.cpp diff --git a/uran/src/copypasted/CSignature.h b/cathook/src/copypasted/CSignature.h similarity index 100% rename from uran/src/copypasted/CSignature.h rename to cathook/src/copypasted/CSignature.h diff --git a/uran/src/copypasted/Netvar.cpp b/cathook/src/copypasted/Netvar.cpp similarity index 100% rename from uran/src/copypasted/Netvar.cpp rename to cathook/src/copypasted/Netvar.cpp diff --git a/uran/src/copypasted/Netvar.h b/cathook/src/copypasted/Netvar.h similarity index 100% rename from uran/src/copypasted/Netvar.h rename to cathook/src/copypasted/Netvar.h diff --git a/uran/src/cvarspoof.h b/cathook/src/cvarspoof.h similarity index 100% rename from uran/src/cvarspoof.h rename to cathook/src/cvarspoof.h diff --git a/uran/src/drawing.cpp b/cathook/src/drawing.cpp similarity index 100% rename from uran/src/drawing.cpp rename to cathook/src/drawing.cpp diff --git a/uran/src/drawing.h b/cathook/src/drawing.h similarity index 100% rename from uran/src/drawing.h rename to cathook/src/drawing.h diff --git a/uran/src/entity.cpp b/cathook/src/entity.cpp similarity index 100% rename from uran/src/entity.cpp rename to cathook/src/entity.cpp diff --git a/uran/src/entity.h b/cathook/src/entity.h similarity index 100% rename from uran/src/entity.h rename to cathook/src/entity.h diff --git a/uran/src/entitycache.cpp b/cathook/src/entitycache.cpp similarity index 100% rename from uran/src/entitycache.cpp rename to cathook/src/entitycache.cpp diff --git a/uran/src/entitycache.h b/cathook/src/entitycache.h similarity index 100% rename from uran/src/entitycache.h rename to cathook/src/entitycache.h diff --git a/uran/src/entry.cpp b/cathook/src/entry.cpp similarity index 100% rename from uran/src/entry.cpp rename to cathook/src/entry.cpp diff --git a/uran/src/enums.h b/cathook/src/enums.h similarity index 100% rename from uran/src/enums.h rename to cathook/src/enums.h diff --git a/uran/src/fixsdk.h b/cathook/src/fixsdk.h similarity index 100% rename from uran/src/fixsdk.h rename to cathook/src/fixsdk.h diff --git a/uran/src/globals.cpp b/cathook/src/globals.cpp similarity index 100% rename from uran/src/globals.cpp rename to cathook/src/globals.cpp diff --git a/uran/src/globals.h b/cathook/src/globals.h similarity index 100% rename from uran/src/globals.h rename to cathook/src/globals.h diff --git a/uran/src/hack.cpp b/cathook/src/hack.cpp similarity index 100% rename from uran/src/hack.cpp rename to cathook/src/hack.cpp diff --git a/uran/src/hack.h b/cathook/src/hack.h similarity index 100% rename from uran/src/hack.h rename to cathook/src/hack.h diff --git a/uran/src/hacks/Aimbot.cpp b/cathook/src/hacks/Aimbot.cpp similarity index 100% rename from uran/src/hacks/Aimbot.cpp rename to cathook/src/hacks/Aimbot.cpp diff --git a/uran/src/hacks/Aimbot.h b/cathook/src/hacks/Aimbot.h similarity index 100% rename from uran/src/hacks/Aimbot.h rename to cathook/src/hacks/Aimbot.h diff --git a/uran/src/hacks/Airstuck.cpp b/cathook/src/hacks/Airstuck.cpp similarity index 100% rename from uran/src/hacks/Airstuck.cpp rename to cathook/src/hacks/Airstuck.cpp diff --git a/uran/src/hacks/Airstuck.h b/cathook/src/hacks/Airstuck.h similarity index 100% rename from uran/src/hacks/Airstuck.h rename to cathook/src/hacks/Airstuck.h diff --git a/uran/src/hacks/AntiAim.cpp b/cathook/src/hacks/AntiAim.cpp similarity index 100% rename from uran/src/hacks/AntiAim.cpp rename to cathook/src/hacks/AntiAim.cpp diff --git a/uran/src/hacks/AntiAim.h b/cathook/src/hacks/AntiAim.h similarity index 100% rename from uran/src/hacks/AntiAim.h rename to cathook/src/hacks/AntiAim.h diff --git a/uran/src/hacks/AntiDisguise.cpp b/cathook/src/hacks/AntiDisguise.cpp similarity index 100% rename from uran/src/hacks/AntiDisguise.cpp rename to cathook/src/hacks/AntiDisguise.cpp diff --git a/uran/src/hacks/AntiDisguise.h b/cathook/src/hacks/AntiDisguise.h similarity index 100% rename from uran/src/hacks/AntiDisguise.h rename to cathook/src/hacks/AntiDisguise.h diff --git a/uran/src/hacks/AutoHeal.cpp b/cathook/src/hacks/AutoHeal.cpp similarity index 100% rename from uran/src/hacks/AutoHeal.cpp rename to cathook/src/hacks/AutoHeal.cpp diff --git a/uran/src/hacks/AutoHeal.h b/cathook/src/hacks/AutoHeal.h similarity index 100% rename from uran/src/hacks/AutoHeal.h rename to cathook/src/hacks/AutoHeal.h diff --git a/uran/src/hacks/AutoReflect.cpp b/cathook/src/hacks/AutoReflect.cpp similarity index 100% rename from uran/src/hacks/AutoReflect.cpp rename to cathook/src/hacks/AutoReflect.cpp diff --git a/uran/src/hacks/AutoReflect.h b/cathook/src/hacks/AutoReflect.h similarity index 100% rename from uran/src/hacks/AutoReflect.h rename to cathook/src/hacks/AutoReflect.h diff --git a/uran/src/hacks/AutoSticky.cpp b/cathook/src/hacks/AutoSticky.cpp similarity index 100% rename from uran/src/hacks/AutoSticky.cpp rename to cathook/src/hacks/AutoSticky.cpp diff --git a/uran/src/hacks/AutoSticky.h b/cathook/src/hacks/AutoSticky.h similarity index 100% rename from uran/src/hacks/AutoSticky.h rename to cathook/src/hacks/AutoSticky.h diff --git a/uran/src/hacks/AutoStrafe.cpp b/cathook/src/hacks/AutoStrafe.cpp similarity index 100% rename from uran/src/hacks/AutoStrafe.cpp rename to cathook/src/hacks/AutoStrafe.cpp diff --git a/uran/src/hacks/AutoStrafe.h b/cathook/src/hacks/AutoStrafe.h similarity index 100% rename from uran/src/hacks/AutoStrafe.h rename to cathook/src/hacks/AutoStrafe.h diff --git a/uran/src/hacks/Bunnyhop.cpp b/cathook/src/hacks/Bunnyhop.cpp similarity index 100% rename from uran/src/hacks/Bunnyhop.cpp rename to cathook/src/hacks/Bunnyhop.cpp diff --git a/uran/src/hacks/Bunnyhop.h b/cathook/src/hacks/Bunnyhop.h similarity index 100% rename from uran/src/hacks/Bunnyhop.h rename to cathook/src/hacks/Bunnyhop.h diff --git a/uran/src/hacks/ESP.cpp b/cathook/src/hacks/ESP.cpp similarity index 100% rename from uran/src/hacks/ESP.cpp rename to cathook/src/hacks/ESP.cpp diff --git a/uran/src/hacks/ESP.h b/cathook/src/hacks/ESP.h similarity index 100% rename from uran/src/hacks/ESP.h rename to cathook/src/hacks/ESP.h diff --git a/uran/src/hacks/FollowBot.cpp b/cathook/src/hacks/FollowBot.cpp similarity index 100% rename from uran/src/hacks/FollowBot.cpp rename to cathook/src/hacks/FollowBot.cpp diff --git a/uran/src/hacks/FollowBot.h b/cathook/src/hacks/FollowBot.h similarity index 100% rename from uran/src/hacks/FollowBot.h rename to cathook/src/hacks/FollowBot.h diff --git a/uran/src/hacks/HuntsmanCompensation.cpp b/cathook/src/hacks/HuntsmanCompensation.cpp similarity index 100% rename from uran/src/hacks/HuntsmanCompensation.cpp rename to cathook/src/hacks/HuntsmanCompensation.cpp diff --git a/uran/src/hacks/HuntsmanCompensation.h b/cathook/src/hacks/HuntsmanCompensation.h similarity index 100% rename from uran/src/hacks/HuntsmanCompensation.h rename to cathook/src/hacks/HuntsmanCompensation.h diff --git a/uran/src/hacks/IHack.h b/cathook/src/hacks/IHack.h similarity index 100% rename from uran/src/hacks/IHack.h rename to cathook/src/hacks/IHack.h diff --git a/uran/src/hacks/Misc.cpp b/cathook/src/hacks/Misc.cpp similarity index 100% rename from uran/src/hacks/Misc.cpp rename to cathook/src/hacks/Misc.cpp diff --git a/uran/src/hacks/Misc.h b/cathook/src/hacks/Misc.h similarity index 100% rename from uran/src/hacks/Misc.h rename to cathook/src/hacks/Misc.h diff --git a/uran/src/hacks/SpyAlert.cpp b/cathook/src/hacks/SpyAlert.cpp similarity index 100% rename from uran/src/hacks/SpyAlert.cpp rename to cathook/src/hacks/SpyAlert.cpp diff --git a/uran/src/hacks/SpyAlert.h b/cathook/src/hacks/SpyAlert.h similarity index 100% rename from uran/src/hacks/SpyAlert.h rename to cathook/src/hacks/SpyAlert.h diff --git a/uran/src/hacks/Trigger.cpp b/cathook/src/hacks/Trigger.cpp similarity index 100% rename from uran/src/hacks/Trigger.cpp rename to cathook/src/hacks/Trigger.cpp diff --git a/uran/src/hacks/Trigger.h b/cathook/src/hacks/Trigger.h similarity index 100% rename from uran/src/hacks/Trigger.h rename to cathook/src/hacks/Trigger.h diff --git a/uran/src/helpers.cpp b/cathook/src/helpers.cpp similarity index 100% rename from uran/src/helpers.cpp rename to cathook/src/helpers.cpp diff --git a/uran/src/helpers.h b/cathook/src/helpers.h similarity index 100% rename from uran/src/helpers.h rename to cathook/src/helpers.h diff --git a/uran/src/hooks.cpp b/cathook/src/hooks.cpp similarity index 100% rename from uran/src/hooks.cpp rename to cathook/src/hooks.cpp diff --git a/uran/src/hooks.h b/cathook/src/hooks.h similarity index 100% rename from uran/src/hooks.h rename to cathook/src/hooks.h diff --git a/uran/src/interfaces.cpp b/cathook/src/interfaces.cpp similarity index 100% rename from uran/src/interfaces.cpp rename to cathook/src/interfaces.cpp diff --git a/uran/src/interfaces.h b/cathook/src/interfaces.h similarity index 100% rename from uran/src/interfaces.h rename to cathook/src/interfaces.h diff --git a/uran/src/ipc/ipcctl.cpp b/cathook/src/ipc/ipcctl.cpp similarity index 100% rename from uran/src/ipc/ipcctl.cpp rename to cathook/src/ipc/ipcctl.cpp diff --git a/uran/src/ipc/ipcctl.h b/cathook/src/ipc/ipcctl.h similarity index 100% rename from uran/src/ipc/ipcctl.h rename to cathook/src/ipc/ipcctl.h diff --git a/uran/src/localplayer.cpp b/cathook/src/localplayer.cpp similarity index 100% rename from uran/src/localplayer.cpp rename to cathook/src/localplayer.cpp diff --git a/uran/src/localplayer.h b/cathook/src/localplayer.h similarity index 100% rename from uran/src/localplayer.h rename to cathook/src/localplayer.h diff --git a/uran/src/logging.cpp b/cathook/src/logging.cpp similarity index 100% rename from uran/src/logging.cpp rename to cathook/src/logging.cpp diff --git a/uran/src/logging.h b/cathook/src/logging.h similarity index 100% rename from uran/src/logging.h rename to cathook/src/logging.h diff --git a/uran/src/netmessage.cpp b/cathook/src/netmessage.cpp similarity index 100% rename from uran/src/netmessage.cpp rename to cathook/src/netmessage.cpp diff --git a/uran/src/netmessage.h b/cathook/src/netmessage.h similarity index 100% rename from uran/src/netmessage.h rename to cathook/src/netmessage.h diff --git a/uran/src/playerresource.cpp b/cathook/src/playerresource.cpp similarity index 100% rename from uran/src/playerresource.cpp rename to cathook/src/playerresource.cpp diff --git a/uran/src/playerresource.h b/cathook/src/playerresource.h similarity index 100% rename from uran/src/playerresource.h rename to cathook/src/playerresource.h diff --git a/uran/src/prediction.cpp b/cathook/src/prediction.cpp similarity index 100% rename from uran/src/prediction.cpp rename to cathook/src/prediction.cpp diff --git a/uran/src/prediction.h b/cathook/src/prediction.h similarity index 100% rename from uran/src/prediction.h rename to cathook/src/prediction.h diff --git a/uran/src/profiler.cpp b/cathook/src/profiler.cpp similarity index 100% rename from uran/src/profiler.cpp rename to cathook/src/profiler.cpp diff --git a/uran/src/profiler.h b/cathook/src/profiler.h similarity index 100% rename from uran/src/profiler.h rename to cathook/src/profiler.h diff --git a/uran/src/relations.cpp b/cathook/src/relations.cpp similarity index 100% rename from uran/src/relations.cpp rename to cathook/src/relations.cpp diff --git a/uran/src/relations.h b/cathook/src/relations.h similarity index 100% rename from uran/src/relations.h rename to cathook/src/relations.h diff --git a/uran/src/sdk.h b/cathook/src/sdk.h similarity index 100% rename from uran/src/sdk.h rename to cathook/src/sdk.h diff --git a/uran/src/sdk/convar.cpp b/cathook/src/sdk/convar.cpp similarity index 100% rename from uran/src/sdk/convar.cpp rename to cathook/src/sdk/convar.cpp diff --git a/uran/src/sdk/in_buttons.h b/cathook/src/sdk/in_buttons.h similarity index 100% rename from uran/src/sdk/in_buttons.h rename to cathook/src/sdk/in_buttons.h diff --git a/uran/src/sharedobj.cpp b/cathook/src/sharedobj.cpp similarity index 100% rename from uran/src/sharedobj.cpp rename to cathook/src/sharedobj.cpp diff --git a/uran/src/sharedobj.h b/cathook/src/sharedobj.h similarity index 100% rename from uran/src/sharedobj.h rename to cathook/src/sharedobj.h diff --git a/uran/src/targethelper.cpp b/cathook/src/targethelper.cpp similarity index 100% rename from uran/src/targethelper.cpp rename to cathook/src/targethelper.cpp diff --git a/uran/src/targethelper.h b/cathook/src/targethelper.h similarity index 100% rename from uran/src/targethelper.h rename to cathook/src/targethelper.h diff --git a/uran/src/targeting/ITargetSystem.cpp b/cathook/src/targeting/ITargetSystem.cpp similarity index 100% rename from uran/src/targeting/ITargetSystem.cpp rename to cathook/src/targeting/ITargetSystem.cpp diff --git a/uran/src/targeting/ITargetSystem.h b/cathook/src/targeting/ITargetSystem.h similarity index 100% rename from uran/src/targeting/ITargetSystem.h rename to cathook/src/targeting/ITargetSystem.h diff --git a/uran/src/targeting/TargetSystemDistance.cpp b/cathook/src/targeting/TargetSystemDistance.cpp similarity index 100% rename from uran/src/targeting/TargetSystemDistance.cpp rename to cathook/src/targeting/TargetSystemDistance.cpp diff --git a/uran/src/targeting/TargetSystemDistance.h b/cathook/src/targeting/TargetSystemDistance.h similarity index 100% rename from uran/src/targeting/TargetSystemDistance.h rename to cathook/src/targeting/TargetSystemDistance.h diff --git a/uran/src/targeting/TargetSystemFOV.cpp b/cathook/src/targeting/TargetSystemFOV.cpp similarity index 100% rename from uran/src/targeting/TargetSystemFOV.cpp rename to cathook/src/targeting/TargetSystemFOV.cpp diff --git a/uran/src/targeting/TargetSystemFOV.h b/cathook/src/targeting/TargetSystemFOV.h similarity index 100% rename from uran/src/targeting/TargetSystemFOV.h rename to cathook/src/targeting/TargetSystemFOV.h diff --git a/uran/src/targeting/TargetSystemSmart.cpp b/cathook/src/targeting/TargetSystemSmart.cpp similarity index 100% rename from uran/src/targeting/TargetSystemSmart.cpp rename to cathook/src/targeting/TargetSystemSmart.cpp diff --git a/uran/src/targeting/TargetSystemSmart.h b/cathook/src/targeting/TargetSystemSmart.h similarity index 100% rename from uran/src/targeting/TargetSystemSmart.h rename to cathook/src/targeting/TargetSystemSmart.h diff --git a/uran/src/trace.cpp b/cathook/src/trace.cpp similarity index 100% rename from uran/src/trace.cpp rename to cathook/src/trace.cpp diff --git a/uran/src/trace.h b/cathook/src/trace.h similarity index 100% rename from uran/src/trace.h rename to cathook/src/trace.h diff --git a/uran/src/usercmd.h b/cathook/src/usercmd.h similarity index 100% rename from uran/src/usercmd.h rename to cathook/src/usercmd.h diff --git a/uran/src/weaponprefs.cpp b/cathook/src/weaponprefs.cpp similarity index 100% rename from uran/src/weaponprefs.cpp rename to cathook/src/weaponprefs.cpp diff --git a/uran/src/weaponprefs.h b/cathook/src/weaponprefs.h similarity index 100% rename from uran/src/weaponprefs.h rename to cathook/src/weaponprefs.h diff --git a/uran/src_/Log.cpp b/uran/src_/Log.cpp deleted file mode 100644 index 6c80578a..00000000 --- a/uran/src_/Log.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Log.cpp - * - * Created on: Oct 3, 2016 - * Author: nullifiedcat - */ - -#include "Log.h" -#include -#include -#include -#include - -typedef void(MsgFn)(const char* msg, va_list); - -namespace uran { -extern MsgFn p_MsgFn; -extern FILE* file_log; -} - - -namespace hack { - -void LogInit() { - //openlog("uranhack", 0, LOG_USER); - uran::file_log = fopen("/tmp/uran.log", "w"); -} - -void Log(const char* fmt, ...) { - char buffer[989]; - va_list list; - va_start(list, fmt); - vsprintf(buffer, fmt, list); - va_end(list); - size_t len = strlen(buffer); - char* newstr = (char*) malloc(len + 9); - sprintf(newstr, "[URAN] %s\n", buffer); - fprintf(uran::file_log, "%s", newstr); - fflush(uran::file_log); - //syslog(LOG_INFO, "%s", newstr); - if (uran::p_MsgFn) - uran::p_MsgFn(newstr, list); - free(newstr); -} - -void LogClose() { - fclose(uran::file_log); -} - -} diff --git a/uran/src_/Log.h b/uran/src_/Log.h deleted file mode 100644 index 61599aad..00000000 --- a/uran/src_/Log.h +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Log.h - * - * Created on: Aug 11, 2016 - * Author: nullifiedcat - */ - -#ifndef LOG_H_ -#define LOG_H_ - -namespace hack { - -void LogInit(); -void LogClose(); -void Log(const char* fmt, ...); - -} - -#endif /* LOG_H_ */ diff --git a/uran/src_/SharedObject.cpp b/uran/src_/SharedObject.cpp deleted file mode 100644 index 97e6e553..00000000 --- a/uran/src_/SharedObject.cpp +++ /dev/null @@ -1,46 +0,0 @@ -/* - * SharedObject.cpp - * - * Created on: Oct 3, 2016 - * Author: nullifiedcat - */ - -#include "SharedObject.h" -#include "Log.h" -#include -#include - -SharedObject::SharedObject(const char* path) { - this->path = path; -} - -SharedObject* SharedObject::Load() { - if (lmap) return this; - while (!lmap) { - lmap = (link_map*)dlopen(path, RTLD_NOLOAD); - sleep(1); - } - hack::Log("Loaded SharedObject %s at 0x%08x", lmap->l_name, lmap->l_addr); - return this; -} - -int* SharedObject::RelativePtr(int offset) { - return (int*)((int) lmap->l_addr + offset); -} - -SharedObject* SharedObject::SetupFactory() { - fptr = reinterpret_cast(dlsym(lmap, "CreateInterface")); - return this; -} - -template -T SharedObject::CreateInterface(const char* name) { - int retval; - T iface = static_cast(fptr(name, &retval)); - if (retval) { - hack::Log("Failed to create interface %s: error %i (%s)", name, retval, lmap->l_name); - } else { - hack::Log("Interface %s created (%s)", name, lmap->l_name); - } - return iface; -} diff --git a/uran/src_/SharedObject.h b/uran/src_/SharedObject.h deleted file mode 100644 index 31d650dc..00000000 --- a/uran/src_/SharedObject.h +++ /dev/null @@ -1,29 +0,0 @@ -/* - * SharedObject.h - * - * Created on: Oct 3, 2016 - * Author: nullifiedcat - */ - -#ifndef SHAREDOBJECT_H_ -#define SHAREDOBJECT_H_ - -#include - -typedef void *(*CreateInterface_t)(const char*, int*); - -class SharedObject { -public: - SharedObject(const char* path); - SharedObject* Load(); - SharedObject* SetupFactory(); - int* RelativePtr(int offset); - template - T CreateInterface(const char* name); - - link_map* lmap; - const char* path; - CreateInterface_t fptr; -}; - -#endif /* SHAREDOBJECT_H_ */ diff --git a/uran/src_/Uran.h b/uran/src_/Uran.h deleted file mode 100644 index 7605fa39..00000000 --- a/uran/src_/Uran.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Uran.h - * - * Created on: Aug 11, 2016 - * Author: nullifiedcat - */ - -#ifndef URAN_H_ -#define URAN_H_ - -#include -#include - -class SharedObject; -class ICenterPrint; -class ISteamClient017; -class ISteamFriends002; -class IVEngineClient013; -class IClientEntityList; -class ICvar; -typedef HSteamPipe int; -typedef HSteamUser int; -namespace vgui { -class ISurface; -class IPanel; -} - -typedef void(__cdecl* MsgFn)(const char* msg, va_list); - -namespace uran { - - FILE* file_log; - - SharedObject* so_steamclient; - SharedObject* so_client; - SharedObject* so_engine; - SharedObject* so_vguimatsurface; - SharedObject* so_vgui2; - SharedObject* so_vstdlib; - SharedObject* so_tier0; - - vgui::ISurface* i_Surface; - vgui::IPanel* i_Panel; - ICenterPrint* i_CenterPrint; - ISteamClient017* i_SteamClient; - ISteamFriends002* i_SteamFriends; - IVEngineClient013* i_EngineClient; - IClientEntityList* i_EntityList; - ICvar* i_Cvar; - - //VMTHook* hk_CreateMove; - //VMTHook* hk_PaintTraverse; - - HSteamPipe* p_SteamPipe; - HSteamUser* p_SteamUser; - MsgFn p_MsgFn; - - pthread_mutex_t mtx_Quit; - pthread_t thr_Uran; -} - -#endif /* URAN_H_ */ diff --git a/uran/src_/draw.h b/uran/src_/draw.h deleted file mode 100644 index a0603709..00000000 --- a/uran/src_/draw.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * draw.h - * - * Created on: Oct 2, 2016 - * Author: nullifiedcat - */ - -#ifndef DRAW_H_ -#define DRAW_H_ - -#include -#include - -namespace uran { -namespace draw { - -unsigned long font_handle; - -void Init() { - font_handle = uran::i_Surface->CreateFont(); - uran::i_Surface->SetFontGlyphSet(font_handle, "TF2_BUILD", 14, 500, 0, 0, 0x200); -} - -void DrawString(int x, int y, Color color, const wchar_t* text) { - uran::i_Surface->DrawSetTextPos(x, y); - uran::i_Surface->DrawSetTextFont(font_handle); - uran::i_Surface->DrawSetTextColor(color); - uran::i_Surface->DrawPrintText(text, wcslen(text)); -} - -void DrawString(int x, int y, Color color, const char* text, ...) { - char buffer[1024] = {'\0'}; - wchar_t string[1024] = {'\0'}; - va_list list; - va_start(list, text); - vsprintf(buffer, text, list); - va_end(list); - swprintf(string, 1024, L"%s", buffer); - DrawString(x, y, color, string); -} - -void DrawRect(int x, int y, int w, int h, Color color); -void DrawOutline(int x, int y, int w, int h, Color color); - -} -} - -#endif /* DRAW_H_ */ diff --git a/uran/src_/hooks.h b/uran/src_/hooks.h deleted file mode 100644 index ba2f0e2a..00000000 --- a/uran/src_/hooks.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * hooks.h - * - * Created on: Oct 3, 2016 - * Author: nullifiedcat - */ - -#ifndef HOOKS_H_ -#define HOOKS_H_ - -#include "sdk.h" - -void CreateMove(void* client_mode, float input_sample, CUserCmd* cmd); -void PaintTraverse(void* panels, unsigned int panel, bool force, bool allow_force); - - - -#endif /* HOOKS_H_ */ diff --git a/uran/src_/main.cpp b/uran/src_/main.cpp deleted file mode 100644 index fa46cf3c..00000000 --- a/uran/src_/main.cpp +++ /dev/null @@ -1,117 +0,0 @@ -/*#include "stdheader.h" - -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include "Log.h" -#include "Uran.h" -#include -#include "draw.h" -#include "tier1/convar.h" -#include "hooks.h" -#include "mem/vtable.h" -#include "SharedObject.h"*/ - -//(void)(static const char* hoi_valve = "hOI! if you are valve employee - dont ban pls. xoxo"); - -void wait_for_so() { - /*hack::Log("Waiting for shared objects..."); - uran::so_client = (new SharedObject(DIR_TF_BIN "client.so"))->Load()->SetupFactory(); - uran::so_engine = (new SharedObject(DIR_TF2_BIN "engine.so"))->Load()->SetupFactory(); - uran::so_steamclient = (new SharedObject(DIR_STEAM_LINUX32 "steamclient.so"))->Load()->SetupFactory(); - uran::so_vgui2 = (new SharedObject(DIR_TF2_BIN "vgui2.so"))->Load()->SetupFactory(); - uran::so_vguimatsurface = (new SharedObject(DIR_TF2_BIN "vguimatsurface.so"))->Load()->SetupFactory(); - uran::so_vstdlib = (new SharedObject(DIR_TF2_BIN "libvstdlib.so"))->Load()->SetupFactory(); - uran::so_tier0 = new SharedObject(DIR_TF2_BIN "libtier0.so"); - hack::Log("Got all shared objects...");*/ -} - -void create_interfaces() { - /*hack::Log("Creating interfaces..."); - /*uran::so_client->InitInterfaceFactory(); - uran::so_engine->InitInterfaceFactory(); - uran::so_steamclient->InitInterfaceFactory(); - uran::so_vgui2->InitInterfaceFactory(); - uran::so_vguimatsurface->InitInterfaceFactory(); - uran::so_vstdlib->InitInterfaceFactory();*//* - hack::Log("Interface factories created..."); - uran::p_MsgFn = (MsgFn)dlsym(uran::so_tier0->lmap, "Msg"); - uran::i_SteamClient = uran::so_steamclient->CreateInterface("SteamClient017"); - HSteamPipe sp = uran::i_SteamClient->CreateSteamPipe(); - uran::p_SteamPipe = &sp; - HSteamUser su = uran::i_SteamClient->ConnectToGlobalUser(*uran::p_SteamPipe); - uran::p_SteamUser = &su; - uran::i_SteamFriends = reinterpret_cast(uran::i_SteamClient->GetISteamFriends(*uran::p_SteamUser, *uran::p_SteamPipe, "SteamFriends002"));; - uran::i_EngineClient = uran::so_engine->CreateInterface("VEngineClient013"); - uran::i_Surface = uran::so_vguimatsurface->CreateInterface("VGUI_Surface030"); - uran::i_Panel = uran::so_vgui2->CreateInterface("VGUI_Panel009"); - uran::i_EntityList = uran::so_client->CreateInterface("VClientEntityList003"); - uran::i_CenterPrint = uran::so_client->CreateInterface("VCENTERPRINT002"); - uran::i_Cvar = uran::so_vstdlib->CreateInterface("VEngineCvar004"); - hack::Log("Interfaces created");*/ -} - -//bool thread_need_quit(pthread_mutex_t* quit_mutex) { - /*switch (pthread_mutex_trylock(quit_mutex)) { - case 0: - pthread_mutex_unlock(quit_mutex); - return true; - case EBUSY: - return false; - } - return true;*/ -//} - -void* uran_thread(void* arg) { - /*pthread_mutex_t* quit_mutex = (pthread_mutex_t*)arg; - wait_for_so(); - create_interfaces(); - hack::Log("Hooking CreateMove..."); - //uran::hk_CreateMove = new uran::VMTHook((void*)0); - hack::Log("Hooking PaintTraverse..."); - hack::Log("It works! Name: %s", uran::i_SteamFriends->GetPersonaName()); - uran::i_Cvar->ConsolePrintf("Test console printf??? ok?\n"); - hack::Log("Creating convar..."); - //ConVar* cvar_uran_test = new ConVar("uran_test", "0", 0); - hack::Log("Registering it..."); - //uran::i_Cvar->RegisterConCommand(cvar_uran_test); - while(!thread_need_quit(quit_mutex)) { - try { - - /*uran::i_CenterPrint->ColorPrint(123, 55, 123, 255, "AYY LMAO"); - ConVar* var = uran::i_Cvar->FindVar("sv_cheats"); - uran::Log("sv_cheats: %i", var->GetInt());*/ - //uran::i_EngineClient->ServerCmd("say .\n\n\n\n\n\n\n\nAYY LMAO\nY\nY\n \nL\nM\nA\nO", true); - /*sleep(1); - } catch (std::exception& ex) { - // error - }*/ - //} - //edmp.close(); - /*Log("Exiting thread...");*/ - return 0; -} - -void __attribute__((constructor)) startup(void) { - /*hack::LogInit(); - hack::Log("Loading! BUILD: " __DATE__ " " __TIME__); - pthread_mutex_init(&uran::mtx_Quit, 0); - pthread_mutex_lock(&uran::mtx_Quit); - pthread_create(&uran::thr_Uran, 0, uran_thread, &uran::mtx_Quit);*/ -} - -void __attribute__((destructor)) shutdown(void) { - /*pthread_mutex_unlock(&uran::mtx_Quit); - pthread_join(uran::thr_Uran, 0); - /* std::remove("/var/lock/uranso.lock"); */ - /*hack::Log("Goodbye."); - hack::LogClose();*/ - //closelog(); -} diff --git a/uran/src_/sdk.h b/uran/src_/sdk.h deleted file mode 100644 index 90801482..00000000 --- a/uran/src_/sdk.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * sdk.h - * - * Created on: Oct 3, 2016 - * Author: nullifiedcat - */ - -#ifndef SDK_H_ -#define SDK_H_ - -class CUserCmd -{ -public: - virtual ~CUserCmd(){}; - int command_number; - int tick_count; - Vector viewangles; - float forwardmove; - float sidemove; - float upmove; - int buttons; - uint8_t impulse; - int weaponselect; - int weaponsubtype; - int random_seed; - short mousedx; - short mousedy; - bool hasbeenpredicted; -}; - - - -#endif /* SDK_H_ */ diff --git a/uran/src_/sigscan.h b/uran/src_/sigscan.h deleted file mode 100644 index b2248c53..00000000 --- a/uran/src_/sigscan.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * sigscan.h - * - * Created on: Aug 13, 2016 - * Author: nullifiedcat - */ - -#ifndef SIGSCAN_H_ -#define SIGSCAN_H_ - -// Shamelessly copied code -#define INRANGE( x, a, b ) (x >= a && x <= b) -#define GETBITS( x ) (INRANGE((x&(~0x20)),'A','F') ? ((x&(~0x20)) - 'A' + 0xa) : (INRANGE(x,'0','9') ? x - '0' : 0)) -#define GETBYTE( x ) (GETBITS(x[0]) << 4 | GETBITS(x[1])) - -namespace uran { - -uintptr_t SearchMemory(uintptr_t start, uintptr_t size, const char* pattern) { - const char* current = pattern; - uintptr_t match = 0; - for (uintptr_t addr = start; addr < start + size; addr++) { - if (!*current) return match; - if (*(uintptr_t*) current == '?' || *(uintptr_t*) addr == GETBYTE(current)) { - if (!match) match = addr; - if (!current[2]) return match; - if (*(uintptr_t*) current == '? ') current += 2; - else current += 3; - } else { - current = pattern; - match = 0; - } - } - return 0; -} - -} - -#endif /* SIGSCAN_H_ */ diff --git a/uran/src_/stdheader.h b/uran/src_/stdheader.h deleted file mode 100644 index a698453e..00000000 --- a/uran/src_/stdheader.h +++ /dev/null @@ -1,20 +0,0 @@ -/* - * stdheader.h - * - * Created on: Aug 11, 2016 - * Author: nullifiedcat - */ - -#ifndef STDHEADER_H_ -#define STDHEADER_H_ - -#define LINUX 1 -#define _LINUX 1 -#define POSIX 1 -#define GNUC 1 - -#define DIR_TF_BIN "/home/nullifiedcat/.local/share/Steam/steamapps/common/Team Fortress 2/tf/bin/" -#define DIR_TF2_BIN "/home/nullifiedcat/.local/share/Steam/steamapps/common/Team Fortress 2/bin/" -#define DIR_STEAM_LINUX32 "/home/nullifiedcat/.local/share/Steam/linux32/" - -#endif /* STDHEADER_H_ */ diff --git a/uran/src_/vtable.h b/uran/src_/vtable.h deleted file mode 100644 index 1f0d3e22..00000000 --- a/uran/src_/vtable.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * vtable.h - * - * Created on: Aug 13, 2016 - * Author: nullifiedcat - */ - -#ifndef VTABLE_H_ -#define VTABLE_H - -#define GUARD 0xD34D0C47; - -namespace uran { - -class VMTHook { -public: - void Init(void* addr) { - base = addr; - vmt_old = addr;; - } - void Hook(void* hook, int index); - template - T Method(int offset); - void* base; - void* vmt_old; - void* vmt_new; -}; - -} - -#endif /* VTABLE_H_ */