Jump to content

Auto Hack Finder (for any game/Values only) 1.2

   (2 reviews)

1 Screenshot

About This File

this is a simply script were I putted values that will do a common change in to the game, when a value does something, just interrupt the script and copy the value or take a screenshot and search it.


the values are existends

0.001~0.1

0.1~9.9

0.00001~0.001

ofcourse not all values are I it, I tried ceeping it basic. 

I know this may look useless but it aint useless if you know a bit how to use.


What's New in Version 1.2   See changelog

Released

my deepest exuse, I made a type fault in the script

 Share


User Feedback

Recommended Comments

Lol, did you write all of those 13789 lines manually or by copying&pasting blocks of code?

I am asking, because you could achieve same result using loops, amount of code would be reduced tremendously in this case.

Link to comment
Share on other sites

copy and pasting blocks of code, I can do manual but that would be pointless as hell.
I think I had to do a 5k code manual.


about the loop, ofcourse I wanted to find a easyer way BUT


I wanted to make GG add afther each search 0.00001...but you know? it would take all way to lang...so I did all my manual values...

anyway all those values in the script I found them before...so I putted them all in scripts.
 

Link to comment
Share on other sites

  • Administrators

As @CmP write above - loop can huge reduce script size.

Any script which do gg.editAll after gg.getResults(100000) is very bad. It is good way to crash game, maybe with broke save data.

Edit a lot of values it is very bad idea in all cases.

Link to comment
Share on other sites

1 hour ago, XxhentaixX said:

I think I had to do a 5k code manual.

It's very bad way to spend your time and it may lead to mistakes.
For example, mistake in function test1 in your script (same blocks of code).

Quote

gg.searchNumber(0.000008,gg.TYPE_FLOAT)
gg.getResults(100000)
gg.sleep(1000)
gg.editAll(50, gg.TYPE_FLOAT)
gg.sleep(1000)
gg.editAll(0.000008,gg.TYPE_FLOAT)
gg.clearResults()


gg.searchNumber(0.000008,gg.TYPE_FLOAT)
gg.getResults(100000)
gg.sleep(1000)
gg.editAll(50, gg.TYPE_FLOAT)
gg.sleep(1000)
gg.editAll(0.000008,gg.TYPE_FLOAT)
gg.clearResults()

 

 

Here is an example of rewriting function test1 from your script using loops.
Look how much time and amount of code could be saved.

local function test1()
  local searchStringPart = '0.000000'
  
  for i = 7, 3, -1 do
    for j = 1, 9 do
      gg.searchNumber(searchStringPart .. j, gg.TYPE_FLOAT)
      gg.getResults(100000)
      gg.sleep(1000)
      gg.editAll(50, gg.TYPE_FLOAT)
      gg.sleep(1000)
      gg.editAll(searchStringPart .. j, gg.TYPE_FLOAT)
      gg.clearResults()
    end
    searchStringPart = searchStringPart:sub(1, i)
  end
end

 

Edited by CmP
Link to comment
Share on other sites

ah but it aint editing that much values, the most results it will edit is 5000k or something what still seems to be ok.
and just to be sure I let the search loop 5 times because values will change, and I cant have that because if I gonne return the edited values its gonne crash because im returning a changed value...


I have to edit them all (always) its how I find my cheats, then from there I small down and see wich value does what. 

but I understand what you mean.
my exuse for putting results so high. I gues I forgot to put on normal results...let me fix that.

_______________________________________________
added 1 minute later
2 minutes ago, CmP said:

It's very bad way to spend your time and this can lead to mistakes like this one from your script, in function test1 (same blocks of code).

 

Here is an example of rewriting function test1 from your script using loops.
Look how much time and amount of code could be saved.


local function test1()
  local searchStringPart = '0.000000'
  
  for i = 7, 3, -1 do
    for j = 1, 9 do
      gg.searchNumber(searchStringPart .. j, gg.TYPE_FLOAT)
      gg.getResults(100000)
      gg.sleep(1000)
      gg.editAll(50, gg.TYPE_FLOAT)
      gg.sleep(1000)
      gg.editAll(searchStringPart .. j, gg.TYPE_FLOAT)
      gg.clearResults()
    end
    searchStringPart = searchStringPart:sub(1, i)
  end
end

 

I don`t think I have see "searchStringPart" in the GG help. thanks for the examble gonne test it out.

Link to comment
Share on other sites

  • Administrators

@CmP It's all even easier to do - one function for searching that processes the table, plus creating a table. You can fill out the table with the data "in the forehead," but you can make it so that only the templates are stored there, which will be searched in the loop.

Link to comment
Share on other sites

16 minutes ago, XxhentaixX said:

I don`t think I have see "searchStringPart" in the GG help.

GG help is not intended to be complete guide for writing scripts. Only API-related information and some easy examples are there.

You need to learn and practise Lua language if you want to write advanced scripts.

Edited by CmP
Link to comment
Share on other sites

1 minute ago, CmP said:

GG help is not intended to be complete guide for writing scripts. Only API-related information and some easy examples are there.

You need to learn and practise Lua language if you want to write advanced scripts.

yes I know, it have been told many times to me, it takes time.

Link to comment
Share on other sites

  • Administrators
17 minutes ago, XxhentaixX said:

I don`t think I have see "searchStringPart" in the GG help.

This is called string concatenation. Learn Lua. The help on the GG API, it's not strange, the help on the GG API, and not the manual or help on Lua.

Link to comment
Share on other sites

15 minutes ago, Enyby said:

This is called string concatenation. Learn Lua. The help on the GG API, it's not strange, the help on the GG API, and not the manual or help on Lua.

yes I know you have told many times, but I can`t just stop making scripts and wait with uploading hacks till I fully understand lua...It has to go in a working process, I first need to focus on work, only afther that's done I can focus me more on studie lua to make my scripts better.

Link to comment
Share on other sites

  • Administrators

@XxhentaixX You should have a feeling of "wrongness". If you write two million lines, then you should have this feeling and you need to investigate the question of how to make it easier and faster.
There is such a principle of "code reuse". This is the first time. And the second point, a good programmer is always lazy. This means that he will prefer creative research than a stupid copy-paste or routine work.
You can learn the language as you write the code, there is nothing wrong with that. But you should have a feeling of "beautiful", otherwise you will waste time in vain.
For that hour while you were copying the same code, you could learn something new and, in the end, spend the same time, much more productive.

Also I advise you to study the basic principles of writing code. For example, if you have a number of 100,000 in 200 places, it's best to have one variable and write it everywhere. So then, if you need to change this number, you did it in one place, and not in hundreds.

This should happen to you when you write the code. Try to think a step ahead of the current situation. If you write something two or more times, you may need to generalize these points.

https://en.wikipedia.org/wiki/Duplicate_code

https://en.wikipedia.org/wiki/Code_smell

https://en.wikipedia.org/wiki/Copy_and_paste_programming

Link to comment
Share on other sites

Sorry for late reply, i was tired.

 

Thank you @Enyby and  @CmP for the advice and help. Ofcourse i rather found it my self tough, and yes i have to think a step a head. And find ways to make it easyer for my self...i gues its what they call humanity's infinite potentional for evolution. . .

 

But lua is wrided in C++, so is it better that i learn C++ first ? Because perhaps it would help me understand the Lua tutorials ways easyer, when i searched for the books thhey gived me advice that before reading the books i should have previous programming experiences.

Link to comment
Share on other sites

  • Administrators
1 minute ago, XxhentaixX said:

But lua is wrided in C++, so is it better that i learn C++ first ?

Lua is lua. Does not mater on which language it implemented. Need learn lua, not implementation base. And in GG lua implemented not on C/C++, but on Java. Even it is does not matter. Learn Lua.

3 minutes ago, XxhentaixX said:

before reading the books i should have previous programming experiences.

No. Book for beginners not need this. Try start from Lua first edition book.

Link to comment
Share on other sites

2 minutes ago, Enyby said:

Lua is lua. Does not mater on which language it implemented. Need learn lua, not implementation base. And in GG lua implemented not on C/C++, but on Java. Even it is does not matter. Learn Lua.

No. Book for beginners not need this. Try start from Lua first edition book.

 

5 minutes ago, Enyby said:

Lua is lua. Does not mater on which language it implemented. Need learn lua, not implementation base. And in GG lua implemented not on C/C++, but on Java. Even it is does not matter. Learn Lua.

No. Book for beginners not need this. Try start from Lua first edition book.

noted.

Link to comment
Share on other sites

Bro can i hack gems in rules of survival with this script and how?

 

_______________________________________________
added 3 minutes later

Bro can i hack gems in rules of survival with this script and how?

please answer if there's any solution to hack gems in ros

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