Search the Community
Showing results for tags 'offset'.
-
Great job with your new feature `record script` devs. It would be awesome if you guys make it to recognize offset. It is great feature to auto because sometimes the value we need to chage is not a constant but nearby values is. @Enyby@d2dyno
-
I found an important value of more than 5k results but this technique is slow to edit is there any other code that speeds up editing? ___ local edt = gg.getResults(gg.getResultCount()) for i,v in pairs(edt) do edt[i].address = edt[i].address + 8 edt[i].flags = gg.TYPE_FLOAT edt[i].value = 9999 edt[i].freeze = false gg.setValues(edt) end
-
I have the latest version (8.10.2) of GG but I think I must be missing something in it. There is a lot of functionality for finding offsets between two addresses by using either the "Caluculate Offset" or "Offset Calculator" functions. I was expecting though that there would be a way to apply an offset against a list of saved values but I can't seem to find a way to do that. Since there is no way to do pointer searches in the app, the next logical way of keeping a list of addresses useable for a game would be to apply a global offset to all the saved values. Is this possible or does this functionality not exist in the program? If it doesn't exist then I'd like to raise a feature request for the below functions: 1) Ability to calculate offset between a saved value and a searched value 2) Ability to apply an offset to all saved values to change all their addresses at once 3) Ability to select a saved address and searched address and apply the offset between them to all saved addresses (This would combine the function of both the above two options) The idea here is that even though the memory addresses change each time a game is started the position of the values is generally always relative. If I have searched and found a large number of values and saved them for a game I would want to be able to load those values the next time I start the game and apply an offset to all of them to correct their position to the right memory region. Preferably, the most ideal process would be as follows: 1) Find memory values you want to edit and freeze 2) Save those values to a list for that game 3) Next time you play the game you load the list of saved memory addresses (that no longer point to the right location) 4) Perform a search and find the location of one of the saved memory addresses 5) Select the saved value and search result that matches and choose an option in the app to apply the offset between those values to all addresses in the saved list The option I indicate in the last step is the function we need as an alternative to having the ability to search for memory pointers. If that is too hard, having at least an option to apply an offset to the saved list manually would be terrific!
-
Hello, im learning gameguardian code, and offsets here is a very usefull thing. I looked so many tutorials, but i still dont understand: everything what im doing is wrong! function setvalue(adress, flags, value) x={} x[1]={} x[1].adress=adress x[1].flags=flags x[1].value=value gg.setValue(x) end print(gg.setRangeList('lib.so')) adr1 = gg.setRangeList('lib.so')[1].start adr2 = adress setvalue(adr1+adr2, flag, value) This code i use to change offsets value, this is working but i can't understand: what should i choose here: Please help me!
-
Version 1.0.0
653 downloads
Hi guys its crystal mods! Tired of rewriting code especially offset code multiple times? well this script can only do it multiple times in ONE FUNCTION! Warning: the long function Runtime() must be declared above all of your functions so you can access it when u need it How to use it: 1.Paste the offset code function above all your hack functions 2. when you want to use it simply call the function then enter the following information example use: Runtime(32,100,gg.TYPE_DWORD,0x91,gg.TYPE_FLOAT,0.01) {search 100 in A also DWORD, sleeps 10 seconds for a value change then prompts to enter the new value, refines the value then starts adding the offset you entered, selects the flags you would like to edit it into then edit it!} this will search your value in whatever range, and data type, then it will give you 10 seconds to change the value, you do so then it will get one results after refining your input. it will do the offset method as normal until you get your desired want Next features: Check if lib file is present Add Down offset + faster execution Self Encode v1.0 (to prevent modifcation) (if you want unwanted calls simply rename the function) Please use credits if ever reposting after modifying ^^ please comment your thoughts on this script thanks -
View File [1.0] Crystal Exec Runtime.lua Hi guys its crystal mods! Tired of rewriting code especially offset code multiple times? well this script can only do it multiple times in ONE FUNCTION! Warning: the long function Runtime() must be declared above all of your functions so you can access it when u need it How to use it: 1.Paste the offset code function above all your hack functions 2. when you want to use it simply call the function then enter the following information example use: Runtime(32,100,gg.TYPE_DWORD,0x91,gg.TYPE_FLOAT,0.01) {search 100 in A also DWORD, sleeps 10 seconds for a value change then prompts to enter the new value, refines the value then starts adding the offset you entered, selects the flags you would like to edit it into then edit it!} this will search your value in whatever range, and data type, then it will give you 10 seconds to change the value, you do so then it will get one results after refining your input. it will do the offset method as normal until you get your desired want Next features: Check if lib file is present Add Down offset + faster execution Self Encode v1.0 (to prevent modifcation) (if you want unwanted calls simply rename the function) Please use credits if ever reposting after modifying ^^ please comment your thoughts on this script thanks Submitter Crystal_Mods100x Submitted 06/08/2021 Category Templates
-
Hi everyone im requesting help here because i was making a script for a game and i could not get it to work it requires 20 shotgun ammo then it needs to be refined to 16 then i caculated the 2 numbers to offset and i got 70 (0x46), i entered the number but it does not work (it works when player glides toward the direction they are pointing toward + fast fire rate) here is the source code i did not code this all credits go towards > @AKRAMRAZA for coding the script base Thank you but here is the problem i keep getting the wrong results and it does not work -Source code function test() gg.clearResults() gg.searchNumber("20", gg.TYPE_DWORD) gg.alert('10 seconds to change ammo to 17') gg.sleep(10000) --10 seconds gg.refineNumber("16", gg.TYPE_DWORD) p = gg.getResults(1) local q = {} q[1] = {} q[1].address = p[1].address + 0x46 --address to the offset(ex: -4) to the refined result q[1].flags = gg.TYPE_FLOAT --datatype which i want to edit the value q[1].value = 1 --value i want to edit the glide value to gg.setValues(q) gg.alert('Done') gg.clearResults() end function stop() os.exit() end main = gg.choice({'Glide speed','Exit'}) if main==1 then test() end if main==2 then stop() end But what am i doing wrong? i also dont know how many results only one result comes in for the shotgun ammo is that?