Jump to content

Ted2

Senior Member
  • Posts

    4,939
  • Joined

  • Last visited

Everything posted by Ted2

  1. Hey, you don't use the MAIN_STRUCT code so I think you can just ignore that one while writing the tweak (not sure) I think this would work: %hook MyMainGame -(int)SYS_GetRemainderJewel if(GetPrefBool(@"kJewels")) { return 999999999; } return %orig; } %end
  2. Have you downloaded the DextoJar files? Or you just only run the command without having the files?
  3. Here is a tutorial, with Subway Surfers in it. It's no IDA pro but it's .dll hacking. https://iosgods.com/topic/31346-hacking-unity-games-with-net-reflector-assembly-csharpdll-hacking/
  4. What iOS version are you on?
  5. Hey, I used this code but it gives me errors static void setElapsedTime:(id)argument(void *self) { if(GetPrefBool(@"keyH")) { [NSNumber numberWithInteger:999999]; newValue = GetPrefInt(@"keyHvalue"); return newValue; } else { return old_setElapsedTime(self); } } Error: Compiling Tweak.xm... Tweak.xm:90:13: error: variable has incomplete type 'void' static void setElapsedTime:(id)argument(void *self) { ^ Tweak.xm:90:27: error: expected ';' after top level declarator static void setElapsedTime:(id)argument(void *self) { ^ ; Tweak.xm:90:29: error: C++ requires a type specifier for all declarations static void setElapsedTime:(id)argument(void *self) { ^ Tweak.xm:90:32: error: expected ';' after top level declarator static void setElapsedTime:(id)argument(void *self) { ^ ; 4 errors generated. make[2]: *** [obj/Tweak.xm.ab800b66.o] Error 1 make[1]: *** [internal-library-all_] Error 2 make: *** [brf.all.tweak.variables] Error 2
  6. cool, intresting
  7. Oh ok thanks m8
  8. Ok thanks, why do I need to install it with iTunes tho?
  9. Hero of the day, thankyou
  10. Hey, When I say the command: make package, I get error 133 So I did what DiDa said in another post: Make Package messages=yes.. This is what I got: iPhone-van-Joey:/var/mobile/brpa root# make package m essages=yes Making all for tweak brpa... make -f Makefile --no-print-directory --no-keep-going \ internal-library-compile \ _THEOS_CURRENT_TYPE=tweak THEOS_CURRENT_INSTANCE=brpa _THEOS_CURRENT_OPERATION=compile \ THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes make[2]: Nothing to be done for `internal-library-compile'. Making all in brpa... make[1]: Entering directory `/private/var/mobile/brpa/brpa' Making all for bundle brpa... mkdir -p "obj/brpa.bundle/" mkdir -p "obj/brpa.bundle/" mkdir -p "obj/brpa.bundle/" for d in Resources; do \ if [ -d "$d" ]; then \ rsync -a "$d/" "./obj/brpa.bundle/" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*"; \ else \ echo "Warning: ignoring missing bundle resource directory $d."; \ fi; \ done make -f Makefile --no-print-directory --no-keep-going \ internal-bundle-compile \ _THEOS_CURRENT_TYPE=bundle THEOS_CURRENT_INSTANCE=brpa _THEOS_CURRENT_OPERATION=compile \ THEOS_BUILD_DIR="." _THEOS_MAKE_PARALLEL=yes make[3]: Nothing to be done for `internal-bundle-compile'. make[1]: Leaving directory `/private/var/mobile/brpa/brpa' rm -rf "/private/var/mobile/brpa/_" /var/mobile/brpa/theos/bin/fakeroot.sh -p "/private/var/mobile/brpa/.theos/fakeroot" -c mkdir -p "/private/var/mobile/brpa/_" [ -d layout ] && rsync -a "layout/" "/private/var/mobile/brpa/_" --exclude "DEBIAN" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*" || true Making stage for tweak brpa... mkdir -p "/private/var/mobile/brpa/_/Library/MobileSubstrate/DynamicLibraries/" cp ./obj/brpa.dylib "/private/var/mobile/brpa/_/Library/MobileSubstrate/DynamicLibraries/" if [ -f brpa.plist ]; then cp brpa.plist "/private/var/mobile/brpa/_/Library/MobileSubstrate/DynamicLibraries/"; fi Making stage in brpa... make[1]: Entering directory `/private/var/mobile/brpa/brpa' [ -d layout ] && rsync -a "layout/" "/private/var/mobile/brpa/_" --exclude "DEBIAN" --exclude "_MTN" --exclude ".git" --exclude ".svn" --exclude ".DS_Store" --exclude "._*" || true Making stage for bundle brpa... mkdir -p "/private/var/mobile/brpa/_/Library/PreferenceBundles/brpa.bundle" rsync -a "./obj/brpa.bundle/" "/private/var/mobile/brpa/_/Library/PreferenceBundles/brpa.bundle" mkdir -p /private/var/mobile/brpa/_/Library/PreferenceLoader/Preferences cp entry.plist /private/var/mobile/brpa/_/Library/PreferenceLoader/Preferences/brpa.plist make[1]: Leaving directory `/private/var/mobile/brpa/brpa' mkdir -p "/private/var/mobile/brpa/_/DEBIAN" sed -e '/^[Vv]ersion:/d' "/private/var/mobile/brpa/control" > "/private/var/mobile/brpa/_/DEBIAN/control" echo "Version: 1.0.0-4" >> "/private/var/mobile/brpa/_/DEBIAN/control" echo "Installed-Size: 328" >> "/private/var/mobile/brpa/_/DEBIAN/control" COPYFILE_DISABLE=1 /var/mobile/brpa/theos/bin/fakeroot.sh -p "/private/var/mobile/brpa/.theos/fakeroot" -r dpkg-deb -b "/private/var/mobile/brpa/_" "./com.bri.brpa_1.0.0-4_iphoneos-arm.deb" dyld: could not load inserted library '/var/mobile/brpa/theos/bin/libfauxsu.dylib' because no suitable image found. Did find: /var/mobile/brpa/theos/bin/libfauxsu.dylib: mmap() error 22 at address=0x00132000, size=0x00001000 segment=__DATA in Segment::map() mapping /var/mobile/brpa/theos/bin/libfauxsu.dylib /var/mobile/brpa/theos/bin/fauxsu: line 43: 28059 Trace/BPT trap: 5 "$@" make: *** [internal-package] Error 133 iPhone-van-Joey:/var/mobile/brpa root#
  11. https://www.dropbox.com/s/1cnmd7ehual3ahx/Foto%2011-09-16%2023%2057%2056.png?dl=0
  12. oh well, is that 100% sure? bcs I got errors again but if it sure not gonna waste my time more lol
  13. I think you mena "Why would you want that"? Well then it will mix it together bcs those numbers '40 & 18' are the products what I want to mix together
  14. Hmm, but then I compile it gives me errors. even with the %end
  15. Hey, Didn't know how I had to call the title, lol.. what I want is this: %hook Car -(int) equip { if(getPrefBool(@"key1")) { return 40; } return %orig } -(int) equip { if(getPrefBool(@"key2")) { return 18; } return %orig } is this possible?
  16. yea well I've never seen this before either, is there a way to get it to see as 32 bit?
  17. heyy, I don't know why it says X after a funcion... anyone does? http://imgur.com/xV2dudt
  18. intresting
  19. If you can link me the .apk, I'll have a look for you
  20. downloaded the 'precompiled' version, still not working tho...
  21. Just tried it, tells me it can't find pokestops nearby
  22. oh damn, no windows option?
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines