Memory Hacking Software

Discussions Regarding Memory Hacking Software
It is currently Tue Sep 07, 2010 8:42 am

All times are UTC + 7 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: help with script lock plz
PostPosted: Tue Oct 07, 2008 4:21 pm 
Offline
I Have A Few Questions

Joined: Tue Oct 07, 2008 4:09 pm
Posts: 7
i made mhs table addres:
1.blood=game.exe+50
2.bloodbase=game.exe+60

q:how to script to make on hotkey pressing so blood=bloodbase in table?
give exmple plz.thx . sorry bad english


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 07, 2008 9:19 pm 
Offline
L. Spiro
User avatar

Joined: Mon Jul 17, 2006 10:14 pm
Posts: 2852
Location: Tokyo, Japan
It is not necessary to make a script to lock these.

Just add both addresses to the list such that one is A and one is B, then make 2 Hotkeys such that Hotkey0 locks A and unlocks B, and Hotkey1 unlocks A and locks B.


L. Spiro

_________________
Our songs remind you of songs you’ve never heard.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 08, 2008 1:33 am 
Offline
Elang Djawa
User avatar

Joined: Fri Jul 21, 2006 12:49 pm
Posts: 1057
Location: Away for a while...
Maybe, this is what he wants (?):

Code:
VOID Lock ( MHS_ADDRESS aAddress, INT iItemSize )
{
   extern DWORD e_dBlood     = { "", aAddress };       // Blood = game.exe+0x50
   extern DWORD e_dBloodBase = { "", aAddress+0x10 };  // BloodBase = game.exe+0x60
   
   if ( e_dBlood < e_dBloodBase ){
      e_dBlood = e_dBloodBase;
   }
}


CMIIW on script errors...

_________________
.. to boldly go where no eagle has gone before...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 08, 2008 12:22 pm 
Offline
L. Spiro
User avatar

Joined: Mon Jul 17, 2006 10:14 pm
Posts: 2852
Location: Tokyo, Japan
Most likely that is what he wants. I am jetlagged.


L. Spiro

_________________
Our songs remind you of songs you’ve never heard.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 15, 2008 8:20 pm 
Offline
I Have A Few Questions

Joined: Tue Oct 07, 2008 4:09 pm
Posts: 7
yes the script i wants.my thanks you!
questions done


Top
 Profile  
 
 Post subject: Re: help with script lock plz
PostPosted: Wed Jan 20, 2010 2:05 pm 
Offline
I Have A Few Questions
User avatar

Joined: Sun Dec 20, 2009 1:35 am
Posts: 6
Location: USA
I've never used the script function before now, and I was having difficulty understanding how to use this information for my particular situation, and WhiteHat gave me this solution:

VOID Lock ( MHS_ADDRESS aAddress, INT iItemSize )
{
extern SHORT MMHPos = { "", aAddress }; // MMHPos = zsnesw.exe+0x32BE45
extern SHORT CycleHPos = { "", aAddress + 0x2F0 }; // CycleHPos = zsnesw.exe+0x32C135

MMHPos = CycleHPos; // Directly Lock MMHPos to CycleHPos
}

With this, I now understand how it is supposed to work, but it is not working for me. I may be doing something wrong, here's what I'm doing:

Right click on my MMHPos code, hit "Modify Selected".
Then I go to the Script Lock tab, and I paste that script in there, and press "OK".
The script doesn't give me a compile error. So I look at my addresses in MHS, and compare the two. CycleHPos should be copying the value of MMHPos to itself, but it isn't.

Am I missing a step?

_________________
Image
My PSN ID: radicldreamr


Top
 Profile  
 
 Post subject: Re: help with script lock plz
PostPosted: Wed Jan 20, 2010 5:15 pm 
Offline
L. Spiro
User avatar

Joined: Mon Jul 17, 2006 10:14 pm
Posts: 2852
Location: Tokyo, Japan
CycleHPos is not copying MMHPos. MMHPos is copying CycleHPos.

And you need to activate the script lock when you close the dialog.


L. Spiro

_________________
Our songs remind you of songs you’ve never heard.


Top
 Profile  
 
 Post subject: Re: help with script lock plz
PostPosted: Wed Jan 20, 2010 5:38 pm 
Offline
I Have A Few Questions
User avatar

Joined: Sun Dec 20, 2009 1:35 am
Posts: 6
Location: USA
Oh ok I see, need to switch it around CycleHPos = MMHPos.

In any case, I'm unsure on how to activate the script lock. If you mean to check the box "use script to apply lock", then I have done that, and it doesn't activate.

*EDIT*
Wait, it's working now. I think flipping those two around did the trick. :-)
Thank you both!

_________________
Image
My PSN ID: radicldreamr


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 7 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group