Results 1 to 15 of 58

Threaded View

  1. #1
    EpicPacMan's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    The internet.
    Posts
    187
    Reputation
    13
    Thanks
    150
    My Mood
    Goofy

    Talking CA BOT [update: now has a (small) user interface]

    I'm new to the forums, yet I've been playing around with online games and web applications for the better part of my life. Since this is my first post- I'm going to make it a good one.

    I hack out bots for games in AutoITv3

    The bot I made, specifically for my first post, auto hits the invite button as well as spitting out some text. I figure if I'm going to destroy what kdr I have while I sleep, I might as well be grammatically correct!

    NOTE: This bot does not have a UI button mashing screen as I just wrote it for this post. If requested, I can make one no problem.

    If there's a good amount of interest in this and people like it, then I'll go ahead and whip out a bot that can melt faces. I didn't go and write out the whole thing coz honestly, I don't want to put the hours into it if no one is going to appreciate it. We will see

    If you don't have the SciTE Editor, or AutoitV3- I suggest getting it.
    AutoIt v3 - Downloads

    I tried to be really explain-awesome on most lines of code to make it easy to understand just what the lines are doing. I realize there are people out there who are new to the concept of Autoit especially since most of these injector, chams robot zombie coders use C++ or ASM. This code is a bit different than that. BAH I SAY! HUMBUG!

    Okie! Here we go!

    New Edit! URGENT:Disregard all of this crap code. I have the FULL BETA WORKING DONE! This code here is crap! I'm making a new thread with the release. Im going to remove the attachment here.
    Code:
    ; CA invite bot for MPGH
    
    ; :::::::::::::::::
    ; :::::::BY::::::::
    ; :::EPICPACMAN::::
    ; :::::::::::::::::
    
     = 6
     = Random(1,100) ;See my post for more info on this.
    
    WinWaitActive("Combat_Arms")
    Sleep(10000);10 seconds is plenty of time to wait for CA to load.
    Send(&"{enter}");Again, this is the only thing that really needs to be explained in my post.
    MouseMove(1,1);This also!
    Sleep(500);and THIS! :O
    
    Do ;This is where we're going to start our DO loop.
    	MouseClick("primary", 574,515,1) ; <--- self explanitory lols
    	MouseClick("primary", 512, 477, 10); <- ^^^^^^^^^^^^^^^^^^^^^
    	 =  - 1 ;COUNTDOWN GOGOGO
    	if  > 1 Then Call("SEcountdown");SE stands for Social Engineering, a very important tool for bots.
    	If  = 1 Then Call("grammar") ;Grammar is important.
    	If  = 0 Then Call("endnotification");Tells other users we're gona kill my KDR nao, GOGOGO
    	Sleep(10000) ;10 second nap time.
    	Until  = 0 ;Pete and Repeat are on a boat. You catch the drift.
    
    ;Everything below this line is super easy to understand from the above lines calling them.
    Func SEcountdown()
    	Send("Sending out "&&" more invites.{enter}")
    	EndFunc
    
    Func grammar()
    	Send("Sending out "&&" more invite.{enter}")
    	EndFunc
    
    Func endnotification()
    	Send("No more invites. Ready or not, I'm starting.")
    	EndFunc
    
    Exit


    Edit again!

    Well, after a bit of sleep and some quick finger action, I have for you buttons! I understand some people have issues getting this to work. It's ok to pm me about it, I read pms lol. Please note- this isn't c++.

    I may need help with some people using different screen resolutions. Post here after you try it out and let me know if it doesn't hit the buttons properly.

    I'm attaching an Exe and the .au3. The exe is extractable to au3 (thats the source), I'm just including it for convenience. Sorry for not explaining much about what I've added. I did include two buttons, one is the invite bot and the other is a special NADE bot that just nades the floor. Some of you h4xzors out there have ridiculous kdrs and don't make it into games. Prollem solved! lol

    It's not fully automated. You need to be sitting there monitoring your character. Later on today I'll make it join and create games. To make it stop doing what it's doing hit the space bar while you have it running.

    Code:
    [strike]#include <GUIConstantsEx.au3>
    
    Opt('MustDeclareVars', 1)
    HotKeySet("{space}", "kill")
    
    Func kill()
    	Exit
    	EndFunc
    
    ui()
    
    Func ui()
        Local $Invitebutton, $nade, $msg, $runjump
    	Global $invite, $startnotification
        GUICreate("CA bot", 300, 75)
    
        Opt("GUICoordMode", 2)
    	
    	
        $Invitebutton = GUICtrlCreateButton("Invite Bot", 50, 30, 100)
        $nade = GUICtrlCreateButton("Nadebot", 0, -1)
    
        GUISetState()
    
        
        While 1
            $msg = GUIGetMsg()
            Select
                Case $msg = $GUI_EVENT_CLOSE
                    ExitLoop
                Case $msg = $Invitebutton
    				$invite = 6
    				$startnotification = Random(1,100)
    				
    				
    				WinActivate("Combat_Arms")
    				Sleep(10000)
    				Beep(500, 100)
    				Send($startnotification&"{enter}")
    				MouseMove(1,1)
    
    				Do 
    					MouseClick("primary", 574,515,1)
    					MouseClick("primary", 512, 477, 10)
    					$invite = $invite - 1 
    					if $invite > 1 Then Call("SEcountdown")
    					If $invite = 1 Then Call("grammar")
    					If $invite = 0 Then Call("endnotification")
    					Sleep(10000) 
    					Until $invite = 0 
    			
    			Case $msg = $nade
    				WinActivate("Combat_Arms")
    				Sleep(10000)
    				Beep(500, 100)
    				$runjump = 0
    				Do
    					MouseMove(0, 1000, 10)
    					Send("{4 down}")
    					Send("{4 up}")
    					Sleep(500)
    					MouseClick("primary", 400, 800, 10)
    					
    					$runjump = $runjump + 1
    					Until $runjump = 100
            EndSelect
        WEnd
    EndFunc
    
    Func SEcountdown()
    	Global $invite
    	Send("Sending out "&$invite&" more invites.{enter}")
    	EndFunc
    
    Func grammar()
    	Global $invite
    	Send("Sending out "&$invite&" more invite.{enter}")
    	EndFunc
    
    Func endnotification()
    	Send("No more invites. Ready or not, I'm starting.")
    	EndFunc[/strike]
    


    I said I'd explain a portion of the script in this post on my code there.

    Since the new patch, if you repeat yourself a few times, CA has buttsex with your ability to say anything in chat for a minute.

    For testing purposes (I assume this has some real purpose too, just bear with me for a moment. lol), I have the script generate a random number between 1 and 100 to tell the person running it that it's started. This way, if your playing around with it- no one will know your starting a bot and get confused and you won't get buttsexed out of script invite notifications.

    I'm sure you've noticed by now, I used the BB red text color tag for my notes. Pl0x don't hurt me for saying SE is social engineering. Some people really don't know. ^_^

    Anyways, thanks for reading! This has been my first post, I hope to become a decent part of the community here. Bump if you like it! lols


    HOLY EDIT BATMAN! Yeah, I got really fkn bored. I'm making the GUI the buttons- everything. lmao. I'll edit this again when I'm done. Edits on the batman BATMAN!: Framework for the gui is done.. for the most part.


    Just the au3 and exe in the rar attached lol.

    Here is a link to the virus scan of the exe:

    Virustotal. MD5: 49662bb2087c0541f4aba03e3a6a7bf7 Backdoor.Generic!IK Suspicious File Backdoor.Generic


    cabot.exe - Jotti's malware scan

    Ikarus and a-squared said Backdoor generic? False positives. You can decompile my code into au3 format with Scite and see there's not problem
    Last edited by EpicPacMan; 07-01-2009 at 02:02 AM.

  2. The Following 8 Users Say Thank You to EpicPacMan For This Useful Post:

    ddd333 (06-30-2009),deathreap28 (06-30-2009),Derek (06-30-2009),[MPGH]Disturbed (06-30-2009),eddieg (06-30-2009),HackPack (06-30-2009),hsicarlos (06-30-2009),kenritsuku (06-30-2009)

Similar Threads

  1. comedy central- wat yo watching. read first post
    By nobartholem in forum General
    Replies: 5
    Last Post: 04-02-2009, 08:36 PM
  2. Obligitory First Post
    By warhawk20 in forum Combat Arms Hacks & Cheats
    Replies: 8
    Last Post: 12-30-2008, 07:37 PM
  3. my first post
    By japonte4 in forum General
    Replies: 1
    Last Post: 12-22-2008, 09:27 PM
  4. mya first post
    By tandm in forum General
    Replies: 11
    Last Post: 10-17-2008, 11:01 PM

Tags for this Thread