Hi, I'm pretty new to scripting, and in a game I found that the value at every 48th address corresponds to the price of items. So I was wondering how I could script a task like this:
1. Input some address and number "n"
2. Edit the DWORD value at that address to a certain value
3. Edit the DWORD value at (original address + 48) to some value
4. Edit the DWORD value at (original address + 2*48) to some value
5. Edit the DWORD value at (original address + 3*48) etc. etc. etc.
...
Edit the DWORD value at (original address + n*48)
...
Yeah, could someone help me with this? Or maybe direct me to some resources so I could learn this? Thank you so much!!
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.
Question
real_potato
Hi, I'm pretty new to scripting, and in a game I found that the value at every 48th address corresponds to the price of items. So I was wondering how I could script a task like this:
1. Input some address and number "n"
2. Edit the DWORD value at that address to a certain value
3. Edit the DWORD value at (original address + 48) to some value
4. Edit the DWORD value at (original address + 2*48) to some value
5. Edit the DWORD value at (original address + 3*48) etc. etc. etc.
...
Edit the DWORD value at (original address + n*48)
...
Yeah, could someone help me with this? Or maybe direct me to some resources so I could learn this? Thank you so much!!
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.