Results 1 to 5 of 5

Thread: Respond function...?

  1. #1
    Join Date
    Nov 2008
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Respond function...?

    I was looking through the AntiRandom source code and I came across this:

    Code:
    function FindNormalRandoms: Boolean;
    var
      i: Integer;
    begin
      for i := 1 to 8 do
      begin
        case I of
          1: Result := SolveNonTalkingRandoms;
          2: Respond;
          3: Result := FindTalk;
          4: Result := FindDead;
          5: Result := FindLamp('Woodcutting');
          6: if FindBox then
              Result := SolveBox;
          7: Result :=  RC;
          8: Result := FindMod;
        end;
        if Result then
          Break;
        //Wait(1);
      end;
    end;
    Everything seemed to make sense except for this ambiguous "Respond;" function, so I searched some more until I found it in a file called "CAutoRespond.scar". This is the entire function:

    Code:
    function Respond:Boolean;
    Begin
    Result := False;
    end;
    What exactly is this supposed to do? Is this function deprecated or something?

  2. #2
    Join Date
    Dec 2007
    Location
    Wizzup?'s boat
    Posts
    1,013
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    im pretty sure it does nothing like that, though it may be part of a bigger procedure

    either way, you should remove it from the script, as it does nothing for you like that
    Project: Welcome To Rainbow

  3. #3
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Its something secret

    The developers got their own SRL, and CAutoRespond.scar belongs to them, that is why the procedure is Result := False;

  4. #4
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    The main reason there is no such thing as a public auto responder, is because the bots would trigger the other's auto responders. That way you would get really weird conversations.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  5. #5
    Join Date
    Feb 2007
    Posts
    849
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    But they would be funny eh?
    ________________________________________
    14:19 < cycrosism> I wonder what she would have done without it
    14:19 < cycrosism> without me*
    Cycrosism is now an it.
    Quote Originally Posted by Dervish View Post
    /Facedesk.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. auto talk and respond???
    By legendaryhero90 in forum OSR Help
    Replies: 5
    Last Post: 03-04-2007, 05:22 PM
  2. auto respond
    By XcanadamanX in forum OSR Help
    Replies: 1
    Last Post: 03-03-2007, 03:03 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
  •