This file contains hidden or 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
| package stages.two; | |
| import java.io.*; | |
| import java.util.*; | |
| /** | |
| * @author pxpc2 | |
| */ | |
| public class LogMerger | |
| { |
This file contains hidden or 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
| package stages.two; | |
| import java.io.*; | |
| import java.util.*; | |
| /** | |
| * @author pxpc2 | |
| */ | |
| public class LogMerger { |
This file contains hidden or 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
| package contrib; | |
| import javax.swing.*; | |
| import java.io.File; | |
| import java.nio.file.Path; | |
| import java.nio.file.Paths; | |
| import java.util.HashMap; | |
| import java.util.List; | |
| /** |
This file contains hidden or 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 Node[] getPath(Node start, Node end) { | |
| int endTotal = end.x + end.y; | |
| if (currentValue != endTotal) { | |
| if (currentValue == 0) | |
| currentValue = start.x + start.y; | |
| Collections.addAll(open, start.getNeighbours()); | |
| Node newN = getCheapest(open); | |
| open.remove(newN); |
This file contains hidden or 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 class Node { | |
| public Node parent; | |
| int x, y, flag; | |
| int cost; | |
| public Node(int x, int y, int flag) { | |
| this.x = x; | |
| this.y = y; | |
| this.flag = flag; | |
| } |
This file contains hidden or 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
| package _new.planker.util.strategies; | |
| import _new.planker.Fields; | |
| import _new.planker.util.Methods; | |
| import org.powerbot.concurrent.strategy.Strategy; | |
| import org.powerbot.game.api.methods.Game; | |
| import org.powerbot.game.api.methods.Walking; | |
| import org.powerbot.game.api.methods.Widgets; | |
| import org.powerbot.game.api.methods.interactive.NPCs; | |
| import org.powerbot.game.api.methods.interactive.Players; |
This file contains hidden or 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 ArrayList<Tile> walkableTiles = new ArrayList<Tile>(); | |
| public ArrayList<Tile> blockedTiles = new ArrayList<Tile>(); | |
| public void fill(Tile init) { | |
| for (Tile t : Util.getSurrounding(init)) { | |
| if (Util.canReach(t)) { | |
| walkableTiles.add(t); | |
| fill(t); | |
| } else { | |
| blockedTiles.add(t); |
This file contains hidden or 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
| package pxpc2.scripts.salamanders.strategies; | |
| import org.powerbot.concurrent.strategy.Strategy; | |
| import org.powerbot.game.api.methods.node.GroundItems; | |
| import org.powerbot.game.api.methods.tab.Inventory; | |
| import org.powerbot.game.api.util.Filter; | |
| import org.powerbot.game.api.util.Time; | |
| import org.powerbot.game.api.util.Timer; | |
| import org.powerbot.game.api.wrappers.node.GroundItem; | |
| import pxpc2.scripts.salamanders.SConstants; |
This file contains hidden or 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 enum Flag { | |
| // WALL_NORTHWEST(0x1), | |
| // WALL_NORTH(0x2), | |
| // WALL_NORTHEAST(0x4), | |
| // WALL_EAST(0x8), | |
| // WALL_SOUTHEAST(0x10), | |
| // WALL_SOUTH(0x20), | |
| // WALL_SOUTHWEST(0x40), | |
| // WALL_WEST(0x80), |
This file contains hidden or 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
| java.runtime.name = Java(TM) SE Runtime Environment | |
| sun.boot.library.path = C:\Program Files\Java\jre7\bin | |
| java.vm.version = 23.1-b03 | |
| user.country.format = BR | |
| java.vm.vendor = Oracle Corporation | |
| java.vendor.url = http://java.oracle.com/ | |
| path.separator = ; | |
| java.vm.name = Java HotSpot(TM) 64-Bit Server VM | |
| file.encoding.pkg = sun.io |