Jump to content

XkPP

Members
  • Posts

    17
  • Joined

  • Last visited

Additional Information

  • Android
    7.x
  • Device
    Samsung

Recent Profile Visitors

1,537 profile views

XkPP's Achievements

Apprentice

Apprentice (3/14)

  • One Year In
  • Collaborator Rare
  • One Month Later
  • First Post Rare
  • Dedicated Rare

Recent Badges

0

Reputation

  1. I'm confused... can you post the complete code so I can understand
  2. like this you mean? but raises error: attempt to get length of a nil value (global 'valueHex') local valueRes = gg.getResults(gg.getResultCount()) gg.removeResults(valueRes) for k,v in ipairs(valueRes) do valueHex[#valueHex+1].address = valueHex[k].value end valueHex = gg.getValues(valueRes) gg.loadResults(valueHex)
  3. so i made the code go to the pointer but if the result reaches 1k or more it will take long to load the pointer, is there any way to speed it up? local valueRes = gg.getResults(gg.getResultCount()) gg.removeResults(valueRes) for i in ipairs(valueRes) do valueHex = gg.getValues(valueRes) valueHex[i].address = valueHex[i].value valueResFi = gg.getValues(valueHex) end gg.loadResults(valueResFi) --gotoPointer
  4. local menu = gg.multiChoice(val,nil,"") if menu == nil then os.exit() -- user clicked 'cancel' end local index = 0 while menu[index] ~= true do index = index + 1 if index > #menu then os.exit() -- no checkboxes selected end end for i,v in pairs(menu) do print(val[index]) --test with print end I have changed this, it works but there is still an error when selecting the selected value only responds to the above and the rest the values do not match but follow the top one selected first, can you change this which I have changed a bit?
  5. @HorridModz pretty good no error but this only works for 1 option (like gg.choice), for example using gg.alert and select 2-4 values but gg.alert only responds to 1 value above it and does not respond to other values that are selected, can it be improved again? because I want to try to put the selected value more than 1 into the list item
  6. @HorridModz This is the video I meant, it took a long time to load sorry if the video quality is not good
  7. after I tried it with one of the values the loading took a long time, can you fixed it again?
  8. tar = gg.getResults(gg.getResultCount()) val = {} for i, v in ipairs(tar) do table.insert(val,v.value) end local menu = gg.multiChoice(val,nil,"") if not menu then os.exit() end if menu[val] == true then gg.refineNumber(menu[val],4) end when I try it doesn't respond to refine please help
×
×
  • 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.