Results 1 to 13 of 13

Thread: Whats Wrong???

  1. #1
    Join Date
    Feb 2007
    Posts
    43
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Whats Wrong???

    When i run the scripts the mouse just keeps hovering over the monster ....

    can some 1 plz tell me wat i need to fix? cuz it does it for ever and doesnt attack it seems i have this problem for ever script ive tried..

  2. #2
    Join Date
    Mar 2006
    Posts
    13,241
    Mentioned
    228 Post(s)
    Quoted
    267 Post(s)

    Default

    post the script and we can tell you more
    STOP PM'ING ME

  3. #3
    Join Date
    Feb 2007
    Posts
    43
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    its basically all the scripts..... umm say DaWu's Fighter, the scripts all run fine but they dont attack...

  4. #4
    Join Date
    Mar 2006
    Location
    United States, -7:00 GMT
    Posts
    1,790
    Mentioned
    2 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Hobbit View Post
    post the script and we can tell you more
    Dont' make us look it up and get it. We are helping U.

    hakuna matata ;)

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

    Default

    i dont get any errors it just keeps runnning... but doesnt attack

    and wat do u mean don't make us look it up?

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

    Default

    Maybe (if you need to set the name,) the name is wrong? So it finds the monster but it thinks that it isn't the monster
    Hup Holland Hup!

  7. #7
    Join Date
    Jun 2006
    Location
    New Zealand
    Posts
    285
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Did you setup everything correctly? Did you drag the cross-hair? Are you on 32-bit TRUE color? Can you post the script?
    Huehuehuehuehue

  8. #8
    Join Date
    Feb 2007
    Posts
    43
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yes i setup up the script correctly... everything the directions said to do...

  9. #9
    Join Date
    Jan 2007
    Location
    Not here
    Posts
    1,604
    Mentioned
    2 Post(s)
    Quoted
    19 Post(s)

    Default

    basically what everyone is trying to say is.....post the god damn script just like it is and then we can help you a lot easier! soz to sound rude but you know guess that's the way i am on here
    Sleeping...

  10. #10
    Join Date
    Feb 2007
    Posts
    43
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    [code][code]program DaWuAutoFighter;
    {.include SRL\SRL.SCAR}
    {.include SRL\SRL\skill\Fighting.scar}
    {.include SRL/SRL/Skill/Ranging.scar}
    {.include SRL\SRL\extended\xObject.SCAR}

    //setup at lines 20-32 \\
    //Start logged out \\
    //Im not responsible for any loss or damage this script causes \\
    //SET THE AMOUNT OF MONSTERS TO BE KILLED ON LINE 209 \ \


    //-_-___DaWuAutoFighter Version 1.4___-_-\\
    // Made by DaWu \\
    //xxKanexx great fighting functions. <3 \\
    //Gofs arrow picking and stuff \\
    //WT-Fakawi's Great InFightAt, thanks \\
    Const
    Color1 = 1121681; //use different colours of different rats
    Color2 = 1121681;
    Color3 = 1121681;
    Monstername ='Guard' ;
    Kills = 100000 ; // amount of monsters to be killed.
    Startplayer = 0 ; //player that starts
    foodcolor = 1400241;//set food color if u wanna eat.
    Runawaydir= 'N' ; //Direction to run N,S,W,E
    Pickarrows = False; // Set to false if u dont use arrows.
    Arrowcolor = 0; //Color of the arrow on ground.
    EatHp = 61; //Hp to eat at.
    Foodname = 'Lobster';
    Eat = 'No' ; //Yes Or No, Eat Or Not.
    Tolerance = 3 ; //Tolerance for the monster colours
    Fightmode = 2 ; //Fightmode to be used



    Var fightchecks, killed :integer; TabTimer:integer; EatTimer:integer;
    SkillTimer:integer;

    Procedure report;
    begin
    writeln('______________________')
    writeln('DaWuAutoFighter V1.4')
    writeln('Worked for '+ TimeRunning);
    writeln('Killed: ' + inttostr(a))
    writeln('______________________')
    end;



    Function InFightAt(x, y: Integer):Boolean;
    var
    dx, dy: Integer;
    begin
    Result:= (FindColor(dx, dy, 65280, x - 20, y - 10, x + 20, y + 10) or
    FindColor(dx, dy, 225, x - 20, y - 10, x + 20, y + 10) or
    FindColor(dx, dy, 16728128, x - 20, y , x + 20, y + 20) or
    FindColor(dx, dy, 192, x - 20, y, x + 20, y + 20));
    end;


    procedure OutFightO;
    var
    i: integer;
    begin
    Flag;
    for i:= 1 to 5 do
    begin
    if(InFightAt(x,y))then
    begin
    repeat
    wait(50);
    until(not(InFightAt(x,y)));
    exit;
    end else
    wait(300);
    end;
    end;

    function KAttackMonsterM(Color1, Color2, Color3, Tolerance: Integer; MonsterName: String): Boolean;
    var
    i, x, y: Integer;
    begin
    FFlag(5);
    for i:= 1 to 5 do
    begin
    if(FindColorTolerance(x, y, Color1, MSX1, MSY1, MSX2, MSY2, Tolerance + i))and
    (FindColorTolerance(x, y, Color2, MSX1, MSY1, MSX2, MSY2, Tolerance + i))and
    (FindColorTolerance(x, y, Color3, MSX1, MSY1, MSX2, MSY2, Tolerance + i))then
    begin
    MMouse(x, y, 3, 3);
    wait(80 + random(60));
    if(IsUpText('Attack '+MonsterName))then
    begin
    result:= true;
    GetMousePos(x, y);
    Mouse(x, y, 0, 0, true);
    wait(40 + random(20));
    FFlag(5);
    OutFightO; //Waits Until Out Of Fight..
    exit;
    end;
    end;
    end;
    end;




    Procedure RandomTab;
    begin
    MarkTime(TabTimer);
    repeat
    if TimeFromMark(TabTimer) > 2000 then
    begin
    Wait(600+random(500))
    Gametab(1+random(12))
    MarkTime(Tabtimer);
    end else Wait(500);
    until false;
    end;

    function Arrowpickup: boolean;
    begin
    if (Pickarrows=true) then
    begin
    repeat
    wait(400+random(210))
    if(FindObj(x,y,'ake',arrowcolor,0))then
    begin
    mouse(x,y,3,2,true)
    FFlag(5);
    end;
    until(not(FindObj(x,y,'ake',arrowcolor,0)))
    end;
    end;

    //-----------------------------------------------//

    function PutArrowsOn: Boolean; //By Freddy1990 .. Edited a bit.
    var
    xx, yy: Integer;
    begin
    if (Pickarrows=true) then
    begin
    GameTab(4)
    Result := FindInvArrows(xx, yy);
    Wait(100 + Random(250));
    Mouse(xx, yy, 0, 0, True);
    end;
    end;

    procedure SkillCheck;
    begin
    if(FightMode = 1) then begin
    HoverSkill('Attack',false);
    end;
    if(FightMode = 2) then begin
    HoverSkill('Strength',false);
    end;
    if(FightMode = 3) then begin
    HoverSkill('Attack',false);
    wait(1000 + random(500));
    HoverSkill('Strength',false);
    end;
    if(FightMode = 4) then begin
    HoverSkill('Defence',false);
    end;
    end;


    Procedure Slay;
    begin
    fightchecks:=0;
    a:=0;
    Repeat;
    MarkTime(TabTimer);
    MarkTime(eatTimer);
    MarkTime(SkillTimer);
    wait(100+random(500))
    FindMonster(color1,color2,color3,tolerance,monster name);
    KattackmonsterM(color1,color2,color3,tolerance,mon stername);
    a:= a +1;
    fightchecks:= fightchecks + 1;
    PutArrowsOn;
    FindNormalRandoms;
    Arrowpickup;
    Report;
    FindNormalRandoms;
    wait(1000+Random(550))
    if(eat = 'Yes')then begin
    if TimeFromMark(EatTimer) > 15000 then
    begin
    Wait(1000+random(500))
    RealEatifneeded(foodcolor,EatHp,False)
    End;
    End;

    if TimeFromMark(SkillTimer) > 30000 then
    begin
    Wait(1000+random(500))
    SkillCheck;
    End;

    if TimeFromMark(TabTimer) > 25000 then
    begin
    Wait(1000+random(500))
    Gametab(1+random(12))
    end;
    AntiBan;
    until(fightchecks = Kills);
    end;

    Procedure DeclarePlayers;
    begin

    HowManyPlayers := 1;
    NumberOfPlayers(howmanyplayers);
    CurrentPlayer := StartPlayer;

    Players[0].Name :='';//name
    Players[0].Pass :='';//pass
    Players[0].Nick := '';// about 3 letters of ur name
    Players[0].Active := True;



    writeln('using'+inttostr(howmanyplayers)+'player[s]');
    end;


    Begin
    SetupSRL;
    Declareplayers;
    loginplayer;
    HighestAngle;
    SetRun(true);
    FindNormalRandoms;
    AntiBan;
    setfightmode(fightmode);
    Slay;
    Report;
    Logout;
    End.[code]

  11. #11
    Join Date
    Mar 2006
    Posts
    13,241
    Mentioned
    228 Post(s)
    Quoted
    267 Post(s)

    Default

    im gonna say try raising the tolerance cause maybe it isnt finding a color close enough...try like tolernace 6 or something...no garenteeing it will work but try it cause at a quick glance i see nothing wrong



    reposted scar tags:
    SCAR Code:
    program DaWuAutoFighter;
    {.include SRL\SRL.SCAR}
    {.include SRL\SRL\skill\Fighting.scar}
    {.include SRL/SRL/Skill/Ranging.scar}
    {.include SRL\SRL\extended\xObject.SCAR}

    //setup at lines 20-32 \\
    //Start logged out \\
    //Im not responsible for any loss or damage this script causes \\
    //SET THE AMOUNT OF MONSTERS TO BE KILLED ON LINE 209 \ \


    //-_-___DaWuAutoFighter Version 1.4___-_-\\
    // Made by DaWu \\
    //xxKanexx great fighting functions. <3 \\
    //Gofs arrow picking and stuff \\
    //WT-Fakawi's Great InFightAt, thanks \\
    Const
    Color1 = 1121681; //use different colours of different rats
    Color2 = 1121681;
    Color3 = 1121681;
    Monstername ='Guard' ;
    Kills = 100000 ; // amount of monsters to be killed.
    Startplayer = 0 ; //player that starts
    foodcolor = 1400241;//set food color if u wanna eat.
    Runawaydir= 'N' ; //Direction to run N,S,W,E
    Pickarrows = False; // Set to false if u dont use arrows.
    Arrowcolor = 0; //Color of the arrow on ground.
    EatHp = 61; //Hp to eat at.
    Foodname = 'Lobster';
    Eat = 'No' ; //Yes Or No, Eat Or Not.
    Tolerance = 3 ; //Tolerance for the monster colours
    Fightmode = 2 ; //Fightmode to be used



    Var fightchecks, killed :integer; TabTimer:integer; EatTimer:integer;
    SkillTimer:integer;

    Procedure report;
    begin
    writeln('______________________')
    writeln('DaWuAutoFighter V1.4')
    writeln('Worked for '+ TimeRunning);
    writeln('Killed: ' + inttostr(a))
    writeln('______________________')
    end;



    Function InFightAt(x, y: Integer):Boolean;
    var
    dx, dy: Integer;
    begin
    Result:= (FindColor(dx, dy, 65280, x - 20, y - 10, x + 20, y + 10) or
    FindColor(dx, dy, 225, x - 20, y - 10, x + 20, y + 10) or
    FindColor(dx, dy, 16728128, x - 20, y , x + 20, y + 20) or
    FindColor(dx, dy, 192, x - 20, y, x + 20, y + 20));
    end;


    procedure OutFightO;
    var
    i: integer;
    begin
    Flag;
    for i:= 1 to 5 do
    begin
    if(InFightAt(x,y))then
    begin
    repeat
    wait(50);
    until(not(InFightAt(x,y)));
    exit;
    end else
    wait(300);
    end;
    end;

    function KAttackMonsterM(Color1, Color2, Color3, Tolerance: Integer; MonsterName: String): Boolean;
    var
    i, x, y: Integer;
    begin
    FFlag(5);
    for i:= 1 to 5 do
    begin
    if(FindColorTolerance(x, y, Color1, MSX1, MSY1, MSX2, MSY2, Tolerance + i))and
    (FindColorTolerance(x, y, Color2, MSX1, MSY1, MSX2, MSY2, Tolerance + i))and
    (FindColorTolerance(x, y, Color3, MSX1, MSY1, MSX2, MSY2, Tolerance + i))then
    begin
    MMouse(x, y, 3, 3);
    wait(80 + random(60));
    if(IsUpText('Attack '+MonsterName))then
    begin
    result:= true;
    GetMousePos(x, y);
    Mouse(x, y, 0, 0, true);
    wait(40 + random(20));
    FFlag(5);
    OutFightO; //Waits Until Out Of Fight..
    exit;
    end;
    end;
    end;
    end;




    Procedure RandomTab;
    begin
    MarkTime(TabTimer);
    repeat
    if TimeFromMark(TabTimer) > 2000 then
    begin
    Wait(600+random(500))
    Gametab(1+random(12))
    MarkTime(Tabtimer);
    end else Wait(500);
    until false;
    end;

    function Arrowpickup: boolean;
    begin
    if (Pickarrows=true) then
    begin
    repeat
    wait(400+random(210))
    if(FindObj(x,y,'ake',arrowcolor,0))then
    begin
    mouse(x,y,3,2,true)
    FFlag(5);
    end;
    until(not(FindObj(x,y,'ake',arrowcolor,0)))
    end;
    end;

    //-----------------------------------------------//

    function PutArrowsOn: Boolean; //By Freddy1990 .. Edited a bit.
    var
    xx, yy: Integer;
    begin
    if (Pickarrows=true) then
    begin
    GameTab(4)
    Result := FindInvArrows(xx, yy);
    Wait(100 + Random(250));
    Mouse(xx, yy, 0, 0, True);
    end;
    end;

    procedure SkillCheck;
    begin
    if(FightMode = 1) then begin
    HoverSkill('Attack',false);
    end;
    if(FightMode = 2) then begin
    HoverSkill('Strength',false);
    end;
    if(FightMode = 3) then begin
    HoverSkill('Attack',false);
    wait(1000 + random(500));
    HoverSkill('Strength',false);
    end;
    if(FightMode = 4) then begin
    HoverSkill('Defence',false);
    end;
    end;


    Procedure Slay;
    begin
    fightchecks:=0;
    a:=0;
    Repeat;
    MarkTime(TabTimer);
    MarkTime(eatTimer);
    MarkTime(SkillTimer);
    wait(100+random(500))
    FindMonster(color1,color2,color3,tolerance,monster name);
    KattackmonsterM(color1,color2,color3,tolerance,mon stername);
    a:= a +1;
    fightchecks:= fightchecks + 1;
    PutArrowsOn;
    FindNormalRandoms;
    Arrowpickup;
    Report;
    FindNormalRandoms;
    wait(1000+Random(550))
    if(eat = 'Yes')then begin
    if TimeFromMark(EatTimer) > 15000 then
    begin
    Wait(1000+random(500))
    RealEatifneeded(foodcolor,EatHp,False)
    End;
    End;

    if TimeFromMark(SkillTimer) > 30000 then
    begin
    Wait(1000+random(500))
    SkillCheck;
    End;

    if TimeFromMark(TabTimer) > 25000 then
    begin
    Wait(1000+random(500))
    Gametab(1+random(12))
    end;
    AntiBan;
    until(fightchecks = Kills);
    end;

    Procedure DeclarePlayers;
    begin

    HowManyPlayers := 1;
    NumberOfPlayers(howmanyplayers);
    CurrentPlayer := StartPlayer;

    Players[0].Name :='';//name
    Players[0].Pass :='';//pass
    Players[0].Nick := '';// about 3 letters of ur name
    Players[0].Active := True;



    writeln('using'+inttostr(howmanyplayers)+'player[s]');
    end;


    Begin
    SetupSRL;
    Declareplayers;
    loginplayer;
    HighestAngle;
    SetRun(true);
    FindNormalRandoms;
    AntiBan;
    setfightmode(fightmode);
    Slay;
    Report;
    Logout;
    End.
    STOP PM'ING ME

  12. #12
    Join Date
    Feb 2007
    Posts
    43
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    that is wat i am thinking... i got 32 color bit on and the stuff it says to put on but all the scripts ive been trying just don't work. it does the same thing over and over again... just hovers over the object. only the chicken scripts seem to work after a while...

  13. #13
    Join Date
    Mar 2007
    Location
    London, England
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I think i have had the same problem you have had before, Log on to runescape and click on the spanner icon and click the mouse icon and then hover the mouse over it so you see it say "Mouse Buttons(Currently 2)" and mayb tht will help you out?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Whats Wrong.
    By kooldude in forum OSR Help
    Replies: 2
    Last Post: 03-27-2008, 09:13 AM
  2. [PHP] whats wrong with this.
    By XcanadamanX in forum General
    Replies: 14
    Last Post: 01-21-2008, 11:40 PM
  3. Replies: 8
    Last Post: 03-23-2007, 04:20 PM
  4. Can someone tell me whats wrong with this?
    By Hey321 in forum OSR Help
    Replies: 5
    Last Post: 12-17-2006, 09:49 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
  •