Jump to content
  • 0

how to create offset and apply create copy directly in lua script?


Edi04
 Share

Question

I have a question regarding an offset related issue. here I want to create an offset from the value I found to be at offset 8 and make a copy directly. but I am confused about what commands should be entered into the script script. please help me Here I use gg according to my language, Indonesian

2024_11_12_15.14.40.jpg

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
6 hours ago, Edi04 said:

I have a question regarding an offset related issue. here I want to create an offset from the value I found to be at offset 8 and make a copy directly. but I am confused about what commands should be entered into the script script. please help me Here I use gg according to my language, Indonesian

2024_11_12_15.14.40.jpg

-- have your value in the search results

x=gg.getResults(1)

x[2]={}

x[2].address=x[1].address+0x8

x[2].flags=x[1].flags

gg.loadResults(x) -- puts in search 

gg.addListItems(x) -- puts in save tab

Link to comment
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
 Share

×
×
  • Create New...