Jump to content
Sign in to follow this  
Mofo50

some scripting questions

Recommended Posts

i have a few questions about scripting and the functions

1. can i add or subtract a hex value from an address in order to find their values for example:

     local t = some results

    newAddress = t[1].address + 0x000000002C

    would newAddress be 44 addresses infront of the old address

2. how can i get a value at a specific address without doing a search and store it in a table.

for example i want the value at a known address "address1" and store it in a table to then reuse the DWORD value stored in that address elsewhere is this possible?

Edited by Mofo50

Share this post


Link to post
Share on other sites

Odd question. Why you not try yourself? Why you ask?

It is faster make few test with lua code.

1. So on first question I not answer. Do it yourself.

2. Yep. Use getValues. Read API help. There present such examples.

Share this post


Link to post
Share on other sites
51 minutes ago, Enyby said:

Odd question. Why you not try yourself? Why you ask?

It is faster make few test with lua code.

1. So on first question I not answer. Do it yourself.

2. Yep. Use getValues. Read API help. There present such examples.

ye i tried it after i posted it and got it to work. i dont even know why i asked XD. my brain didnt work for a second

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...