getOTSYSTime()
getConfigValue(key)
getPlayerFood(cid)
getPlayerMana(cid)
getPlayerMaxMana(cid)
getPlayerLevel(cid)
getPlayerMagLevel(cid)
getPlayerAccess(cid)
getPlayerSkill(cid, skillid)
getPlayerMasterPos(cid)
getPlayerTown(cid)
getPlayerVocation(cid)
getPlayerItemCount(cid, itemid, subtype)
getPlayerSoul(cid)
getPlayerFreeCap(cid)
getPlayerIp()
getCreatureLight(cid)
getCreatureLookDir(cid)
getPlayerSlotItem(cid, slot)
getPlayerItemById(cid, deepSearch, itemId, <optional> subType)
getPlayerDepotItems(cid, depotid)
getPlayerGuildId(cid)
getPlayerGuildName(cid)
getPlayerGuildRank(cid)
getPlayerGuildNick(cid)
getPlayerGuildLevel(cid)
getPlayerSex(cid)
getPlayerGUID(cid)
getPlayerNameByGUID(guid)
getPlayerFlagValue(cid, flag)
getPlayerLossPercent(cid, lossType)
getPlayerPremiumDays(cid)
getPlayerSkullType(cid, <optional> viewer)
setPlayerSkullType(cid, skull_type)
getPlayerSkullEndTime(cid)
getPlayerUnjustKills(cid)
getPlayerAccountBalance(cid)
getPlayerByNameWildcard(name)
playerLearnInstantSpell(cid, name)
canPlayerLearnInstantSpell(cid, name)
getPlayerLearnedInstantSpell(cid, name)
getPlayerInstantSpellInfo(cid, index)
getPlayerInstantSpellCount(cid)
getInstantSpellInfoByName(cid, name)
getInstantSpellWords(name)
getPlayerStorageValue(cid, valueid)
setPlayerStorageValue(cid, valueid, newvalue)
doErasePlayerStorageValue(cid, valueid)
isPremium(cid)
getPlayerLastLogin(cid)
getGlobalStorageValue(valueid)
setGlobalStorageValue(valueid, newvalue)
doEraseGlobalStorageValue(valueid)
doErasePlayerStorageValueByName(name, key)
setPlayerStorageValueByName(name, key, newValue)
getPlayerStorageValueByName(name, key)
getTilePzInfo(pos)
getItemRWInfo(uid)
getThingDefaultDescription(uid, lookDistance, <optional> canSeeXRay)
getItemTypeDefaultDescription(itemid, <optional> count)
getItemSpecialDescription(uid)
getThingFromPos(pos)
getThing(uid)
queryTileAddThing(uid, pos, <optional> flags)
getThingPos(uid)
getTileStackItemsSize(pos)
getTileItemById(pos, itemId, <optional> subType)
getTileItemByType(pos, type)
getTileThingByPos(pos)
getTileThingByTopOrder(pos, topOrder)
getTopCreature(pos)
getAllCreatures(pos, <optional> flag)
getWaypointPositionByName(name)
doRemoveItem(uid, <optional> count)
doPlayerFeed(cid, food)
doPlayerSendCancel(cid, text)
doPlayerSendDefaultCancel(cid, ReturnValue)
doPlayerSetIdleTime(cid, time, warned)
doTeleportThing(uid, newpos)
doTransformItem(uid, toitemid, <optional> count/subtype)
doCreatureSay(cid, text, type)
doSendMagicEffect(pos, type[, player])
doSendDistanceShoot(frompos, topos, type)
doChangeTypeItem(uid, newtype)
doSetItemActionId(uid, actionid)
doSetItemText(uid, text)
doSetItemSpecialDescription(uid, desc)
doSendAnimatedText(pos, text, color)
doPlayerAddInFightTicks(cid, ticks, <optional: default: 0> pzLock)
doPlayerAddSkillTry(cid, skillid, n, <optional: default: 0> useMultiplier)
doPlayerAddManaSpent(cid, mana, <optional: default: 0> useMultiplier)
doCreatureAddHealth(cid, health, <optional: default: 1> filter))
doPlayerAddMana(cid, mana, <optional: default: 1> withoutAnimation)
doPlayerAddSoul(cid, soul)
doPlayerAddItem(uid, itemid, <optional: default: 1> count/subtype)
oPlayerAddItem(cid, itemid, <optional: default: 1> count, <optional: default: 1> canDropOnMap, <optional: default: 1>subtype)
eturns uid of the created item
doPlayerAddItemEx(cid, uid, <optional: default: 0> canDropOnMap, <optional> slot)
doPlayerSendTextMessage(cid, MessageClasses, message)
doPlayerRemoveMoney(cid, money)
doPlayerAddMoney(cid, money)
doPlayerWithdrawMoney(cid, money)
doPlayerDepositMoney(cid, money)
doPlayerTransferMoneyTo(cid, target, money)
doShowTextWindow(cid, maxlen, canWrite)
doShowTextDialog(cid, itemid, text)
getTownIdByName(townName)
getTownNameById(townId)
getTownTemplePosition(townId)
doDecayItem(uid)
doCreateItem(itemid, <optional> type/count, pos)
eturns uid of the created item, only works on tiles.
doCreateItemEx(itemid, <optional> count/subtype)
doTileAddItemEx(pos, uid)
doAddContainerItemEx(uid, virtuid)
doRelocate(pos, posTo, <optional: default: false> moveUnmoveable, <optional: default: 0> maxAmount)
doCreateTeleport(teleportID, positionToGo, createPosition)
doSummonCreature(name, pos, <optional> extendedPosition, <optional> forceSpawn)
doPlayerSummonCreature(cid, name, pos, <optional> extendedPosition, <optional> forceSpawn)
doRemoveCreature(cid)
doMoveCreature(cid, direction, <optional>flags)
doSetCreatureDirection(cid, direction)
doPlayerSetMasterPos(cid, pos)
doPlayerSetTown(cid, townid)
doPlayerSetVocation(cid, voc)
doPlayerSetSex(cid, sex)
doPlayerRemoveItem(cid, itemid, count, <optional> subtype, <optional> ignoreEquipped)
doPlayerAddExp(cid, exp, <optional: default: 0> useRate, <optional: default: 0> useMultiplier)
doPlayerRemoveExp(cid, exp, <optional: default: 0> useRate, <optional: default: 0> useMultiplier)
getPlayerExperience(cid)
doPlayerSetGuildRank(cid, rank)
doPlayerSetGuildNick(cid, nick)
doSetCreatureLight(cid, lightLevel, lightColor, time)
doPlayerSetLossPercent(cid, lossType, newPercent)
doSetCreatureDropLoot(cid, doDrop)
isValidUID(uid)
isCreatureImmuneToCondition(cid, conditionType)
isCreature(cid)
isItemTwoHandedByUID(uid)
isItemTwoHanded(uid)
isContainer(uid)
isCorpse(uid)
isMoveable(uid)
getPlayerGUIDByName(name)
registerCreatureEvent(uid, eventName)
getContainerSize(uid)
getContainerCap(uid)
getContainerItem(uid, slot)
doAddContainerItem(uid, itemid, <optional> count/subtype)
getDepotId(uid)
getHouseOwner(houseid)
getHouseName(houseid)
getHouseEntry(houseid)
getHouseRent(houseid)
getHouseTown(houseid)
getHouseAccessList(houseid, listid)
getHouseByPlayerGUID(playerGUID)
getHouseTilesSize(houseid)
getHouseDoorCount(houseid)
getHouseBedCount(houseid)
isHouseGuildHall(houseid)
setHouseAccessList(houseid, listid, listtext)
setHouseOwner(houseid, ownerGUID)
getHouseList(townid)
cleanHouse(houseid)
getWorldType()
getWorldTime()
getWorldLight()
getWorldCreatures(type)
getWorldUpTime()
getPlayersOnlineList()
doPlayerBroadcastMessage(cid, message)
getGuildId(guild_name)
createCombatArea( {area}, <optional> {extArea} )
createConditionObject(type)
setCombatArea(combat, area)
setCombatCondition(combat, condition)
setCombatParam(combat, key, value)
setConditionParam(condition, key, value)
addDamageCondition(condition, rounds, time, value)
addOutfitCondition(condition, lookTypeEx, lookType, lookHead, lookBody, lookLegs, lookFeet)
setCombatCallBack(combat, key, function_name)
setCombatFormula(combat, type, mina, minb, maxa, maxb)
setConditionFormula(combat, mina, minb, maxa, maxb)
doCombat(cid, combat, param)
createCombatObject()
doAreaCombatHealth(cid, type, pos, area, min, max, effect)
doTargetCombatHealth(cid, target, type, min, max, effect)
doAreaCombatMana(cid, pos, area, min, max, effect)
doTargetCombatMana(cid, target, min, max, effect)
doAreaCombatCondition(cid, pos, area, condition, effect)
doTargetCombatCondition(cid, target, condition, effect)
doAreaCombatDispel(cid, pos, area, type, effect)
doTargetCombatDispel(cid, target, type, effect)
doChallengeCreature(cid, target)
doConvinceCreature(cid, target)
getMonsterTargetList(cid)
getMonsterFriendList(cid)
doSetMonsterTarget(cid, target)
doMonsterChangeTarget(cid)
doAddCondition(cid, condition)
doRemoveCondition(cid, type, <optional> subId)
numberToVariant(number)
stringToVariant(string)
positionToVariant(pos)
targetPositionToVariant(pos)
variantToNumber(var)
variantToString(var)
variantToPosition(var)
doChangeSpeed(cid, delta)
doCreatureChangeOutfit(cid, outfit)
doSetMonsterOutfit(cid, name, time)
doSetItemOutfit(cid, item, time)
doSetCreatureOutfit(cid, outfit, time)
getCreatureOutfit(cid)
getCreaturePosition(cid)
getCreatureName(cid)
getCreatureSpeed(cid)
getCreatureBaseSpeed(cid)
getCreatureTarget(cid)
getCreatureHealth(cid)
getCreatureMaxHealth(cid)
getCreatureByName(name)
getCreatureMaster(cid)
getCreatureSummons(cid)
getSpectators(centerPos, rangex, rangey, multifloor)
getPartyMembers(cid)
hasCondition(cid, conditionid)
hasProperty(uid)
isItemStackable(itemid)
isItemRune(itemid)
isItemDoor(itemid)
isItemContainer(itemid)
isItemFluidContainer(itemid)
isItemMoveable(itemid)
getItemName(itemid)
getItemDescriptions(itemid)
getItemWeight(uid)
getItemIdByName(name)
isSightClear(fromPos, toPos, floorCheck)
getFluidSourceType(type)
isIntegerInArray(array, value)
addEvent(callback, delay, ...)
stopEvent(eventid)
getPlayerByAccountNumber(account)
getPlayerAccountId(cid)
getAccountNumberByPlayerName(name)
getIPByPlayerName(name)
getPlayersByIPNumber(ip)
getDataDir()
doPlayerSetRate(cid, type, value)
doPlayerSetVipLimit(cid, quantity)
doPlayerSetDepotLimit(cid, quantity)
isPzLocked(cid)
doSaveServer(payHouses)
doSetGameState(gameState)
doReloadInfo(info)
doRefreshMap()
debugPrint(text)
isMonsterName(name)
isValidItemId(itemid)
isNpcName(name)
getMonsterParameter(name, key)
getNpcParameterByName(name, key)
getItemWeaponType(itemid)
getItemAttack(itemid)
getItemDefense(itemid)
getItemExtraDef(itemid)
getItemArmor(itemid)
getItemWeaponTypeByUID(uid)
getItemAttackByUID(uid)
getItemDefenseByUID(uid)
getItemExtraDefByUID(uid)
getItemArmor(uid)
db table
result table
isGmInvisible(cid)
doPlayerToogleGmInvisible(cid)
doPlayerAddPremiumDays(cid, days)
doPlayerRemovePremiumDays(cid, days)
getFirstItemFromInventory(cid, id/name, <optional> reportError)
getCreatureConditionInfo(cid, conditionType, <optional: default: 0> subId, <optional: default: CONDITIONID_DEFAULT> conditionId)
getCreatureCondition(cid, conditionType, <optional: default: 0> subId, <optional: default: CONDITIONID_DEFAULT> conditionId)
getPlayerModes(cid)
doSavePlayer(cid)