Ⅰ 觸動精靈lua腳本問題
進入cydia--管理--軟體源--編輯/添加--源地址:
進入觸動精靈源地址--安裝【觸動精靈】插件(版本已經更新到1.43)
將iOS設備連接電腦打開PP助手(Win)版--文件--系統文件(越獄)--路徑:/User/Media/TouchSprite/lua,將腳本文件導入。(注意:如果找不到路徑,請運行一次「觸動精靈")
腳本下載鏈接:
4
重啟一下機器,打開機器,打開觸摸精靈,刷新找出天天連萌的腳本,點擊一下,會顯示選擇。
5
打開游戲,開始時,按音量-開始腳本,結束時,按音量-結束。
6
250萬不是神話
Ⅱ 觸動精靈怎麼寫腳本
摘要 1、首先我們要運行觸動精靈工具,然後回到主菜單,只要點擊設備的【音量+】鍵,就可以彈出一個菜單,再次點擊【錄制】就會開始錄制腳本了;
Ⅲ 觸動精靈腳本手機編程問題求幫助!!
關於觸摸精靈的錄制方法,其實是非常簡單的,這里就講解下IOS以及安卓觸摸精靈腳本錄制以及播放的教程,其實兩個平台的錄制方法都是一樣的。
怎麼錄制:
1、首先進入觸摸精靈的軟體界面,然後點擊一下底部的導航欄,就可以切換到「製作」界面了;
2、之後點擊頂部的標簽欄,點擊「錄制腳本」選項;
3、然後在上面的名稱框裡面,為自己即將錄制的腳本起一個響亮的名字;
4、之後在描述框裡面,輸入自己想要錄制的腳本的一些描述,也就是簡介了;
5、最後點擊錄制按鈕,並在彈出的對話框裡面選擇「確定」;
6、然後切換到手機的任意界面,這個時候只要按下錄制鍵就可以進行錄制了;
7、再次按下錄制鍵就可以停止錄制了。
Ⅳ 觸動精靈怎麼錄制腳本 觸動精靈錄制腳本方法流程
觸動精靈怎麼錄制腳本?
方法一:老版本方法
1、首先我們要運行觸動精靈工具,然後回到主菜單,只要點擊設備的【音量+】鍵,就可以彈出一個菜單,再次點擊【錄制】就會開始錄制腳本了;
2、看下圖,等你
感覺錄制好了後,再按一下【音量+】,就可以結束錄制,並且會提示你錄制腳本的放置目錄
3、然後我們打開觸動精靈,點擊右上角的刷新按鈕,就會刷新出你剛才錄制的腳本;
4、如下圖,注意剛錄制的腳本,只要點擊一下就可以選中了;
5、選中後,會出現一個綠色的√號,而且腳本的名字會變為紅色的;
6、現在我們回到錄制的開始界面或者是你想要使用腳本的游戲界面,按一下設備的【音量—】鍵,就可以運行腳本了。
Ⅳ 觸動精靈別人發的腳本怎麼提取代碼
在文件系統中找到觸動精靈腳本路徑Touchsprite/lua,點擊腳本導出或將文件拖到桌面上。
具體方法如下:
1、觸動精靈iOS2.0及觸動精靈Android請點擊左上角的加號按鈕。
2、在底部彈出菜單中選擇WIFI傳文件啟動無線傳輸服務。
3、電腦上打開瀏覽器,在地址欄中輸入IP地址和埠。
4、在文件夾列表中選擇腳本存放路徑Touchsprite/lua。
5、將下載到電腦上的腳本文件(lua/.tsp)拖動到指定區域,等待上傳完成即可。
Ⅵ 電腦游戲腳本怎麼用觸動精靈中控平台控制手機運行
摘要 首先在「我的腳本」界面選擇腳本(未選擇則會彈出提示「腳本文件不存在」)按下手機左側的音量「-」按鍵,會彈出運行腳本的提示,點擊「運行」。
Ⅶ 廈門哪裡可以學習觸動精靈腳本的培訓機構
自學把,這種腳本的基本沒有培訓機構,有的話也是網上的,而且腳本語言不難學,基本都是套用公式命令,然後導入插件之類的
Ⅷ 觸動腳本精靈怎麼用
Config = scriptConfig("Cassiopeia", "Leon御用蛇女")
Config.addParam("Q", "主連招 Q", SCRIPT_PARAM_ONOFF, true)
Config.addParam("W", "主連招 W", SCRIPT_PARAM_ONOFF, true)
Config.addParam("E", "主連招 E", SCRIPT_PARAM_ONOFF, true)
Config.addParam("R", "主連招 R", SCRIPT_PARAM_ONOFF, true)
MiscConfig = scriptConfig("Misc", "Misc")
MiscConfig.addParam("Autolvl", "Autolvl", SCRIPT_PARAM_ONOFF, true)
myIAC = IAC()
OnLoop(function(myHero)
if MiscConfig.Autolvl then
LevelUp()
end
if IWalkConfig.Combo then
local unit = GetTarget(1000, DAMAGE_MAGIC)
if unit then
local poisoned = false
for i=0, 63 do
if GetBuffCount(unit,i) > 0 and GetBuffName(unit,i):lower():find("poison") then
poisoned = true
end
end
local QPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),math.huge,250,850,100,false,true)
local WPred = GetPredictionForPlayer(GetMyHeroPos(),unit,GetMoveSpeed(unit),2500,250,925,90,false,true)
local RPred = GetPredictionForPlayer(GoS:myHeroPos(),unit,GetMoveSpeed(unit),math.huge,300,800,180,false,true)
if CanUseSpell(myHero, _R) == READY and EnemyFacing(GetMyHeroPos(), 700) >= 2 and Config.R then
CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
end
if CanUseSpell(myHero, _R) == READY and IsFacing(unit, 750)
and ValidTarget(unit, 750) and Config.R and 100*GetCurrentHP(unit)/GetMaxHP(unit) <= 60 then
CastSkillShot(_R,RPred.PredPos.x,RPred.PredPos.y,RPred.PredPos.z)
end
if CanUseSpell(myHero, _E) == READY and Config.E and IsInDistance(unit, 700) and poisoned then
CastTargetSpell(unit, _E)
elseif CanUseSpell(myHero, _Q) == READY and Config.Q and IsInDistance(unit, 850) and QPred.HitChance == 1 then
CastSkillShot(_Q,QPred.PredPos.x,QPred.PredPos.y,QPred.PredPos.z)
elseif CanUseSpell(myHero, _W) == READY and Config.W and IsInDistance(unit, 925) and WPred.HitChance == 1 then
CastSkillShot(_W,WPred.PredPos.x,WPred.PredPos.y,WPred.PredPos.z)
end
end
end
for _,minion in pairs(GetAllMinions(MINION_ENEMY)) do
local unit = minion
local poisoned = false
for i=0, 63 do
if unit and GetBuffCount(unit,i) > 0 and GetBuffName(unit,i):lower():find("poison") then
poisoned = true
end
end
local ExtraDmg = 0
if GotBuff(myHero, "itemmagicshankcharge") > 99 then
ExtraDmg = ExtraDmg + 0.1*GetBonusAP(myHero) + 100
end
if CanUseSpell(myHero, _E) == READY and IsInDistance(minion, 700) and poisoned and GetCurrentHP(minion) < CalcDamage(myHero, minion, 0, 25*GetCastLevel(myHero,_E)+30+0.55*GetBonusAP(myHero) + ExtraDmg) and not IWalkConfig.Combo then
CastTargetSpell(minion, _E)
end
end
end)
function EnemyFacing(pos, range)
local c = 0
if pos = nil then return 0 end
for i, v in pairs(GetEnemyHeroes())
if v and GetDistanceSqr(pos,GetOrigin(v)) < range*range
then c = c + 1
end
end
return c
end
function Levelup()
if GetLevel(myHero) == 1 then
LevelSpell(_Q)
elseif GetLevel(myHero) == 2 then
LevelSpell(_E)
elseif GetLevel(myHero) == 3 then
LevelSpell(_W)
elseif GetLevel(myHero) == 4 then
LevelSpell(_E)
elseif GetLevel(myHero) == 5 then
LevelSpell(_E)
elseif GetLevel(myHero) == 6 then
LevelSpell(_R)
elseif GetLevel(myHero) == 7 then
LevelSpell(_E)
elseif GetLevel(myHero) == 8 then
LevelSpell(_Q)
elseif GetLevel(myHero) == 9 then
LevelSpell(_E)
elseif GetLevel(myHero) == 10 then
LevelSpell(_Q)
elseif GetLevel(myHero) == 11 then
LevelSpell(_R)
elseif GetLevel(myHero) == 12 then
LevelSpell(_Q)
elseif GetLevel(myHero) == 13 then
LevelSpell(_Q)
elseif GetLevel(myHero) == 14 then
LevelSpell(_W)
elseif GetLevel(myHero) == 15 then
LevelSpell(_W)
elseif GetLevel(myHero) == 16 then
LevelSpell(_R)
elseif GetLevel(myHero) == 17 then
LevelSpell(_W)
elseif GetLevel(myHero) == 18 then
LevelSpell(_W)
end
end
---------------------Is Facing-------------------------
local myHero = GetMyHero()
local lastattackposition={true,true,true}
function IsFacing(targetFace,range,unit) --returns true if targetFace is facing UNIT in given RANGE
range=range or 99999
unit=unit or myHero
targetFace=targetFace
if (targetFace and unit)~=nil and (ValidtargetUnit(targetFace,range,unit)) and GetDistance2(targetFace,unit)<=range then
local unitXYZ= GetOrigin(unit)
local targetFaceXYZ=GetOrigin(targetFace)
local lastwalkway={true,true,true}
local walkway = GetPredictionForPlayer(GetOrigin(unit),targetFace,GetMoveSpeed(targetFace),0,1000,2000,0,false,false)
--1. look if enemy is standing
if walkway.PredPos.x==targetFaceXYZ.x then
--2. if enemy is standing look if there is a last walkway position
if lastwalkway.x~=nil then
--3. if Position found then Draw it and check for face
local d1 = GetDistance2(targetFace,unit)
local d2 = GetDistance2XYZ(lastwalkway.x,lastwalkway.z,unitXYZ.x,unitXYZ.z)
return d2 < d1
--4. if there is no Position found then set one as soon as enemy walks -->5.
--6. if enemy just keeps standing then check for attack direction ALPHA
elseif lastwalkway.x==nil then
if lastattackposition.x~=nil and lastattackposition.name==GetObjectName(targetFace) then
local d1 = GetDistance2(targetFace,unit)
local d2 = GetDistance2XYZ(lastattackposition.x,lastattackposition.z,unitXYZ.x,unitXYZ.z)
return d2 < d1
end
end
elseif walkway.PredPos.x~=targetFaceXYZ.x then
lastwalkway={x=walkway.PredPos.x,y=walkway.PredPos.y,z=walkway.PredPos.z} --last Position enemy looked
--5. if enemy keeps movin then check for face
if lastwalkway.x~=nil then
local d1 = GetDistance2(targetFace,unit)
local d2 = GetDistance2XYZ(lastwalkway.x,lastwalkway.z,unitXYZ.x,unitXYZ.z)
return d2 < d1
end
end
end
end
function IsMoving(targetFace,range,unit)
end
function IsFleeing(targetFace,range,unit)
end
function IsChasing(targetFace,range,unit)
end
--MISC--
--Distances
function ValidtargetUnit(targetFace,range,unit)
range = range or 25000
unit = unit or myHero
if targetFace == nil or GetOrigin(targetFace) == nil or IsImmune(targetFace,unit) or IsDead(targetFace) or not IsVisible(targetFace) or GetTeam(targetFace) == GetTeam(unit) or GetDistance2(targetFace,unit)>range then return false end
return true
end
function GetDistance2(p1,p2)
p1 = GetOrigin(p1) or p1
p2 = GetOrigin(p2) or p2
return math.sqrt(GetDistance2Sqr(p1,p2))
end
function GetDistance2Sqr(p1,p2)
p2 = p2 or GetMyHeroPos()
local dx = p1.x - p2.x
local dz = (p1.z or p1.y) - (p2.z or p2.y)
return dx*dx + dz*dz
end
function GetDistance2XYZ(x,z,x2,z2)
if (x and z and x2 and z2)~=nil then
a=x2-x
b=z2-z
if (a and b)~=nil then
a2=a*a
b2=b*b
if (a2 and b2)~=nil then
return math.sqrt(a2+b2)
else
return 99999
end
else
return 99999
end
end
end
OnProcessSpell(function(Object,spellProc)
local Obj_Type = GetObjectType(Object)
if Object~=nil and Obj_Type==Obj_AI_Hero then
if spellProc.name~=nil then
for i,enemy in pairs(GOS:GetEnemyHeroes()) do
if ValidtargetUnit(enemy,25000) then
local targetFaceXYZ=GetOrigin(enemy)
if (spellProc.name:find('Basic') or spellProc.name:find('Crit') and spellProc.BaseName~=nil and spellProc.BaseName:find(GetObjectName(enemy))) then --if enemy does auto attack then set attack direction
--1. check if targetFace is really the one attacking
if spellProc.startPos.x==targetFaceXYZ.x and spellProc.startPos.y==targetFaceXYZ.y and spellProc.startPos.z==targetFaceXYZ.z then --so enemy is the one attacking, now check the attack direction
if spellProc.endPos.x ~=targetFaceXYZ.x and spellProc.endPos.y ~=targetFaceXYZ.y and spellProc.endPos.z ~=targetFaceXYZ.z then --so enemy is attacking a unit
--2. set the attacked units position as face direction
lastattackposition={x=spellProc.endPos.x,y=spellProc.endPos.y,z=spellProc.endPos.z,Name=GetObjectName(enemy)}
break
else
break
end
else
break
end
else
break
end
else
break
end
end
--[[
elseif spellProc.name:find(GetObjectName(targetFace)) then --if enemy casts a spell BETA
--1. check if targetFace is really the one attacking
if spellProc.startPos.x==targetFaceXYZ.x and spellProc.startPos.y==targetFaceXYZ.y and spellProc.startPos.z==targetFaceXYZ.z then --so enemy is the one attacking, now check the attack direction
if spellProc.endPos.x ~=targetFaceXYZ.x and spellProc.endPos.y ~=targetFaceXYZ.y and spellProc.endPos.z ~=targetFaceXYZ.z then --so enemy is attacking a unit
--2. set the attacked units position as face direction
lastattackposition={x=spellProc.endPos.x,y=spellProc.endPos.y,z=spellProc.endPos.z}
end
end
break
end
]]--
end
end
end)
Ⅸ 觸動精靈如何運行腳本/為什麼運行腳本提示路徑錯誤
首先,請確認觸動精靈腳本列表內有腳本存在。打開觸動精靈,在腳本列表中選擇想要運行的腳本,選中後是綠色打勾狀態;在目標程序中按設備左側上方音量快捷鍵開始運行腳本。
Ⅹ 觸動精靈怎麼錄制腳本 觸動精靈錄制腳本教程
觸動精靈是一款模擬手機觸摸、按鍵操作的軟體,通過製作腳本,可以讓觸動精靈代替雙手,自動執行一系列觸摸、按鍵操作。那麼觸動精靈怎麼錄制腳本呢?下面小編就為大家介紹一下方法吧。
方法一:老版本方法
1、首先我們要運行觸動精靈工具,然後回到主菜單,只要點擊設備的【音量+】鍵,就可以彈出一個菜單,再次點擊【錄制】就會開始錄制腳本了;
2、看下圖,等你感覺錄制好了後,再按一下【音量+】,就可以結束錄制,並且會提示你錄制腳本的放置目錄;
3、然後我們打開觸動精靈,點擊右上角的刷新按鈕,就會刷新出你剛才錄制的腳本;
4、如下圖,注意剛錄制的腳本,只要點擊一下就可以選中了;
5、選中後,會出現一個綠色的√號,而且腳本的名字會變為紅色的;
6、現在我們回到錄制的開始界面或者是你想要使用腳本的游戲界面,按一下設備的【音量—】鍵,就可以運行腳本了。
方法二:新版本方法
特別提示:錄制及運行腳本的快捷鍵可在“更多”-“按鍵設置”當中更換按鍵。(默認設定“+”為錄制腳本,“-”為運行腳本)
錄制及運行腳本的快捷按鍵為手機的“+”、“-”音量鍵。按下手機左側的音量“+”按鍵,即可彈出錄制腳本提示菜單。
點擊“錄制”即可開始錄制。
錄制完成後再次點擊左側音量“+”按鍵,即可結束錄制,並彈出如下提示:
以上就是小編帶來的觸動精靈錄制腳本教程了,大家看完應該都學會了吧,自己親身去實踐一下吧。