Guest evilklown Posted May 18, 2005 Posted May 18, 2005 I am new to autoit and i wanted to make a program that would spam text into a game when u hit a button and then hit a button again to stop it and hit enter before it types I need help on how i would go about doing this Thanks in advance.
random667 Posted May 18, 2005 Posted May 18, 2005 (edited) what game is it? i made something similer for act of war, to enter cheat codes when i hit the f1 - f11 keys Edited May 18, 2005 by random667 It is really sad to see a family torn apart by something as simple as a pack of wolves.
random667 Posted May 18, 2005 Posted May 18, 2005 (edited) cool if you could give me the exact keystroke sequence you need the script to output, and the hotkeys you want to use to control the script. i dont have diablo to test on. i'll be back in 30 minutes Edited May 18, 2005 by random667 It is really sad to see a family torn apart by something as simple as a pack of wolves.
Guest evilklown Posted May 18, 2005 Posted May 18, 2005 Just hit home to start spam and make it so that u type it into a text box or w/e then it spams that message but before it types it needs to press enter
random667 Posted May 18, 2005 Posted May 18, 2005 in the game, what key do you have to hit to open the games text input box? i can script it to open the games text input box, type some text then hit enter to send the text It is really sad to see a family torn apart by something as simple as a pack of wolves.
t0ddie Posted May 18, 2005 Posted May 18, 2005 i made plenty of spambots for that game. you just need to have the game window open, then send text. try using window mode, makes things easier. to do this.. add -w to the end of the target on the d2 shortcut. use a hotkey to turn it on and off... remember to use random times for spamming.. youll get disconnected/realm down if you do too much too quick, or if you do it at exact times. Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.
Valuater Posted May 18, 2005 Posted May 18, 2005 any ideas for American Army...... hints, cheats etc.?
random667 Posted May 18, 2005 Posted May 18, 2005 this is the code i made for act of war. when you hit the hot keys it preforms the functions. example: when i hit f1 it will send: Enter(which opens the games textinput field) motherrussia(which spawns a tank) Enter(which closes the textinput field and sends the message) expandcollapse popup#include <GUIConstants.au3> GUICreate ("Act of War AutoCheater") ; will create a dialog box that when displayed is centered Opt("TrayIconHide", 1) GUICtrlCreateLabel (" HotKey Cheat",10,5) GUICtrlCreateLabel ("----------------------------------------------------------------------------------------------------------------",10,20) GUICtrlCreateLabel (" F1 Spawns a Russian M80 Tank",10,30) GUICtrlCreateLabel (" F2 Unlimited money and entire tech tree unlocked", 10,50) GUICtrlCreateLabel (" F3 Shows Full map",10,70) GUICtrlCreateLabel (" F4 Drops a nuclear bomb at the pointer",10,90) GUICtrlCreateLabel (" F5 Spawns a S.W.A.T. member", 10,120) GUICtrlCreateLabel (" F6 Spawns a British Cop",10,140) GUICtrlCreateLabel (" F7 Spawns a U.S. Police Officer",10,160) GUICtrlCreateLabel (" F8 Spawns the President of the USA", 10,180) GUICtrlCreateLabel (" F9 Spawns a CIA Armored SUV",10,210) GUICtrlCreateLabel (" F10 Spawns a British Ambulance",10,230) GUICtrlCreateLabel (" F11 Spawns an SA12 Anti-Aircraft Missile Launcher", 10,250) GUICtrlCreateLabel (" F12 Spawns a Duck",10,270) GUISetState () ; will display an empty dialog box ;sets hotkeys HotKeySet("{F1}", "motherrussia") HotKeySet("{F2}", "ineedalltechnos") HotKeySet("{F3}", "keyholemaster") HotKeySet("{F4}", "yeepeekaye") HotKeySet("{F5}", "swatatyourorders") HotKeySet("{F6}", "greenjelly") HotKeySet("{F7}", "ymca") HotKeySet("{F8}", "coolimthepresident") HotKeySet("{F9}", "coolihaveanewcar") HotKeySet("{F10}", "bringoutthedead") HotKeySet("{F11}", "blackhawkdown") HotKeySet("{F12}", "duckhunt") ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend ;sets functions Func motherrussia() Send("{Enter}motherrussia{Enter}") EndFunc Func ineedalltechnos() Send("{Enter}ineedalltechnos{Enter}") EndFunc Func keyholemaster() Send("{Enter}keyholemaster{Enter}") EndFunc Func yeepeekaye() Send("{Enter}yeepeekaye{Enter}") EndFunc Func swatatyourorders() Send("{Enter}swatatyourorders{Enter}") EndFunc Func greenjelly() Send("{Enter}greenjelly{Enter}") EndFunc Func ymca() Send("{Enter}ymca{Enter}") EndFunc Func coolimthepresident() Send("{Enter}coolimthepresident{Enter}") EndFunc Func coolihaveanewcar() Send("{Enter}coolihaveanewcar{Enter}") EndFunc Func bringoutthedead() Send("{Enter}bringoutthedead{Enter}") EndFunc Func blackhawkdown() Send("{Enter}blackhawkdown{Enter}") EndFunc Func duckhunt() Send("{Enter}duckhunt{Enter}") EndFunc Func extra() Send("{Enter}text{Enter}") EndFunc It is really sad to see a family torn apart by something as simple as a pack of wolves.
Guest evilklown Posted May 18, 2005 Posted May 18, 2005 Yeah but i want to be able to type what i want spammed into a text box and have bot spam it after i hit a button and hit button again to stop it Enter is button to activate typing in game
random667 Posted May 18, 2005 Posted May 18, 2005 does the game run in full screen mode? if so, i dont think you could get anything to run on top of it. It is really sad to see a family torn apart by something as simple as a pack of wolves.
t0ddie Posted May 18, 2005 Posted May 18, 2005 (edited) heres a spam script i wrote for d2.. not perfect.. but it works. add a function for pause if you want. must be in window mode. also.. make sure the title of the window is Diablo 2. this is just some of the code heh... i didnt feel like dismantling it all. you need to be in the channel to start.. but it should put you back in the channel if you get disconnected. expandcollapse popup$spam = inputbox("la la land", "enter the message") winmove("Diablo 2","",528,-10) while 1 $channel = random(1,30,1) clipput("/join Diablo II useast-usa-" & $channel) sleep(1000) send("{enter}") If winactive("Diablo 2") then clipput($spam) ;dont add too much spam here, test it in the channel first. if too big, it wont post. sleep(100) send("^v") EndIf send("{enter}") sleep(500) mouseclick("left",617,485,1,0) $channel = "/join the void" clipput($channel) sleep(500) send("^v") sleep(500) send("{enter}") sleep(500) for $x = 1 To 175 $seconds = random(62,250,1) sleep($seconds) $disconnected = pixelgetcolor(934,338);;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; If $disconnected = 6315092 Then sleep(500) send("{enter}") Do $loggedin = pixelgetcolor(584,77) sleep(100) Until $loggedin = 5789784 sleep(500) send("{enter}") mousemove(700,400,0) Do $chat = pixelgetcolor(617,485) sleep(100) Until $chat = 10262676 sleep(2000) mouseclick("left",617,495,1,0) sleep(2000) send("/join the void") sleep(2000) send("{enter}") sleep(2000) EndIf Next WEnd Edited May 19, 2005 by t0ddie Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.
hlstriker Posted May 19, 2005 Posted May 19, 2005 Here is the code for a spambot I made for RuneScape... you can actually use it on anything, I didn't make it anything special... expandcollapse popup$g_szVersion = "Sp4mM3h - F0r T3h 1337!" If WinExists($g_szVersion) Then Exit AutoItWinSetTitle($g_szVersion) #include <GUIConstants.au3> Global $Start GUICreate ( "Sp4mM3h - F0r T3h 1337!", 500, 153 ) GUISetState (@SW_SHOW) $input = GUICtrlCreateInput ( "", 25, 10, 450, 22 ) GUICtrlCreateLabel ( "Insert the text ""message"" you would like to spam in the above text field.", 80, 40, 450, 22 ) GUICtrlCreateLabel ( "When you have the text in the input field press the ""Copy Message"" button.", 71, 58, 450, 22 ) GUICtrlCreateLabel ( "Now, go into RuneScape, and press the ""Home"" key to start spamming! Press it again to stop.", 29, 76, 450, 22 ) GUICtrlCreateLabel ( "Spammeh! A RuneScape Spambot!", 1, 140, 200, 22 ) GUICtrlCreateLabel ( "http://www.ToxicStudios.net", 360, 140, 200, 22 ) $copybutton = GUICtrlCreateButton( "Copy Message", 120, 102, 100, 22 ) $exitbutton = GUICtrlCreateButton( "Exit Spammeh", 270, 102, 100, 22 ) HotKeySet("{HOME}","start") Func start() $Start = NOT $Start While $Start $paste = ClipGet() Send ($paste, 1) Send ( "{ENTER}" ) Sleep ( 2000 ) WEnd EndFunc While 1 $msg = GUIGetMsg() Select Case $msg = $copybutton clipput(GUICtrlRead($input)) SplashTextOn ( "W3wT!", "Text has been copied.", 200, 22 ) Sleep (800) SplashOff () Case $msg = $GUI_EVENT_CLOSE SplashTextOn ( "Pe4c3 0u7!", "Now exiting. Later!", 150, 22 ) Sleep (600) SplashOff () Exitloop Case $msg = $exitbutton SplashTextOn ( "Pe4c3 0u7!", "Now exiting. Later!", 150, 22 ) Sleep (600) SplashOff () Exitloop EndSelect WEnd Actually, I am currently working on a RuneScape/Diablo2 spambot mix... i'm still a super noob to AutoIt also soo.... I just need to find out how to make drop-down menus lol. I'm off to post about that! The best Honda forums!RuneScape High Alching for Profit!
random667 Posted May 19, 2005 Posted May 19, 2005 (edited) if you can hit up or down in the games text field to bring up the last thing entered, you could script it to where you would hit enter to bring up the games input field, type in your spam, hit enter, then hit home as your hotkey(scripted to loop and send: Enter Up Enter) that way you could type your spam, hit the hotkey, and the script would start spamming away the last thing you entered. this would probably be the simplest script. Edited May 19, 2005 by random667 It is really sad to see a family torn apart by something as simple as a pack of wolves.
t0ddie Posted May 19, 2005 Posted May 19, 2005 i dont think he is online anymore.. but he did mention he needed it for diablo 2 and i have already posted a script that was for that game. i mean heck, he can copy and paste it.. no modification needed. Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.
hlstriker Posted May 19, 2005 Posted May 19, 2005 i dont think he is online anymore.. but he did mention he needed it for diablo 2 and i have already posted a script that was for that game.I didn't know if he wanted it for a channel or for ingame. The code you had looks like just for a channel, the code I posted you can use for ingame with just adding 1 line and editing the time delay. So both codes work The best Honda forums!RuneScape High Alching for Profit!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now