Jump to content
  • 0

Why this script error?


LynxzGaming
 Share

Question

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
Link to comment
Share on other sites

Recommended Posts

  • 0

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

Link to comment
Share on other sites

  • 0
  • Administrators

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.

 

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
 Share

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