Quantum's lossbot tutorial , well explained

This is a discussion on Quantum's lossbot tutorial , well explained within the Warcraft 3 forum board part of the Hot Games category; Hello guyz .... in this tutorial i will teech u to make a simple lossbot , as there ar tutorials ...

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    quantum's Avatar
    quantum is offline Hacker
    Array
    Join Date
    Mar 2007
    Location
    Romania
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    11
    Reputation
    186

    Quantum's lossbot tutorial , well explained

    Hello guyz .... in this tutorial i will teech u to make a simple lossbot , as there ar tutorials as how to make a simple lossbot , but there is not enough information !
    Note : this tut is for Autoit language !!! here u can get the program :
    AutoIt v3 - Automate and Script Windows Tasks - For Free!
    so here we go:

    1st. When u start making a lossbot 1st u have to think witch hotkeys u wanna assign for START , STOPING and EXIT the lossbot , so i take allways as hotkeys : go = F1 , stop = F2 ,exit = F3 ,so we will have :
    Code:
     HotKeySet ("{F1}","go") ;hotkey to start bot
    HotKeySet ("{F2}","stop") ; hotkey to stop bot
    HotKeySet ("{F3}","quit");hotkey to exit bot
    so this is the HotkeySet "formula"
    HotKeySet ("Key","Function")

    2nd. After we did the 1st step now we have to think if we gonna do a really really simple lossbot or we gonna make just a really simple lossbot ) , ok if u wanna make a really really simple just go to step 3 , if u wanna make it really simple read this !!! ok in this step we will learn to make some INputbox's where we input the hotkeys and the desired delay !!! so we wil have :

    Code:
    $delay = InputBox ("delay","Note: the delay is in ms","here goes ur delay") ; here u input ur delay
    $searchgame = InputBox ("Search game","Note: put a ! infront of the hotkey","ur hotkey here") ;here u input ur searchgame hotkey
    $leavemenu = InputBox ("leave menu" , "Note: put a ! infront of the hotkey","ur hotkey here") ;here u input ur leavemenu hotkey
    $leavegame = InputBox ("leave game " ,"Note: put a ! infront of the hotkey","ur hotkey here") ;here u input ur leavegame hotkey
    $searchgame : this is called a variable , by putting $ in front of a word u make it a variable
    So this is the InPutBox "formula"
    InputBox ("Title","Prompt","Default");the rest does not count )

    3rd. Here we gonna start making the lossbot ( "the body of the lossbot " ) )

    This is with the 2nd step :

    Code:
    Func Lossbot ()
    	While $stop > 2 
    		Send ($searchgame);here he will automaticly put what did u input in the inputbox
    		Sleep ($delay) ;he will auto sleep the time u input in the delay inputbox
    		Sleep (50) 
    		Send ($leavemenu);here he will automaticly put what did u input in the inputbox
    		Sleep (500) 
    		Send ($leavegame);here he will automaticly put what did u input in the inputbox
    		Sleep (1000)
    		Send ("{ENTER}") ;this exit the score table
    	WEnd
    EndFunc
    This is without the 2nd step (really really simple )

    Code:
    Func Lossbot ()
    	While $stop > 2 
    		Send (!q) ; here u can change with ur hotkey ,this is the search game hotkey
    		Sleep (2000);here u can put how much time u whant
    		Send (!q);here u can change with ur hotkey ,this is the leave menu hotkey
    		Sleep (500);here u can put how much time u whant
    		Send (!q);here u can change with ur hotkey ,this is the leave game hotkey
    		Sleep (1000);here u can put how much time u whant
    		Send ("{ENTER}") ;this exit the score table
    	WEnd
    EndFunc
    now ill explain what Send and Sleep does :
    - Send = send a keystroke or more keystrokes
    - Send "formula" :
    Send ("key")
    - in case u have a variable u don't put the "this quotes"
    - the variable is writen with a $infront

    Sleep :
    - the script stop's for a certain time
    - Sleep "formula" = Sleep (delay)


    4rd. The functions

    Now we have to tell the lossbot when to start , when to stop and when to exit ,all this things ar called FUNCTIONs



    Code:
    Func go () ; start bot
    	$stop= 3
    	Lossbot ()
    EndFunc
    
    Func stop () ; stop bot
    	$stop = 1
    EndFunc
    
    Func quit () ; exit bot
    	Exit
    EndFunc
    Explained :
    - the () means that there is a function ... so GO () means that is a function who calles another function as u can see , go function call's Lossbot function !!!

    So this is the entire code :

    Code:
    Dim $stop = 0 ;this has to be declared at the begin allways
    
    HotKeySet ("{F1}","go")
    HotKeySet ("{F2}","stop")
    HotKeySet ("{F3}","quit")
    
    $delay = InputBox ("delay","Note: the delay is in ms","here goes ur delay") ; here u input ur delay,u can change the Title,prompt or default
    $searchgame = InputBox ("Search game","Note: put a ! infront of the hotkey","ur hotkey here") ;here u input ur searchgame hotkey,u can change the Title,prompt or default
    $leavemenu = InputBox ("leave menu" , "Note: put a ! infront of the hotkey","ur hotkey here") ;here u input ur leavemenu hotkey,u can change the Title,prompt or default
    $leavegame = InputBox ("leave game " ,"Note: put a ! infront of the hotkey","ur hotkey here") ;here u input ur leavegame hotkey,u can change the Title,prompt or default
    
    Func Lossbot ()
    	While $stop > 2 
    		Send ($searchgame)
    		Sleep ($delay)
    		Sleep (50)
    		Send ($leavemenu)
    		Sleep (500)
    		Send ($leavegame)
    		Sleep (1000)
    		Send ("{ENTER}")
    	WEnd
    EndFunc
    
    while 1      ;the idling loop 
        sleep(15)
        WEnd
    
    Func go ()
    	$stop= 3
    	Lossbot ()
            $Obj = ObjCreate("Sapi.Spvoice")
            $Obj.Speak("Lossbot is working , Good Luck ")
    EndFunc
    
    Func stop ()
    	$stop = 1
    EndFunc
    
    Func quit ()
    	Exit
    EndFunc
    Code:
    ;another cool things :
    ;example u whant that the program SPEAK's when u press F1 (when u start it) then go u put like this
    ; Func go ()
    ;	$stop= 1
    ;	Lossbot ()
    ;   $Obj = ObjCreate("Sapi.Spvoice")
    ;   $Obj.Speak("Lossbot is working , Good Luck ");when u press F1 (to start) the script will speak this : lossbot is working ,good luck :))
    ;EndFunc     
    ;same u can do for the stop function or the exit function 
    ; or for fun u can put a Beep (200,10) :))


    Here i will teech u how to put a greet message ... as it's outsided of the lossbot i put it here (i am no speaking serious i just forget to put it ... editing now ) ) anyways let's say that this goes to cool staff (upper) :
    - hmmm it's kinda tricky cuz this bot does not uses a pixelsearch , but if u put a big delay it should be all fine ,anyways u try it
    - u have to add another Variable with INPUTBOX in STEP 2 i take this :
    Code:
     $message = INPUTBOX ("blah blag " ,"u stupid me noob " ,"ur greet msg goes here")
    -ofc u can add more than 1 and put a cirtain delay between them ( at least Sleep (10 ) i put )
    - so the code should be :



    Code:
    Dim $stop = 0 ;this has to be declared at the begin allways
    
    HotKeySet ("{F1}","go")
    HotKeySet ("{F2}","stop")
    HotKeySet ("{F3}","quit")
    
    $delay = InputBox ("delay","Note: the delay is in ms","here goes ur delay") ; here u input ur delay,u can change the Title,prompt or default
    $message = INPUTBOX ("blah blag " ,"u stupid me noob " ,"ur greet msg goes here")
    $searchgame = InputBox ("Search game","Note: put a ! infront of the hotkey","ur hotkey here") ;here u input ur searchgame hotkey,u can change the Title,prompt or default
    $leavemenu = InputBox ("leave menu" , "Note: put a ! infront of the hotkey","ur hotkey here") ;here u input ur leavemenu hotkey,u can change the Title,prompt or default
    $leavegame = InputBox ("leave game " ,"Note: put a ! infront of the hotkey","ur hotkey here") ;here u input ur leavegame hotkey,u can change the Title,prompt or default
    
    Func Lossbot ()
    	While $stop > 2 
    		Send ($searchgame)
    		Sleep ($delay)
                    Send ("{ENTER}" & $message & "{ENTER}") ; by puting this & into the send u can add a variable
    		Sleep (50)
    		Send ($leavemenu)
    		Sleep (500)
    		Send ($leavegame)
    		Sleep (1000)
    		Send ("{ENTER}")
    	WEnd
    EndFunc
    
    while 1      ;the idling loop 
        sleep(15)
        WEnd
    
    Func go ()
    	$stop= 3
    	Lossbot ()
            $Obj = ObjCreate("Sapi.Spvoice")
            $Obj.Speak("Lossbot is working , Good Luck ")
    EndFunc
    
    Func stop ()
    	$stop = 1
    EndFunc
    
    Func quit ()
    	Exit
    EndFunc
    If anyone needs help , feel free to PM at any time )
    Last edited by quantum; 01-23-2008 at 01:27 AM.
    Vizitati http://bit.ly/eib5NM pentru tutoriale si resurse web in limba romana.
    The sky is blue because God used the wrong damn hex code.

  2. #2
    Malish's Avatar
    Malish is offline YAH


    Array
    Join Date
    Mar 2007
    Location
    If afk, at the pub.
    Posts
    4,853
    Mentioned
    65 Post(s)
    Tagged
    2 Thread(s)
    Rep Power
    20
    Reputation
    1434
    wow + rep^^
    If you have any questions about posting or selling your hack here. Read this link.


  3. #3
    lolercakess's Avatar
    lolercakess is offline Member
    Array
    Join Date
    Jul 2007
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    11
    Reputation
    41
    hi how can i make it in .exe ? like d3scene lossbot ?

  4. #4
    quantum's Avatar
    quantum is offline Hacker
    Array
    Join Date
    Mar 2007
    Location
    Romania
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    11
    Reputation
    186
    u go to start-all programs-autoit - compile script to .exe
    Understand ? ofc u do
    Vizitati http://bit.ly/eib5NM pentru tutoriale si resurse web in limba romana.
    The sky is blue because God used the wrong damn hex code.

  5. #5
    hendricius's Avatar
    hendricius is offline Administrator

    Array
    Join Date
    Feb 2007
    Location
    Goettingen, Germany
    Posts
    6,311
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    24
    Reputation
    2180
    Awesome tutorial . Thanks for writing this. + Rep. For compiling it, you will need the AutoIT program. It has an option to compile to an .exe file.
    You suck. Suck a little less and become a fan on Facebook.

    "D3scene pwns" - Hendrik (PIRATE)

  6. #6
    Zyphrus's Avatar
    Zyphrus is offline zMapper
    Array
    Join Date
    Aug 2007
    Location
    Dude, where's my location?
    Posts
    926
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    12
    Reputation
    215
    Looks sweet. +Rep.

  7. #7
    lolercakess's Avatar
    lolercakess is offline Member
    Array
    Join Date
    Jul 2007
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    11
    Reputation
    41
    thx + rep ~

  8. #8
    YourName's Avatar
    YourName is offline THE ONE AND ONLY DARK KNIGHTY


    Array
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    1,553
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    16
    Reputation
    1088
    Nice, easy to understand. +Rep
    Providing you with foolish stuff since 2007.

  9. #9
    quantum's Avatar
    quantum is offline Hacker
    Array
    Join Date
    Mar 2007
    Location
    Romania
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    11
    Reputation
    186
    thx guyz ... i have been of for time , but if u need help i am back to try to help u if i remember how to use autoit ... but i will re-learn it ^^(for u ) )
    Vizitati http://bit.ly/eib5NM pentru tutoriale si resurse web in limba romana.
    The sky is blue because God used the wrong damn hex code.

  10. #10
    DarkOwn's Avatar
    DarkOwn is offline Mentor
    Array
    Join Date
    Feb 2008
    Location
    ~Niaor KL
    Posts
    112
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    10
    Reputation
    31
    You know,,, i never liked your lossbots because i couldn't get to work,,, but with this tutorial i get it to work & i can make my own now to =D i give u and i will release my working bot whenever i can make sure it's 100% working Very Good tutorial and i will give you full credit, again xP
    | || ||| |||| Sammeji's Elite Team[z] |||| ||| || |

  11. The Following User Says Thank You to DarkOwn For This Useful Post:


Page 1 of 2 12 LastLast

Similar Threads

  1. The D3scene.com lossbot made by Quantum v.2
    By quantum in forum Warcraft 3 Hacks, bots and tools
    Replies: 36
    Last Post: 10-20-2011, 08:03 PM
  2. A custom quest tutorial.
    By Batman in forum WoW Private Servers
    Replies: 13
    Last Post: 07-29-2008, 05:13 PM
  3. Quantum's lossbot v.1 (spanish)
    By quantum in forum Warcraft 3 Hacks, bots and tools
    Replies: 6
    Last Post: 12-30-2007, 01:30 AM
  4. LossBot Tutorial From Blub, In AutoIt
    By xiN in forum Warcraft 3 forum
    Replies: 2
    Last Post: 11-04-2007, 01:05 PM
  5. Bobbert's LossBot Tutorial
    By Bobbert in forum Warcraft 3 forum
    Replies: 6
    Last Post: 08-16-2007, 09:27 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
  •