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

Call LUA script 5 times.


  • Please log in to reply
6 replies to this topic

#1
mrwhitedaarb

mrwhitedaarb

    Newbie

  • Members
  • 8 posts

When i call certain scripts it loads them 5 times. For an example AutoScripts or Shadow Zed:

 

local function LoadAhriFunc()

Orbwalker = assert(loadfile(OrbWalkerPath))
Orbwalker()
LoadAuto = assert(loadfile(AutoPath))
LoadAuto()
LoadEvade = assert(loadfile(EvadePath))
LoadEvade()

  • 0

#2
sikaka

sikaka

    Advanced Member

  • Trial Developer
  • 594 posts

What do you mean it's loading 5 times? The example you just gave is it loading 3 different script files and then initializing each of the classes.


  • 0

#3
mrwhitedaarb

mrwhitedaarb

    Newbie

  • Members
  • 8 posts
It loads Evade once, orbwalker once but When i load auto it loads it 5 times. As in When i go ingame there is 5 identical tabs in the script menu
  • 0

#4
mrwhitedaarb

mrwhitedaarb

    Newbie

  • Members
  • 8 posts
I tried making a script Where i only called auto, still initialized it 5 times
  • 0

#5
sikaka

sikaka

    Advanced Member

  • Trial Developer
  • 594 posts
sounds like there is an error loading the script so then it tries doing it again.
  • 0

#6
mrwhitedaarb

mrwhitedaarb

    Newbie

  • Members
  • 8 posts

Not sure. But as I said, it's not only the auto file it has trouble with. Several scripts give the same output.


  • 0

#7
mrwhitedaarb

mrwhitedaarb

    Newbie

  • Members
  • 8 posts

And it's ALWAYS exactly 5 times. 


  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users