Results 1 to 5 of 5

Thread: help with ent finding

  1. #1
    Join Date
    Mar 2007
    Posts
    105
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default help with ent finding

    Hi, im new to scripting just started 3 days ago, and this is the chop procedure for my newest script. i tried to make a simple ent finder that just looks for the yellow text in the top left corner, but when i run it, it starts to run normally for like 5 seconds but then the mouse goes
    crazy! whats wrong?


    procedure Chop;
    begin
    MakeCompass('N');
    Highestangle;
    repeat
    if(findcolortolerance(x,y,Coloroftree,msx1,msy1,ms x2,msy2,5))then
    wait(100+ random(50));
    MMouse(x,y,0,0);
    wait(10);
    if (IsUpText('hop')) or
    (IsUpText('h op')) or
    (IsUpText('ho p')) then
    Mouse(x,y,0,0,true);
    wait(200 + random(100));

    //THIS IS THE ENT FINDING//

    if(findcolortolerance(x,y,2091236,msx1,msy1,msx2,m sy2,5))then
    RunAwayDirection('N');
    wait(10000+ random(2000));
    Runback;
    FindHead;
    if(FindFight)then
    Begin
    RunAwayDirection('N');
    Flag;
    wait(10000+random(5000));
    RunBack;
    Flag;

    //THIS IS THE END OF ENTFINDING//

    end;
    DoAntiRandoms;
    Wait(cutlevl + (300));
    wait(100+random(50));
    Logss:=Logss+1;
    until(InvFull);
    end;

  2. #2
    Join Date
    Oct 2006
    Location
    ithurtsithurtsithurtsithurts
    Posts
    2,930
    Mentioned
    7 Post(s)
    Quoted
    135 Post(s)

    Default

    I'm not sure what the problem is with your script, but there is a FindEnt(TreeColor) procedure in WoodCutting.scar

  3. #3
    Join Date
    Mar 2007
    Posts
    105
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    does it work? i think the SRL one is broken

    also i dont know if the axeheadfinder i have there will work. all it is is FindHead;
    will that work?

  4. #4
    Join Date
    Mar 2007
    Posts
    105
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    anyone?

  5. #5
    Join Date
    Dec 2006
    Location
    Australia
    Posts
    698
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    lets just say scar tags help alot, add them before u post a script. And dont double [post please
    Try this i dont no if it will work havent got scar on my laptop
    SCAR Code:
    if(findcolortolerance(x,y,2091236,msx1,msy1,msx2,m sy2,5))then
        begin
            RunAwayDirection('N');
            wait(10000+ random(2000));
            Runback;
        end;
    if(FindFight)then
      Begin
        RunAwayDirection('N');
        Flag;
        wait(10000+random(5000));
        RunBack;
        Flag;
      end;
    FindHead;

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Finding an NPC... I Need Help!
    By mormonman in forum OSR Help
    Replies: 9
    Last Post: 12-06-2008, 05:36 AM
  2. Replies: 3
    Last Post: 09-23-2008, 03:37 AM
  3. Gas finding help
    By Lancelot074 in forum OSR Help
    Replies: 9
    Last Post: 03-01-2008, 10:00 PM
  4. Finding npc
    By dvdcrayola in forum OSR Help
    Replies: 4
    Last Post: 08-20-2007, 01:57 AM
  5. I need help with ENT finding
    By TravisV10 in forum OSR Help
    Replies: 23
    Last Post: 07-05-2007, 08:27 AM

Posting Permissions

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