Search the Community
Showing results for 'Prompt searchnumber'.
-
local x = 1.0 local y = 700.0 gg.searchNumber(x~y, gg.TYPE_DOUBLE, false, gg.SIGN_EQUAL, 0x5000000000, 0x8fffffffff, 0) --[[What is wrong in above script i want to search between x and y value but i had result is searching x plus y value. please help me what is wrong ]]
-
View File Prompt Menu Simple Prompt Menu Submitter Blez Submitted 10/07/2020 Category Templates
-
local g = gg local ls = {'test1','test2'} local val = {"10;0;0;1::","20;0;0;2::"} local c = g.multiChoice(ls,{false,false},'prova') if c==nil then print('Canceled') os.exit() end for i=1, #ls do if c[i] then s = val[i] g.searchNumber(s,4) print(s) end end hi, the problem is that script performs only first search, but if i comment the line with searchNumber() script works as expected and displays both values. can you help me understand where i am wrong please? the purpose is to carry out the searches set in the table val if they are selected. Thank you all
-
hi someone can corect me if its possible.off.course it for jump stage ( group search + offset seem to be good ) local t = gg.TYPE_DWORD local prompt = gg.prompt( {'Enter your desired level :'}, {nil,nil}, {'number'} ) if prompt==nil then os.exit() end v1 = tonumber(prompt[1]) gg.setRanges(gg.REGION_ANONYMOUS) gg.searchNumber("1000;1800::", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) gg.refineNumber("1000", gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1, 0) r = gg.getResults(100) local t = {} t[1] = {} t[1].address = r[1].address + 0x9C t[1].flags = gg.TYPE_DWORD t[1].value = gg.clearResults() gg.toast("ENJOY") if gg.getResultsCount()==0 then print('No results found.') os.exit() end while true do if gg.isVisible() then gg.setVisible(false) main() end end
-
Need help to Make a setting type (and what would then be saved in cfg) and then these values were used in the script my exaple t[i] = { address = i.address + 4, flags = 16, value = (HERE VALUE OF THIS gg.prompt) gg.setValues(t) } who can help with ?
-
x= gg.prompt({[2]='Enter Value'}, {[1]='1;3;2;', [2]='22', [3]=',000~', [4]=',999;0::45'}) gg.searchNumber(x[1]x[2]x[3]x[2]x[4], gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1) found = gg.getResultCount() gg.alert('We found: '..found) Hi guys, please help for make it. Where is my fault? Final patten for search is: 1;3;2;22,000~22,999;0::70 In every search i just want to change two fisrt number of 22,000~22,999. in gg.promp line i just wrote [2]= 'Enter Value' b'cuz it's variable. I got this error: Script ended: Script error: org.luaj.vm2.LuaError: @/sdcard/Notes/tttttt.lua:2 `gg.searchNumber(x[2],x[1], gg.TYPE_DWORD, false, gg.SIGN_EQUAL, 0, -1)` bad argument #3 (number): boolean expected, got number
-
Good afternoon, I encountered such a problem when making a script with the PROMPT function, after choosing an action from the menu it does not translate into the PROMPT window, it gives this error. Tell me what you need to fix the screenshots and the code I’ll attach. excuse my english at google translator level
-
[ @kiynox ] could this script be any better? function menus() choices = gg.choice({'Prepare spam','Search','Exit'}) if choices == nil then os.exit() else if choices == 3 then os.exit() else prepares(choices) end end end function prepares(choices) if choices == 1 then gg.clearResults() gg.searchNumber("9;74;8.0", gg.TYPE_FLOAT) gg.refineNumber('74', gg.TYPE_FLOAT) chatspam = gg.getResults(gg.getResultsCount()) gg.addListItems(chatspam) elseif choices == 2 then gg.loadResults(chatspam) gg.getResults(1000) chatspam = gg.prompt({"Enter which letter you want to spam?(0 = A, 1 = B, 2 = C, 3 = D, 4 = E, 5 = F, 6 = G, 7 = H, 8 = I, 9 = J, 10 = K, 11 = L, 12 = M, 13 = N, 14 = O, 15 = P, 16 = Q, 17 = R, 18 = S, 19 = T, 20 = U, 21 = V, 22 = W, 23 = X, 24 = Y, 25 = Z)"}, {[1] ="0"}, {["1"] ="number"}) if chatspam == nil then gg.alert("you haven't searched anything so the script will restart!") return end gg.editAll(chatspam[1] ,gg.TYPE_FLOAT) chatspam = gg.getResults(gg.getResultsCount()) end end knxs = false while true do if gg.isVisible(true) then knxs = true else knxs = false end if knxs == true then menus() else gg.setVisible(false) end end
-
so i am recently working on a lua script for plants vs zombies but I'm getting a issue on sun hack because we have to find the number in dword then refine the number then edit the number so i want to make a prompt menu for sun value then when we click on GG button the 2 prompt menu should open so anyone can help me
-
View File Template Prompt, +9 more look at tags NEW !! : 1 I've added a function or what ever you call it that's detect if the user got No Results ( Used For searches and prompt search) 2 i added multiple prompt search -------------------------------------------------------------------- Hi The Script Has checkbox Multi choise prompt alert with options text copier group search with different Types search and edit multi prompt if the user got no results (prompt search) if the user got no results (normal search) Submitter SB2P Submitted 08/18/2019 Category Templates
-
- Prompt
- Multi choise
- (and 9 more)
-
Version 1.0.0
1,485 downloads
This script is for beginners who don't know or get confused regarding how to use prompt inputs.It contains templates for getting input from user and then using it in the script. Also , these are a few possible ways , I tired to cover all possible basic aspects , you can be innovative and create much more scripts by using these basic ideas. Just run the script and select your choice , template will be copied , paste in a new document file , to see it and use it in any script. -
View File Templates For Using Prompt Inputs in Scripts This script is for beginners who don't know or get confused regarding how to use prompt inputs.It contains templates for getting input from user and then using it in the script. Also , these are a few possible ways , I tired to cover all possible basic aspects , you can be innovative and create much more scripts by using these basic ideas. Just run the script and select your choice , template will be copied , paste in a new document file , to see it and use it in any script. Submitter AKRAMRAZA Submitted 09/13/2019 Category Templates
-
Version 1.5
1,497 downloads
NEW !! : 1 I've added a function or what ever you call it that's detect if the user got No Results ( Used For searches and prompt search) 2 i added multiple prompt search -------------------------------------------------------------------- Hi The Script Has checkbox Multi choise prompt alert with options text copier group search with different Types search and edit multi prompt if the user got no results (prompt search) if the user got no results (normal search)- 3 comments
-
- Prompt
- Multi choise
- (and 9 more)
-
I have been trying to add input prompt with menu choice but it does not work if you know how to make it work pls tell me what im doing wrong pog (1).lua
-
https://gameguardian.net/forum/search/?&q=Prompt searchnumber&search_and_or=or Please use search engine in the forum before asking. Your question has been answered in other thread
-
alright, I look in to this looping. so I can just do like this? I did this to avoid the game to crash...some kind of filtering. searchNumber('19', gg.TYPE_FLOAT') --12000 results searchNumber('19', gg.TYPE_FLOAT') --10000 results searchNumber('19', gg.TYPE_FLOAT') --5000 results searchNumber('19', gg.TYPE_FLOAT') --1000 results searchNumber('19', gg.TYPE_FLOAT') --500 result searchNumber('19', gg.TYPE_FLOAT') --100 results
-
-
i need to fix the searchnumber :/
-
Is there any way to fix a value without searchNumber?
-
use prompt for help and do the same as the iterate, just v.value = prompt[1]
-
gg.getResults('Value') How to get the Value in getResults? Is the getResults('Value') can be get in searchNumber('Value') result? Thank you!
-
The command : gg.prompt and gg.refineNumber
Begginer12345 replied to AnonymousFan's question in Help
Ummmm whus that? Can you do this firts prompt search > hide 2nd prompt ( some refine ) > then 3rd prompt [' 1:150]',{0},{number}) I have issue becouse it pop up 2 of then while in video 1 pleas help how to to it only 1 seekbar to edit value All > search value using prompt > refine value using prompt > edit value using seekbar Can you help me? Here you can tell on the video prompt prompt and seekbar Video https://youtu.be/15InYVyhmbo -
@MonkeySAN @Lover1500 yes the problem is not to run prompt if i erase function it work but menu come after prompt