Starter1 Posted November 22, 2021 Posted November 22, 2021 how do I write a script that looks for the number 17 (in the dword value) and changes it to 0 17-my speed
1 Starter1 Posted November 22, 2021 Author Posted November 22, 2021 1 hour ago, blocx said: edited value was fix ? or u need to set speed lower and faster ? Faster
0 blocx Posted November 22, 2021 Posted November 22, 2021 edited value was fix ? or u need to set speed lower and faster ?
0 blocx Posted November 22, 2021 Posted November 22, 2021 question is not realy that u want fix value or she can change ( ex speed x1 x2 etc )
0 Starter1 Posted November 22, 2021 Author Posted November 22, 2021 2 hours ago, blocx said: question is not realy that u want fix value or she can change ( ex speed x1 x2 etc ) I have a lot of lines with a value of 17, how can I filter out the excess through the script?
0 blocx Posted November 22, 2021 Posted November 22, 2021 there are 2 option 1 use an group search and offset 2 use chainer ( most advanced ) for 1 try to find fix values near ur good address and calcul offset for 2 reffer that https://gameguardian.net/forum/files/file/1409-chainer/
0 blocx Posted November 22, 2021 Posted November 22, 2021 but question im not expert 17 dword is speed value what is value in float ? and if u want speed forward i think 0 will freeze character
0 Starter1 Posted November 22, 2021 Author Posted November 22, 2021 2 hours ago, blocx said: but question im not expert 17 dword is speed value what is value in float ? and if u want speed forward i think 0 will freeze character the task is for the script to find the value of my speed and change it to 0
0 blocx Posted November 22, 2021 Posted November 22, 2021 in first you need to find exactly your value when u have it go to and use one of option i tell to u for writte somrthing can match
0 Starter1 Posted November 22, 2021 Author Posted November 22, 2021 1 hour ago, blocx said: in first you need to find exactly your value when u have it go to and use one of option i tell to u for writte somrthing can match You are answering off topic, I said that I have the number 17 in the dword data type, it is the same in bytes and word, I need a script to find the values of 17 through gg. search (and there will be a lot of them there) and filter out those values that I do not need, the speed will not change, so the script should filter out what is not equal to 17, and then change somewhere 100 addresses to 0 1 hour ago, blocx said: in first you need to find exactly your value when u have it go to and use one of option i tell to u for writte somrthing can match can you give a link to a list of all lua commands in gg
0 blocx Posted November 22, 2021 Posted November 22, 2021 https://gameguardian.net/help/classgg.html 1
0 CmP Posted November 22, 2021 Posted November 22, 2021 6 hours ago, Starter1 said: how do I write a script that looks for the number 17 (in the dword value) and changes it to 0 Such script is pretty simple, just need to call several functions of GG API: gg.clearResults() -- Clear results list to ensure that new search will be started gg.searchNumber("17", gg.TYPE_DWORD) -- Search for the value gg.getResults(100) -- Load first 100 results gg.editAll("0", gg.TYPE_DWORD) -- Edit loaded results Information about GG API functions including descriptions and examples of usage can be found in the documentation, link to which is in the post above by @blocx. 5
0 MAARS Posted November 23, 2021 Posted November 23, 2021 @CmP answered well but notice that searching simply 17 can lead you to thousands of results and editing all those can make the crash, learn about group search to make your search more accurate 3
0 blocx Posted November 23, 2021 Posted November 23, 2021 1 hour ago, MAARS said: @CmP answered well but notice that searching simply 17 can lead you to thousands of results and editing all those can make the crash, learn about group search to make your search more accurate @Starter1 it for that reason initial coment 1
Question
Starter1
how do I write a script that looks for the number 17 (in the dword value) and changes it to 0
17-my speed
19 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now