Jump to content
Sign in to follow this  
g1doz

Please help me about lua script

Recommended Posts

Hello guys i need a help about lua script

For example, I have a basic line of values and i can only find these values just in this order and arrangement

gg.searchNumber("1000;2000;3000:9", gg.TYPE_DWORD)

and each value represents something in the game and in order to activate the cheat to a first value or any value in the line you must search for the same line once again okay?

So this line is basic to found this values, the problem lies about i activated the first value "1000" and edit this to "1111"

If I now want to activate second cheat, i can't because the main line "1000;2000;3000:9" is not the same as after the first cheat was activated "1111;2000;3000:9" and so on the rest of the values

Well my question is how to update the main search when I search for a second value, the search is updated according to whether a search was done before or not

For example, We do on this script

function home()
menu = gg.choice({"Hack 1","Hack 2","Hack 3")
if menu == 1 then hack_1() end
if menu == 2 then hack_2() end
if menu == 2 then hack_3() end
end

-- this basic search line gg.searchNumber("1000;2000;3000:9", gg.TYPE_DWORD)   and i can only find these values just in this order and arrangement

function hack_1()
gg.searchNumber("1000;2000;3000:9", gg.TYPE_DWORD) -- example user activate hack_3 before hack_1 so search hack_1 don't work or if user want to activated hack_1 don't work because basic search line is changed so how update this serach ?
gg.getResults(3)
gg.refineNumber("1000", gg.TYPE_DWORD)
gg.getResults(1)
gg.editAll("1111", gg.TYPE_DWORD)
end

function hack_2()
gg.searchNumber("1000;2000;3000:9", gg.TYPE_DWORD) -- example user activated hack_1 before hack_2 so search hack_2 don't work because basic search line is changed so how update this serach ?
gg.getResults(3)
gg.refineNumber("2000", gg.TYPE_DWORD)
gg.getResults(1)
gg.editAll("2222", gg.TYPE_DWORD)
end

function hack_3()
gg.searchNumber("1000;2000;3000:9", gg.TYPE_DWORD) -- example user activate hack_2 before hack_3 so search hack_3 don't work because basic search line is changed so how update this serach ?
gg.getResults(3)
gg.refineNumber("3000", gg.TYPE_DWORD)
gg.getResults(1)
gg.editAll("3333", gg.TYPE_DWORD)
end

This a simple process, i want solution for this problem that works in the big script lines and thanks you guys !!

Share this post


Link to post
Share on other sites

17 minutes ago, g1doz said:

just in this order

 

18 minutes ago, g1doz said:

gg.searchNumber("1000;2000;3000:9", gg.TYPE_DWORD)

you need doubled colon before 9 if you want ordered group search.

Share this post


Link to post
Share on other sites

Try to add some of nearby value in your group search. 

For example, 1000;2000;3000

3 steps Above 1000 is 500, then you can try 500;1000;2000;3000.

3 steps below 3000 is 100, then you can change to 500;1000;2000;3000;100.

And so on, until the group search is find desire value, if group search is not direct to your desire value, restart, try different combinations. 

Yeah, it is so boring, you need to restart the game many times.

Share this post


Link to post
Share on other sites

There can be many solutions.
1. Use files to save and restore state. Remember what has changed and look for changes.
2. Search once, remember and restore the address, change the value without re-searching.
3. Find values nearby and rely on them when searching.

Share this post


Link to post
Share on other sites
z=gg.searchNumber
x=gg.getResults
c=gg.clearResults

z('1000;2000;3000::9',4)
z('1000',4)
h1=x(3)

c()
z('1000;2000;3000::9',4)
z('2000',4)
h2=x(3)

c()
z('1000;2000;3000::9',4)
z('3000',4)
h3=x(3)

 

Share this post


Link to post
Share on other sites
54 minutes ago, bukandewa said:

Try to add some of nearby value in your group search. 

 For example, 1000;2000;3000

3 steps Above 1000 is 500, then you can try 500;1000;2000;3000.

3 steps below 3000 is 100, then you can change to 500;1000;2000;3000;100.

And so on, until the group search is find desire value, if group search is not direct to your desire value, restart, try different combinations. 

Yeah, it is so boring, you need to restart the game many times.

i can only find these values just in this order and arrangement

[added 0 minutes later]
55 minutes ago, Enyby said:

There can be many solutions.
 1. Use files to save and restore state. Remember what has changed and look for changes.
 2. Search once, remember and restore the address, change the value without re-searching.
 3. Find values nearby and rely on them when searching.

thank you dude ❤️

[added 3 minutes later]
50 minutes ago, Rs92ks said:

z=gg.searchNumber
x=gg.getResults
c=gg.clearResults

z('1000;2000;3000::9',4)
z('1000',4)
h1=x(3)

c()
z('1000;2000;3000::9',4)
z('2000',4)
h2=x(3)

c()
z('1000;2000;3000::9',4)
z('3000',4)
h3=x(3)

 

I didn't understand you well can you explain more !!

Share this post


Link to post
Share on other sites
59 minutes ago, Enyby said:

There can be many solutions.
 1. Use files to save and restore state. Remember what has changed and look for changes.
 2. Search once, remember and restore the address, change the value without re-searching.
 3. Find values nearby and rely on them when searching.

in step 2 Can you show me What I need from api ? example gg.ect...

Share this post


Link to post
Share on other sites
1 hour ago, Rs92ks said:

z=gg.searchNumber
x=gg.getResults
c=gg.clearResults

z('1000;2000;3000::9',4)
z('1000',4)
h1=x(3)

c()
z('1000;2000;3000::9',4)
z('2000',4)
h2=x(3)

c()
z('1000;2000;3000::9',4)
z('3000',4)
h3=x(3)

 

zxc is linked for search,clear and get results.

We searching 3 numbers and saving to h1,2,3. You can edit it. No more searches if your numbers not changes. Else u can search and set h1,2,3 again.

Share this post


Link to post
Share on other sites
56 minutes ago, Rs92ks said:

zxc is linked for search,clear and get results.

We searching 3 numbers and saving to h1,2,3. You can edit it. No more searches if your numbers not changes. Else u can search and set h1,2,3 again.

thx you so much

Share this post


Link to post
Share on other sites
2 hours ago, g1doz said:

in step 2 Can you show me What I need from api ? example gg.ect...

saveVariable

Share this post


Link to post
Share on other sites
On 8/30/2019 at 9:46 AM, Rs92ks said:

zxc is linked for search,clear and get results.

We searching 3 numbers and saving to h1,2,3. You can edit it. No more searches if your numbers not changes. Else u can search and set h1,2,3 again.

Rs92ks how to set h1=x(3) and h2,h3 without search again ? Because I will know 32 value i don't want to research again because this need many and many time

I also want all its values to be saved in gg.addListItems or are they the same with addListItems or = ?

Share this post


Link to post
Share on other sites
2 hours ago, g1doz said:

Rs92ks how to set h1=x(3) and h2,h3 without search again ? Because I will know 32 value i don't want to research again because this need many and many time

I also want all its values to be saved in gg.addListItems or are they the same with addListItems or = ?

Just edit it if vaue not recreated on other side. Already setted on h1=gg.getResults. You can edit h without searching again. Search only if values recreated.

Share this post


Link to post
Share on other sites
30 minutes ago, Rs92ks said:

Just edit it if vaue not recreated on other side. Already setted on h1=gg.getResults. You can edit h without searching again. Search only if values recreated.

You did not understand me look this post i I published it now

Help me script lua (#4r715njo)

Share this post


Link to post
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
Sign in to follow this  

  • Similar Content

    • By MooMooScripterBoi2
      View File {Delete}Creative Destruction Script
      -Deleted
       
      I will delete this post due to the fact the hack doesn't work for most of the time and doesn't work for everyone,  until then I hope to meet your guys standards ✌️
       
      -btw I will remove within 06/04/2020,
      3 - 4pm
       
      The YouTube video: https://youtu.be/LZRJmuMJGpM
      [+] Aimbot or Aimlock
      [+]One second heal
      [+]Hide Script
      [+]Wall Hack
      More Coming Soon 😁
      Submitter MooMooScripterBoi2 Submitted 06/01/2020 Category LUA scripts  
    • By MooMooScripterBoi2
      -Deleted
       
      I will delete this post due to the fact the hack doesn't work for most of the time and doesn't work for everyone,  until then I hope to meet your guys standards ✌️
       
      -btw I will remove within 06/04/2020,
      3 - 4pm
       
      The YouTube video: https://youtu.be/LZRJmuMJGpM
      [+] Aimbot or Aimlock
      [+]One second heal
      [+]Hide Script
      [+]Wall Hack
      More Coming Soon 😁
    • By Brilliant_Azure
      View File PUBG MOBILE 0.18.0 ANTIBAN SAFE VIP SCRIPT
       ⭕ PUBG MOBILE 0.18.0 SAFE SCRIPT ⭕
       FEATURES OF SCRIPT
      ☑️. ALL NEW & UPDATED  CODES FOR 0.18.0 PUBG UPDATE
      ☑️.SUPPORT ALL TYPE OF PROCESSORS
      ☑️.SUPPORT BOTH ROOTED AND NON-ROOTED DEVICES
      ☑️.ALL CODES ARE 100% CHECKED AND  SAFE
      ☑️.SIMPLE UI AND NO PASSWORD
      ♻️ FOR MORE FREE & WORKING PUBG HACKS JOIN 
       
      HOW TO HACK PUBG 0.18.0 TUTORIAL :- 
       
       
       
      Submitter Brilliant_Azure Submitted 10/29/2019 Category PUBG  
    • By Brilliant_Azure
      ⭕ PUBG MOBILE 0.18.0 SAFE SCRIPT ⭕
       FEATURES OF SCRIPT
      ☑️. ALL NEW & UPDATED  CODES FOR 0.18.0 PUBG UPDATE
      ☑️.SUPPORT ALL TYPE OF PROCESSORS
      ☑️.SUPPORT BOTH ROOTED AND NON-ROOTED DEVICES
      ☑️.ALL CODES ARE 100% CHECKED AND  SAFE
      ☑️.SIMPLE UI AND NO PASSWORD
      ♻️ FOR MORE FREE & WORKING PUBG HACKS JOIN 
       
      HOW TO HACK PUBG 0.18.0 TUTORIAL :- 
       
       
       
    • By tearfrost
      We can hack car by changing ids. I'm curious about decals.   
×
×
  • Create New...