Jump to content
Sign in to follow this  
LynxzGaming

Why this script error?

Recommended Posts

Why this script error? 

Quote

gg.setVisible(false)
gg.toast('Item Changer by Lynxz Gaming')
goto begin

lolzz = 18

::begin::
chuz = gg.prompt({'Item Changer'})
gg.searchNumber('1.4012985e-45F;2.5223372e-44F;2.2420775e-44F;2.7552751e-40F')
gg.getResults(20)
lolzz = chuz[1]
gg.editAll(lolzz)
gg.toast(chuz[1])
os.exit()

How can i fix this

 

Screenshot_2018-04-25-23-46-50-788_io.va.exposed.png

Edited by LynxzGaming
add picture error

Share this post


Link to post
Share on other sites

oopps i forgot add gg. type_dword sorry lol

i mean float

Edited by LynxzGaming
wrong type

Share this post


Link to post
Share on other sites

but wait i type this same error

Quote

gg.setVisible(false)
gg.toast('Item Changer by Lynxz Gaming')
goto begin

lolzz = 18

::begin::
chuz = gg.prompt({'Item Changer'})
gg.searchNumber('18D;16D;196,623D:9',gg.TYPE_DWORD)
gg.getResults(20)
lolzz = chuz[1]
gg.editAll(lolzz)
gg.toast(chuz[1])
os.exit()

please help

Share this post


Link to post
Share on other sites

Although stop. I made a mistake. The code is correct. But you have to check the result before using it. Because if you press cancel, then in chuz will be nil.

https://gameguardian.net/help/classgg.html#afe6c5b86ba0ae295899fd259232aac2b

Quote
Returns
nil if the dialog has been canceled, or the table with keys from prompts and values from input fields.

 

Share this post


Link to post
Share on other sites

How many parameters does editAll accept?

 

Quote
mixed  editAll (string value, int type)
  Edit all search results. More...

 

Share this post


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

How many parameters does editAll accept?

 

 

@Enyby sometimes array doesn't work why?

Share this post


Link to post
Share on other sites

@FahimZS Sometimes people ask me something, without explaining anything. Why?

Share this post


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

gg.editAll(lolzz)

Where 3?

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 danihelios10
      Look that video,anyone know how to do it, if anyone knows i can explain how to hack stats 
    • By argarrize
      Pocong Hunter — 
      🇮🇩 Woi njir script pertama gua nih
      🇺🇸 Hello Everyone this my first post 
      Feature look at screenshot
       
      Password : 333
      sorry im forget to add password
    • By argarrize
      View File Pocong Hunter Script V1
      Pocong Hunter — 
      🇮🇩 Woi njir script pertama gua nih
      🇺🇸 Hello Everyone this my first post 
      Feature look at screenshot
       
      Password : 333
      sorry im forget to add password
      Submitter argarrize Submitted 02/26/2020 Category LUA scripts  
    • By RikiVeron
      gg.setRanges(32)
      gg.searchNumber("256;100F;30F::65", 4, false, 536870912, 0, -1)
      gg.getResults(1)
      gg.searchNumber("256", 4, false, 536870912, 0, -1)
      gg.getResults(1)
      gg.setValues({ -- table(f0daf39)
          [1] = { -- table(34d297e)
              ['address'] = 0xabf68a54,
              ['flags'] = 4, -- gg.TYPE_DWORD
              ['value'] = 1,
          },
      })
      gg.addListItems({ -- table(ff33edf)
          [1] = { -- table(733e72c)
              ['address'] = 0xabf68a54,
              ['flags'] = 4, -- gg.TYPE_DWORD
              ['freeze'] = true,
              ['value'] = 1,
          },
          [2] = { -- table(99105f5)
              ['address'] = 0xabf68a60,
              ['flags'] = 4, -- gg.TYPE_DWORD
              ['freeze'] = true,
              ['value'] = 0,
          },
      })
       
      PM me= rikiveron44@gmail.com
      Because i rarely online in game guardian forum. Thanks
      Please help me...
    • By ThienTeakee
      Hi guys, I'm new at GG
      I have a script like this
      gg.clearResults() gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber('1.014.350.479;1.012.202.996;1.083.179.008;1.050.253.722;1.031.127.695;1.065.353.216;1.065.353.216;1.067.282.596:61', gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) gg.getResults(5000) I want to change "1.014.350.479" to "1.011.011.011" and "1.050.253.722;1.031.127.695" to "1". Because I only know how to edit all of them with "editAll()", not know how to group them like this.
      Thanks for your help
×
×
  • Create New...