[Player]
The following variables return information about your character.
name (string): Returns the name of your character.
id (int): Returns the creature Id of your character.
hp (int): Returns your current amount of hit points.
maxhp (int): Returns your maximum amount of hit points.
mp (int): Returns your current amout of mana points.
maxmp (int): Returns your maximum amount of mana points.
cap (int): Returns your remaining capacity.
stamina (int): Returns the remaining stamina in minutes.
soul (int): Returns the remaining soul points.
exp (int): Returns your total amount of experience points.
level (int): Returns the level of your character.
hppc (int): Returns the percentage of your character's hp.
mppc (int): Returns the percentage of your character's mp.
posx (int): Returns the x position of your character.
posy (int): Returns the y position of your character.
posz (int): Returns the z position of your character.
[Skill]
The following variables return information pertaining to your character's skills.
mlevel (int): Returns the level of your magic skill.
mlevelpc (int): Returns the percentage learnt of the magic skill.
fist (int): Returns the level of your fist skill.
club (int): Returns the level of your club skill.
sword (int): Returns the level of your sword skill.
axe (int): Returns the level of your axe skill.
distance (int): Returns the level of your distance skill.
shielding (int): Returns the level of your shielding skill.
fishing (int): Returns the level of your fishing skill.
fistpc (int): Returns the percentage learnt of the fist skill.
clubpc (int): Returns the percentage learnt of the club skill.
swordpc (int): Returns the percentage learnt of the swords skill.
axepc (int): Returns the percentage learnt of the axe skill.
distancepc (int): Returns the percentage learnt of the distance skill.
shieldingpc (int): Returns the percentage learnt of the shielding skill.
fishingpc (int): Returns the percentage learnt of the fishing skill.
[Status]
The following variables return information on your character's various states.
battlesigned (bool): Returns true if your character is battle signed, false otherwise.
drunk (bool): Returns true if your character is drunk, false otherwise.
hasted (bool): Returns true if your character is hasted, false otherwise.
manashielded (bool): Returns true if your character is mana shielded, false otherwise.
paralyzed (bool): Returns true if your character is paralyzed, false otherwise.
poisoned (bool): Returns true if your character is poisoned, false otherwise.
pvpsigned (bool): Returns true if your character is pvp signed, false otherwise.
pzone (bool): Returns true if your character is in a protection zone, false otherwise.
[Equipaments]
helmet (int): Returns the id of the item in your head slot.
amulet (int): Returns the id of the item in your neck slot.
back (int): Returns the id of the item in your back slot.
armor (int): Returns the id of the item in your chest slot.
shield (int): Returns the id of the item in your shield slot.
weapon (int): Returns the id of the item in your weapon slot.
weaponamount (int): Returns the amount of the item in your ammo slot.
legs (int): Returns the id of the item in your legs slot.
boots (int): Returns the id of the item in your feet slot.
ring (int): Returns the id of the item in finger slot.
ammo (int): Returns the id of the item in your ammo slot.
mmoamount (int): Returns the amount of the item in your ammo slot.
[Client Info]
The following variables return various information relating to the game client.
battleopen (bool): Returns true if the battle window is open, false otherwise.
connected (bool): Returns true if connected to a server, false otherwise.
focused (bool): Returns true if client is focused, false otherwise.
minimized (bool): Returns true if client is minimized, false otherwise.
openmenuname (string): Returns the name of the currently open menu/window or 'Context' if it's a context menu (with options like Attack/Use/Open etc).
tradeopen (bool): Returns true if the trade window is open, false otherwise.
[Bot Info]
The following variables return various information calculated by the bot.
balance (int): Returns the last bank balance amount reported by an NPC.
cavebot (bool): Returns true if cavebot is enabled, false otherwise.
expgained (int): Returns the exp gained since exp counter has been reset.
exphour (int): Returns the average experience per hour since it's been reset.
lootbodies (int): Returns the amount of loot bodies not yet looted being queued up for looting.
looting (bool): Returns true if looting is enabled, false otherwise.
standtime (int): Returns the time in milliseconds that your character has been standing still.
targeting (bool): Returns true if targeting is enabled, false otherwise.
timehunt (int): Returns the time in milliseconds that the exp counter has been running.
timems (int): Returns the time in milliseconds since the system has started. Can be used for creating timers.
wpt (pointer): Returns the data structure for current waypoint.
[Waypoint properties]
The following properties can be appended to a wpt pointer (ie: wpt.type) and return a value as defined.
.id (int): Returns the id of the current waypoint.
.type (string): Returns the type of the current waypoint.
.x (int): Returns the x position of the current waypoint.
.y (int): Returns the y position of the current waypoint.
.z (int): Returns the z position of the current waypoint.
[Creature]
target (pointer): Returns the creature data structure of the creature you have attacked.
follow (pointer): Returns the creature data structure of the creature you have followed.
[Creature properties]
The following properties can be appended to a creature pointer (ie: target.speed) and return a value as defined.
.id (int): Returns the unique id of the creature.
.name (string): Returns the creature's name.
.posx (int): Returns the creature's x coordinate.
.posy (int): Returns the creature's y coordinate.
.posz (int): Returns the creature's z coordinate.
.hppc (int): Returns the creature's health percentage.
.speed (int): Returns the creature's speed.
.dist (int): Returns the biggest distance in either x or y between the creature and your character.
.isshootable (bool): Returns true can be shot from your position, false otherwise.
.isreachable (bool): Returns true can be reach from your position, false otherwise.
.skull (int): Returns the creature's skull type id.
.party (int): Returns the creature's party type id.
.warbanner (int): Returns the creature's warbanner type id.
.ignored (bool): Returns true if creature is being ignored by the targeting system (if ignorecreature() was used on it), false otherwise.
.isattackme (bool): Returns tru if creature is attacking, false otherwise.
.ismonster (bool): Returns true if creature is a monster, false otherwise.
.isplayer (bool): Returns true if creature is a player, false otherwise.
[Position variables]
The following variables return a pointer to a window rectangle or point data structure for which you can access various properties which will be outlined in the next two sections.
clientwin (pointer): Returns the rectangle containing the measurements of the client window.
worldwin (pointer): Returns the rectangle containing the measurements of the world window.
[Tile properties]
The following properties can be appended to a tile pointer (ie: gettile(7, 7, 7).count) and return a value as defined.
.count (int): Returns the count of items on the tile.
.items (pointer): Returns the data structure for an items on the tile.
[Container properties]
The following properties can be appended to a container pointer (ie: getcontainer(0).isopen) and return a value as defined.
.id (int): Returns the item id of the container window.
.name (string): Returns the name of the container window.
.open (bool): Returns true if the container is open and false otherwise. Always check if a container is open before accessing it's other elements because values stay in memory even after the container has been closed.
.items (pointer): Returns the data structure for an item in the container. You must index item with a value ranging from 1 to .itemcount to specify which item you want to access (ex: .item[1]).
.usedslots (int): Returns the count of items in the container.
.maxslots (int): Returns the maximum count of items that can be stored in the container.
.index (int): Returns the index of the container window.
[Item properties]
The following properties can be appended to an item pointer (ie: gettile(7, 7, 7).items[1].id ) and return a value as defined.
.id (int): Returns the id of the item.
.count (int): Returns the amount of the item.
Zakładki