I recorded a simple script that change a value, and it does not work (I just clear the useless loop because apparently the recording tool does not really record what your do, too bad) :
-- Script generated by GameGuardian 86.3 (15505) at 2019-09-20 10:06:36 for DB LEGENDS [com.bandainamcoent.dblegends_ww 1.37.1 (107)]-- Lua help: http://gameguardian.net/help/-- optionslocal scriptName =[=====[Script for DB LEGENDS 1.37.1]=====]local scriptVersion ='1.0.0'local scriptAuthor ='User'local startToast =''-- 0 - no check; 1 - check package only, 2 - check package and buildlocal checkTarget =0local targetName =[=====[DB LEGENDS]=====]local targetPkg ='com.bandainamcoent.dblegends_ww'local targetVersion =[=====[1.37.1]=====]local targetBuild =107-- functions-- init
gg.require('86.3',15505)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 codelocal v = gg.getListItems()
v[1].flags = gg.TYPE_FLOAT
v[1].value ="9999999"
v[1].freeze =false
v[1].freezeType = gg.FREEZE_NORMAL
So the main code is really simple as you can see, but it does not work...
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
CodeKiller
Hello all,
I recorded a simple script that change a value, and it does not work (I just clear the useless loop because apparently the recording tool does not really record what your do, too bad) :
So the main code is really simple as you can see, but it does not work...
Any idea ?
Thanks.
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.