Jump to content
Sign in to follow this  
Lover1500

How to search continously. if one not found, search another one

Recommended Posts

I am trying to make a script with user input prompt

 

I could hack the game but to search it with group search is sometimes failed

 

The around addresses are changed whenever I reenter.

I noticed it changed into only three numbers.

What I want to is my script will search one

if not found?Try another one.

I have trouble with this.I dont know how to write in script and whats wrong in my script.

Help me plz.

 

local var = input[1]..";3485744::"

local var2 = input[1]..";30303006h::"

local var3 = input[1]..";32303006h::"

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

if gg.getResultsCount == "0" then

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

if gg.getResultsCount == "0" then

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

gg.refineNumber(input[1])

gg.getResults("1")

gg.editAll("0", gg.TYPE_DWORD)

end

gg.refineNumber(input[1])

gg.getResults("1")

gg.editAll("0", gg.TYPE_DWORD)

end

gg.refineNumber(input[1])

gg.getResults("1")

gg.editAll("0", gg.TYPE_DWORD)

end

 

Share this post


Link to post
Share on other sites
6 hours ago, Lover1500 said:

local var = input[1]..";3485744::"

local var2 = input[1]..";30303006h::"

local var3 = input[1]..";32303006h::"

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

if gg.getResultsCount ~=0 then

gg.refineNumber(input[1])

gg.getResults("1")

gg.editAll("0", gg.TYPE_DWORD) else

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

if gg.getResultsCount ~= "0" then

gg.refineNumber(input[1])

gg.getResults("1")

gg.editAll("0", gg.TYPE_DWORD) else

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

gg.refineNumber(input[1])

gg.getResults("1")

gg.editAll("0", gg.TYPE_DWORD)

end

 

 

Edited by Rs92ks

Share this post


Link to post
Share on other sites
local var = input[1]..";3485744::"
local var2 = input[1]..";30303006h::"
local var3 = input[1]..";32303006h::"
	gg.searchNumber(var,gg.TYPE_DWORD,false,gg.SIGN_EQUAL, 0, -1)

if gg.getResultsCount()==0 then
    gg.searchNumber(var2,gg.TYPE_DWORD,false,gg.SIGN_EQUAL, 0, -1)
	    if gg.getResultsCount() == 0 then
        gg.searchNumber(var3,gg.TYPE_DWORD,false,gg.SIGN_EQUAL, 0, -1)
        gg.refineNumber(tonumber(input[1]))
        gg.getResults(1)
        gg.editAll(0,gg.TYPE_DWORD)
    end
	    gg.refineNumber(tonumber(input[1]))
    gg.getResults(1)
    gg.editAll(0,gg.TYPE_DWORD)
	end
	gg.refineNumber(tonumber(input[1]))
gg.getResults(1)
gg.editAll(0,gg.TYPE_DWORD)
	end -- end what?
	
user input values are strings 
"1" is a string
1 is a number
gg.getResultsCount() not gg.getResultsCount
Edited by MarioRossi93i

Share this post


Link to post
Share on other sites

Thank you sir

I havent wrote gg scripts for a long time so I forgot some gg lua functions

It worked!Thank you very much sir

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 MarioRossi93i
      View File Real Racing 3 (9.5.0) Race Mode
      REAL RACING 3 RACE MODE
       
      Current version: 9.5.0.3.4
      RR3 working version: 9.5.0
       
      Description:
      With this script you can enable/disable following hacks:
      - Autodrive Mode
      - Freeze Mode
      - Ghost Mode
      - KickAss Mode (not helpful if you active ghost mode too)
      - Set formula-e battery to 100%
       
      Works with standard and rolling start
      FULLY COMPATIBLE WITH BOTH 32 AND 64 BIT DEVICES
       
      Instructions:
      Run this script after signal light has turned green.
       
      If script doesn t work use S version
       
      Video:
       
       
       
      Submitter MarioRossi93i Submitted 05/13/2020 Category LUA scripts  
    • By MarioRossi93i
      REAL RACING 3 RACE MODE
       
      Current version: 9.5.0.3.4
      RR3 working version: 9.5.0
       
      Description:
      With this script you can enable/disable following hacks:
      - Autodrive Mode
      - Freeze Mode
      - Ghost Mode
      - KickAss Mode (not helpful if you active ghost mode too)
      - Set formula-e battery to 100%
       
      Works with standard and rolling start
      FULLY COMPATIBLE WITH BOTH 32 AND 64 BIT DEVICES
       
      Instructions:
      Run this script after signal light has turned green.
       
      If script doesn t work use S version
       
      Video:
       
       
       
    • By Vladimir1334
      I have an address that contains Word -16256 and Byte -128 how, knowing these two types of address value, can I find the address itself?
    • By 101mod
      View File ESP HACK PUBG 1.4
       🙏Follow ME for Free hack Update 24/24 And Free🙏
      👉Link download ESP : https://www.buigamod.com
      👉Telegram Channel: https://t.me/buigamod
      👉Web download hack update 24/24 have support: https://www.buigamod.com/x-ninjacheats-cheats-pubg-mobile-1-4-esp-aimbot
      🙏I share free hacks, please help me visit website 🙏
       
       
      Submitter 101mod Submitted 11/25/2020 Category PUBG  
    • By 101mod
      🙏Follow ME for Free hack Update 24/24 And Free🙏
      👉Link download ESP : https://www.buigamod.com
      👉Telegram Channel: https://t.me/buigamod
      👉Web download hack update 24/24 have support: https://www.buigamod.com/x-ninjacheats-cheats-pubg-mobile-1-4-esp-aimbot
      🙏I share free hacks, please help me visit website 🙏
       
       
×
×
  • Create New...