Jump to content

Help (Tweaks)


Go to solution Solved by FuroowHD,

35 posts in this topic

Recommended Posts

Posted

Dude..... i want to make buddyman 2 

That is BuddyMan2 :3

  • Replies 34
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted

%hook PBGlobalStatistic

-(int)money {
return 99999;
}

-(int)coinsCount {
return 99999;
}

-(BOOL)itemIsBought:(id) {
return TRUE;
}

-(int)money {
return 99999;
}
%end

%hook PBExperienceManager

-(float)experienceForNextLevel {
return 1.0f;
}

%end

%hook BMNotepadBaseItemCell

-(BOOL)itemBought {
return TRUE;
}
%end

 

 

try this or just suicide :p

Posted

 

%hook PBGlobalStatistic

 

-(int)money {

return 99999;

}

 

-(int)coinsCount {

return 99999;

}

 

-(BOOL)itemIsBought:(id) {

return TRUE;

}

 

-(int)money {

return 99999;

}

%end

 

%hook PBExperienceManager

 

-(float)experienceForNextLevel {

return 1.0f;

}

%end

 

%hook BMNotepadBaseItemCell

 

-(BOOL)itemBought {

return TRUE;

}

%end

 

 

try this or just suicide :p

 

Way to bring it out there xD

Posted

Way to bring it out there xD

Dude 5 Errors Need to More Works :DDDDDDDDDDDDDDDDDDD

 

%hook PBGlobalStatistic

 

-(int)money {

return 99999;

}

 

-(int)coinsCount {

return 99999;

}

 

-(BOOL)itemIsBought:(id) {

return TRUE;

}

 

-(int)money {

return 99999;

}

%end

 

%hook PBExperienceManager

 

-(float)experienceForNextLevel {

return 1.0f;

}

%end

 

%hook BMNotepadBaseItemCell

 

-(BOOL)itemBought {

return TRUE;

}

%end

 

 

try this or just suicide :p

 

Error :

Preprocessing Tweak.xm...

Compiling Tweak.xm...

Tweak.xm:4:559: error: redefinition of

'_logos_orig$_ungrouped$PBGlobalStatistic$money'

...SEL); static int (*_logos_orig$_ungrouped$PBGlobalStatistic$money)(PBGlo...

^

Tweak.xm:4:14: note: previous definition is here

static int (*_logos_orig$_ungrouped$PBGlobalStatistic$money)(PBGlobalSta...

^

Tweak.xm:11:104: error: expected class member or base class name

...self, SEL _cmd):(id) {

^

Tweak.xm:11:104: error: expected '{' or ','

Tweak.xm:11:103: error: only constructors take base initializers

...self, SEL _cmd):(id) {

^

Tweak.xm:15:12: error: redefinition of

'_logos_method$_ungrouped$PBGlobalStatistic$money'

static int _logos_method$_ungrouped$PBGlobalStatistic$money(PBGlobalStat...

^

Tweak.xm:3:12: note: previous definition is here

static int _logos_method$_ungrouped$PBGlobalStatistic$money(PBGlobalStat...

^

5 errors generated.

 

 

Posted

%hook PBGlobalStatistic

-(int)coinsCount {
return 99999;
}


-(int)money {
return 99999;
}
%end

%hook PBExperienceManager

-(float)experienceForNextLevel {
return 1.0f;
}

%end

%hook BMNotepadBaseItemCell

-(BOOL)itemBought {
return TRUE;
}
%end

 

ok im done 

  • Solution
Posted

%hook PBGlobalStatistic

-(int)coinsCount {
return 99999;
}

-(int)money {
return 99999;
}
%end

%hook PBExperienceManager

-(float)experienceForNextLevel {
return 1.0f;
}

 

-(unsigned int)skillPoints {

return 999999;

}

%end

%hook BMNotepadBaseItemCell

-(BOOL)itemBought {
return TRUE;
}
%end

Posted

Did Furoow mark his comment as solved? :angry:

 

Build your tweak based on this: 

%hook BMMenuItemStars
- (void)setStarsCount:(unsigned int)fp8 animated:(BOOL)fp12 {
fp12=true;
fp8=999999999;
%orig(fp8, fp12);
}
%end

%hook PBSlotsManager
-(unsigned int)getSpinsCount {
return 999999999;
}
%end

%hook PBGlobalStatistic
-(int)coinsCount {
return 999999999;
}
%end
Guest
This topic is now closed to further replies.
×
  • 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