Page 2 of 2 FirstFirst 12
Results 26 to 29 of 29

Thread: TBKAntiBan(Talk, Respond : Boolean); [!ELITE!]

  1. #26
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Myels' way is the easiest - Negaal's way involves quite a lot of extra code and with a large antiban, every line saved is worth it.
    Dumpin - he get's the compass angle so that after he moves it round (like you would occassionally (too many double letters there?) do when playing), it moves back to more or less the original direction in case the script uses the direction. It also checks to make sure it isn't already facing that direction, as if you moved it like 10 degrees then back, it looks a bit dodgy (well, kind of).
    Lastly, if you do want to use Negaal's method turbobk, then you need to make sure you declare 'Facing' as a string.

  2. #27
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Nice code man i will certainly be using this i think. GJ

  3. #28
    Join Date
    Feb 2007
    Location
    @ SRL
    Posts
    402
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by NaumanAkhlaq View Post
    Nice code man i will certainly be using this i think. GJ
    Thnx alot man, I'm glad you like it.

    Yeah I tryed to get Negaal's procedure working but I had a bit of trouble with a mismatch.

    Well I'm gonna update this as soon as I figure what else it needs.


    Use the TBKAntiBan and post the progress of it here.

    Example:
    * Error's Found.
    * If it stuffed up your script, and which script?
    * If it ran perfectly.
    * What else do you think it needs?
    ETC.

    Thanks,
    TurboBk

  4. #29
    Join Date
    Feb 2007
    Location
    @ SRL
    Posts
    402
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Dumpin View Post
    like what the hell?
    SCAR Code:
    var
      i: integer;
      Deg: extended;
    procedure CompassPos;
    begin
      Deg := rs_GetCompassAngleDegrees; // why call deg if you didn't use it here
      begin                                      //           |
        for i := 0 to 3 do                   //               |
        case i of                                //           |
          0 : if not(InRange(round(Deg), 315, 45)) then //<----
              MakeCompass('N');
          1 : if not(InRange(round(Deg), 45, 135)) then
              MakeCompass('E');
          2 : if not(InRange(round(Deg), 135, 225)) then
              MakeCompass('S');
          3 : if not(InRange(round(Deg), 225, 315)) then
              MakeCompass('W');
        end;
        MakeCompass(FloatToStr(Deg));
      end;
    end;
    Haha thanks for pointing that out to me Dumpin. I don't know what I was doing lol, maybe it was the fact that I was up till 2am trying to get this done.

    ..But yeah thank's, It'll be updated in V2.

Page 2 of 2 FirstFirst 12

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

Posting Permissions

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