Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[FREE] Fishing Guild Fisher | Both docks

Featured Replies

Note: extremely outdated and unmaintained

 

This is just a quick script I made when the other scripts I tried using to fish sharks in the fishing guild didnt work, and decided to continue developing it a bit.

 

Started out as a private small project, but turned out that a lot of people liked it so I continued the development.

 

Start either at the docks or in the bank of the fishing guild, with the fishing tool in your inventory. (also supports barbarian style fishing

for sharks and swordfish/tuna)

 

Features

 

Shark, lobster, swordfish and tuna fishing

Efficient fishing and banking methods

Supports barbarian style fishing

Human-like behavior

Update checker

 

Upcoming features:

 

Time till next level in paint

Reworked paint

 

 

HbpHtsE.png

 

Changelog:

 

2.0

Rewrote the whole script!

 

1.23

Fixed issues with fishing spot recognition

 

1.22

Switched fishing spot recognition technique

 

1.21

Fixed issue with centering the mouse

Fixed price checking

Added update checker

Further optimizations, cleaned up old inefficient code

Added option to wait before banking

 

1.20

Prices are now grabbed from Grand Exchange

Added failsafe methods

Cleaned up the code for increased performance

 

1.19

Added webwalking

Further CPU usage reduction

 

1.18

Fixed a banking issue

 

1.17

Fixed option values not corresponding to the inputted GUI ones

 

1.16

Disabled mouse speed option, changing the speed setting in OSBot is now deprecated

Fixed came adjusting issues (again)

 

1.15

Fixed camera adjusting issues

 

1.14

Fixed malfunctions caused by updates

 

1.13

Reduced CPU usage

Fixed bank deposit spamming issue

 

1.12

Increased waiting before interacting from 15 to 30 seconds in the GUI

Added waiting time deviation

 

1.11 

Made starting and stopping the script a lot faster

Fixed status bugging out when fishing

 

1.1 

Fixed bot trying to switch fishing spots which is on the other docks for real this time

Script should now be flawless

 

1.09

Fixed a couple GUI bugs
GUI is now centered
Optimized fishing method

 

1.08

Reworked GUI

Added a bunch of new options in the GUI

Reworked fishing and banking methods

 

1.07

Tweaked some numbers in paint

Fixed issues with status in paint

 

1.06

Reworked paint

Added a wanky cursor

Seperated methods into classes (now you have to decompile for the source code)

Fixed a bug where theres a 1% chance that the bot wont walk to the bank

Reworked walking paths

 

1.05

Fixed bot getting stuck on certain occasions

Fixed bot walking behind the bank

 

1.04

Added XP gained and per hour to paint

Removed a couple unnecessary lines of code to make fishing and banking faster

Cleaned up the code a bit

 

1.03

Added lobster, swordfish and tuna support!
Added very basic GUI
Improved paint (added percent till next level by Pug)
Made so that the script won't reach out for fishing spots that are on the other docks anymore
Changed name from Damighty's Fishing Guild Shark Fisher to Damighty's Fishing Guild Fisher

 

1.02
Improved paint a little bit

Made some optimizations for greater effeciency

Added a Zybez price checker (thanks to TheScrub)

1.01
Fixed bot trying to return to original location after trying to fish a fishing spot thats on the other dock

1.0
Release 

 

Source code and bug reporting (GitHub)

 

Download 2.0 (Dropbox) [Latest update: 17.1.2017]

 

17 hour proggy: 

 

Q12G7QM.png

Edited by Damighty

Looks Nice.

darn didnt realize that fishing guild is members only :(.

 

Also, because you posted source i'd like to ask you... Would you mind if i completely scrapped your code for a private script? (: (if i release i will give full credit)

Edited by tmanowen

  • Author

darn didnt realize that fishing guild is members only sad.png.

 

Also, because you posted source i'd like to ask you... Would you mind if i completely scrapped your code for a private script? (: (if i release i will give full credit)

 

sure, go ahead. i wouldnt care even if u would literally copy paste it, i just made it for some fun and learning experience.

sure, go ahead. i wouldnt care even if u would literally copy paste it, i just made it for some fun and learning experience.

 

well tysm (:

  • 2 weeks later...

some feedback on start you shouldn't say raw sharks are 900 just do a simple zybez grab

	private static String getZybezRawDataString(String item) {
		if (item == null) {
			return null;
		}
		String s = null;
		try {
			item = java.net.URLEncoder.encode(item, "UTF-8");
		} catch (UnsupportedEncodingException e) {
			System.out.println("Failed to encode item name!");
			e.printStackTrace();
		}
		URL url = null;
		try {
			url = new URL(LINK + item);
		} catch (MalformedURLException e) {
			System.out.println("Invalid Request!");
			e.printStackTrace();
		}
		if (url != null) {
			HttpURLConnection urlConn = null;
			try {
				urlConn = (HttpURLConnection) url.openConnection();
			} catch (IOException e) {
				e.printStackTrace();
			}
			if (urlConn != null) {
				urlConn.addRequestProperty("User-Agent", "Mozilla/4.51");

				BufferedReader br = null;
				try {
					br = new BufferedReader(new InputStreamReader(urlConn.getInputStream()));
				} catch (IOException e1) {
					e1.printStackTrace();
				}
				if (br != null) {
					try {
						s = br.readLine();
					} catch (IOException e) {
						e.printStackTrace();
					}
					try {
						br.close();
					} catch (IOException e) {
						e.printStackTrace();
					}
				}
			}
		}
		return s;
	}

	private final static String LINK = "http://forums.zybez.net/runescape-2007-prices/api/item/";

	public static int priceLookUp(String itemName) {
		String rawData = getZybezRawDataString(itemName);
		if (rawData != null) {
			String tokens[] = rawData.split("\"average\":");
			if (tokens.length > 1)
				if (tokens[1].contains(",")) {
					String number = tokens[1].split(",")[0];
					return parseQuantity(number);
				}
		}
		System.out.println("Invalid Request");
		return -1;
	}

	private static int parseQuantity(String text) {
		if (text == null) {
			return -1;
		}

		if (text.contains("(") && text.contains(")")) {
			text = text.substring(text.indexOf('(') + 1, text.indexOf(')'));
			try {
				NumberFormat.getIntegerInstance(java.util.Locale.US).parse(text).intValue();
			} catch (ParseException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}

		try {
			return NumberFormat.getIntegerInstance(java.util.Locale.US).parse(text).intValue();
		} catch (ParseException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return -1;
	}

 

6b7eb4effd.png

some feedback on start you shouldn't say raw sharks are 900 just do a simple zybez grab

	private static String getZybezRawDataString(String item) {
		if (item == null) {
			return null;
		}
		String s = null;
		try {
			item = java.net.URLEncoder.encode(item, "UTF-8");
		} catch (UnsupportedEncodingException e) {
			System.out.println("Failed to encode item name!");
			e.printStackTrace();
		}
		URL url = null;
		try {
			url = new URL(LINK + item);
		} catch (MalformedURLException e) {
			System.out.println("Invalid Request!");
			e.printStackTrace();
		}
		if (url != null) {
			HttpURLConnection urlConn = null;
			try {
				urlConn = (HttpURLConnection) url.openConnection();
			} catch (IOException e) {
				e.printStackTrace();
			}
			if (urlConn != null) {
				urlConn.addRequestProperty("User-Agent", "Mozilla/4.51");

				BufferedReader br = null;
				try {
					br = new BufferedReader(new InputStreamReader(urlConn.getInputStream()));
				} catch (IOException e1) {
					e1.printStackTrace();
				}
				if (br != null) {
					try {
						s = br.readLine();
					} catch (IOException e) {
						e.printStackTrace();
					}
					try {
						br.close();
					} catch (IOException e) {
						e.printStackTrace();
					}
				}
			}
		}
		return s;
	}

	private final static String LINK = "http://forums.zybez.net/runescape-2007-prices/api/item/";

	public static int priceLookUp(String itemName) {
		String rawData = getZybezRawDataString(itemName);
		if (rawData != null) {
			String tokens[] = rawData.split("\"average\":");
			if (tokens.length > 1)
				if (tokens[1].contains(",")) {
					String number = tokens[1].split(",")[0];
					return parseQuantity(number);
				}
		}
		System.out.println("Invalid Request");
		return -1;
	}

	private static int parseQuantity(String text) {
		if (text == null) {
			return -1;
		}

		if (text.contains("(") && text.contains(")")) {
			text = text.substring(text.indexOf('(') + 1, text.indexOf(')'));
			try {
				NumberFormat.getIntegerInstance(java.util.Locale.US).parse(text).intValue();
			} catch (ParseException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}

		try {
			return NumberFormat.getIntegerInstance(java.util.Locale.US).parse(text).intValue();
		} catch (ParseException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return -1;
	}

 

6b7eb4effd.png

 

Thanks for this snippet :D

  • 3 weeks later...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.