Jump to content

A Little Help #2


Go to solution Solved by Rook,

16 posts in this topic

Recommended Posts

Posted (edited)

A Little help #2: Got error (I was practicing preferences bundle and got this error -_-)

image.jpg

Updated by kenny808
Posted

This should work: 

-(BOOL)hasEnergyForSkill:(id)fp8 {
return TRUE;
}
%end

If you want to change the (id) too then:

-(BOOL)hasEnergyForSkill:(id)fp8 {
return TRUE;
fp8 = YOLO;
%orig(fp8);
}
%end
Posted (edited)

-(int)getItemPriceByIndex:(int) characterIndex:(int)

how about this one?

Updated by kenny808
Posted
-(int)getItemPriceByIndex:(int) characterIndex:(int)
how about this one?

 

Here:

-(int)getItemPriceByIndex:(int)fp8 characterIndex:(int)fp12 {
return 99999;             // first int function
fp8 = 9999;             // second int function
fp12 = 99;               // third function
%orig(fp8, fp12);        
}
%end
Posted

Here:

 

-(int)getItemPriceByIndex:(int)fp8 characterIndex:(int)fp12 {
return 99999;             // first int function
fp8 = 9999;             // second int function
fp12 = 99;               // third function
%orig(fp8, fp12);        
}
%end

thx :) @@DiDA

Posted

A little help #2

You should of left the original question and started a new topic. This'll look confusing now :p

 

About the error, I remember having it also and I've fixed it but I can't remember how. :p

 

Post your project files in the cheater section or PM me them so I can take a look. :)

Posted

You should of left the original question and started a new topic. This'll look confusing now :p

About the error, I remember having it also and I've fixed it but I can't remember how. :p

Post your project files in the cheater section or PM me them so I can take a look. :)

OK Thx :)

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