ConsoleWorld Forum
HOME
FORUM
CWCHEAT
LIST
DOWNLOAD
GALLERY

Torna indietro   ConsoleWorld Forum > CWCheat Official Support Forum > English Support Board

English Support Board English & Foreign Languages support

Rispondi
 
LinkBack Strumenti discussione
  #1 (permalink)  
Vecchio 25th December 2008, 16:16
Junior Member
 
Data registrazione: Dec 2008
Messaggi: 6
Potenza rep: 0
CrazyT è su una strada distinta
ICONA NEWS PSP Monster Hunter Freedom 2 [EU] + Codequestion

I came accross cwcheat and i start to like it.
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
At the moment you need to press right shoulder button + triangle to enable the drunken mode (only works inside town, not during the quest) and left shoulder button + triangle to disable it.
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?
Rispondi citando
  #2 (permalink)  
Vecchio 28th December 2008, 04:03
L'avatar di 4m8IoN
Member
 
Data registrazione: Dec 2008
Residenza: Earth
Messaggi: 339
Potenza rep: 1
4m8IoN è su una strada distinta
Citazione:
Originalmente inviato da CrazyT
Is there a way to enable and disable it with just one buttoncombination(like toggle button)?


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
This Code needs two Adresses:
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;}}
Rispondi citando
  #3 (permalink)  
Vecchio 28th December 2008, 09:49
Junior Member
 
Data registrazione: Dec 2008
Messaggi: 6
Potenza rep: 0
CrazyT è su una strada distinta
Citazione:
All it takes is a little imagination and a Byte that isn't used by the Game.
Thanks for your help .
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.
Rispondi citando
  #4 (permalink)  
Vecchio 28th December 2008, 16:48
L'avatar di 4m8IoN
Member
 
Data registrazione: Dec 2008
Residenza: Earth
Messaggi: 339
Potenza rep: 1
4m8IoN è su una strada distinta
Citazione:
Originalmente inviato da CrazyT
But how do i know what byte isn't used by the game or other modules?
You could try by keeping the Byte you want to use frozen at the values you need for that purpose.
If the Game will freeze at some point chances are pretty solid that this Byte gets used by the Game.
Or you could just frequently monitor the place you want to use with the CWCheat Memory Editor.

In your case it could also help to find a place in RAM that will have a fixed value whenever you are in a 'Drunk Zone' (Town).
A Stopper Code that checks this adress could prevent the code from executing outside of such zones.
This also will make things a bit easier on the 'Flag Byte' Search.
Since the chances of being able to use a 'Flag-Byte' close to the actual Target is much higher.

Citazione:
Originalmente inviato da CrazyT
Would be better if cwcheat would reserve some memory that can be used for cheats.
I have to admit that it would be niCe to have a tiny Register reserverved for that type of stuff.
But the percentage of Cheats that would need such a thing is less than 1%.
I rather would like to see a new type of Pointer Cheat that would be capable of copying Bytes
from dynamic to static space and vice versa. That way it would be possible to easily combine
"Special Static Commands" (Boolean-,Increment/Decrement-,Test Commands) with Pointer Cheats.
Rispondi citando
Rispondi

Bookmarks


Strumenti discussione

Regole di scrittura
Non puoi postare nuovi argomenti
Non puoi postare repliche
Non puoi postare allegati
Non puoi editare i tuoi post

BB code è Attivato
Le faccine sono Attivato
Il codice [IMG] è Attivato
Il codice HTML è Disattivato
Trackbacks are Attivato
Pingbacks are Attivato
Refbacks are Attivato



Tutti gli orari sono GMT +2. Adesso sono le 06:01.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105