Results 1 to 8 of 8

Thread: Multi-Threading

  1. #1
    Join Date
    Mar 2013
    Posts
    224
    Mentioned
    1 Post(s)
    Quoted
    127 Post(s)

    Default Multi-Threading

    So I've read a bit up on this but from what I can tell, it's not currently available on simba.


    Anybody care to enlighten me?

    What I mean by multi threading is running two tasks (or procedures) at once.

    Reason for this: updating an onscreen progress report constantly.

  2. #2
    Join Date
    Oct 2012
    Posts
    758
    Mentioned
    6 Post(s)
    Quoted
    282 Post(s)

    Default

    This isn't needed for simple Runescape scripts with loops, Boolean checks and If Then statements.
    You can update your progress report on-screen every time your bot has finished doing something e.g. picked up a whole inventory of items.

  3. #3
    Join Date
    Mar 2013
    Posts
    224
    Mentioned
    1 Post(s)
    Quoted
    127 Post(s)

    Default

    Quote Originally Posted by Runehack123 View Post
    This isn't needed for simple Runescape scripts with loops, Boolean checks and If Then statements.
    You can update your progress report on-screen every time your bot has finished doing something e.g. picked up a whole inventory of items.

    I'd rather not have the time randomly jumping though.

  4. #4
    Join Date
    Oct 2012
    Posts
    758
    Mentioned
    6 Post(s)
    Quoted
    282 Post(s)

    Default

    Quote Originally Posted by Brid Mayhem View Post
    I'd rather not have the time randomly jumping though.
    Did some digging for you..
    http://villavu.com/forum/showthread.php?t=51578
    read this first http://villavu.com/forum/showthread.php?t=77509 <-

  5. #5
    Join Date
    Mar 2013
    Posts
    224
    Mentioned
    1 Post(s)
    Quoted
    127 Post(s)

    Default

    Quote Originally Posted by Runehack123 View Post
    I've read those and they don't really help. The TTimers currently dot work on smart (according to one of those threads) and on the other one its just saying its useless.

  6. #6
    Join Date
    Oct 2006
    Location
    Netherlands
    Posts
    3,285
    Mentioned
    105 Post(s)
    Quoted
    494 Post(s)

    Default

    Lape and Pascalscript are not thread safe. End of story.
    Working on: Tithe Farmer

  7. #7
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    If it really bothers you, I supposed you can just call your proggy every second (or less than), but I don't see a need for it besides personal preference. My scripts usually only call them once I've completed an action (completed full inv, completed a lap, etc.)- After a few hours the stuff/hr usually remains pretty constant depending on the script.

  8. #8
    Join Date
    Oct 2012
    Posts
    758
    Mentioned
    6 Post(s)
    Quoted
    282 Post(s)

    Default

    Quote Originally Posted by Ashaman88 View Post
    If it really bothers you, I supposed you can just call your proggy every second (or less than), but I don't see a need for it besides personal preference. My scripts usually only call them once I've completed an action (completed full inv, completed a lap, etc.)- After a few hours the stuff/hr usually remains pretty constant depending on the script.
    I think the thing that's bothering him is that the second timer doesn't increase every second in his 'script running for XX XX XX' part of his progress report.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •