Have this error too now.. lol
Did you update v21?
Best Answer SxcS , 30 July 2016 - 06:15
Is the download link broken, I only see a blank page? Am i doing something wrong?
its inbuilt in gos, no need to download
Go to the full post »Have this error too now.. lol
Did you update v21?
causes massive FPS drops
Yeh... it's not working on bordeless mode.. it only works on full screen at least here. in v19 it was working in borderless, no idea what happened.
and wtf is this:
function goslib:GetDistance(p1,p2) p1 = GetOrigin(p1) or p1 p2 = GetOrigin(p2) or p2 or self:myHeroPos() return math.sqrt(self:GetDistanceSqr(p1,p2)) end function goslib:GetDistanceSqr(p1,p2) p2 = p2 or self:myHeroPos() local dx = p1.x - p2.x local dz = (p1.z or p1.y) - (p2.z or p2.y) return dx*dx + dz*dz end
Why: math.sqrt((p1.x - p2.x)^2+((p1.z or p1.y) - (p2.z or p2.y))^2)
now i know why sometimes use spell when out of range...
and not: math.sqrt((p1.x - p2.x)^2+(p1.y - p2.y)^2+(p1.z - p2.z)^2)
local myHero = GetMyHero() local h = GetOrigin(myHero) local myTarget = GetCurrentTarget() if myTarget ~= nil then local t = GetOrigin(myTarget) local d = math.sqrt((h.x-t.x)^2+(h.y-t.y)^2+(h.z-t.z)^2) end
so bad...
Wtf? It's a 2D game.and wtf is this:
function goslib:GetDistance(p1,p2) p1 = GetOrigin(p1) or p1 p2 = GetOrigin(p2) or p2 or self:myHeroPos() return math.sqrt(self:GetDistanceSqr(p1,p2))endfunction goslib:GetDistanceSqr(p1,p2) p2 = p2 or self:myHeroPos() local dx = p1.x - p2.x local dz = (p1.z or p1.y) - (p2.z or p2.y) return dx*dx + dz*dzendWhy: math.sqrt((p1.x - p2.x)^2+((p1.z or p1.y) - (p2.z or p2.y))^2)
now i know why sometimes use spell when out of range...
and not: math.sqrt((p1.x - p2.x)^2+(p1.y - p2.y)^2+(p1.z - p2.z)^2)local h = GetOrigin(myHero) local t = GetOrigin(...) local d = 0 if t ~= nil then d = math.sqrt((h.x-t.x)^2+(h.y-t.y)^2+(h.z-t.z)^2) end
so bad...
Any idea why i get an error while i click on C, V or SPACE keys? (something GoSBase line 123 a nil value) also when i run a script i have 2 menus of the same script
Wtf? It's a 2D game.
Use GetYDistance if it makes you happy
maybe you have right...
I do not use Inspired.lua. 13 lanes and validtarget, distance check included, no errors.
izi to add not complicated: spells on best target... -> Inspired GetTarget() function
[All patterns are on the internet]
OnLoop(function(myHero) local myTarget = GetCurrentTarget() local myHero = GetMyHero() local h = GetOrigin(myHero) if myTarget ~= nil and IsVisible(myTarget) and not IsDead(myTarget) and not IsImmune(myTarget,myHero) and IsTargetable(myTarget) then local t = GetOrigin(myTarget) local d = math.sqrt((h.x-t.x)^2+(h.y-t.y)^2+(h.z-t.z)^2) if d<675 and CanUseSpell(myHero,_Q)==READY then CastTargetSpell(myTarget,_Q) end if d<1000 and CanUseSpell(myHero,_W)==READY then local wp=GetPredictionForPlayer(GetOrigin(myHero),myTarget,GetMoveSpeed(myTarget),1700,250,1000,50,true,true) if wp.HitChance==1 then CastSkillShot(_W,wp.PredPos.x,wp.PredPos.y,wp.PredPos.z) end end end end)
This update of v21 is fail for me , cuz every 5-10 minutes in game LoL going crashes.. Any fix ??
Old menu will be perfect if possible
20 Fps =\
15 FPS
Do you need to repeat the same thing everybody already says ?15 FPS
Same for you, buy some patience mate.20 Fps =\
It might be a "fail" in your opinion but it is a real improvement for all the rest of us.This update of v21 is fail for me , cuz every 5-10 minutes in game LoL going crashes.. Any fix ??
How to draw circle at minion (not use GoS mark minion lasthit)
Because I tweak some self.Config.h.LastHit:Value() but I can't draw circle
I try DrawCircle(minion.x,minion.y,minion.z,..........) but can't
I try to print minion for see data it say "USERDATA: HEXValue"
Thank you
How to draw circle at minion (not use GoS mark minion lasthit)
Because I tweak some self.Config.h.LastHit:Value() but I can't draw circle
I try DrawCircle(minion.x,minion.y,minion.z,..........) but can't
I try to print minion for see data it say "USERDATA: HEXValue"
Thank you
How exactly are you checking if there is a minion around? Code?
How to draw circle at minion (not use GoS mark minion lasthit)
Because I tweak some self.Config.h.LastHit:Value() but I can't draw circle
I try DrawCircle(minion.x,minion.y,minion.z,..........) but can't
I try to print minion for see data it say "USERDATA: HEXValue"
Thank you
Are you going to list all Inspired.lua features in your 1st post just like you did few releases ago?
I think it would greatly help our new scripters. Using a documentation is far easier than looking at the library source code.
FPS down in 5 minute, drop in combat... i think bcs my computer...
Very nice, thank you.
But I got error massage gos/lol/scripts/common/inspired.lua:60 : attempt to index filed 'keyswitch' (a nil value).
How can I fix this problem?
0 members, 0 guests, 0 anonymous users