Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Bots & Macros
You last visited: Today at 03:44

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Shoots arrow & reload macro.

Discussion on Shoots arrow & reload macro. within the CO2 Bots & Macros forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2007
Posts: 10
Received Thanks: 0
Simple macro made with AutoIt v3. You just enter your arrow pack size, how many arrows go per scatter, pause you want between clicks, and how many arrows you have left in the pack (if you need to adjust values).

Turn it on/off with shift + alt + o.
Reset the amount of arrows left to the pack size with shift + alt + r.
Add the amount of arrows that get used per scatter to the amount left with alt + z. (Useful for lag.)

If you want continuous firing (if you have an arrow reloader that works better, or if you're not using it for arrows but for some other skill), check the checkbox up top.

Arrows go on F1. Make sure to have your skill you want (scatter) be active.

Once you press ok, the program will minimize to a tray icon. To get it back, click the icon and select Show Attributes.
You can exit by clicking the tray and selecting exit or by bringing up attributed and closing (red X or the close button).

Click the tray icon for additional stats - whether or not the macro is on (good for debugging or lag or if you're unsure), how many arrows left in the pack (N/A if you want continuous firing).

Just open up your CO window, press shift + alt + o, and point the mouse where you want the scatter (or whatever other skill you want) to go. I like to jump around bi auto-scattering - good exp.

Basically, this program just makes sure your fingers don't get tired after right-clicking a few thousand times.


Code: (Edit: formatting sucks. Forum's fault, not mine.)
Code:
;Gimp

#include <GUIConstants.au3>
#Include <Constants.au3>
#NoTrayIcon

$on = False
$packSize = 500
$arrPerShot = 3
$pause = 1000
$arrowsLeft = 500
$reload = True

HotKeySet("+!o", "toggleOn")
HotKeySet("+!r", "reset")
HotKeySet("!z", "addShot")


Opt("TrayMenuMode",1)
$showitem = TrayCreateItem("Show Attributes")
$hideitem = TrayCreateItem("Hide Attributes")
TrayCreateItem("")
$exititem = TrayCreateItem("Exit")
TrayCreateItem("")
TrayCreateItem("Macro on:")
$statusitem = TrayCreateItem($on)
TrayCreateItem("")
TrayCreateItem("Arrows left in pack: ")
$aleftitem = TrayCreateItem($arrowsLeft)
TraySetState()

$attrWindow = GUICreate("Arrow shooting and reloading")
$reloadInput = GUICtrlCreateCheckbox("Check to fire continuously", 200, 45)
   GUICtrlCreateLabel("Don't reload: ", 120, 48)
$packSizeInput = GUICtrlCreateInput("500", 195, 80, 40, 20, $ES_NUMBER)
   GUICtrlCreateLabel("Pack Size: ", 120, 82)
$arrPerShotInput = GUICtrlCreateInput("3", 195, 120, 40, 20, $ES_NUMBER)
    GUICtrlCreateLabel("Arrows/Shot: ", 120, 122)
$pauseInput = GUICtrlCreateInput("1150", 195, 160, 40, 20, $ES_NUMBER)
   GUICtrlCreateLabel("Pause/Shot: ", 120, 162)
$arrowsLeftInput = GUICtrlCreateInput("500", 195, 220, 40, 20, $ES_NUMBER)
    GUICtrlCreateLabel("Arrows left: ", 120, 222)
$buttonOk = GUICtrlCreateButton ("Ok.", 80, 300, 100)
$buttonClose = GUICtrlCreateButton ("Close.", 200, 300, 100)
GUISetState()

While 1
	$guimsg = GUIGetMsg()
	Select
 Case $guimsg = $GUI_EVENT_CLOSE
 	close()
 Case $guimsg = $buttonOk
 	setValues()
 	hideWindow()
 Case $guimsg = $buttonClose
 	close()
	EndSelect
	
	$traymsg = TrayGetMsg()
  Select
 Case $traymsg = $showitem
 	showWindow()
 Case $traymsg = $hideitem
 	hideWindow()
    Case $traymsg = $exititem
      close()
  EndSelect
	
	
	
	
	If $on Then
 attack()
 If $arrowsLeft < $arrPerShot And $reload Then
 	reload()
 EndIf
 
	EndIf
WEnd



Func addShot()
	$arrowsLeft = $arrowsLeft + $arrPerShot
	updateArrTray()
EndFunc

Func attack()
	$pos = MouseGetPos()
	MouseClick("secondary", $pos[0], $pos[1], 2, 1)
	$arrowsLeft = $arrowsLeft - $arrPerShot
	updateArrTray()
	GUICtrlSetData($arrowsLeftInput, $arrowsLeft)
	sleep($pause)
EndFunc

Func close()
	Beep(1000, 20)
	$msg = MsgBox(0x21, "Close?", "Do you really want to close?")
	
	If $msg = 1 Then
 Exit(0)
	EndIf
EndFunc

Func hideWindow()
	GUISetState(@SW_HIDE)
EndFunc

Func reload()
	Send("{F1}")
	reset()
EndFunc

Func reset()
	$i = 0
	$arrowsLeft = $packSize
	updateArrTray()
EndFunc

Func setValues()
	$packSize = GUICtrlRead($packSizeInput)
	$arrPerShot = GUICtrlRead($arrPerShotInput)
	$pause = GUICtrlRead($pauseInput)
	$arrowsLeft = GUICtrlRead($arrowsLeftInput)
	If GUICtrlRead($reloadInput) = $GUI_CHECKED Then
 $reload = False
	Else
 $reload = True
	EndIf
	updateArrTray()
EndFunc

Func showWindow()
	GUISetState(@SW_SHOW)
EndFunc

Func toggleOn()
	$on = NOT $on
	TrayItemSetText($statusitem, $on)
EndFunc

Func updateArrTray()
	If $reload Then
 TrayItemSetText($aleftitem, $arrowsLeft)
	Else
 TrayItemSetText($aleftitem, "N/A")
	EndIf
EndFunc
Scan please. Exe created with AutoIt 3.
Attached Files
File Type: ibf post-127-1171294851.ibf (204.2 KB, 61 views)
qogimp is offline  
Old 02/13/2007, 01:29   #2
 
a1blaster's Avatar
 
elite*gold: 0
Join Date: Jan 2006
Posts: 3,487
Received Thanks: 1,961
Here's your scan>>>
Quote:
Complete scanning result of "ArrowShootAndReloader.exe", received in VirusTotal at 02.13.2007, 00:43:00 (CET).

Antivirus Version Update Result
AntiVir 7.3.1.36 02.12.2007 no virus found
Authentium 4.93.8 02.12.2007 no virus found
Avast 4.7.936.0 02.12.2007 no virus found
AVG 386 02.12.2007 no virus found
BitDefender 7.2 02.13.2007 no virus found
CAT-QuickHeal 9.00 02.12.2007 no virus found
ClamAV devel-20060426 02.12.2007 no virus found
DrWeb 4.33 02.12.2007 no virus found
eSafe 7.0.14.0 02.12.2007 suspicious Trojan/Worm <---From UPX packer that is used
eTrust-Vet 30.4.3391 02.12.2007 no virus found
Ewido 4.0 02.12.2007 no virus found
Fortinet 2.85.0.0 02.12.2007 no virus found
F-Prot 4.2.1.29 02.12.2007 no virus found
F-Secure 6.70.13030.0 02.12.2007 no virus found
Ikarus T3.1.0.31 02.12.2007 IM-Worm.Win32.Sohanad.aa <--False positive from Autoit v3.2.2, known issue!
Kaspersky 4.0.2.24 02.13.2007 no virus found
McAfee 4961 02.12.2007 no virus found
Microsoft 1.2204 02.12.2007 no virus found
NOD32v2 2056 02.12.2007 no virus found
Norman 5.80.02 02.12.2007 no virus found
Panda 9.0.0.4 02.12.2007 no virus found
Sophos 4.13.0 02.12.2007 no virus found
Sunbelt 2.2.907.0 02.09.2007 no virus found
Symantec 10 02.13.2007 no virus found
TheHacker 6.1.6.056 02.11.2007 no virus found
UNA 1.83 02.09.2007 Worm.Win32.Sohanad.t <--False positive from Autoit v3.2.2, known issue!
VBA32 3.11.2 02.12.2007 IM-Worm.Win32.Sohanad.t <--False positive from Autoit v3.2.2, known issue!
VirusBuster 4.3.19:9 02.12.2007 no virus found


Aditional Information
File size: 215079 bytes
MD5: 1b33bf7c01eedb90aaed81c7fdb4eaa5
SHA1: 4c1f3f6f31eed92dbb8bd14d3d5b438176bcf588
packers: UPX
packers: UPX
packers: UPX
The rest show no virus found!

As with all programs on this forum, use at your own risk.
Learn how to setup and use fire walls.
Learn how to setup and use packet sniffers.

Posted code does match up with what is found inside decompiled ArrowShootAndReloader.exe.
a1blaster is offline  
Old 02/13/2007, 02:17   #3
 
elite*gold: 0
Join Date: Feb 2007
Posts: 10
Received Thanks: 0
Thanks, blaster.

On a side note, this can easily be adapted to spells by putting pots of F1 and counting how many times you can cast before potting is necessary.

Also, this obviously works for windowed and full-screen, co and other games, and anywhere else you need something to just keep clicking.

If you would like to change F1 to another hotkey, please see Func reload() and edit {F1} to whatever.
qogimp is offline  
Reply




All times are GMT +1. The time now is 03:45.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.