Jump to content
  • 0

search code help for my script


Question

Posted

hi companions, the doubt that I have is that I want my script to look for a value that I determine but I do not know the code and with this one only looks for the 1, how do I make the script look for the value that I determine? (I want you to look for any value)

Script: 

local val = gg.prompt({[1] = 'ingrese su valor de dinero'}, {[1] = '0'}) 

if val[1] == nil then     print('cancel, please input value') end  

gg.searchNumber('1' , gg.TYPE_DWORD,false,gg.SIGN_EQUAL, 0, -1)

gg.getResults(15) 

gg.editAll ( '999999999' , gg.TYPE_DWORD) 

9 answers to this question

Recommended Posts

  • 0
Posted
1 hour ago, LionelHax said:

gg.searchNumber('1' , gg.TYPE_DWORD)

This function is used to search. And your script is dialing 1.

For that reason, look for 1 and not the number you drink.

Try this :

if gg.isVisible(true) then 
gg.setVisible(false) 
end 

LionelHax = gg.prompt({[1] = 'ENTER THE CURRENT VALUE OF YOUR MONEY => LIONELHAX '},
{[1] = 'SUSCRIBANCE A MI CANAL PERROS ?'})

gg.toast('CREATED BY LIONELHAX')
if LionelHax == nil then
gg.alert('CANCELASTE EL SCRIPT ??')
os.exit() end

gg.clearResults()
gg.searchNumber(LionelHax[1], gg.TYPE_DWORD)
if gg.getResultsCount() == 0 then 
gg.alert('THE SEARCH DOES NOT YIELD ANY RESULTS')
gg.toast('CREATED BY LIONELHAX')
  os.exit() end
  
gg.getResults(15) 
gg.editAll ( '999999999' , gg.TYPE_DWORD) 

 

Revoxtical.lua

  • 0
Posted

This line of code is to perform the hidden search. ?

16 minutes ago, Anonymous1000 said:

if gg.isVisible(true) then gg.setVisible(false) end

Here write what you want ?

16 minutes ago, Anonymous1000 said:

'SUSCRIBANCE A MI CANAL PERROS ?'

this line serves to show a short ad. ?

16 minutes ago, Anonymous1000 said:

gg.toast('CREATED BY LIONELHAX')

This line is used to display a fixed text on the screen. ?

16 minutes ago, Anonymous1000 said:

gg.alert('CANCELASTE EL SCRIPT ??')

This serves to cancel the script. ?

16 minutes ago, Anonymous1000 said:

if LionelHax == nil then 


os.exit() end

Old I do not come much to this forum. but with these examples you can start to create scripts.

I leave the download link, because when you copy it from the forum screen, many times invisible signs are incorporated that when executing the script throws you error.

  • 0
Posted (edited)
23 hours ago, Anonymous1000 said:

This line of code is to perform 

anonymous 1000 hacker thank you very much for your help, it would be that you could help me with a code that refines me the search for the value that I put

 

_______________________________________________
added 2 minutes later

anonymous 1000 hacker thank you very much for your help, it would be that you could help me with a code that refines me the search for the value that I put, I thank you for the help and patience.

Edited by LionelHax
  • 0
Posted (edited)
3 hours ago, LionelHax said:

anonymous 1000 hacker thank you very much for your help, it would be that you could help me with a code that refines me the search for the value that I put

You have the solution in my old comment.

This would be your script: 

if gg.isVisible(true) then 
gg.setVisible(false) 
end 

LionelHax = gg.prompt({[1] = 'ENTER THE CURRENT VALUE OF YOUR MONEY => LIONELHAX '},
{[1] = 'SUSCRIBANCE A MI CANAL PERROS '})

gg.toast('CREATED BY LIONELHAX')
if LionelHax == nil then
gg.alert('CANCELASTE EL SCRIPT ')
os.exit() end

gg.clearResults()
gg.searchNumber(LionelHax[1], gg.TYPE_DWORD)
if gg.getResultsCount() == 0 then 
gg.alert('THE SEARCH DOES NOT YIELD ANY RESULTS')
gg.toast('CREATED BY LIONELHAX')
  os.exit() end
  
gg.getResults(15) 
gg.editAll ( '999999999' , gg.TYPE_DWORD) 

Which tells the user, to enter the value of their current money and then edit it to 99999.

What do you do so that the search can be refined?

add this line of code. to give the user time to earn or spend money.

gg.setVisible(false)
while true do
    if gg.isVisible() then
        gg.setVisible(false)
      break
    end
    gg.sleep(100)
end

then add this line again, so that the user can write the current value of their money.

LionelHax1 = gg.prompt({[1] = 'ENTER THE CURRENT VALUE OF YOUR MONEY => LIONELHAX '},
{[1] = 'SUSCRIBANCE A MI CANAL PERROS '})

gg.toast('CREATED BY LIONELHAX')
if LionelHax1 == nil then
gg.alert('CANCELASTE EL SCRIPT ')
os.exit() end

gg.clearResults()
gg.searchNumber(LionelHax[1], gg.TYPE_DWORD)
if gg.getResultsCount() == 0 then 
gg.alert('THE SEARCH DOES NOT YIELD ANY RESULTS')
gg.toast('CREATED BY LIONELHAX')
  os.exit() end

But I noticed that in this line now it is called LionelHax1 and before it was LionelHax. This way you have your script ordered and without errors.

Now you can add the end of the script that is this.

gg.getResults(15) 
gg.editAll ( '999999999' , gg.TYPE_DWORD) 

now we unite everything, and add some texts.

if gg.isVisible(true) then 
gg.setVisible(false) 
end 

LionelHax = gg.prompt({[1] = 'ENTER THE CURRENT VALUE OF YOUR MONEY => LIONELHAX '},
{[1] = 'SUSCRIBANCE A MI CANAL PERROS '})

gg.toast('CREATED BY LIONELHAX')
if LionelHax == nil then
gg.alert('CANCELASTE EL SCRIPT ')
os.exit() end

gg.clearResults()
gg.searchNumber(LionelHax[1], gg.TYPE_DWORD)
if gg.getResultsCount() == 0 then 
gg.alert('THE SEARCH DOES NOT YIELD ANY RESULTS')
gg.toast('CREATED BY LIONELHAX')
  os.exit() end
  gg.alert(' SPEND OR ACQUIRE COINS AND THEN PRESS THE GAMEGUARDIAN TO REFINE .')

gg.setVisible(false)
while true do
    if gg.isVisible() then
        gg.setVisible(false)
      break
    end
    gg.sleep(100)
end
  
LionelHax1 = gg.prompt({[1] = 'INGRESE EL VALOR ACTUAL DE SU ORO '},
{[1] = 'LionelHax'})
gg.toast('CREATED BY LIONELHAX')
if LionelHax1 == nil then
gg.alert('CANCELASTE EL SCRIPT ')
os.exit() end

gg.searchNumber(LionelHax1[1], gg.TYPE_DWORD)
if gg.getResultsCount() == 0 then 
gg.alert('THE SEARCH DOES NOT YIELD ANY RESULTS')
gg.toast('CREATED BY LIONELHAX')
  os.exit() end

gg.getResults(50) 
gg.editAll ( '9999999' , gg.TYPE_DWORD) 
gg.alert('THE HACK TO FINISHED SUCCESSFULLY')

os.exit()

wonderful.

Take your time to analyze everything.

Because I will not be back in a long time. and in this forum they will send you to google.

When they send you to google. send them also to look for the word "selfishness".

The current teaching methodology they are incorporating in all courses is called: practice and not study.

Practice: use examples so that the person understands faster.

study: read a bit of s***(?) that only serves to delay the student to learn something.

Old remember Go to the GG help where you can see more examples not very clear. But they will help you understand a little more. ? perro Lol

LionelHax.lua

Edited by Anonymous1000
  • 0
Posted

Thank you very much for the help, I like your work especially the scripts of last day on earth, they worked well, and thank you very much for giving me this help. // muchas gracias por la ayuda, me gusta tu trabajo en especial los scripts de last day on earth, me funcionaban bien, y muchas gracias por brindarme esta ayuda.

  • 0
Posted
On 1/13/2019 at 4:48 PM, Anonymous1000 said:

@LionelHax encrypt the script before publishing it, so they do not copy and change your name.

Use this script to encrypt, add protection.

Script compiler (#9b2xri28)

 

Hey buddy, will you be able to help me with looking for a pointer for an address that changes every time I close it and how do I make the script look for that pointer? thank you

//

oye amigo, sera que me puedes ayudar con buscar un puntero para una direccion que cambia cada vez que la cierro y como hago para que el script busque ese puntero? muchas gracias.

  • 0
Posted

Also change this code :

if gg.getResultsCount() == 0 then  

Change like this

if gg.getResultsCount() <=  then 

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.