Greetings everyone,
got the following error
OnTick[String "_GosBase.lua"]:2293:attempt to index local `p2` a (number value) ( OFFTOPIC::: cant screenshot because i screwed with my d3d9.dll so none of the following work anymore XD --> snipping tool, paint, any other picture viewer )
My Question is. What exactly is written there? is it some GetOrigin formula ? any way to circumvente that?
This Error is appearing only when around enemy champion ( doesnt cast skillshots anymore )
Started after i messed with the following
if Validtarget(target, ERange) and IsInDistance(target, ERange) then
local EPred = GetPredictionForPlayer(myHeroPos, target, GetMoveSpeed(target),1400,250,ERange,55,true,true)
if CanUseSpell(myHero,_E) == READY then
CastSkillShot(_E,EPred.PredPos.x,EPred.PredPos.y,EPred.PredPos.z)
end
end
Could also be because of that
function FindNearestEnemyMinion()
local NearestEnemyMinion = nil
for i, eminion in pairs(minionManager.objects) do
if eminion and eminion.team ~= myHero.Team and IsObjectAlive(eminion) then
if NearestEnemyMinion == nil and IsObjectAlive(eminion) and --[[ eminion.team ~= myHero.team ]]GetTeam(eminion) ~= GetTeam(myHero) then
NearestEnemyMinion = eminion
elseif IsObjectAlive(eminion) and GetDistance(eminion) < GetDistance(NearestEnemyMinion) then
NearestEnemyMinion = eminion
end
end
end
return NearestEnemyMinion
end
Anyone having to mess with that b4? Thx in advance ![]()
Sign In
Create Account

Back to top
Report









