Results 1 to 3 of 3

Thread: Collecting items that spawn

  1. #1
    Join Date
    Dec 2011
    Posts
    88
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default Collecting items that spawn

    Hi people

    Just need a bit of advice here, I'm making a script to collect items that spawn, for example grapes and apples in the cooking guild, the only problem I'm having is waiting for them to spawn, was wondering if anyone had any tips?
    I was thinking of doing a Wait(Random seconds), maybe calling my antiban after it picks up the item? Also I found a neat little procedure which could be useful:
    Simba Code:
    procedure SleepAndMoveMouse(Time: Integer);
    By: RSN
    Description: Waits for specified time and moves mouse around like bored human would.

    It's probably something simple but any advice would be greatly appreciated!

    Thanks for you time

  2. #2
    Join Date
    Feb 2007
    Location
    Estonia.
    Posts
    1,938
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    You could always use something like that:
    Code:
    MarkTime(ObjectDissappeared);
    repeat
      Wait(1000 + Random(1000));
      Antiban;
      FindNormalRandoms;
    until(ObjectReAppeared or (TimeFromMark(ObjectDissappeared) > 120000)); // 2 min.
    Hope you get a start here!
    Feel free to ask any additional help,

    ~Eerik.

  3. #3
    Join Date
    Dec 2011
    Posts
    88
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Lovely! Thanks a bunch

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
  •