当前位置:首页 » 网页前端 » 触动脚本精灵学院
扩展阅读
webinf下怎么引入js 2023-08-31 21:54:13
堡垒机怎么打开web 2023-08-31 21:54:11

触动脚本精灵学院

发布时间: 2022-07-26 16:29:07

Ⅰ 触动精灵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、现在我们回到录制的开始界面或者是你想要使用脚本的游戏界面,按一下设备的【音量—】键,就可以运行脚本了。


方法二:新版本方法

特别提示:录制及运行脚本的快捷键可在“更多”-“按键设置”当中更换按键。(默认设定“+”为录制脚本,“-”为运行脚本)


录制及运行脚本的快捷按键为手机的“+”、“-”音量键。按下手机左侧的音量“+”按键,即可弹出录制脚本提示菜单。


点击“录制”即可开始录制。


录制完成后再次点击左侧音量“+”按键,即可结束录制,并弹出如下提示:


以上就是小编带来的触动精灵录制脚本教程了,大家看完应该都学会了吧,自己亲身去实践一下吧。