Jump to content
  • 0

some scripting questions


Mofo50

Question

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?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.