+ Reply to Thread
Results 1 to 11 of 11

Thread: [SUGGESTION] for GE Yew WC

  1. #1
    Join Date
    Sep 2006
    Location
    Texas
    Posts
    1,349
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default [SUGGESTION] for GE Yew WC

    So I tried out the GE WC for yews. It runs really great, ive done about 7-9 loads on it. But the only thing i really hate that makes me look like im botting, is when all 3 yews are down, its constantly running back and forth checking to see if its up.

    Is there a way that it checks the 1st yew that went down and make it wait for it to re spawn? Ive had players ask me what i was doing? And why i was running back and forth. I just paused the script and replied back making a stupid excuse lol.

    But it looks very suspicious when im running back and forth on all 3 trees waiting for one to respawn.

  2. #2
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by squancy View Post
    So I tried out the GE WC for yews. It runs really great, ive done about 7-9 loads on it. But the only thing i really hate that makes me look like im botting, is when all 3 yews are down, its constantly running back and forth checking to see if its up.

    Is there a way that it checks the 1st yew that went down and make it wait for it to re spawn? Ive had players ask me what i was doing? And why i was running back and forth. I just paused the script and replied back making a stupid excuse lol.

    But it looks very suspicious when im running back and forth on all 3 trees waiting for one to respawn.
    It's suppose to wait longer every time you run. For example, you run ones, it should wait 2 seconds, then a little longer, then a little longer. Although, I'm not sure why it's only 2 seconds. For GE yews, it should be longer.

    If you open Locations.simba and go to LOC_GE_YEWS, you'll see RecloateTime. Change it to 8000 (8 seconds) or something, and see if it works any better.

  3. #3
    Join Date
    Sep 2006
    Location
    Texas
    Posts
    1,349
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    eh it helped alot. But it constantly clicks the same yew every 5 seconds and then randomly a 22-24 second wait. But 60% of the time is contstanly clicking the same yew every 5 seconds. Umm, it also when its running to the next location, it will try finding a yew and click on it as its running and then i guess it "loses" it and it runs back to the previous location.

    I think it might be best to put it at 9000 as i had it at 8000 and it ran back and as soon as its 8 seconds came back and it ran back to the previous but if it had waited 1 second it would have seen the yew spawn.

    It did its full run which is great! But for some reason it logged me into members when i have it set to false in the player description

    Here is how i have it set up

    Progress Report:
    procedure DeclarePlayers;
    var
      i: Integer;
    begin
      HowManyPlayers := 2;
      NumberOfPlayers(HowManyPlayers);
      SetLength(MSI_Players, HowManyPlayers);
      SetLength(ProgressReportArray, HowManyPlayers);
    
      CurrentPlayer := 0;
      CurrentScript := 0; 
    
    with MSI_Players[0] do
      begin
        Name     := '';       // Username
        Pass     := '';       // Password
        Nick     := '';       // Nickname (3-4 lowercase letters from username)
        Pin      := '';       // Bank pin; leave as '' if player doesn't have one
        Active   := True;     // Use this player?
        Member   := False;    // Is this player a member?
        Location := LOC_DB_BANK;         // See instructions at the top
        Scripts  := [SCRIPT_DB_WILLOWS];       // See instructions at the top
        Objects  := [[TREE_WILLOW]];     // See instructions at the top
        Priority := [[100]];     // See instructions at the top
        Loads[0] := 5;        // Amount of loads before breaking/switching players
        Loads[1] := 200;      // Total loads for the player to do
      end;
    
      with MSI_Players[1] do
      begin
        Name     := '';
        Pass     := '';
        Nick     := 'ean';
        Pin      := '';
        Active   := True;
        Member   := False;
        Location := LOC_GE_BANK;
        Scripts  := [SCRIPT_GE_YEWS];
        Objects  := [[TREE_YEW]];
        Priority := [[100]];
        Loads[0] := 4;
        Loads[1] := 200;
      end;


    Maybe u can implement a way to make one character log in as member and the other as free member. But im still wondering why it logged my Yew cutter into members(cuz it is a member) and then my Willow cutter into members as well(not memb)

    I don't know why it bugged like that but eh. Something to look at.

    This is revision 297. I dont know if this is all fixed in 298 lol.

  4. #4
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    You should add a timer for each yew. So the script knows when the yews will re-spawn.

  5. #5
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by antti mies View Post
    You should add a timer for each yew. So the script knows when the yews will re-spawn.
    I like the idea, but aren't the spawn times dependent on how populated the world is? Same for monsters, ground items, etc. At least I know that's how it used to be.

  6. #6
    Join Date
    May 2008
    Location
    ;)
    Posts
    576
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Maybe. Anybody want to test? I might. Not completely sure if i feel like it though,

  7. #7
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by nickrules View Post
    Maybe. Anybody want to test? I might. Not completely sure if i feel like it though,
    Simba Code:
    program new;
    {$i srl/srl.scar}

    const
      MOUSE_X = 500; // Point on screen to click the mouse
      MOUSE_Y = 500;

      OBJ_UPTEXT = 'Yew tree';

    procedure CountSpawnTime;
    var
      spawnTime: Integer;
    begin
      MMouse(MOUSE_X, MOUSE_Y, 5, 5);

      if (WaitUptext(OBJ_UPTEXT, 500)) then
      begin
        Mouse(MOUSE_X, MOUSE_Y, 0, 0, True);

        repeat
          Wait(100);
        until(rs_GetUptext <> OBJ_UPTEXT);

        MarkTime(spawnTime);

        repeat
          Wait(100);
        until(rs_GetUptext = OBJ_UPTEXT);
      end;

      Writeln('Spawn time = ' + IntToStr(TimeFromMark(spawnTime)));
    end;

    begin
      SetupSRL;
      ClearDebug;

      repeat
        CountSpawnTime();
      until(False);
    end.
    I think that would work. Just have your character beside the tree and make sure the point is on the tree. You can record the spawn times in different worlds.

  8. #8
    Join Date
    May 2007
    Location
    Some where fun.
    Posts
    2,891
    Mentioned
    1 Post(s)
    Quoted
    5 Post(s)

    Default

    For the timers couldn't you make like a formula to determine a wait time?

    (Using the amount of players)

    Yews:

    Progress Report:
    Players:
    750 / 1000 / 1250 / 1500 / 1750 / 2000
    
    Respawn Time(Seconds)
    97.5 / 90 / 82.5 / 75 / 67.5 / 60
    Last edited by Camaro'; 09-26-2010 at 10:12 PM.

  9. #9
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Quote Originally Posted by Camaro' View Post
    For the timers couldn't you make like a formula to determine a wait time?

    (Using the amount of players)

    Yews:

    Progress Report:
    Players:
    750 / 1000 / 1250 / 1500 / 1750 / 2000
    
    Respawn Time(Seconds)
    97.5 / 90 / 82.5 / 75 / 67.5 / 60
    That's exactly how it will be done if this is implemented.

    All the values would just be stored to constants.

    We may however have to change MSI_SetupPlayer to check what world is selected to get the person count. Unless there is a different way to get it? I don't log in much

  10. #10
    Join Date
    May 2007
    Location
    Some where fun.
    Posts
    2,891
    Mentioned
    1 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by NCDS View Post
    That's exactly how it will be done if this is implemented.

    All the values would just be stored to constants.

    We may however have to change MSI_SetupPlayer to check what world is selected to get the person count. Unless there is a different way to get it? I don't log in much
    Well, you could just have someone edit SRL to make it so when it Logs in, it gets and stores the world count in some global variable.

  11. #11
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Quote Originally Posted by Camaro' View Post
    Well, you could just have someone edit SRL to make it so when it Logs in, it gets and stores the world count in some global variable.
    Feel free to go ahead and post it as a suggestion in the public SVN if you'd like

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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