- Http://Svipul.net
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private File appFileFinder(String folder, String file) { | |
String OS = System.getProperty("os.name").toUpperCase(); | |
if (OS.contains("WIN")) { | |
if (new File(System.getenv("APPDATA")).exists()) { | |
if (!new File(System.getenv("APPDATA") + "/"+folder).exists()) { | |
new File(System.getenv("APPDATA") + "/"+folder).mkdirs(); | |
} | |
return new File(System.getenv("APPDATA") + "/"+folder+"/" ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Image getImage(String URL, String location) { | |
Image image = null; | |
try { | |
if(!location.endsWith("/") && !location.endsWith("\\") && !location.trim().empty()) | |
location.concat("/"); | |
URL url = new URL(URL); | |
File file = new File(location + url.getFile()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.Color; | |
public class Colors { | |
/* Parse with PHP by Cakemix */ | |
/* Parsed from http://en.wikipedia.org/wiki/List_of_colors */ | |
public static Color AirForceblueRAF = new Color(0x5D8AA8); | |
public static Color AirForceblueUSAF = new Color(0x00308F); | |
public static Color Airsuperiorityblue = new Color(0x72A0C1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
import org.powerbot.game.api.methods.Widgets; | |
import org.powerbot.game.api.wrappers.widget.WidgetChild; | |
/** | |
* Quest related methods | |
* | |
* @author Cakemix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[NAME||TAGS||MEMBERS||QUEST - 2012/06/23 12:50:51] | |
Abyssal vine whip||Weapon||false||false | |
Abyssal whip||Weapon||false||false | |
Adamant 2h sword||Melee,Weapon||false||false | |
Adamant battleaxe||Melee,Weapon||false||false | |
Adamant cane||Weapon||false||false | |
Adamant ceremonial sword i||Melee,Weapon||false||false | |
Adamant ceremonial sword ii||Melee,Weapon||false||false | |
Adamant ceremonial sword iii||Melee,Weapon||false||false | |
Adamant ceremonial sword iv||Melee,Weapon||false||false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Super strength (4) | |
Super attack (4) | |
Super defence (4) | |
Saradomin brew (4) | |
Super restore (4) | |
Saradomin brew (1) | |
Saradomin brew (2) |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"0","name":"Dwarf remains","revision":"317"},{"id":"1","name":"Tool kit","revision":"317"},{"id":"2","name":"Cannonball","revision":"317"},{"id":"3","name":"Nulodion's notes","revision":"317"},{"id":"4","name":"Ammo mould","revision":"317"},{"id":"5","name":"Instruction manual","revision":"317"},{"id":"6","name":"Cannon base","revision":"317"},{"id":"7","name":"Cannon base","revision":"317"},{"id":"8","name":"Cannon stand","revision":"317"},{"id":"9","name":"Cannon stand","revision":"317"},{"id":"10","name":"Cannon barrels","revision":"317"},{"id":"11","name":"Cannon barrels","revision":"317"},{"id":"12","name":"Cannon furnace","revision":"317"},{"id":"13","name":"Cannon furnace","revision":"317"},{"id":"14","name":"Railing","revision":"317"},{"id":"15","name":"Holy table napkin","revision":"317"},{"id":"16","name":"Magic whistle","revision":"317"},{"id":"17","name":"Grail bell","revision":"317"},{"id":"18","name":"Magic gold feather","revision":"317"},{"id":"19","name":"Holy grail","revision":"317"},{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0:Dwarf remains:317 | |
1:Tool kit:317 | |
2:Cannonball:317 | |
3:Nulodion's notes:317 | |
4:Ammo mould:317 | |
5:Instruction manual:317 | |
6:Cannon base:317 | |
7:Cannon base:317 | |
8:Cannon stand:317 | |
9:Cannon stand:317 |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Dumped by cakemix to readable. | |
"Hans" [id = 0, visible on map = true, combat level = 0, attackable = false, member = false, actions = [Talk-to]], | |
"Man" [id = 1, visible on map = true, combat level = 2, attackable = true, member = false, actions = [Talk-to, Attack, Pickpocket]], | |
"Man" [id = 2, visible on map = true, combat level = 2, attackable = true, member = false, actions = [Talk-to, Attack, Pickpocket]], | |
"Man" [id = 3, visible on map = true, combat level = 2, attackable = true, member = false, actions = [Talk-to, Attack, Pickpocket]], | |
"Woman" [id = 4, visible on map = true, combat level = 2, attackable = true, member = false, actions = [Talk-to, Attack, Pickpocket]], | |
"Woman" [id = 5, visible on map = true, combat level = 2, attackable = true, member = false, actions = [Talk-to, Attack, Pickpocket]], | |
"Woman" [id = 6, visible on map = true, combat level = 2, attackable = true, member = false, actions = [Talk-to, Attack, Pickpocket]], | |
"Farmer" [id = 7, visible on map = true, combat level = 7, attackable = |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.AlphaComposite; | |
import java.awt.Color; | |
import java.awt.Desktop; | |
import java.awt.Font; | |
import java.awt.Graphics; | |
import java.awt.Graphics2D; | |
import java.awt.Image; | |
import java.awt.Point; | |
import java.awt.Rectangle; | |
import java.awt.RenderingHints; |