Results 1 to 2 of 2

Thread: Help on Anti-Random

  1. #1
    Join Date
    Dec 2006
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help on Anti-Random

    I'm using DaWu's autofighter and I'm trying to implement an Anti-Random for the swarm - My idea was to do.. if (color of NPC ur fighting) != (color of NPC you set) then run South(optional). Any ideas how that could be implemented into the fighting portion of the script?

    Code:
    Procedure Slay;
    begin
    fightchecks:=0;
    fightchecks:= fightchecks + 1;
    Repeat;
    wait(100+random(500))
    FindMonster(color1,color2,color3,tolerance,monstername);
    Kattackmonster(color1,color2,color3,tolerance,monstername);
    OutFight;
    FindNormalRandoms;
    wait(1000+Random(550))
    realeatifneeded(foodcolor,EatHp,false);
    AntiBan;
    until(fightchecks=10000); // will now kill 10000 enemies \\
    end;

  2. #2
    Join Date
    Sep 2006
    Posts
    154
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thats not very efficient. It would be buggy and prone to misfire. I think the best thing would be to count how many times the last chat message was "You are already under attack". Once it his a certain amount in a certain amount of time, you run. Or simpler yet, you run away and back every few minutes or so to throw off potential swarms.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Anti-Random help?
    By 666d3v1l666 in forum OSR Help
    Replies: 0
    Last Post: 11-11-2008, 04:35 AM
  2. anti random help
    By del_signo in forum OSR Help
    Replies: 6
    Last Post: 04-09-2007, 04:54 AM
  3. Anti-Random
    By sgteagle93 in forum OSR Help
    Replies: 2
    Last Post: 12-28-2006, 01:35 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
  •