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

temporally way to fix OnLoop error


Best Answer Zypppy , 26 October 2015 - 01:03

if you didn't draw anything, feel free to change it to OnTick

For  combo,Harass,LaneClear ,JungleClear, Misc , Killsteal  I do OnTick.
And for Drawings  I do  OnDraw :) 
 

Go to the full post »


  • Please log in to reply
16 replies to this topic

#1
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

just add this line to first line of the script

_G.OnLoop = _G.OnDraw

but remember, this is a temporally way....

 

 


  • 0

#2
Zypppy

Zypppy

    Ex Global Support

  • Contributor
  • 1,817 posts
Or just change OnLoop to OnDraw "Correct me if im wrong " Kappa
  • 0

#3
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

Or just change OnLoop to OnDraw "Correct me if im wrong " Kappa

yes, nice try Kappa


  • 0

#4
Yun

Yun

    Advanced Member

  • Members
  • 177 posts

thanks help me alot  :D


  • 0

#5
Zypppy

Zypppy

    Ex Global Support

  • Contributor
  • 1,817 posts

yes, nice try Kappa

Well; My  Heimer is  with OnTick  on combo and harras and so on and auto lvl  and everything works ¯\_(ツ)_/¯


  • 0

#6
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

Well; My  Heimer is  with OnTick  on combo and harras and so on and auto lvl  and everything works ¯\_(ツ)_/¯

if you didn't draw anything, feel free to change it to OnTick


  • 0

#7
Zypppy

Zypppy

    Ex Global Support

  • Contributor
  • 1,817 posts
✓  Best Answer

if you didn't draw anything, feel free to change it to OnTick

For  combo,Harass,LaneClear ,JungleClear, Misc , Killsteal  I do OnTick.
And for Drawings  I do  OnDraw :) 
 


  • 0

#8
Maxxxel

Maxxxel

    The One

  • Scripts Developer
  • 1,186 posts
  • LocationGuess the right City to win 10$

For combo,Harass,LaneClear ,JungleClear, Misc , Killsteal I do OnTick.
And for Drawings I do OnDraw :)


Me2
  • 0

#9
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts
Drawing ? => OnDraw
everything ? => OnTick
  • 0

#10
Maxxxel

Maxxxel

    The One

  • Scripts Developer
  • 1,186 posts
  • LocationGuess the right City to win 10$

Drawing ? => OnDraw
everything ? => OnTick


U can also draw in on tick but the drawing operation get called every tick = very fast flickering drawings.
  • 0

#11
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

U can also draw in on tick but the drawing operation get called every tick = very fast flickering drawings.

what?  no it won't....

 

OnDraw = OnLoop 


  • 0

#12
Maxxxel

Maxxxel

    The One

  • Scripts Developer
  • 1,186 posts
  • LocationGuess the right City to win 10$
Sure.

I had a calculation + DrawCircle in OnTick and the circle was flimmern

As I put the calculation + DrawCircle in OnDraw it was smooth
  • 0

#13
ilovesona

ilovesona

    Sona's wife

  • Contributor
  • 1,096 posts

Sure.

I had a calculation + DrawCircle in OnTick and the circle was flimmern

As I put the calculation + DrawCircle in OnDraw it was smooth

oops, i thought you put calc in OnDraw...nvm


  • 0

#14
Deftsu

Deftsu

    donthackourgames

  • Ex-Core Dev
  • PipPipPip
  • 4,812 posts
from what i know OnTick is every 10 ms (0.01 s) and OnDraw every frame, that's why the drawings flickers
  • 0

#15
Merda

Merda

    Advanced Member

  • Members
  • 86 posts

but this won't work on new Inpired, you have to add _G.OnLoop = _G.OnDraw

                                                                                                       _G.myHero = GetMyHero()
in Inspired30 and IOW1 to use the old scripts.
 
All IOW1 scripts are working with this, I have a lot of scripts from the old DB (Sion, Nasus, Corki, Akali, Ryze...) all working.
Waiting for devs update, at the meantime, stick with the olds  ;) .

  • 0

#16
Maxxxel

Maxxxel

    The One

  • Scripts Developer
  • 1,186 posts
  • LocationGuess the right City to win 10$

 

but this won't work on new Inpired, you have to add _G.OnLoop = _G.OnDraw

                                                                                                       _G.myHero = GetMyHero()
in Inspired30 and IOW1 to use the old scripts.
 
All IOW1 scripts are working with this, I have a lot of scripts from the old DB (Sion, Nasus, Corki, Akali, Ryze...) all working.
Waiting for devs update, at the meantime, stick with the olds  ;) .

 

who uses IOW solo and Insoired v30


  • 0

#17
Merda

Merda

    Advanced Member

  • Members
  • 86 posts

who uses IOW solo and Insoired v30

I do. I carry hard with Nasus JG (AutoStacks by Marcii), since there's no update yet and it can take weeks so I can use the script right now.

And Lucian too, theres no good script for him outside of IAC itself, the other are too stuttering, you will be caught out easily.


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users