Jump to content

64 posts in this topic

Recommended Posts

Posted (edited)

 

Hi SuperGIU

 

i try also to create a new Preference bundle but i receive this error :

 

error: expected function body after function declarator

if(GetPrefBool(@"kInvincible"))

 

this are my file content :

 

I try with this file:

 

#import <Foundation/Foundation.h>

#import "writeData.h"

#include <unistd.h>

 

#define PLIST_PATH @"/private/var/root/spidy/spidermanultimate/Resources/SpiderManUltimate.plist"     

 

inline bool GetPrefBool(NSString *key)

{

return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];

}

 

 

%ctor

 

 

if(GetPrefBool(@"kInvincible"))

{

 

               

    writeData(0x47842,0x3501);

}

{

                           

    writeData(0x1C4551,0x002E);

};

 

What is wrong ? Thks ELREYS

 

Updated by ELREYS
Posted

Hi SuperGIU

 

i try also to create a new Preference bundle but i receive this error :

 

error: expected function body after function declarator

if(GetPrefBool(@"kInvincible"))

 

this are my file content :

 

I try with this file:

 

#import <Foundation/Foundation.h>

#import "writeData.h"

#include <unistd.h>

 

#define PLIST_PATH @"/private/var/root/spidy/spidermanultimate/Resources/SpiderManUltimate.plist"     

 

inline bool GetPrefBool(NSString *key)

{

return [[[NSDictionary dictionaryWithContentsOfFile:PLIST_PATH] valueForKey:key] boolValue];

}

 

 

%ctor

 

 

if(GetPrefBool(@"kInvincible"))

{

 

               

    writeData(0x47842,0x3501);

}

{

                           

    writeData(0x1C4551,0x002E);

};

 

What is wrong ? Thks ELREYS

 

This is not the tutorial you should be following for Code Injection Patcher.

 

This is the one you need: http://iosgods.com/topic/659-tutorial-code-injection-with-patcher/

Posted

DiDA i try but this guide ist not complete, ithink thex miss somthing ?http://imgur.com/dddbgrf,LkZDQcZ

The guide is complete. Just download AirMAX's project folder and work from that.

 

If you run into any errors or problems, make a support topic.

Posted (edited)

and where is the file Preferences/Preferences.h? you are importing this file in xxx.h but this file doesn't exist (neither in your template). I'm getting a compile error because i need the file.

 

Edit: nvm. i had to download the iphoneheaders from here https://github.com/rpetrich/iphoneheaders and unzip all the folders inside /theos/included and done. 

 

NOTE: after doing that, you will get an error with <IOSurface/IOSurfaceAPI.h> file. Go to _fallback folder and copy the file and paste at IOSurface folder ^^

Updated by orella

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • 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