Jump to content

Question

Posted

Hello, I am currently making a "xa" auto cheat finder script that is effective in sports games and rpg games.

Generally, these values are stored between 1 and 5 thousand. But to reach the found value, I set the value to 999. 

 

function KE17()
gg.searchNumber("100", gg.TYPE_FLOAT)
gg.getResults(1000)
gg.editAll("999", gg.TYPE_FLOAT)
gg.clearResults()
---bitiş
gg.searchNumber("101", gg.TYPE_FLOAT)
gg.getResults(1000)
gg.editAll("999", gg.TYPE_FLOAT)
gg.clearResults()
---bitiş
gg.searchNumber("102", gg.TYPE_FLOAT)
gg.getResults(1000)
gg.editAll("999", gg.TYPE_FLOAT)
gg.clearResults()
---bitiş
gg.searchNumber("103", gg.TYPE_FLOAT)
gg.getResults(1000)
gg.editAll("999", gg.TYPE_FLOAT)
gg.clearResults()
---bitiş
gg.searchNumber("104", gg.TYPE_FLOAT)
gg.getResults(1000)
gg.editAll("999", gg.TYPE_FLOAT)
gg.clearResults()
---bitiş
end

function KE18()
gg.searchNumber("999", gg.TYPE_FLOAT)
gg.getResults(99999)
print("Sorry, cleanup is yours, just undo and delete all :) run the script again, continue.")
os.exit()
end

The only problem is that these values are returned after searching and thus the game runs successfully without crashing.

10 answers to this question

Recommended Posts

  • 0
Posted (edited)

Can you explain more, it is a litle bit confusing for me.

Edited by MAARS
  • 0
Posted
function KE17()
gg.searchNumber("100", gg.TYPE_FLOAT)
set_one = gg.getResults(1000)
gg.editAll("999", gg.TYPE_FLOAT)
gg.clearResults()
---bitiş
gg.searchNumber("101", gg.TYPE_FLOAT)
set_two = gg.getResults(1000)
gg.editAll("999", gg.TYPE_FLOAT)
gg.clearResults()
---bitiş
gg.searchNumber("102", gg.TYPE_FLOAT)
set_three = gg.getResults(1000)
gg.editAll("999", gg.TYPE_FLOAT)
gg.clearResults()
---bitiş
gg.searchNumber("103", gg.TYPE_FLOAT)
set_four = gg.getResults(1000)
gg.editAll("999", gg.TYPE_FLOAT)
gg.clearResults()
---bitiş
gg.searchNumber("104", gg.TYPE_FLOAT)
set_five = gg.getResults(1000)
gg.editAll("999", gg.TYPE_FLOAT)
gg.clearResults()
---bitiş
end

function KE18()
  gg.setValues(set_one)
  gg.setValues(set_two)
  gg.setValues(set_three)
  gg.setValues(set_four)
  gg.setValues(set_five)
end

 

  • 0
Posted (edited)
33 minutes ago, BadCase said:
gg.setValues(set_five)

Normaly when you call gg.editAll values are set automaticaly right ?

I dont understand why you call gg.setValues in another function, can you explain ?

Edited by MAARS
  • 0
Posted
1 minute ago, MAARS said:

Nevermind i undertand now

Also that is why they are not set as local variables

  • 0
Posted

 

For example, I found a dump enemy in the xa Region Memory in the video and I know that the result is between 0.1 and 0.2.

All Changes are changed to 999 or I adjust accordingly. But I want this to take back all my values that were directly changed to 999 when I clicked the button.The reason I'm doing this is to be able to see changes from other searches or make sure it doesn't crash.

Here is the sample english script

Region Auto Hack Finder.lua

39 minutes ago, BadCase said:









 

oh try

  • 0
Posted
2 minutes ago, pro_ejder said:

 

For example, I found a dump enemy in the xa Region Memory in the video and I know that the result is between 0.1 and 0.2.

All Changes are changed to 999 or I adjust accordingly. But I want this to take back all my values that were directly changed to 999 when I clicked the button.The reason I'm doing this is to be able to see changes from other searches or make sure it doesn't crash.

Here is the sample english script

Region Auto Hack Finder.lua 46.68 kB · 0 downloads

oh try

The code I posted will revert the values when KE18() is called

  • 0
Posted
7 minutes ago, BadCase said:

The code I posted will revert the values when KE18() is called

Script ended:
Script error: luaj.n: /mnt/windows/BstSharedFolder/Ultra Hile Aracı V1 ProEjder.lua:2093
`  gg.setValues(set_one)`
bad argument #1 to 'gg.setValues' (nil: table expected, got nil) (field 'setValues')
level = 1, const = 7, proto = 0, upval = 1, vars = 2, code = 21
CALL v0..v1
 ; PC 3 CODE 0100401D OP 29 A 0 B 2 C 1 Bx 1025 sBx -130046

---

I think it gave setvalues error. Maybe he was confused about what to rewind? Or are other functions causing trouble?

  • 0
Posted
6 hours ago, pro_ejder said:

Script ended:
Script error: luaj.n: /mnt/windows/BstSharedFolder/Ultra Hile Aracı V1 ProEjder.lua:2093
`  gg.setValues(set_one)`
bad argument #1 to 'gg.setValues' (nil: table expected, got nil) (field 'setValues')
level = 1, const = 7, proto = 0, upval = 1, vars = 2, code = 21
CALL v0..v1
 ; PC 3 CODE 0100401D OP 29 A 0 B 2 C 1 Bx 1025 sBx -130046

---

I think it gave setvalues error. Maybe he was confused about what to rewind? Or are other functions causing trouble?

Looks like you only changed the code in KE18() and not in KE17()

  • 0
Posted
On 4/28/2022 at 10:45 PM, BadCase said:

Looks like you only changed the code in KE18() and not in KE17()

yes, the function you said definitely worked, thank you very much. But it didn't do undo in decimals, that's fine, I did it like this

 

function G1()
gg.searchNumber('100', gg.TYPE_FLOAT)
a = gg.getResults(500)
gg.editAll("999", gg.TYPE_FLOAT)
gg.clearResults()
end


function G2()
gg.searchNumber('999', gg.TYPE_FLOAT)
revert = gg.getValues(a)
revert = gg.setValues(a)
end

 

 

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
×
×
  • 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.