Results 1 to 10 of 10

Thread: need ent finder help

  1. #1
    Join Date
    Oct 2007
    Location
    england
    Posts
    200
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default need ent finder help

    hey bi have all the rest of my yew cutter script coverd apart from the ent finder any 1 have a procedure i can use.

    (it will be credited to you)
    Quote Originally Posted by ham? View Post
    i didnt merder the fukin english language it im just talkin gangsta!!
    which none of u would no coz ur all fukin nerds

  2. #2
    Join Date
    Jul 2007
    Posts
    1,431
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    function FindEnt(fx, fy: Integer; AvoidWhenFound: Boolean): Boolean;

    It's in SRL
    [CENTER][SIZE="4"]Inactive[/SIZE]I forgot my password[/CENTER]

  3. #3
    Join Date
    Oct 2007
    Location
    england
    Posts
    200
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok so in a procedure do you put:

    PHP Code:
     function FindEnt(fxfyIntegerAvoidWhenFoundBoolean): Boolean
    or do i have to put in like a time to wait till the ent goes and any other stuf?
    Quote Originally Posted by ham? View Post
    i didnt merder the fukin english language it im just talkin gangsta!!
    which none of u would no coz ur all fukin nerds

  4. #4
    Join Date
    Oct 2007
    Location
    england
    Posts
    200
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    my friend gave me this ent finder will it work?:




    procedure EntFinder;
    var
    EX, EY: integer;
    FX, FY: integer;
    SafeEntWait: LongInt;
    begin
    if (not (LoggedIn)) then
    Exit;
    begin
    Status('Checking For Ent')
    if
    (FindObjCustom(EX, EY, ['Willow'], [4690821], 5)) then
    begin
    MMouse(EX, EY, 0, 0)
    if FindColorTolerance(FX, FY, 55769, 85, 15, 115, 15, 20) then
    begin
    Status('Ent Found');
    MouseFindFlag(645, 83, 2, 2);
    MarkTime(SafeEntWait)
    repeat
    FTWait(5)
    FindNormalRandoms;
    if not (LoggedIn) then
    NextPlayer(False);
    until TimeFromMark(SafeEntWait) > 29000 + Random(10000)
    end;
    end;
    end;
    end;
    Quote Originally Posted by ham? View Post
    i didnt merder the fukin english language it im just talkin gangsta!!
    which none of u would no coz ur all fukin nerds

  5. #5
    Join Date
    Apr 2007
    Location
    Michigan -.-
    Posts
    1,357
    Mentioned
    2 Post(s)
    Quoted
    4 Post(s)

    Default

    You just need to have it incorperated into your script correctly for it to work. This procedure looks like it will find the tree, and check the uptext for yellow to see if it is an ent.

    From the looks of it i see that it may be finding a different tree and checking that one instead of the one you are cutting.

    I say just test it out and see for yourself which one works better. Call both the SRL one and the one from your friend and through a Writeln when one of them works to see which one is successful...
    METAL HEAD FOR LIFE!!!

  6. #6
    Join Date
    Oct 2007
    Location
    england
    Posts
    200
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok thank you i will try also do any of you know how to drop every thin exept for a certain item?
    Quote Originally Posted by ham? View Post
    i didnt merder the fukin english language it im just talkin gangsta!!
    which none of u would no coz ur all fukin nerds

  7. #7
    Join Date
    Dec 2007
    Posts
    30
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    DropToPosition(1, 28);

    This drops all but if u change the first number too 2 it will not drop the first slot in your inventory, and so on.
    So if u have like 5 items u don't want too be dropped put them all in the first 5 slots and say: DropToPosition(6, 28);

    That's it.

  8. #8
    Join Date
    Oct 2007
    Location
    england
    Posts
    200
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i ment like say if it finds a item in a random spot in the iventory like drop all exept if it findes a certain color
    Quote Originally Posted by ham? View Post
    i didnt merder the fukin english language it im just talkin gangsta!!
    which none of u would no coz ur all fukin nerds

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

    Default

    Check out my powercutter, you will get some information.
    Eerik.

  10. #10
    Join Date
    Oct 2007
    Location
    england
    Posts
    200
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok will do..... thanks i got some ideas from it just so you know i didnt copy and past any of it! ty 4 help
    Quote Originally Posted by ham? View Post
    i didnt merder the fukin english language it im just talkin gangsta!!
    which none of u would no coz ur all fukin nerds

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Creating a pick head finder, and gas finder
    By Tom_Gower in forum OSR Help
    Replies: 7
    Last Post: 11-07-2008, 07:06 AM
  2. My Ent Finder
    By skilld u in forum OSR Help
    Replies: 3
    Last Post: 02-11-2008, 04:13 PM
  3. Ent Finder..
    By pallooo in forum OSR Help
    Replies: 10
    Last Post: 10-31-2007, 03:12 PM

Posting Permissions

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