Jump to content

Welcome to Gaming On Steroids Forums
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account
Photo

How to fix stutters?


  • Please log in to reply
6 replies to this topic

#1
FatKidsAreEasyToKite

FatKidsAreEasyToKite

    Advanced Member

  • Members
  • 98 posts

Heres the code , dont know how to fix it:/(it sutters , looks like an obvious scripter)

 

reticles = {}
function CatchAxe()
for i, reticle in pairs(reticles) do
Reticlepos = GetOrigin(reticle)
 if IOW:Mode() == "Combo" then
  if GetDistance(reticle) <= DravenMenu.CatchAxe.catchrangecombo:Value() and DravenMenu.CatchAxe.Combo:Value() then
    IOW.attacksEnabled = false
        MoveToXYZ(Reticlepos.x, Reticlepos.y , Reticlepos.z)
IOW.attacksEnabled = true
end
IOW.forcePos = Reticlepos
else
IOW.forcePos = nil
IOW.forceTarget = target
return
  end
 if IOW:Mode() == "Harass" then
  if GetDistance(reticle) <= DravenMenu.CatchAxe.catchrangeharass:Value() and DravenMenu.CatchAxe.Harass:Value() then
    IOW.attacksEnabled = false
        MoveToXYZ(Reticlepos.x, Reticlepos.y , Reticlepos.z)
IOW.attacksEnabled = true
end
IOW.forcePos = Reticlepos
else
IOW.forcePos = nil
IOW.forceTarget = target
return
  end
 if IOW:Mode() == "LaneClear" then
  if GetDistance(reticle) <= DravenMenu.CatchAxe.catchrangelaneclear:Value() and DravenMenu.CatchAxe.LaneClear:Value() then
    IOW.attacksEnabled = false
        MoveToXYZ(Reticlepos.x, Reticlepos.y , Reticlepos.z)
IOW.attacksEnabled = true
end
IOW.forcePos = Reticlepos
else
IOW.forcePos = nil
return
  end
 if IOW:Mode() == "LastHit" then
  if GetDistance(reticle) <= DravenMenu.CatchAxe.catchrangelasthit:Value() and DravenMenu.CatchAxe.LastHit:Value() then
    IOW.attacksEnabled = false
        MoveToXYZ(Reticlepos.x, Reticlepos.y , Reticlepos.z)
IOW.attacksEnabled = true
end
IOW.forcePos = Reticlepos
else
IOW.forcePos = nil
return
  end
 end
end




--thanks cloud
OnCreateObj(function(Object)
  if GetObjectBaseName(Object) == "Draven_Base_Q_reticle_self.troy" then
    table.insert(reticles, Object)
  end
end)


OnDeleteObj(function(Object)
  myHer0 = GetOrigin(myHero)
if GetObjectBaseName(Object) == "Draven_Base_Q_reticle_self.troy" then
table.remove(reticles, 1)
end
end)

 


  • 0

#2
Hanndel

Hanndel

    datebest.net - visit website and win smartphone!

  • Contributor
  • 604 posts
  • Locationhttps://t.me/pump_upp
delay?

I mean, move to mousepos then delay action forcepos axe
  • 0

#3
FatKidsAreEasyToKite

FatKidsAreEasyToKite

    Advanced Member

  • Members
  • 98 posts

delay?

I mean, move to mousepos then delay action forcepos axe

I dont think that this is the problem. it stutters because he want to attack a target , but my command is forcepos and movetoxyz , so the attacks are cancelled.


  • 0

#4
Hanndel

Hanndel

    datebest.net - visit website and win smartphone!

  • Contributor
  • 604 posts
  • Locationhttps://t.me/pump_upp

I dont think that this is the problem. it stutters because he want to attack a target , but my command is forcepos and movetoxyz , so the attacks are cancelled.

if u delete forcepos and only let movetoxyz, still attacking and go to the axe?


  • 0

#5
Vedere

Vedere

    Advanced Member

  • Members
  • 133 posts
  • LocationNull

The script dont catch the axe for me when i press "V" :fappa:


  • 0

#6
FatKidsAreEasyToKite

FatKidsAreEasyToKite

    Advanced Member

  • Members
  • 98 posts

The script dont catch the axe for me when i press "V" :fappa:

EDIT: Fixed , try again(not sure if its fixed)


  • 0

#7
FatKidsAreEasyToKite

FatKidsAreEasyToKite

    Advanced Member

  • Members
  • 98 posts

if u delete forcepos and only let movetoxyz, still attacking and go to the axe?

Yeah... I already tested it :/


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users