|
|||||||
| English Support Board English & Foreign Languages support |
![]() |
|
|
LinkBack | Strumenti discussione |
|
|||
|
But i still have some little questions. I made a little hack that makes your character drunken: Codice:
_S ULES-00851 _G Monster Hunter Freedom 2 [EU] _C0 Drunken #Right shoulderbutton + /\ _L 0xD0000000 0x10001200 _L 0x007EADF8 0x00000001 #Left shoulderbutton + /\ _L 0xD0000000 0x10001100 _L 0x007EADF8 0x00000000 Is there a way to enable and disable it with just one buttoncombination(like toggle button)? I tryed myself by checking the values at 0x007EADF8,but for some reason it didn't seem to work. Btw. is there also a way to execute real code or an "executable" or lua-like code? |
|
||||
|
Citazione:
![]() Yes, there is! All it takes is a little imagination and a Byte that isn't used by the Game. ![]() Codice:
_C0 4m8IoN's 'Toggle Button' Demo Code _L 0xD0000005 0x10000100 _L 0xE1060000 0x0077777B _L 0xE1020000 0x00777777 _L 0x00777777 0x00000001 _L 0x0077777B 0x00000001 _L 0xE1020000 0x0077777B _L 0x00777777 0x00000000 _L 0x0077777B 0x00000001 _L 0xD0000001 0x30000100 _L 0xE1010001 0x0077777B _L 0x0077777B 0x00000000 Target (here: 777777) & Flag (here: 77777B) For all the readers that are too lazy to use the PSP_Code_Types List to 'decipher' it. This is a simple Pseudocode Version of my Demo Code: Codice:
While(L-Button){
if(Flag==0){
if(Target==0){
Target=1;
Flag=1;
}if(Flag==0){
Target=0;
Flag=1;
}}}While(not L-Button){
if(Flag==1){
Flag=0;}}
|
|
|||
|
Citazione:
.But how do i know what byte isn't used by the game or other modules? ![]() Would be better if cwcheat would reserve some memory that can be used for cheats. |