Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

OPIE fishing bot for WOW


  • Please log in to reply
313 replies to this topic
Opie
  • Members
  • 101 posts
  • Last active: Feb 04 2011 08:55 PM
  • Joined: 02 Nov 2009
Opie Auto Fisher

As the title implies, this is yet another pixel-searching fishing bot for World of Warcraft...


Features include:
- Automatic color calibration of water splash w/ optional scanning for bobber
- Automatic equipping of fishing rod and gear at start of fishing routine
- Automatic application of desired fishing buff
- Automatic sending of WOW commands at specified intervals
- Automatic opening of clams and any other items
- Fish for a desired amount of time or desired amount of casts, or until your bags are full
- Save preferences based on your characters
- Profile system to allow saving of last fishing area's settings (currently just saves water-splash color .. future updates may include camera angle among other things)
- Help text to guide you through first time run
- Randomized delays in between every click and command w/ random pauses & jumping between fish routines to help to appear more human
- A small GUI window that shows bot's status while its running
- Automatic updates

Images:
Posted Image - Posted Image

Posted Image - Posted Image

History:
1.52.5 Beta (Jan 15/ 11)
- Fixed account selection not actually changing to differing account settings (broken last beta due to changes in string managment - DOH!)
- Fixed rdm() function not returning random results

1.52.3 Beta (Dec 10/ 10)
- Fixed video checks.  Should properly bypass now if a Cataclysm is detected. *fingers crossed*
- Reworked WOW directory checking to search by folder instead of registry.
- Added change game folder option. - WARNING: If you change the directory from your default folder, you will lose your current profiles
- Removed zoom out to "original" view after fishing routine was completed.
- Fixed DND text not saving properly for each profile in some cases.)

1.51 (Aug 31/ 10)
- Fixed: Sending Readycheck() as OK when not all checks passed.
- Fixed: 'Use ControlSend' and 'Check for Updates' options not saving properly in some cases 
- Changed: More time variation to some Sleep events. 

1.50 (Aug 26/ 10)
- Fixed: Mouse-sweep should be functional again.
- Added: Allow auto update when uncompiled.
- Changed: Named settings selection 'All Characters' to 'Default Settings' for clarity.
- Changed: Wait time for cast when first calibrating from 6 to 7 seconds.
- Changed: Code restructuring.

1.49 (Aug 24/ 10)
- Added: Option to disable the auto calibrate splash color with the added ability to adjust up/down values
- Changed: Auto-calibrate color values changed to percentages. New defaults are 8% up and 10% down.
- Fixed: Help tooltips in Advanced Settings not showing right entries.
- Fixed: Small tweaks

1.48 (Aug 17/ 10)
- Added: Opie will ask user if they want to start WOW if its not found running
- Changed: Rearranged starting code sequence
- Changed: Changed some help/ walkthrough text
- Fixed: forgot to remove WIP top status bar last version (!!) - fixed now
- Fixed: Removed blank MessageBox when updating
- Fixed: Moved default starting position of window to center of the screen

1.47 (Aug 10/ 10)
- Added: A Character selection note/warning (Opie does not collect any personal information)
- Fixed: Small bug which allowed an update attempt when Opie executable or Window title was renamed from default
- Fixed: Bug where if no characters were selected for use in account selection, it would create a blank list.
- Fixed: Some code rearrangement

1.46 (Aug 08/ 10)
- Added: Progress indication when unpacking BMP/WAV data at first start
- Added: Start button
- Fixed: Not properly verifying WOW's path when reading registry entry
- Fixed: Opie won't look for D3D identifier in WOW window to see if WOW is running anymore - this *should* help some people with "please start WOW first" error

1.45 (May 10 /10)
- Changed: Adjusted water sensitivity modifers
- Changed: Some General code tweaking
- Fixed: Minor bugs

1.44
- changed: bobber scan tweaked and should now be fully functional again
- fixed: quit on error count firing prematurely
- fixed: commands not being sent when "Use slow method to send commands" is checked
- fixed: minor bugs

1.43
- changed: version history is now included in script instead of as a DL link
- fixed: stupid bug stopping Opie from fishing after camera setup (broken 1.41)
- fixed: recoded bags full check and increased time check (3500ms -> 5000ms)
- fixed: message box popping up every time Opie started when random title and auto-update were enabled

1.42
- changed: Opie will check for a proper executable and title name before attempting an update
- fixed: bobber scan working again ? (broken 1.40)
- fixed: some window ID issues
- added: new help tooltips

1.41
- added: built in sounds to signify when fishing has completed
- added: play button to preview sound when fishing is completed
- changed: sound file is now saved globally instead of per character
- fixed: small bug related to sound file not saving directory where it is contained
- fixed: error message saying to Start WOW

1.40
- added: email and forum links in About menu
- changed: completely recoded mouse sweep bobber function (let me know how its working please!)
- changed: rearranged autoexec code
- removed: Autostart WOW option
- fixed: DND not being reset when quitting
- fixed: minor GUI bugs

1.39
- changed: small speedup of bobber scan speeds
- changed: added small pause just before mouse sweep scan begins
- fixed: major bug not setting options per character (broken 1.38)
- fixed: small bug related to "Fish until condition..." setting 
1.38 (Feb 27/10)
- added: option to play WAV or MP3 file when fishing routine has finished
- fixed: small bug where checkbox "Fish until condition" was checked when nothing was selected
- moved modify accounts window to open near main windows x,y coords
- small GUI changes
- Opie will only update complied code (.exe) from now on

1.36 (Feb 13/10)
- GUI tweaks
- rearranged preferences
- updated tooltip help

1.35
- fixed loot window not being detected for old position
- bug fixes for the update routine

1.34 (Feb 03/10)
- Added: Option to set DND (Do not disturb) while fishing (UNTESTED)
- slightly changed randomly jump routine
- improved Warcraft install directory checking
- moved sendevent and slow sendtext options to advanced tab 
- advanced tab will now be visible at all times

1.33
- fixed: clam count not changing for each account
- fixed: 'cleaned up' account selecting code (not very elegant, but works :P)

1.32
- Added button to allow a reset of the slash-command key back to your WOW setting
- Advanced tab will now hide if All characters isnt selected
- Fixed: unwanted resetting of key slash if different then whats in WOW config (if user has changed it)
- Fixed: tooltip help in preferences (broken 1.31)

1.31 (Jan 26/ 10)
- Differing configuraton profiles based on Characters
- Opie now automatically checks current character for the keybinding "OPENSLASHCHAT" in WOW config
- Split up jump and pause events
- Fixed: dropdown menus in preferences getting messed up between character switches
- Fixed: small delay after line is cast (thanks Xhizors)
- Fixed: fish area not being set for "odd" resolutions
- Fixed: detection of odd screen resolutions now just warns user instead of exiting app
- Rearranged preferences window

1.30 (Jan 17/ 10)
- widened fishing area for 4:3 resolutions
- removed 2nd color check for bobber sweep scan
- improved hotkey parsing
- fixed newly broken sendcommand function (i got a lot to learn lol) 
- improved variable saving to config.ini
- small GUI fixes

1.29
- rewrote send command function -- this should be final fix (thanks Joe Black)
- fixed: Clam checker wont fire even when unchecked (thanks for feedback)

1.28 
- fixed: Command and Gear lists not being saved properly (for real this time!)

1.27
- added slider control to allow adjustment of delay when using slow send command method
	(adjust higher for more delay, thus slower sending)
- fixed: (broken 1.26) bags full fishing method

1.26 (Jan 07/ 10)
- added option to use a different slash command key 
- added option to show or hide tray icon
- rearranged preferences
- Opie won't set blank variables when reading config.ini
- changed fish until bags full behavoir to quit after 3 positive checks (in a row)

1.25
- user mouse movement and/or keystrokes now automatically pauses script
- Opie will now ask for a WOW install path from user if one isnt found or is invalid
- if an erroneous config entry is found, it will be deleted 
- reading config.ini will not report errors to user
- Opie will now save all variables on exit
- fixed: bug where Opie wouldn't quit if stopped during calibration

1.22
- fixed: some minor bugs
- fixed: not sending wintergrasp (and extra) commands during cast routine (oops!)
- added walkthrough option to menu (hacky)
- added variable check to stop errors when loading any erronous config entries
- added info message box when selecting random title option
- changed preferences to stop querying every single GUI element when changing one option
- some small GUI tweaks

1.21
- fixed: list (Command, Gear and Clam) variables not being saved properly  (thanks Twoboxingrandy)
- fixed: window moving when creating a new profile

1.20
- fixed: Opie won't exit main loop after selecting Stop
- changed cast routine to send clicks more frequently to join wintergrasp
- cleaned up some progress bars

1.19
- fixed: a selected profile would be unselected after restaring
- fixed: some variables were sometimes not saving properly
- fixed: You have a choice (again) to use Help  :P
- fixed: showing window when quitting
- renaming a profile now allows Uppercase/lowercase changes without an error
- renaming a profile won't change order of profile list 
- tweaks to update routine
- general code cleanup

1.18  (Dec 17/ 09)
- added option (advanced) to change where loot window will open
- no more window transparency when fishing (may change later)
- changed sensitivity adjustment to be proportional to current water sensitivity (ie- less adjustment at lower numbers)
- added a red pixelsearch just after cursor change in bobber scan for a more accurate splash scan
- decreased size of splash scan when using mouse sweep method
- GUI tweaks

1.16  (Dec 5/ 09)
- merged profiles.cfg and config.ini > config.ini
- fixed trying to select last profile in list error after the last profile has been deleted
- fixed some mispelled variables O.o
- bug fixes

1.15 (Dec 4/ 09)
- added option to use random window title
- added option to allow for specified time or fish

1.14 (Dec 1/ 09)
- more GUI tweaks
- fixed status window not reverting to original state when stopping	routine

1.13 (Nov 29/ 09)
- embedded BMP/ICO pictures into AHK script (thanks Veovis)
- config and profile files now moved to \APP_DATA\opie  (win 7 users: \Users\[UserName]\AppData\Roaming\opie)

1.11 (Nov 27/ 09)
- reworked update code to allow updates if running compiled version  (if you are running a compiled version earlier then this, you will need to run the AHK source to get the update)
- fixed broken (1.09) Start/Stop in menu
- fixed some thread priority issues
- move status window automatically out of fishing area

1.10  (Nov 26/ 09)
- fixed broken loot detection (sorry!)
- recoding of SendCommand
- fixed speed of status indictator across platforms
- *more* GUI tweaks/ fixes
- code cleanup

1.09  (Nov 25/ 09)
- fixed terrible GUI fade-out transitions
- changed status_check timer to 500ms
- minor GUI tweaks
- auto update set on as default
- changed file checking mehtod when updating

1.08  (Nov 23/ 09)
- auto/manual update checking
- more GUI tweaks/ fixes (very BETAish)
- added an option to quit fishing until bags are full
- slight speed improvments for casting routine 
- better config file handling if newer version is started
- changed default window location
- expanded tooltip help in preferences
- changed casttime in command list from milliseconds to seconds ( you will need to reenter this list )
- increased amount of 'rest' time during random pause phase
- fixed some variables not being saved

1.07  (Nov 19/ 09)
- preferences window is now merged into main window
- GUI tweaks
- added cast time to wow commands
- more random delays in between clicks and commands
- fixed profile not being saved across restarts
- decreased size of fish scan area slightly
- fixed sendevent option (doh!)
- finally fixed sending text issue across platforms??
- minor bug fixes/ tweaks

1.06  (Nov 19/ 09)
- added skip help option at start
- fixed commands not being sent to wow on EU clients (thanks delete/Argah)			
- delete config file automatically if newer version is started
- other stuff

1.05  (Nov 16/ 09)
- more robust loot 'detection' (more pixelsearches :P) - still uses default loot window position
- revamped profile writing/reading (last time!) - now allows for easier implementation of future profile options  
- changed 'Use/Cast list' to 'WOW Command list'
- Mr. cleanup

1.04  (Nov 12/ 09)
- changed clam, gear and auto-use lists to an easier editing (and readable) format
- removed a few options and rearranged others in preferences
- changed fishing box to include a countdown timer
- added WOW video options configurator/checker to make sure proper video options are set
- a reworking of first-time user help system
- fixed some msgboxes
- cleaned up menu building
- profile selected now saves across sessions

1.03  (Nov 11/ 09)
- added an option to use a fishing macro instead of the hardwired '/cast fishing'
- fixed cast/use list feature
- code cleanup (lol riiiight)
- other fixes
- other stuff 

1.02
- added Profiles -- you can save or select a profile based on what area you fish in (allows skipping of water calibration)
- much improved pause while WOW not active code
- changed main window from toolwindow to regular to help fix 'being hidden under WOW bug'
- more code cleanup

1.01 (Nov 10/ 09)
- fixed bug where variables were being reverted to 1
- cleaned up iniread/write routines
- sorta/kinda somewhat fixed auto pause when wow not active feature
- changed menu item 'Start' to change to 'Stop' when running and vice-versa
- cleaned up config menu a bit 
- fixed hidden window bug
- added F10- start, F11- restart, (reload), and F12- quit  to hotkeys

1.00	(Nov 9/ 09)
- initial release

--> NOTE: THIS BOT WILL BREAK BLIZZARDS EULA AGREEMENT. You might get banned if caught using this. ** USE AT YOUR OWN RISK **


Instructions:
1. DL file
2. Copy folder anywhere and run Opie.ahk or Opie.exe
3. Get to your favorite fishing spot
4. Create a new profile, then select Start
5. Opie will run you through some basic instructions if you haven't run it before.


A few things to know:

- ISSUES SUCH AS TEXT SPAMMING: opening bags, jumping, opening windows, doing random stuff in quick succession or spamming chat with commands is almost assuredly Opie not sending the proper "slash" (default "/") command to WOW. The slash key opens the command input box where you can type things like "/dance" or "/laugh" (the same as Enter or chat). I added an option in Preferences to try and retrieve the key binding from your Warcraft CONFIG.WTF file. (In Cataclysm, which I can't currently test, it seems to have some issues retrieving the key). If it isn't working for you, try using a different key in Warcraft and set the same key in Opie. It seems that EU and US keyboards are much different when it comes to the "/" key.
- If the input being entered in the game is 'broken up' or not showing up at all, try checking "Use Slower method to send commands to WOW" and/ or "Use SendEvent to send Commands to WOW". A combination of these two options *should* solve most text speed problems (especially, it seems, on slower computers).
- Opie needs to Auto-loot set ON to loot anything.
- Opie doesn't work well around other people fishing, as it's only a pixel color scanner ... it will mistake other peoples splash's as yours.
- If you aren't using the loot at cursor option in Warcraft, your loot window needs to be set in the default layout with the default 'skin' for Opie to verify that it has caught a fish, thus allowing auto color calibration to work properly.
- For best results, make sure when you are setting up your camera angle, you get as much water within the box as possible. Do not allow mod windows, your portrait or group/raid windows, etc to be inside the 'fish zone'.
- A good rule of thumb when setting up the fish area is to place the top edge of the fish-box on the waters edge/ horizion.

[Download v1.52.5 Beta - CATACLYSM ] - Jan 15/ 2011
[Download v1.51 Final Stable - LICH KING ] - Aug 29/ 2010



Astrognaw
  • Members
  • 26 posts
  • Last active: Dec 02 2009 05:38 PM
  • Joined: 27 Mar 2009
Really nice work. I appreciate all the time you put into this. 1.0 didn't work for me, anywhere I fished it said there was too much splash color, but this did the job fantastically.

By the way, there might be a way to detect if the cursor shows up with the lootable icon, to avoid trying to catch other's fish. You'd know better than I.

And to anyone who doesn't like this because it's 'cheating': Repetitive tasks are meant to be automated, even in games. :)


Thanks again Opie!

Opie
  • Members
  • 101 posts
  • Last active: Feb 04 2011 08:55 PM
  • Joined: 02 Nov 2009

Really nice work. I appreciate all the time you put into this. 1.0 didn't work for me, anywhere I fished it said there was too much splash color, but this did the job fantastically.

By the way, there might be a way to detect if the cursor shows up with the lootable icon, to avoid trying to catch other's fish. You'd know better than I.

And to anyone who doesn't like this because it's 'cheating': Repetitive tasks are meant to be automated, even in games. :)


Thanks again Opie!


Appreciated :wink: Glad its working good for you.
In regards to finding the bobber amongst others, there is an option in preferences to find your bobber via cursor change. When it locates it, it will scan a small area (100x100 pixels) around it for water. This method *might* make it a little more accurate, at the cost of speed. I find just scanning just for a water splash to be a much simpler and faster method. Not to mention, there are lots of places to fish where noone is around - so for me its really a non-issue. Let me know if you want some refinement to the bobber scan method - I may just take it up.

Opie
  • Members
  • 101 posts
  • Last active: Feb 04 2011 08:55 PM
  • Joined: 02 Nov 2009
Version 1.02 is up -- a quick hacked in profiles feature was added. I'm sure Ive missed many bugs, but I dont really have alot of time to test it out at the moment. I will give it some testing later. Please post any feedback :D

Opie
  • Members
  • 101 posts
  • Last active: Feb 04 2011 08:55 PM
  • Joined: 02 Nov 2009
version 103 is up - some code cleanup and other things

Opie
  • Members
  • 101 posts
  • Last active: Feb 04 2011 08:55 PM
  • Joined: 02 Nov 2009
v104 is up - tons o fixes -- hopefully this one is bugfree :p

Opie
  • Members
  • 101 posts
  • Last active: Feb 04 2011 08:55 PM
  • Joined: 02 Nov 2009
more bugfixes ... 1.05 is up

- fixed water sensitivity variable not being set at startup with profile
- fixed main screen not showing on startup in some cases
- fixed clam AND use list features
- fixed profile startup/rewriting bug
- more GUI code cleanup (ugh! how do i miss these things??)

delete
  • Members
  • 12 posts
  • Last active: Aug 19 2010 03:59 PM
  • Joined: 14 Nov 2009
Nice idea, but the latest version did not work at all for me..
All it did was to jump backwards, open random windows in-game like social, map, quest log and so on.

Im guessing my binds aint like yours?

Opie
  • Members
  • 101 posts
  • Last active: Feb 04 2011 08:55 PM
  • Joined: 02 Nov 2009

Nice idea, but the latest version did not work at all for me..
All it did was to jump backwards, open random windows in-game like social, map, quest log and so on.

Im guessing my binds aint like yours?


not using binds at all ... Im guessing your WOW app cant take the stream of text being sent to it - it might be sending the strings too fast.
You could try selecting 'use sendinput instead of sendplay' in advanced options, or remove the line "SetBatchLines -1" and see if it works...

what OS you using?

delete
  • Members
  • 12 posts
  • Last active: Aug 19 2010 03:59 PM
  • Joined: 14 Nov 2009

Nice idea, but the latest version did not work at all for me..
All it did was to jump backwards, open random windows in-game like social, map, quest log and so on.

Im guessing my binds aint like yours?


not using binds at all ... Im guessing your WOW app cant take the stream of text being sent to WOW - its probably being sent too fast -- what OS you using?


same with sendinput

windows 7

Opie
  • Members
  • 101 posts
  • Last active: Feb 04 2011 08:55 PM
  • Joined: 02 Nov 2009

Nice idea, but the latest version did not work at all for me..
All it did was to jump backwards, open random windows in-game like social, map, quest log and so on.

Im guessing my binds aint like yours?


not using binds at all ... Im guessing your WOW app cant take the stream of text being sent to WOW - its probably being sent too fast -- what OS you using?


windows 7

strange -- works like a charm here (Win7)-- check my post again i just edited it with some things to try

delete
  • Members
  • 12 posts
  • Last active: Aug 19 2010 03:59 PM
  • Joined: 14 Nov 2009
ye, updated mine aswell.. cant seem to find SetBatchLines -1 thou.

Opie
  • Members
  • 101 posts
  • Last active: Feb 04 2011 08:55 PM
  • Joined: 02 Nov 2009

ye, updated mine aswell.. cant seem to find SetBatchLines -1 thou.


look after all the comments at the start:

/*
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
            OPIE AUTO FISHER
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Thanks to Autohotkey and it's GREAT community and fourms for making all of this so much fun  :D

1.00:		
			- initial release

1.01: 		
			- fixed bug where variables were being reverted to 1
			- cleaned up iniread/write routines
			- sorta/kinda somewhat fixed auto pause when wow not active feature
 			- changed menu item 'Start' to change to 'Stop' when running and vice-versa
			- cleaned up config menu a bit 
			- fixed hidden window bug
			- added F10- start, F11- restart, (reload), and F12- quit  to hotkeys

1.02:     	
			- added Profiles -- you can save or select a profile based on what area you fish in (allows skipping of water calibration)
			- much improved pause while WOW not active code
			- changed main window from toolwindow to regular to help fix 'being hidden under WOW bug'
			- more code cleanup

1.03:		
			- added an option to use a fishing macro instead of the hardwired '/cast fishing'
			- fixed cast/use list feature
			- code cleanup (lol riiiight)
			- other fixes
			- other stuff 
		
1.04:		
			- changed clam, gear and auto-use lists to an easier editing (and readable) format
			- removed a few options and rearranged others in preferences
			- changed fishing box to include a countdown timer
			- added WOW video options configurator/checker to make sure proper video options are set
			- a reworking of first-time user help system
			- fixed some msgboxes
			- cleaned up menu building
			- profile selected now saves across sessions

1.05		
			- fixed water sensitivity variable not being set at startup with profile
			- fixed main screen not showing on startup in some cases
			- fixed profile startup/rewriting bug (how do i miss these things??)
			- fixed clam AND use list features 
			- more GUI code cleanup (ugh...)
			
1.06		
			- more robust loot 'detection' (more pixelsearches :P) - still uses default loot window position
			- revamped profile writing/reading (last time!) - now allows for easier implementation of future profile options
			- changed 'Use/Cast list' to 'WOW Command list'
			- Mr. cleanup
			
*/

ver = v1.06
#SingleInstance Force
#InstallKeybdHook
#InstallMouseHook
#WinActivateForce
DetectHiddenWindows On
OnExit Quit_fish_exitapp
CoordMode Pixel, relative
SetBatchLines -1



delete
  • Members
  • 12 posts
  • Last active: Aug 19 2010 03:59 PM
  • Joined: 14 Nov 2009
you haven't released 1.06 yet mate? =)
its not in the 1.05 version.

Opie
  • Members
  • 101 posts
  • Last active: Feb 04 2011 08:55 PM
  • Joined: 02 Nov 2009

you haven't released 1.06 yet mate? =)
its not in the 1.05 version.

doh my bad :oops:

well if you want you can set the default speed between strings ... if you look for this code:

SendText(text, pause=30)
{
	global wow_id, option_use_sendinput
	if ( Winactive(wow_id) ) 
	{
		if ( option_use_sendinput )
			sendinput %text%
		else sendplay %text%
		sleep %pause%
		return 1
	}
	return 0	
}

...and change pause=30 to pause=80 or even 100 if that works ill make sure to change it ovr for next ver