public class Abyte0_Script extends Storm_Script
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
PROPERTY_NAMES |
static java.lang.String[] |
PROPERTY_NAMES_STATS |
BANKERS, BONES, DIR_EAST, DIR_NORTH, DIR_NORTHEAST, DIR_NORTHWEST, DIR_SOUTH, DIR_SOUTHEAST, DIR_SOUTHWEST, DIR_WEST, FIGHTMODES, MAX_INV_SIZE, SKILL, SPELL
Constructor and Description |
---|
Abyte0_Script(java.lang.String e) |
Modifier and Type | Method and Description |
---|---|
void |
buyItemIdFromShop(int id,
int amount) |
void |
createAccount(java.lang.String name) |
int |
dropItemIdOrWait(int id)
Drop Item id or wait for next drop tick
|
void |
EatFood(int foodId)
Eat the food id
|
int |
getExperience(int skill) |
int |
getLastInventoryIndex(int... ids)
Returns the position of the item with the given ID in the client's inventory.
|
boolean |
IsStillHavingFood(int foodId)
Checks if you still have food items
|
void |
print(java.lang.String gameText)
print the input text in the console and on the game messages screen
|
void |
printInventory() |
void |
printStats() |
void |
printStatsXp() |
void |
RunFromCombat() |
void |
sendInventory(java.lang.String[] values) |
void |
sendInventory(java.lang.String[] propertyUsed,
java.lang.String[] values) |
void |
sendPosition(java.lang.String name,
int x,
int y) |
void |
sendStats(java.lang.String[] values) |
void |
sendStats(java.lang.String[] propertyUsed,
java.lang.String[] values) |
void |
sendStatsXp(java.lang.String[] values) |
void |
sendStatsXp(java.lang.String[] propertyUsed,
java.lang.String[] values) |
void |
useSleepingBag()
Uses the client's sleeping bag.
|
buyItem, getShopItem, isPrayerOn, OLDbuyItem, printBot, sellItem, setPrayerOff, setPrayerOn, shopWindowOpen, useItemOnWall
acceptTrade, addFriend, addIgnore, answer, atObject, atObject2, attackNpc, attackPlayer, atWallObject, atWallObject2, autohop, bankCount, buyShopItem, canCastSpell, canLogout, castOnGroundItem, castOnItem, castOnSelf, closeBank, closeShop, confirmTrade, countNpcs, countPlayers, declineTrade, deposit, disableKeys, disablePrayer, distanceTo, distanceTo, distanceTo, drawBoxAlphaFill, drawBoxFill, drawBoxOutline, drawCircleFill, drawHLine, drawImage, drawString, drawVLine, dropItem, enablePrayer, followPlayer, getAccurateFatigue, getAccurateXpForLevel, getAllNpcById, getBankId, getBankSize, getBankStack, getCurrentLevel, getEmptySlots, getEquippedItemIds, getFatigue, getFightMode, getFriendCount, getFriendName, getGameHeight, getGameWidth, getGroundItemCount, getGroundItemId, getHpPercent, getIgnoredCount, getIgnoredName, getInventoryCount, getInventoryCount, getInventoryId, getInventoryIndex, getInventoryStack, getItemBasePrice, getItemBasePriceId, getItemById, getItemCommand, getItemCommandId, getItemDescription, getItemDescriptionId, getItemName, getItemNameId, getItemX, getItemY, getLevel, getLocalTradeItemCount, getLocalTradeItemId, getLocalTradeItemStack, getMenuIndex, getNpcById, getNpcByIdNotTalk, getNpcCombatLevel, getNpcCombatLevelId, getNpcDescription, getNpcDescriptionId, getNpcId, getNpcInExtendedRadius, getNpcInRadius, getNpcName, getNpcNameId, getNpcServerIndex, getNpcX, getNpcY, getObjectById, getObjectCount, getObjectDesc, getObjectId, getObjectIdFromCoords, getObjectName, getObjectX, getObjectY, getOurTradedItemCount, getPlayerByName, getPlayerByPid, getPlayerCombatLevel, getPlayerDirection, getPlayerName, getPlayerPID, getPlayerX, getPlayerY, getPrayerCount, getPrayerLevel, getPrayerName, getQuestCount, getQuestMenuOption, getQuestName, getQuestStage, getRemoteTradeItemCount, getRemoteTradeItemId, getRemoteTradeItemStack, getShopItemAmount, getShopItemById, getShopItemId, getSleepingFatigue, getTheirTradedItemCount, getWallObjectById, getWallObjectCount, getWallObjectDesc, getWallObjectId, getWallObjectIdFromCoords, getWallObjectName, getWallObjectX, getWallObjectY, getWorld, getX, getXpForLevel, getY, hasBankItem, hasInventoryItem, hasOtherTraded, hasRemoteAcceptedTrade, hop, inArray, inCombat, init, isAtApproxCoords, isAuthentic, isAutoLogin, isBanking, isBatching, isCastableOnGroundItem, isCastableOnInv, isCastableOnSelf, isCombatSpell, isControllerSet, isFriend, isHpBarShowing, isIgnored, isInTradeConfirm, isInTradeOffer, isItemAt, isItemEquipped, isItemIdEquipped, isItemStackable, isItemStackableId, isItemTradable, isItemTradableId, isLoggedIn, isNpcHpBarVisible, isNpcInCombat, isNpcTalking, isObjectAt, isPaintOverlay, isPlayerHpBarVisible, isPlayerInCombat, isPlayerTalking, isPlayerWalking, isPrayerEnabled, isQuestComplete, isQuestMenu, isReachable, isRendering, isShopOpen, isSkilling, isSkipLines, isSleeping, isTalking, isTricking, isWalking, isWithinArea, isWithinArea, isWithinArea, log, log, logout, mageNpc, magePlayer, main, next, offerItemTrade, onChatMessage, onKeyPress, onPrivateMessage, onServerMessage, onTradeRequest, paint, pickupItem, questMenuCount, questMenuOptions, random, removeFriend, removeIgnore, removeItem, sellShopItem, sendPrivateMessage, sendTradeRequest, setAutoLogin, setController, setFightMode, setPaintOverlay, setPixel, setRendering, setSkipLines, setTrickMode, setTypeLine, sleep, stopScript, takeScreenshot, talkToNpc, thieveNpc, useItem, useItemOnGroundItem, useItemOnObject, useItemOnObject, useItemOnWallObject, useItemWithItem, useItemWithPlayer, useOnNpc, useSlotOnObject, walkTo, wearItem, withdraw, writeLine
public static final java.lang.String[] PROPERTY_NAMES
public static final java.lang.String[] PROPERTY_NAMES_STATS
public void useSleepingBag()
Script
useSleepingBag
in class Script
public void buyItemIdFromShop(int id, int amount)
public void print(java.lang.String gameText)
public void printInventory()
public void printStats()
public void printStatsXp()
public void sendPosition(java.lang.String name, int x, int y)
public void sendInventory(java.lang.String[] propertyUsed, java.lang.String[] values)
public void sendStats(java.lang.String[] propertyUsed, java.lang.String[] values)
public void sendStatsXp(java.lang.String[] propertyUsed, java.lang.String[] values)
public void sendStats(java.lang.String[] values)
public void sendStatsXp(java.lang.String[] values)
public void sendInventory(java.lang.String[] values)
public void createAccount(java.lang.String name)
public int getExperience(int skill)
public int getLastInventoryIndex(int... ids)
ids
- the identifiers of the items to search for.public int dropItemIdOrWait(int id)
id
- itemId to be droppedpublic void RunFromCombat()
public boolean IsStillHavingFood(int foodId)
foodId
- id value of food itempublic final void EatFood(int foodId)
foodId
- id value of food item