From 1d8981fab4c42d260535acd39958ce2eb92391f2 Mon Sep 17 00:00:00 2001 From: xerox Date: Wed, 5 Aug 2020 00:40:34 -0700 Subject: [PATCH] fixed some issues in visual studios --- ligma (cheat)/ligma/bypass/bypass.cpp | 6 ++-- ligma (cheat)/ligma/bypass/bypass.h | 2 +- ligma (cheat)/ligma/ligma.cpp | 2 +- ligma (cheat)/ligma/ligma.vcxproj | 36 +++++++++++------------ ligma (cheat)/ligma/ligma.vcxproj.filters | 14 ++++++--- 5 files changed, 33 insertions(+), 27 deletions(-) diff --git a/ligma (cheat)/ligma/bypass/bypass.cpp b/ligma (cheat)/ligma/bypass/bypass.cpp index 436879d12..20def053b 100644 --- a/ligma (cheat)/ligma/bypass/bypass.cpp +++ b/ligma (cheat)/ligma/bypass/bypass.cpp @@ -86,9 +86,9 @@ namespace ligma // // dont spoof persist.sys.timezone or these other ones. // - if (strcmp(name, "persist.sys.timezone") != 0 || - strcmp(name, "ro.build.fingerprint") != 0 || - strcmp(name, "ro.revision") != 0 || + if (strcmp(name, "persist.sys.timezone") != 0 && + strcmp(name, "ro.build.fingerprint") != 0 && + strcmp(name, "ro.revision") != 0 && strcmp(name, "ro.build.version.sdk") != 0) { LOGI("spoofing hwid = %s, to = %s", value, HWID_VALUE); diff --git a/ligma (cheat)/ligma/bypass/bypass.h b/ligma (cheat)/ligma/bypass/bypass.h index e532418ef..738a2de06 100644 --- a/ligma (cheat)/ligma/bypass/bypass.h +++ b/ligma (cheat)/ligma/bypass/bypass.h @@ -3,7 +3,7 @@ #include #include #include -#include "shithook.h" +#include "../shithook.h" #define HWID_VALUE "what do you call nuts on your chin? a dick down your throat you fucking retard!" #define LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO, "ligma", __VA_ARGS__)) diff --git a/ligma (cheat)/ligma/ligma.cpp b/ligma (cheat)/ligma/ligma.cpp index 81d177396..fa127cef0 100644 --- a/ligma (cheat)/ligma/ligma.cpp +++ b/ligma (cheat)/ligma/ligma.cpp @@ -1,4 +1,4 @@ -#include "bypass.h" +#include "bypass/bypass.h" __attribute__((constructor)) void init() diff --git a/ligma (cheat)/ligma/ligma.vcxproj b/ligma (cheat)/ligma/ligma.vcxproj index dfc5d2dee..f69401c65 100644 --- a/ligma (cheat)/ligma/ligma.vcxproj +++ b/ligma (cheat)/ligma/ligma.vcxproj @@ -129,8 +129,8 @@ adb logcat -c adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so -start cmd /k "title 'ligma filter' & nox_adb logcat | findstr ligma" -nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity +start cmd /k "title 'ligma filter' & adb logcat | findstr ligma" +adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity @@ -142,8 +142,8 @@ nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod adb logcat -c adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so -start cmd /k "title 'ligma filter' & nox_adb logcat | findstr ligma" -nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity +start cmd /k "title 'ligma filter' & adb logcat | findstr ligma" +adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity @@ -155,8 +155,8 @@ nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod adb logcat -c adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so -start cmd /k "title 'ligma filter' & nox_adb logcat | findstr ligma" -nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity +start cmd /k "title 'ligma filter' & adb logcat | findstr ligma" +adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity @@ -168,8 +168,8 @@ nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod adb logcat -c adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so -start cmd /k "title 'ligma filter' & nox_adb logcat | findstr ligma" -nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity +start cmd /k "title 'ligma filter' & adb logcat | findstr ligma" +adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity @@ -181,8 +181,8 @@ nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod adb logcat -c adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so -start cmd /k "title 'ligma filter' & nox_adb logcat | findstr ligma" -nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity +start cmd /k "title 'ligma filter' & adb logcat | findstr ligma" +adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity @@ -194,8 +194,8 @@ nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod adb logcat -c adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so -start cmd /k "title 'ligma filter' & nox_adb logcat | findstr ligma" -nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity +start cmd /k "title 'ligma filter' & adb logcat | findstr ligma" +adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity @@ -207,8 +207,8 @@ nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod adb logcat -c adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so -start cmd /k "title 'ligma filter' & nox_adb logcat | findstr ligma" -nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity +start cmd /k "title 'ligma filter' & adb logcat | findstr ligma" +adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity @@ -220,16 +220,16 @@ nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod adb logcat -c adb push C:\Users\xerox\source\repos\ligma\ARM\Release\libligma.so /data/app/com.activision.callofduty.shooter-1/lib/arm/libligma.so -start cmd /k "title 'ligma filter' & nox_adb logcat | findstr ligma" -nox_adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity +start cmd /k "title 'ligma filter' & adb logcat | findstr ligma" +adb shell am start -n com.activision.callofduty.shooter/com.tencent.tmgp.cod.PermissionGrantActivity - + - + diff --git a/ligma (cheat)/ligma/ligma.vcxproj.filters b/ligma (cheat)/ligma/ligma.vcxproj.filters index b8a2a55c0..e4a218fdf 100644 --- a/ligma (cheat)/ligma/ligma.vcxproj.filters +++ b/ligma (cheat)/ligma/ligma.vcxproj.filters @@ -7,21 +7,27 @@ {a802d5b1-4373-45ec-9899-a56dcab8effb} + + {d02af610-3abc-497e-8875-d1f51f60a27d} + + + {3a6ff0eb-0b42-4eae-a5c7-3dad52e2c026} + source - - source + + source\bypass headers - - headers + + headers\bypass \ No newline at end of file