[Help] Auto Fight Script menu

User Tag List

Results 1 to 14 of 14
  1. #1
    Sirect's Avatar Banned
    Reputation
    2
    Join Date
    Sep 2007
    Posts
    30
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Update; Scroll down] Auto Fight Script

    Hi!
    Today I tried to code a little Script which should it makes possible to Let my Dudu fight alone.
    You might Think its a really Big Script but its only Like this:

    Code:
    HotKeySet("{BS}", "Go")
    while 1
     sleep (100)
    WEnd
     
    func Go ()
    While 1
    Send("2")
    sleep (350)
    Send("2")
    sleep (350)
    Send("2")
    sleep (350)
    Send("2")
    sleep (350)
    Send("2")
    sleep (350)
    Send("2")
    sleep (350)
    WEnd
    EndFunc
    Now I would like to know how it is possible to pause the script Pressing Backspace again.
    I already Tried
    Code:
    Do...Until Hotkeysend(HotKeySet("{BS}", "Pause")
    But he stopped after 1 Run...
    Last edited by Sirect; 12-31-2007 at 05:50 AM.

    These ads disappear when you log in.

  2. #2
    tttommeke's Avatar Banned
    Reputation
    1
    Join Date
    Jul 2007
    Posts
    613
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do this :

    Ok, phpbb forum code tags suck, for every = you must but $Start Phpbb removes this for some reason
    Code:
    HotKeySet("{BS}", "Start")
     = 0
    
    func Go ()
    
    While   = 1
    Send("2")
    sleep (350)
    Send("2")
    sleep (350)
    Send("2")
    sleep (350)
    Send("2")
    sleep (350)
    Send("2")
    sleep (350)
    Send("2")
    sleep (350)
    WEnd
    EndFunc
    
    Func start()
    If  = 1 then
     = 0
    Else
     = 1
    Endif
    Endfunc
    
    
    While 1
    Sleep(100)
    Wend
    Now he will look if $Start = 1 then he will do the attack script but when $Start = 0 then he will not do the attack script and every time you press backspace it will change the $Start

  3. #3
    Sirect's Avatar Banned
    Reputation
    2
    Join Date
    Sep 2007
    Posts
    30
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thats why i love this Forum =)

    THX

    Edit:

    Unable to parse Line -1

    I tried to insert $start but its not working ^^

    May im just to Stupid?
    Last edited by Sirect; 12-23-2007 at 01:34 PM.

  4. #4
    tttommeke's Avatar Banned
    Reputation
    1
    Join Date
    Jul 2007
    Posts
    613
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Giev me your msn at pm

  5. #5
    Sirect's Avatar Banned
    Reputation
    2
    Join Date
    Sep 2007
    Posts
    30
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I need 10 Posts ^^

  6. #6
    Tyler Durden's Avatar Contributor
    Reputation
    260
    Join Date
    Dec 2006
    Posts
    355
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    good i guess.. kinda useless... only use for foolin' around some ?

  7. #7
    Nero's Avatar Active Member
    Reputation
    39
    Join Date
    Sep 2006
    Posts
    139
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Sirect View Post
    I need 10 Posts ^^
    you need 10 post for what?
    dont make posts like that, please.

  8. #8
    Sirect's Avatar Banned
    Reputation
    2
    Join Date
    Sep 2007
    Posts
    30
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah its just cause the only thing I do is pressing 2 all the time and with the prog i can watch tv without destroing my Keyboard ^^


    EDIT : 10 Posts for Sending a PN
    Last edited by Sirect; 12-23-2007 at 04:33 PM.

  9. #9
    Sirect's Avatar Banned
    Reputation
    2
    Join Date
    Sep 2007
    Posts
    30
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    HotKeySet("{BS}", "Go")
    
    func Go ()
    While 1
    Send("2")
    HotKeySet("{BS}", "Go1")
    sleep (350)
    HotKeySet("{BS}", "Go1")
    Send("2")
    HotKeySet("{BS}", "Go1")
    sleep (350)
    Send("2")
    HotKeySet("{BS}", "Go1")
    sleep (350)
    Send("2")
    HotKeySet("{BS}", "Go1")
    sleep (350)
    Send("2")
    HotKeySet("{BS}", "Go1")
    sleep (350)
    Send("2")
    HotKeySet("{BS}", "Go1")
    sleep (350)
    HotKeySet("{BS}", "Go1")
    WEnd
    EndFunc
    
    func Go1 ()
    While 1
    sleep (100)
    HotKeySet("{BS}", "Go")
    WEnd
    EndFunc
    
    While 1
    Sleep(100)
    Wend
    My New Code is working so if You want a Programm which Spamms your Attacks use it ^^ You could change the Times and the Buttons so it would dot the Enemies etc.
    Sry for my English ^^

  10. #10
    Chiyu's Avatar Member
    Reputation
    86
    Join Date
    Sep 2007
    Posts
    98
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Sirect View Post

    func Go ()
    While 1
    Send("2")
    HotKeySet("{BS}", "Go1")
    sleep (350)
    HotKeySet("{BS}", "Go1")
    Send("2")
    HotKeySet("{BS}", "Go1")
    sleep (350)
    Send("2")
    HotKeySet("{BS}", "Go1")
    sleep (350)
    Send("2")
    HotKeySet("{BS}", "Go1")
    sleep (350)
    Send("2")
    HotKeySet("{BS}", "Go1")
    sleep (350)
    Send("2")
    HotKeySet("{BS}", "Go1")
    sleep (350)
    HotKeySet("{BS}", "Go1")
    WEnd
    EndFunc
    This is a loop, why do you give the same commands over and over again? The following should also work:

    Code:
     func Go ()
    HotKeySet("{BS}", "Go1")
    While 1
    Send("2")
    sleep (350)
    WEnd
    EndFunc
    Note that the " HotKeySet("{BS}", "Go1")" is set before the loop (while 1) so it isn't set every 350 ms but only one time. I'll post the wohle corrected code:

    Code:
    HotKeySet("{BS}", "Go")
    
    func Go ()
    HotKeySet("{BS}", "Go1")
    While 1
    Send("2")
    sleep (350)
    WEnd
    EndFunc
    
    func Go1 ()
    while 1
    sleep(10)
    HotKeySet("{BS}", "Go")
    WEnd
    EndFunc
    
    While 1
    Sleep(10)
    Wend
    Short and easy, isn't it?
    Last edited by Chiyu; 12-23-2007 at 08:46 PM.

  11. #11
    Sirect's Avatar Banned
    Reputation
    2
    Join Date
    Sep 2007
    Posts
    30
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm you are right.
    My Problem with the loop was that I couldn't stop it but now I know why ^^
    I just had to delete 5 of these Send things...

    I really Thank you I hope I can watch TV now without getting disturbed ^^

    Edit:

    Use sleep (1200) for bridging the global cooldown
    Code:
    Send("2")
    sleep (1200)
    Send("3")
    Last edited by Sirect; 12-31-2007 at 05:51 AM.

  12. #12
    Sirect's Avatar Banned
    Reputation
    2
    Join Date
    Sep 2007
    Posts
    30
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    [UPDATE]

    The Script is now able to heal your Char... VERY Usefull

    It uses the Catform to attck with this Combopoint thing...
    If he is almost down he sends 6 to heal himself with healing touch.
    Then he goes back into Catform ^^
    Code:
    HotKeySet("{End}", "Go")
    
    func Go ()
    HotKeySet("{End}", "Go1")
    While 1
     = PixelGetColor( 129 , 64 )
    	If  = "11031047" Then 
    		Sleep(50)
    	Else 
    		Send("0")
    		Sleep(3700)
    		Send("ß")
    	Endif
    Send("2")
    sleep (300)
    WEnd
    EndFunc
    
    func Go1 ()
    while 1
    sleep(10)
    HotKeySet("{End}", "Go")
    WEnd
    EndFunc
    
    While 1
    Sleep(10)
    Wend
    1.) Change The 2 and 0 (ß)
    2.) Change the Color + Positions or simply use AgUnitFrames so you just have to change the coords.

    I hope changing this Stuff i not too complex...

  13. #13
    foofiters123's Avatar Member
    Reputation
    1
    Join Date
    Feb 2008
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i know this is very noobish but how do i run this stuff thats typed here

  14. #14
    wowpanda's Avatar Site Donator
    Reputation
    91
    Join Date
    Jan 2008
    Posts
    225
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am pretty sure this is a autoit script, so you need to run it in autoit.

Similar Threads

  1. Disconnection problems; Need help with Auto-reconnect script.
    By Niyat in forum Black Desert Online General
    Replies: 1
    Last Post: 06-16-2016, 06:22 PM
  2. [Help] I need help creating a script.
    By jokerjokes in forum World of Warcraft Emulator Servers
    Replies: 23
    Last Post: 01-10-2008, 10:06 PM
  3. World of warcraft auto login script
    By Ancathon in forum World of Warcraft Bots and Programs
    Replies: 12
    Last Post: 11-25-2007, 12:21 AM
  4. I got banned by using that, Anti AFK auto queue script or w/e
    By julian_in in forum World of Warcraft General
    Replies: 22
    Last Post: 11-03-2006, 02:30 PM
  5. I got banned by using that, Anti AFK auto queue script or w/e
    By julian_in in forum World of Warcraft Bots and Programs
    Replies: 21
    Last Post: 10-28-2006, 05:52 PM
All times are GMT -5. The time now is 01:22 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2022 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2022 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search