public abstract class Script
extends java.lang.Object
Constructor and Description |
---|
Script() |
Modifier and Type | Method and Description |
---|---|
void |
Accepted()
NOT IMPLEMENTED YET
|
void |
AcceptTrade()
Accepts the trade, as presented.
|
void |
AcceptTrade2()
Accepts the 2nd trade window, as presented.
|
void |
Answer(int answer)
Answers with the specified option answer when in a NPC dialogue.
|
void |
AtObject(int[] coords)
Performs the 1st command action available on the object at the specified tile.
|
void |
AtObject(int x,
int y)
Performs the 1st command action available on the object at the specified tile.
|
void |
AtObject2(int[] coords)
Performs the 2nd command action available on the object at the specified tile.
|
void |
AtObject2(int x,
int y)
Performs the 2nd command action available on the object at the specified tile.
|
void |
AttackNPC(int serverIndex)
Attacks the specified npc server index.
|
void |
AttackPlayer(int player)
Attacks the specified player index.
|
boolean |
AutoLogin() |
boolean |
Bank()
Whether or not the bank window is currently open.
|
int |
BankCount(int item)
Retrieves how many of `item` is inside the bank.
|
void |
Beep()
Plays a "beep" noise via AWT.
|
void |
Buy(int item)
Buys 1 of the specified item id from the shop window.
|
boolean |
CanReach(int x,
int y)
Retrieves whether or not the specified tile is currently reachable by the player.
|
void |
ChatMessage(java.lang.String message)
Interrupt which is called when a chat message is sent to the client.
|
void |
CheckFighters(boolean check)
Not used, but remains for compatability.
|
void |
CloseBank()
Closes the current bank window.
|
void |
CloseDoor(int x,
int y,
int dir)
Closes the door at the specified tile.
|
void |
CloseShop()
Closes the current shop window.
|
boolean |
CoordsAt(int[] pos) |
boolean |
CoordsAt(int x,
int y) |
void |
DeclineTrade()
Declines the trade.
|
void |
Deposit(int type,
int amount)
Deposits the specified amount of the specified item.
|
void |
DisableAutoLogin() |
void |
DisplayMessage(java.lang.String message,
int type)
Displays a message to the user via the client chat window.
|
int |
Distance(int x,
int y)
Retrieves the distance between the player and the respective coordinates.
|
int |
DoorAt(int x,
int y,
int dir)
Whether or not the door at the specified coordinates is open or closed.
|
void |
Drop(int slot)
Drops one of the item at the specified slot.
|
void |
DuelPlayer(int player)
Sends a duel request to the specified player.
|
boolean |
EmptyTile(int x,
int y)
Whether or not the specified tile is empty.
|
void |
EnableAutoLogin() |
void |
EndScript() |
int |
Fatigue()
Retrieves the current amount of fatigue.
|
int |
FindInv(int type)
Retrieves the slot index of the specified item id.
|
void |
FollowPlayer(int player)
Follows the specified player.
|
void |
ForceWalk(int x,
int y)
Walks to the specified tile, and does not give up until it is there.
|
void |
ForceWalkNoWait(int x,
int y)
Walks to the specified tile, and does not give up until it is there -- asynchronous.
|
java.lang.String |
GetAnswer(int pos)
Retrieves the text of the specified option answer in NPC dialogue.
|
int |
GetAnswerCount() |
java.lang.String[] |
getCommands()
Not used, but remains for compatability.
|
int |
GetCurrentStat(int statno)
Retrieves the current boosted/degraded stat of the specified skill.
|
int |
GetDistance(int x1,
int y1,
int x2,
int y2)
Retrieves the distance between two points.
|
int |
GetExperience(int statno)
Retrieves the experience in the specified skill.
|
int |
GetFightMode()
Retrieves the current fight mode.
|
int |
GetHP()
Retrieves the players current amount of health.
|
int |
GetHPPercent()
Retrieves the current percentage of player hp.
|
java.lang.String |
GetItemCommand(int type)
Retrieves the command of the specified item id.
|
int |
GetItemCount() |
java.lang.String |
GetItemDesc(int type)
Retrieves the examine text of the specified item id.
|
java.lang.String |
GetItemName(int type)
Retrieves the name of the specified item id.
|
int |
GetMaxHP()
Retrieves the maximum amount of HP available to the player.
|
int[] |
GetNearestItem(int type)
Retrieves the coordinates of the nearest item id.
|
int[] |
GetNearestItem(int[] type)
Retrieves the coordinates of the nearest item from the list of ids.
|
int |
GetNearestNPC(int type)
Retrieves the server index of the nearest npc of the specified npc id.
|
int |
GetNearestNPC(int[] type)
Retrieves the server index of the nearest npc from the specified npc ids.
|
int |
GetNearestNPC(int[] type,
int x1,
int y1,
int x2,
int y2)
NOT IMPLEMENTED YET
|
int |
GetNearestNPC(int type,
int x1,
int y1,
int x2,
int y2)
NOT IMPLEMENTED YET
|
int[] |
GetNearestObject(int type)
Retrieves the coordinates of the closest object id.
|
int[] |
GetNearestObject(int[] type)
Retrieves the coordinates of the closest object in the specified array of object ids.
|
int[] |
GetNearestObject(int[] type,
int x1,
int y1,
int x2,
int y2)
NOT IMPLEMENTED YET
|
int[] |
GetNearestObject(int type,
int x1,
int y1,
int x2,
int y2)
NOT IMPLEMENTED YET
|
java.lang.String |
GetNPCCommand(int type) |
int |
GetNPCCount() |
java.lang.String |
GetNPCDesc(int type) |
int |
GetNPCLevel(int type) |
int |
GetNPCMaxHP(int type) |
java.lang.String |
GetNPCName(int type) |
int |
GetNPCType(int id)
NOT IMPLEMENTED YET
|
java.lang.String |
GetObjectCommand1(int type) |
java.lang.String |
GetObjectCommand2(int type) |
int |
GetObjectCount() |
java.lang.String |
GetObjectDesc(int type) |
java.lang.String |
GetObjectName(int type) |
int |
GetPlayerCount() |
int |
GetPrayerDrain(int prayer) |
int |
GetPrayerLevel(int prayer) |
int |
GetRandomNPC(int id) |
int |
GetRandomNPC(int[] id) |
int |
GetStat(int statno)
Retrieves the skill level of the specified skill.
|
int |
GetX()
Retrieves the current X coordinate of the player.
|
int |
GetY()
Retrieves the current Y coordinate of the player.
|
boolean |
InArea(int x1,
int y1,
int x2,
int y2) |
boolean |
InCombat()
Whether or not we are currently in combat.
|
void |
init()
The init function for the script -- almost never used.
|
boolean |
InLastServerMessage(java.lang.String st)
Whether or not the specified substring is inside the last server message.
|
boolean |
InStr(java.lang.String str,
java.lang.String locate)
Whether or not the specified substring is inside the string.
|
java.lang.String |
IntToStr(int num)
Converts an integer to a string.
|
int |
Inv(int slot)
Retrieves the item id of the specified slot.
|
int |
InvByName(java.lang.String name) |
int |
InvCount()
Retrieves how many items are in your inventory.
|
int |
InvCount(int type)
Retrieves how many of the specified item id you have in your inventory.
|
int |
InvCountByName(java.lang.String name) |
boolean |
IsAccepted()
Whether or not the trade recipient is accepting the current trade offer.
|
boolean |
IsBatching()
New SBot function. On Coleslaw, returns whether or not we are currently batching.
|
boolean |
IsNPCAttackable(int type) |
boolean |
IsStackable(int id) |
boolean |
IsWalking() |
boolean |
IsWorn(int slot)
Since this function uses an item slot, on Coleslaw, it is permanently broken.
|
boolean |
ItemAt(int x,
int y,
int type)
Whether or not an item of the specified type is at the specified coordinates.
|
void |
KeyPressed(int key)
NOT IMPLEMENTED YET
|
void |
KeyReleased(int key)
NOT IMPLEMENTED YET
|
java.lang.String |
LastChatMessage()
Retrieves the last spoken chat message.
|
int |
LastChatter()
Retrieves the timestamp of the last chat message to the client.
|
java.lang.String |
LastChatterName()
Retrieves the username of the individual who sent the last message to the client.
|
java.lang.String |
LastNPCMessage()
Retrieves the last quest message.
|
int |
LastPlayerAttacked()
NOT IMPLEMENTED YET
|
java.lang.String |
LastServerMessage()
Retrieves the last server message.
|
boolean |
Loading()
Whether or not the client has loaded.
|
boolean |
LoggedIn()
Whether or not the player is currently logged in.
|
void |
Login(java.lang.String username,
java.lang.String password)
Attempts to login with the specified user and password.
|
void |
Logout()
Attempts to logout.
|
void |
Magic(int spell)
Casts the specified spell id on the player.
|
void |
MagicDoor(int x,
int y,
int dir,
int spell)
NOT IMPLEMENTED YET
|
void |
MagicInventory(int slot,
int spell)
Casts the specified spell on the specified slot.
|
void |
MagicItem(int x,
int y,
int item,
int spell)
Casts the specified magic index against the specified item id on the specified tile.
|
void |
MagicNPC(int id,
int spell)
Casts the specified spell index against the specified npc server index.
|
void |
MagicObject(int x,
int y,
int spell)
Casts the specified spell index against the object at the specified tile.
|
void |
MagicPlayer(int player,
int spell)
Casts the specified spell index against the specified player index.
|
boolean |
NPCExists(int id) |
boolean |
NPCInCombat(int id) |
void |
NPCMessage(java.lang.String message)
Interrupt which is called when a quest message is sent to the cilent.
|
int |
NPCX(int id)
Retrieves the X coordinates of a npc id.
|
int |
NPCY(int id)
Retrieves the Y coordinates of a npc id.
|
int |
ObjectAt(int x,
int y)
Retrieves the object id at the specified coordinates.
|
boolean |
Obstructed(int x,
int y)
Whether or not the specified tile is reachable or obstructed.
|
void |
OpenBank()
Opens a nearby bank (banker or chest.)
|
void |
OpenDoor(int x,
int y,
int dir)
Opens the door at the specified tile.
|
void |
OpenUnbusyBank()
Opens a nearby bank (banker or chest.)
|
int |
PID()
Not used, but remains for compatibility.
|
int |
PlayerAt(int x,
int y)
Retrieves the server index of the player at the specified coordinates.
|
int |
PlayerByName(java.lang.String name)
Retrieves the server index of the specified player name.
|
int |
PlayerDestX(int id)
Retrieves the X coordinate of where the player index is currently headed.
|
int |
PlayerDestY(int id)
Retrieves the Y coordinate of where the player index is currently headed.
|
int |
PlayerHP(int id)
Retrieves the HP level of the specified player index.
|
boolean |
PlayerInCombat(int id)
Whether or not the specified player is in combat.
|
int |
PlayerX(int id)
Retrieves the X coordinate of the specified player index.
|
int |
PlayerY(int id)
Retrieves the Y coordinate of the specified player index.
|
boolean |
Prayer(int prayer)
Whether or not the specified prayer index is currently on.
|
void |
PrayerOff(int prayer)
Turns off the specified prayer index.
|
void |
PrayerOn(int prayer)
Turns on the specified prayer index.
|
void |
Print(java.lang.String message)
Prints a message, with no newline, to the system console.
|
void |
Println(java.lang.String message)
Prints a message, followed by newline, to the system console.
|
boolean |
QuestMenu()
Whether or not an NPC option menu is present.
|
void |
Quit()
Exits the bot.
|
int |
Rand(int lower,
int higher)
Returns a number between `low` and `higher`.
|
void |
Remove(int slot)
Removes the specified item at the specified slot, if equipped.
|
void |
ResetLastChatMessage()
Not used, but remains for compatability.
|
void |
ResetLastNPCMessage()
Not used, but remains for compatability.
|
void |
ResetLastPlayerAttacked()
NOT IMPLEMENTED YET
|
void |
ResetLastServerMessage()
Not used, but remains for compatability.
|
void |
ResetTrade()
Removes all items from the trade window.
|
boolean |
Running()
Whether or not the script is currenty running.
|
void |
Say(java.lang.String message)
Sends the specified message to the chat.
|
void |
Sell(int item)
Sells 1 of the specified item id from the shop window.
|
void |
ServerMessage(java.lang.String message)
Interrupt which is called when a server message is sent to the client.
|
void |
setController(Controller _controller)
Used internally by the bot to set
Controller , as that is what adapts SBot to
IdleRSC. |
void |
SetFightMode(int style)
Sets the fight mode to the specified style.
|
void |
SetWorld(int world)
Not used, but remains for compatability.
|
void |
SexyPrint(java.lang.String message)
Prints a nicely formatted message to the system console.
|
boolean |
Shop()
whether or not a shop window is currently open.
|
int |
ShopCount(int item)
Retrieves how many of the specifed item id the shop has in stock.
|
boolean |
Sleeping()
Whether or not we are currently sleeping in a bag/bed.
|
void |
SleepWord()
Not used, but remains for compatability.
|
void |
start(java.lang.String command,
java.lang.String[] parameters)
The start function for the script.
|
int |
StrToInt(java.lang.String st)
Converts a string to an integer.
|
boolean |
TakeItem(int x,
int y,
int type)
Picks up the specified item on the ground.
|
void |
TalkToNPC(int serverIndex)
Talks to the specified npc server index.
|
void |
ThieveNPC(int serverIndex)
Thieves the specified npc server index.
|
long |
TickCount()
Retrieves the current system time in milliseconds.
|
void |
TradeArray(int[] item,
int[] amount)
Puts up the respective item ids, of the respective amounts.
|
void |
TradeArray(int item,
int amount)
Puts up the respective item id, of the respective amount.
|
void |
TradeOver()
NOT IMPLEMENTED YET
|
void |
TradePlayer(int player)
Trades the specified player.
|
void |
TradeRequest(int PlayerID)
NOT IMPLEMENTED YET
|
int |
TradeStatus()
The current status index of the trade.
|
void |
Use(int slot)
Uses the primary command on the item at the specified slot.
|
void |
UseOnDoor(int x,
int y,
int dir,
int item)
Uses the specified item on the specified door tile.
|
void |
UseOnItem(int x,
int y,
int type,
int item)
Uses the specified inventory item on the specified ground item on the specified tile.
|
void |
UseOnNPC(int id,
int item)
Uses the specified item against the specified npc server index.
|
void |
UseOnObject(int x,
int y,
int slotId)
Uses the specified item from the specified slot on the specified object tile.
|
void |
UseOnPlayer(int player,
int slot)
NOT IMPLEMENTED YET
|
java.lang.String |
Username()
Retrieves the name of the logged in user.
|
void |
UseWithInventory(int slot1,
int slot2)
Uses the item at `slot1` on `slot2`.
|
java.lang.String |
Version() |
void |
Wait(int ticks)
Sleeps for the specified number of milliseconds.
|
void |
WaitForBatchFinish()
New SBot function. On Coleslaw, if batching, sleeps until batching is finished.
|
void |
WaitForLoad()
Waits for the client to finish loading.
|
void |
WaitForServerMessage(int timeout)
Waits until a server message appears.
|
void |
Walk(int x,
int y)
Walks to the specified tile.
|
void |
Walk(int x,
int y,
int step)
Some hacky SBot method for walking to a tile involving wait -- not recommended for use.
|
void |
WalkEmpty(int x1,
int y1,
int x2,
int y2)
Within the specified 2 points, walks to an empty tile within that rectangle.
|
void |
WalkEmptyNoWait(int x1,
int y1,
int x2,
int y2)
Within the specified 2 points, walks to an empty tile within that rectangle -- asynchronous.
|
void |
WalkNoWait(int x,
int y)
Walks to the specified tile -- asynchronous.
|
void |
WalkPath(int[] pathx,
int[] pathy) |
void |
WalkPath(int[] pathx,
int[] pathy,
int ticks) |
void |
WalkPathReverse(int[] pathx,
int[] pathy) |
void |
WalkPathReverse(int[] pathx,
int[] pathy,
int ticks) |
boolean |
Wearable(int type) |
void |
Wield(int slot)
Wields the specified item at the specified slot, if equipped.
|
void |
Withdraw(int type,
int amount)
Withdraws the specified amount of the specified item.
|
public void setController(Controller _controller)
Controller
, as that is what adapts SBot to
IdleRSC._controller
- public void start(java.lang.String command, java.lang.String[] parameters)
command
- -- usually the name of the script.parameters
- -- script parameters.public java.lang.String[] getCommands()
public void init()
public void ServerMessage(java.lang.String message)
message
- public void ChatMessage(java.lang.String message)
message
- public void NPCMessage(java.lang.String message)
message
- public void TradeRequest(int PlayerID)
PlayerID
- public void Accepted()
public void TradeOver()
public void KeyPressed(int key)
public void KeyReleased(int key)
public int LastChatter()
Not 2038 safe.
public java.lang.String LastChatterName()
public int BankCount(int item)
item
- -- item idpublic int StrToInt(java.lang.String st)
st
- public java.lang.String IntToStr(int num)
num
- public int NPCX(int id)
id
- -- npc id, not a server index.public int NPCY(int id)
id
- -- npc id, not a server index.public boolean IsAccepted()
public void Quit()
public int Distance(int x, int y)
x
- y
- public int TradeStatus()
0: no trade 1: 1st trade window 2: 2nd trade window
public void AcceptTrade()
public void AcceptTrade2()
public void DeclineTrade()
public void TradeArray(int item, int amount)
item
- amount
- public void TradeArray(int[] item, int[] amount)
item
- -- multiple idsamount
- -- multiple amountspublic void ResetTrade()
public boolean CanReach(int x, int y)
x
- y
- public void Beep()
public void Wait(int ticks)
ticks
- public void DisplayMessage(java.lang.String message, int type)
message
- -- text (may contain @col@ etc)type
- -- message type (index specified in orsc.enumerations.MessageType)public void SetFightMode(int style)
style
- public int GetFightMode()
public void Println(java.lang.String message)
message
- public void Print(java.lang.String message)
message
- public void SexyPrint(java.lang.String message)
message
- public void ForceWalk(int x, int y)
x
- y
- public void ForceWalkNoWait(int x, int y)
x
- y
- public void AtObject(int x, int y)
x
- y
- public void AtObject(int[] coords)
coords
- public void AtObject2(int x, int y)
x
- y
- public void AtObject2(int[] coords)
coords
- public void Walk(int x, int y)
x
- y
- public void Walk(int x, int y, int step)
x
- y
- step
- public void WalkNoWait(int x, int y)
x
- y
- public long TickCount()
public void WalkEmpty(int x1, int y1, int x2, int y2)
x1
- y1
- x2
- y2
- public int PlayerAt(int x, int y)
x
- y
- public boolean Obstructed(int x, int y)
x
- y
- public void WalkEmptyNoWait(int x1, int y1, int x2, int y2)
x1
- y1
- x2
- y2
- public int GetX()
public int GetY()
public int Rand(int lower, int higher)
lower
- higher
- public void Say(java.lang.String message)
message
- public boolean EmptyTile(int x, int y)
x
- y
- public void MagicPlayer(int player, int spell)
player
- spell
- public void UseOnPlayer(int player, int slot)
public void AttackPlayer(int player)
player
- public void DuelPlayer(int player)
player
- public void TradePlayer(int player)
player
- public void FollowPlayer(int player)
player
- public void MagicItem(int x, int y, int item, int spell)
x
- y
- item
- spell
- public void UseOnItem(int x, int y, int type, int item)
x
- y
- type
- -- inventory item iditem
- -- ground item idpublic boolean TakeItem(int x, int y, int type)
x
- y
- type
- public void MagicNPC(int id, int spell)
id
- -- server indexspell
- public void UseOnNPC(int id, int item)
id
- -- server indexitem
- public void TalkToNPC(int serverIndex)
serverIndex
- public void AttackNPC(int serverIndex)
serverIndex
- public void ThieveNPC(int serverIndex)
serverIndex
- public void MagicDoor(int x, int y, int dir, int spell)
public void UseOnDoor(int x, int y, int dir, int item)
x
- y
- dir
- -- not used, put anything here.item
- -- item idpublic void OpenDoor(int x, int y, int dir)
x
- y
- dir
- -- not used, put anything here.public void CloseDoor(int x, int y, int dir)
x
- y
- dir
- -- not used, put anything here.public void MagicObject(int x, int y, int spell)
x
- y
- spell
- public void UseOnObject(int x, int y, int slotId)
x
- y
- slotId
- public void Magic(int spell)
public boolean QuestMenu()
public void Answer(int answer)
answer
- public void MagicInventory(int slot, int spell)
slot
- spell
- public void UseWithInventory(int slot1, int slot2)
slot1
- slot2
- public void Remove(int slot)
slot
- public void Wield(int slot)
slot
- public void Use(int slot)
slot
- public void Drop(int slot)
slot
- public void Deposit(int type, int amount)
type
- amount
- public void Withdraw(int type, int amount)
type
- amount
- public int InvCount(int type)
type
- public int InvCount()
public void Logout()
public int[] GetNearestObject(int[] type)
type
- public int[] GetNearestObject(int type)
type
- public int[] GetNearestObject(int type, int x1, int y1, int x2, int y2)
public int[] GetNearestObject(int[] type, int x1, int y1, int x2, int y2)
public int GetNearestNPC(int type)
type
- public int GetNearestNPC(int[] type)
type
- public int GetNearestNPC(int type, int x1, int y1, int x2, int y2)
public int GetNearestNPC(int[] type, int x1, int y1, int x2, int y2)
public int[] GetNearestItem(int type)
type
- public int[] GetNearestItem(int[] type)
type
- public void CloseShop()
public void CloseBank()
public void Buy(int item)
item
- public void Sell(int item)
item
- public boolean Bank()
public boolean Shop()
public int DoorAt(int x, int y, int dir)
1 = open 2 = closed
x
- y
- dir
- -- not used, put anything in here.public boolean ItemAt(int x, int y, int type)
x
- y
- type
- public int ObjectAt(int x, int y)
x
- y
- public int PlayerByName(java.lang.String name)
name
- public int GetExperience(int statno)
statno
- public int GetCurrentStat(int statno)
statno
- public int GetStat(int statno)
statno
- public int PlayerHP(int id)
id
- public boolean InCombat()
public boolean PlayerInCombat(int id)
id
- public int PlayerX(int id)
id
- public int PlayerY(int id)
id
- public int PlayerDestX(int id)
id
- public int PlayerDestY(int id)
id
- public java.lang.String LastChatMessage()
public void ResetLastChatMessage()
public java.lang.String LastNPCMessage()
public void ResetLastNPCMessage()
public java.lang.String LastServerMessage()
public void ResetLastServerMessage()
public void WaitForServerMessage(int timeout)
timeout
- public boolean InLastServerMessage(java.lang.String st)
st
- public int FindInv(int type)
type
- public boolean Running()
public void CheckFighters(boolean check)
public void SleepWord()
public boolean Sleeping()
public int Fatigue()
public boolean Loading()
public void WaitForLoad()
public void PrayerOn(int prayer)
prayer
- public void PrayerOff(int prayer)
prayer
- public boolean Prayer(int prayer)
prayer
- public int ShopCount(int item)
item
- public void SetWorld(int world)
public int LastPlayerAttacked()
public void ResetLastPlayerAttacked()
public void Login(java.lang.String username, java.lang.String password)
username
- password
- public boolean LoggedIn()
public void OpenUnbusyBank()
public void OpenBank()
public boolean InStr(java.lang.String str, java.lang.String locate)
str
- -- stringlocate
- -- substringpublic java.lang.String GetAnswer(int pos)
pos
- public int GetDistance(int x1, int y1, int x2, int y2)
x1
- y1
- x2
- y2
- public int GetHP()
public int GetMaxHP()
public int GetHPPercent()
public int Inv(int slot)
slot
- public java.lang.String GetItemCommand(int type)
type
- public java.lang.String GetItemDesc(int type)
type
- public java.lang.String GetItemName(int type)
type
- public java.lang.String Username()
public int GetPrayerLevel(int prayer)
public int GetPrayerDrain(int prayer)
public java.lang.String GetNPCCommand(int type)
public java.lang.String GetNPCDesc(int type)
public int GetNPCLevel(int type)
public int GetNPCType(int id)
public int GetNPCMaxHP(int type)
public java.lang.String GetNPCName(int type)
public int GetAnswerCount()
public int GetItemCount()
public int GetNPCCount()
public int GetPlayerCount()
public int GetObjectCount()
public java.lang.String GetObjectCommand1(int type)
public java.lang.String GetObjectCommand2(int type)
public java.lang.String GetObjectDesc(int type)
public java.lang.String GetObjectName(int type)
public boolean InArea(int x1, int y1, int x2, int y2)
public boolean Wearable(int type)
public boolean IsWorn(int slot)
slot
- public boolean IsNPCAttackable(int type)
public void WalkPath(int[] pathx, int[] pathy)
public void WalkPath(int[] pathx, int[] pathy, int ticks)
public void WalkPathReverse(int[] pathx, int[] pathy)
public void WalkPathReverse(int[] pathx, int[] pathy, int ticks)
public boolean CoordsAt(int[] pos)
public boolean CoordsAt(int x, int y)
public boolean IsWalking()
public void EndScript()
public boolean AutoLogin()
public void EnableAutoLogin()
public void DisableAutoLogin()
public java.lang.String Version()
public boolean NPCExists(int id)
public boolean NPCInCombat(int id)
public int InvCountByName(java.lang.String name)
public int InvByName(java.lang.String name)
public boolean IsStackable(int id)
public int GetRandomNPC(int id)
public int GetRandomNPC(int[] id)
public int PID()
public void WaitForBatchFinish()
public boolean IsBatching()