Results 1 to 2 of 2

Thread: Question(s)

  1. #1
    Join Date
    Apr 2007
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Question(s)

    For a Anti Random procedure:

    1. Does FindFight; (procedure)
    > Detect the Evil Chicken
    > Detect the Rock Golem (cause it throws rocks at you)

    cause ive seen a few scripts using this non-SRL procedure:

    SCAR Code:
    Function FindEvilChicken: Boolean;
    Var
    CX, CY: Integer;
    Begin
     If(EvilChicken= 0)then
       EvilChicken:= CreateBitmapMaskFromText('egone,', UpChars);
       If(FindName)then
       If(FindBitmapMaskTolerance(EvilChicken, CX, CY, 3, 3, 515, 336, 0, 40))then
        Begin
         Result:= True;
         EvilChickens:= EvilChickens + 1;
         WriteLn('******** FOUND EVIL CHICKEN RANDOM ********');
         WriteFileString(TheFile, '******** FOUND EVIL CHICKEN RANDOM ********' +Chr(13));
      End;
    End;

    If there are any other random events that SRL 3.6 doesn't know about then i would be very thankful if I someone could tell me about then before I find out myself.

  2. #2
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    Yes, FindFight finds those Randoms (because they attack you).
    You *could* use the FindEvilChicken procedure you posted.
    Normally you get ****FOUND FIGHTING RANDOM***, but with that procedure you get **FOUND EVIL CHICKEN**, lol .. You could also use them both, but FindFight is enough
    Hup Holland Hup!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. i has a question
    By Solkrieg in forum OSR Help
    Replies: 5
    Last Post: 10-30-2008, 08:20 AM
  2. tab 5 question
    By dvdcrayola in forum OSR Help
    Replies: 4
    Last Post: 07-04-2008, 06:43 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
  •