Skip to content

Instantly share code, notes, and snippets.

@CalebWhiting
CalebWhiting / DTM.java
Last active November 24, 2016 22:46
DTM
import org.dang.api.script.wrappers.DTMCentral;
import org.dang.api.script.wrappers.DTMSubPoint;
import org.runedream.api.methods.Game;
import org.runedream.api.methods.ImageUtil;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.LinkedList;
import java.util.List;
@CalebWhiting
CalebWhiting / DTMCentral.java
Last active November 24, 2016 22:46
DTMCentral
import java.awt.*;
/**
* @author Caleb Date: 28/03/12 Time: 15:22
*/
public class DTMCentral {
private final Color color;
private final int tolerance;
@CalebWhiting
CalebWhiting / DTMSubPoint.java
Last active November 24, 2016 22:46
DTMSubPoint
import org.dang.api.script.methods.DUtils;
import org.runedream.api.methods.Game;
import java.awt.*;
import java.awt.image.BufferedImage;
/**
* @author Caleb Date: 28/03/12 Time: 15:22
*/
public class DTMSubPoint {
import java.awt.*;
/**
* @author Caleb Date: 27/04/12 Time: 22:38
*/
public class PaintUtil {
public static class ColorString {
private final Color color;
import cspro.com.api.util.paint.swing.UI;
import cspro.com.clues.executables.WidgetCloser.Closable;
import org.powerbot.concurrent.Task;
import org.powerbot.concurrent.strategy.Condition;
import org.powerbot.concurrent.strategy.Strategy;
import org.powerbot.game.api.methods.Game;
import org.powerbot.game.api.methods.input.Mouse;
import org.powerbot.game.api.methods.interactive.NPCs;
import org.powerbot.game.api.methods.interactive.Players;
import org.powerbot.game.api.methods.node.SceneEntities;
package com.dang.clues.scrolls;
import com.dang.api.method.misc.Executors;
import com.dang.api.transport.Lodestone;
import com.dang.api.transport.UltraWalking;
import com.dang.api.transport.walking.Unit;
import com.dang.api.transport.walking.wrappers.Door;
import com.dang.api.transport.walking.wrappers.Obstacle;
import com.dang.api.transport.walking.wrappers.Sequence;
import com.dang.api.transport.walking.wrappers.UnitObject;
@CalebWhiting
CalebWhiting / gist:3381329
Created August 17, 2012 18:25
DIYMiner.java
/**
* DIYMiner.java
*
* @author Caleb/JDK_7
*
* Feed free to use, modify and learn from this code (That is what it is made for),
* all that I ask is that you don't redistribute any of my code without giving appropriate
* credits.
*
* Thank you, Caleb.
0 = Dwarf remains
1 = Toolkit
2 = Cannonball
3 = Nulodion's notes
4 = Ammo mould
5 = Instruction manual
6 = Cannon base
7 = Cannon base
8 = Cannon stand
9 = Cannon stand
This file has been truncated, but you can view the full file.
#0 , name = 'Dwarf remains'
ground-actions = [null, null, null, null, Destroy]
invent-actions = [null, null, Take, null, null]
#1 , name = 'Toolkit'
ground-actions = [null, null, null, null, Destroy]
invent-actions = [null, null, Take, null, null]
#2 , name = 'Cannonball'
ground-actions = [null, null, null, null, Drop]
invent-actions = [null, null, Take, null, null]
#3 , name = 'Nulodion's notes'
This file has been truncated, but you can view the full file.
#0 , name = 'Dwarf remains'
invent-actions = [null, null, null, null, Destroy]
ground-actions = [null, null, Take, null, null]
#1 , name = 'Toolkit'
invent-actions = [null, null, null, null, Destroy]
ground-actions = [null, null, Take, null, null]
#2 , name = 'Cannonball'
invent-actions = [null, null, null, null, Drop]
ground-actions = [null, null, Take, null, null]
#3 , name = 'Nulodion's notes'