Results 1 to 8 of 8

Thread: What Again?!?!?!

  1. #1
    Join Date
    Apr 2007
    Location
    South-West
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default What Again?!?!?!

    ok.... i got everything in my auto fighter working except that i get a major lagg... when i dont lagg i end up with clicking a million times on lesser.... but not only doese it click a million times IT WONT EVEN RIGHT CLICK AND SELECT ATTACK -.- anyways soz for yelling its kinda annoying me

    SCAR Code:
    Procedure FightMonster;
    begin
    If(FindColorTolerance(x,y,MonsterColor,MSX1,MSY1,MSX2,MSY2,15))then
        Wait(1000+random(500));
        Mouse(x,y,0,0,False); /// <--- remove that ";"
        ChooseOption(x, y, 'Atta');

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Hmm i can see nothing wrong with this code.
    Can you please post the entire script so far?

  3. #3
    Join Date
    Mar 2007
    Posts
    276
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    First of all, for
    SCAR Code:
    chooseopton('Attac')
    Use lower case letters.. like this

    SCAR Code:
    ChooseOption('ttack')

    And Mayb Make a longer wait time then 1 second


    Someone: 'Who the hell is TooManySitUps?'

    Boreas: 'Switch the first and last letter of my name, what do you get?'

    Someone: 'Um, SoreAb?'

    Boreas: 'And how do you get that?'

    Someone: 'From Too Many Sit Ups!! Haha, Boreas you are so clever!'

    Boreas: 'Ya he's like my evil twin that takes over when I'm being really sarcastic, or playing devil's advocate.'

  4. #4
    Join Date
    Dec 2006
    Location
    Australia
    Posts
    698
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Add a wait intbetween the rightclick and chooseoption

  5. #5
    Join Date
    Feb 2007
    Location
    Australia
    Posts
    358
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Yup mental is right.

    Other wise it will be like. CLICK! CLICK!
    and nobody can click "Attack" that fast.

  6. #6
    Join Date
    Feb 2007
    Location
    USA
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by neG View Post
    Yup mental is right.

    Other wise it will be like. CLICK! CLICK!
    and nobody can click "Attack" that fast.
    Yea, but his problem is that it won't even right click the monster. Therefore the popup menu won't show, and it isn't able to click 'attack' in the first since it isn't there.

  7. #7
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    you dont NEED a wait between click and chooseoption, i dont do it in my scripts.

  8. #8
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    i don't see why putting a wait in would right there would keep it from lagging...but if your computer happens to lag its good to use because the menu might not show up right away.That happens to me sometimes when i click 'withdraw x' from bank it doesnt show up right away and it screws up the script....so i put a wait
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


Thread Information

Users Browsing this Thread

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

Posting Permissions

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