I have a problem, the thing is that the script should take values and write them to input[1] ( or 2 or 3), but it only looks for values 2 1 3 although it should take them and insert them instead of input[*]
Spoiler
У меня проблема , дело в том , что скрипт должен принимать значения и писать их в input[1] ( или 2 или 3) , но он ищет значения только 2 1 3 хотя должен принять их и вставить вместо input[*] === для русскоязычной аудитории
here is the code
-- Script generated by GameGuardian 101.1 (16142) at 2021-05-31 23:03:20 for SuperTank [com.stove.supertank.google 4.6.8 (236)]-- Lua help: http://gameguardian.net/help/-- optionslocal scriptName =[=====[Script for SuperTank 4.6.8]=====]local scriptVersion ='1.0.0'local scriptAuthor ='MKCO4KA'local startToast =''-- 0 - no check; 1 - check package only, 2 - check package and buildlocal checkTarget =0local targetName =[=====[SuperTank]=====]local targetPkg ='com.stove.supertank.google'local targetVersion =[=====[4.6.8]=====]local targetBuild =236-- functions-- init
gg.require('101.1',16142)if startToast ~=''then startToast ='\n'..startToast end
gg.toast(scriptName..' v'..scriptVersion..' by '..scriptAuthor..startToast)if checkTarget ~=0thenlocal info = gg.getTargetInfo()local check =falselocal current =falseif checkTarget >=1then
check = targetPkg
current = info.packageName
endif checkTarget >=2then
check = check..' '..targetVersion..' ('..targetBuild..')'
current = current..' '..info.versionName..' ('..info.versionCode..')'endif check ~= current then
gg.alert('This script for "'..targetName..'" ['..check..'].\nYou select "'..info.label..'" ['..current..'].\nNow script exit.')
os.exit()endendlocal revert =nil-- main codefunction performance()
gg.sleep(2000)
input=gg.prompt({'Колличество-хп'},{[1]='0'},{[1]='number'})if input==nilthen
gg.alert('Ты-')
os.exit()end
gg.sleep(2000)
input=gg.prompt({'Колличество-патрон'},{[2]='0'},{[2]='number'})if input==nilthen
gg.alert('Ты-')
os.exit()end
gg.sleep(2000)
input=gg.prompt({'ЛВЛ-оружия'},{[3]='0'},{[3]='number'})if input==nilthen
gg.alert('Ты-')
os.exit()endend
gg.searchNumber("40A00000h;40000000h;input[2];input[1];input[3]",gg.TYPE_DWORD)-- Here, instead of the values input[1], there should be a value entered by the user
gg.refineNumber("1", gg.TYPE_DWORD,false, gg.SIGN_EQUAL,0,-1,0)
revert = gg.getResults(5000,nil,nil,nil,nil,nil,nil,nil,nil)
gg.editAll("35", gg.TYPE_DWORD)local t = gg.getResults(5000,nil,nil,nil,nil,nil,nil,nil,nil)
gg.addListItems(t)
t =nil
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.
Question
StepanK
I have a problem, the thing is that the script should take values and write them to input[1] ( or 2 or 3), but it only looks for values 2 1 3 although it should take them and insert them instead of input[*]
У меня проблема , дело в том , что скрипт должен принимать значения и писать их в input[1] ( или 2 или 3) , но он ищет значения только 2 1 3 хотя должен принять их и вставить вместо input[*] === для русскоязычной аудитории
here is the code
Somebody help please!
com.stove.supertank.google3.lua
6 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.