Parabens Pela Iniciativa Joviz ^^!
info
Grupo: Visconde
Registrado: 23/02/13
Posts: 437
Reputação: +71
Gênero: Masculino

info
Grupo: Marquês
Registrado: 25/09/10
Posts: 1.3k
Reputação: +446
Gênero: Masculino

Obrigado pela contribuição, eu realmente não tinha notado que faltava (Já que eu pego do meu notepad mesmo).
Posso editar para ficar mais legível e acessível?
se sim, irei fixar o tópico.
info
Grupo: Conde
Registrado: 14/04/15
Posts: 956
Reputação: +333
Gênero: Masculino

Obrigado pela contribuição, eu realmente não tinha notado que faltava (Já que eu pego do meu notepad mesmo).
Posso editar para ficar mais legível e acessível?
se sim, irei fixar o tópico.
Claro que pode man! Espero que tenham gostado ai e que ajude muita gente! Fiquei aqui dar uma editada mas não deu mt certo, se conseguir melhorar ai o tópico agradeço
kk



info
Grupo: Conde
Registrado: 14/04/15
Posts: 956
Reputação: +333
Gênero: Masculino
Iai pessoal, tudo bom? Estou aqui com vocês para postar todas as funções encontradas nas sources do Tfs 0.4 Rev 3884
Dá uma olhada ai
Eu mesmo proceurei aqui nas minhas sources então para ajudar vocês irei postar
Get:
getPlayerLossSkill(cid)
getPlayerLossPercent(cid, lossType)
getCreatureHealth(cid) // Retorna a Health atual do player
getCreatureMaxHealth(cid[, ignoreModifiers = false]) // Retorna o MaxHealth do player
getCreatureMana(cid) // Retorna a mana do player
getCreatureMaxMana(cid[, ignoreModifiers = false]) // Retorna a MaxMana do player
getCreatureHideHealth(cid)
getCreatureSpeakType(cid)
getCreatureLookDirection(cid)
getPlayerLevel(cid) // Retorna o level do player
getPlayerExperience(cid) // Retorna toda a experiencia do player
getPlayerMagLevel(cid[, ignoreModifiers = false]) // Retorna o Magic Level do player
getPlayerSpentMana(cid)
getPlayerFood(cid)
getPlayerAccess(cid) // Retorna o Acess do player
getPlayerGhostAccess(cid)
getPlayerSkillLevel(cid, skill[, ignoreModifiers = false])
getPlayerSkillTries(cid, skill)
getPlayerTown(cid) // Retorna a Townid do player
getPlayerVocation(cid) // Retorna a vocationid do player
getPlayerIp(cid) // Retorna o Ip do player
getPlayerRequiredMana(cid, magicLevel)
getPlayerRequiredSkillTries(cid, skillId, skillLevel)
getPlayerItemCount(cid, itemid[, subType = -1])
getPlayerMoney(cid) // Retorna a quantidade de money do player
getPlayerSoul(cid[, ignoreModifiers = false])
getPlayerFreeCap(cid)
getPlayerLight(cid)
getPlayerSlotItem(cid, slot)
getPlayerWeapon(cid[, ignoreAmmo = false])
getPlayerItemById(cid, deepSearch, itemId[, subType = -1])
getPlayerDepotItems(cid, depotid)
getPlayerGuildId(cid)
getPlayerGuildName(cid)
getPlayerGuildRankId(cid)
getPlayerGuildRank(cid)
getPlayerGuildNick(cid)
getPlayerGuildLevel(cid)
getPlayerGUID(cid)
getPlayerNameDescription(cid)
getPlayerSpecialDescription(cid)
getPlayerAccountId(cid)
getPlayerAccount(cid)
getPlayerFlagValue(cid, flag)
getPlayerCustomFlagValue(cid, flag)
getPlayerPromotionLevel(cid)
getPlayerGroupId(cid)
getPlayerInstantSpellCount(cid)
getPlayerLearnedInstantSpell(cid, name)
getPlayerInstantSpellInfo(cid, index)
getInstantSpellInfo(cid, name)
getCreatureStorage(uid, key)
getStorage(key)
getChannelUsers(channelId)
getPlayersOnline()
getTileInfo(pos)
getThingFromPos(pos[, displayError = true])
getThing(uid)
getThingPosition(uid)
getTileItemById(pos, itemId[, subType = -1])
getTileItemByType(pos, type)
getTileThingByPos(pos)
getTopCreature(pos)
getSearchString(fromPosition, toPosition[, fromIsCreature = false[, toIsCreature = false]])
getClosestFreeTile(cid, targetpos[, extended = false[, ignoreHouse = true]])
getCreatureByName(name)
getPlayerByGUID(guid)
getPlayerByNameWildcard(name~[, ret = false])
getPlayerGUIDByName(name[, multiworld = false])
getPlayerNameByGUID(guid[, multiworld = false[, displayError = true]])
getContainerSize(uid)
getContainerCap(uid)
getContainerItems(uid)
getContainerItem(uid, slot)
getHouseInfo(houseId[, displayError = true])
getHouseAccessList(houseid, listId)
getHouseByPlayerGUID(playerGUID)
getHouseFromPos(pos)
getWorldType()
getWorldTime()
getWorldLight()
getWorldCreatures(type)
getWorldUpTime()
getGuildId(guildName)
getGuildMotd(guildId)
getPlayerSex(cid[, full = false])
getCreatureOutfit(cid)
getCreatureLastPosition(cid)
getCreatureName(cid)
getCreatureSpeed(cid)
getCreatureBaseSpeed(cid)
getCreatureTarget(cid)
getPlayersByAccountId(accId)
getAccountIdByName(name)
getAccountByName(name)
getAccountIdByAccount(accName)
getAccountByAccountId(accId)
getIpByName(name)
getPlayersByIp(ip[, mask = 0xFFFFFFFF])
getPlayerPremiumDays(cid)
getCreatureGuildEmblem(cid[, target])
getCreaturePartyShield(cid[, target])
getCreatureSkullType(cid[, target])
getPlayerSkullEnd(cid)
getPlayerBlessing(cid, blessing)
getPlayerStamina(cid)
getPlayerLastLoad(cid)
getPlayerLastLogin(cid)
getPlayerAccountManager(cid)
getPlayerBalance(cid)
getCreatureNoMove(cid)
getPlayerIdleTime(cid)
getPlayerTradeState(cid)
getPlayerModes(cid)
getPlayerRates(cid)
getPlayerPartner(cid)
getPlayerParty(cid)
getPartyMembers(lid)
getCreatureMaster(cid)
getCreatures(cid)
getTownId(townName)
getTownName(townId)
getTownTemplePosition(townId[, displayError])
getTownHouses(townId)
getSpectators(centerPos, rangex, rangey[, multifloor = false])
getVocationInfo(id)
getGroupInfo(id[, premium = false])
getVocationList()
getGroupList()
getChannelList()
getTownList()
getWaypointList()
getTalkActionList()
getExperienceStageList()
getItemIdByName(name[, displayError = true])
getItemInfo(itemid)
getItemAttribute(uid, key)
getItemWeight(uid[, precise = true])
getItemParent(uid)
getNotationsCount(accountId[, playerId])
getStatementsCount(name/guid[, channelId])
getBanData(value[, type[, param]])
getBanReason(id)
getBanAction(id[, ipBanishment = false])
getBanList(type[, value[, param]])
getExperienceStage(level)
getDataDir()
getLogsDir()
getConfigFile()
getConfigValue(key)
getModList()
getHighscoreString(skillId)
getWaypointPosition(name)
getGameState()
getMonsterTargetList(cid)
getMonsterFriendList(cid)
getMonsterInfo(name)
getCreatureCondition(cid, condition[, subId = 0])
Do:
doPlayerSendChannelsDialog(cid)
doItemSetAttribute(uid, key, value)
doItemEraseAttribute(uid, key)
doPlayerSetNameDescription(cid, desc)
doSaveServer([shallow = false])
doCleanHouse(houseId)
doCleanMap()
doRefreshMap()
doGuildAddEnemy(guild, enemy, war, type)
doGuildRemoveEnemy(guild, enemy)
doUpdateHouseAuctions()
doSetGameState(id)
doExecuteRaid(name)
doCreatureExecuteTalkAction(cid, text[, ignoreAccess = false[, channelId = CHANNEL_DEFAULT]])
doReloadInfo(id[, cid])
doWaypointAddTemporial(name, pos)
doPlayerSendChannelsDialog(cid)
doPlayerJoinParty(cid, lid)
doPlayerLeaveParty(cid[, forced = false])
doPlayerFollowCreature(cid, target)
doPlayerSetPartner(cid, guid)
doPlayerSetRate(cid, type, value)
doPlayerPopupFYI(cid, message)
doPlayerSetSex(cid, newSex)
doAddContainerItem(uid, itemid[, count/subType = 1])
doPlayerSetLossPercent(cid, lossType, newPercent)
doTeleportThing(cid, newpos[, pushmove = true[, fullTeleport = true]])
doTransformItem(uid, newId[, count/subType])
doCreatureSay(uid, text[, type = SPEAK_SAY[, ghost = false[, cid = 0[, pos]]]])
doSendCreatureSquare(cid, color[, player])
doSendMagicEffect(pos, type[, player])
doPlayerSendDefaultCancel(cid, ReturnValue)
doRemoveItem(uid[, count = -1])
doPlayerSendCancel(cid, text)
doItemRaidUnref(uid)
doPlayerFeed(cid, food)
doTileQueryAdd(uid, pos[, flags[, displayError = true]])
doSetStorage(key, value)
doCreatureSetStorage(uid, key, value)
doPlayerSetGroupId(cid, newGroupId)
doPlayerSendOutfitWindow(cid)
doPlayerLearnInstantSpell(cid, name)
doPlayerUnlearnInstantSpell(cid, name)
doPlayerSetPromotionLevel(cid, level)
doPlayerSetSpecialDescription(cid, desc)
doCreatureSetHideHealth(cid, hide)
doCreatureSetSpeakType(cid, type)
doSendDistanceShoot(fromPos, toPos, type[, player])
doSendAnimatedText(pos, text, color[, player])
doPlayerAddSkillTry(cid, skillid, n[, useMultiplier = true])
doCreatureAddHealth(cid, health[, hitEffect[, hitColor[, force]]])
doCreatureAddMana(cid, mana)
doPlayerSetMaxCapacity(cid, cap)
doPlayerAddSpentMana(cid, amount[, useMultiplier = true])
doPlayerAddSoul(cid, amount)
doPlayerAddItem(cid, itemid[, count/subtype = 1[, canDropOnMap = true[, slot = 0]]])
doPlayerAddItemEx(cid, uid[, canDropOnMap = false[, slot = 0]])
doPlayerSendTextMessage(cid, MessageClasses, message)
doPlayerSendChannelMessage(cid, author, message, SpeakClasses, channel)
doPlayerSendToChannel(cid, targetId, SpeakClasses, message, channel[, time])
doPlayerOpenChannel(cid, channelId)
doPlayerAddMoney(cid, money)
doPlayerRemoveMoney(cid, money)
doPlayerTransferMoneyTo(cid, target, money)
doShowTextDialog(cid, itemid, text)
doDecayItem(uid)
doCreateItem(itemid[, type/count], pos)
doCreateItemEx(itemid[, count/subType = -1])
doTileAddItemEx(pos, uid)
doAddContainerItemEx(uid, virtuid)
doRelocate(pos, posTo[, creatures = true[, unmovable = true]])
doCleanTile(pos[, forceMapLoaded = false])
doCreateTeleport(itemid, topos, createpos)
doCreateMonster(name, pos[, extend = false[, force = false[, displayError = true]]])
doCreateNpc(name, pos[, displayError = true])
doSummonMonster(cid, name)
doConvinceCreature(cid, target)
doMonsterSetTarget(cid, target)
doMonsterChangeTarget(cid)
doAddCondition(cid, condition)
doRemoveCondition(cid, type[, subId])
doRemoveConditions(cid[, onlyPersistent])
doRemoveCreature(cid[, forceLogout = true])
doMoveCreature(cid, direction[, flag = FLAG_NOLIMIT])
doSteerCreature(cid, position)
doPlayerSetPzLocked(cid, locked)
doPlayerSetTown(cid, townid)
doPlayerSetVocation(cid,voc)
doPlayerRemoveItem(cid, itemid[, count[, subType = -1]])
doPlayerAddExperience(cid, amount)
doPlayerSetGuildId(cid, id)
doPlayerSetGuildLevel(cid, level[, rank])
doPlayerSetGuildNick(cid, nick)
doPlayerAddOutfit(cid, looktype, addon)
doPlayerRemoveOutfit(cid, looktype[, addon = 0])
doPlayerAddOutfitId(cid, outfitId, addon)
doPlayerRemoveOutfitId(cid, outfitId[, addon = 0])
doCreatureSetDropLoot(cid, doDrop)
doPlayerSetLossSkill(cid, doLose)
doPlayerSwitchSaving(cid)
doPlayerSave(cid[, shallow = false])
doChallengeCreature(cid, target)
doChangeSpeed(cid, delta)
doCreatureChangeOutfit(cid, outfit)
doSetMonsterOutfit(cid, name[, time = -1])
doSetItemOutfit(cid, item[, time = -1])
doSetCreatureOutfit(cid, outfit[, time = -1])
doPlayerSetBalance(cid, balance)
doCreatureSetNoMove(cid, block)
doPlayerSetIdleTime(cid, amount)
doPlayerSetStamina(cid, minutes)
doPlayerAddBlessing(cid, blessing)
doPlayerSetSkullEnd(cid, time, type)
doCreatureSetSkullType(cid, skull)
doCreatureSetPartyShield(cid, shield)
doCreatureSetGuildEmblem(cid, emblem)
doCreatureSetLookDirection(cid, dir)
doPlayerSendTutorial(cid, id)
doPlayerSendMailByName(name, item[, town[, actor]])
doPlayerAddMapMark(cid, pos, type[, description])
doPlayerAddPremiumDays(cid, days)
doAddIpBanishment(ip[, mask[, length[, reason[, comment[, admin[, statement]]]]]])
doAddPlayerBanishment(name/guid[, type[, length[, reason[, action[, comment[, admin[, statement]]]]]]])
doAddAccountBanishment(accountId[, playerId[, length[, reason[, action[, comment[, admin[, statement]]]]]]])
doAddNotation(accountId[, playerId[, reason[, comment[, admin[, statement]]]]]])
doAddStatement(name/guid[, channelId[, reason[, comment[, admin[, statement]]]]]])
doRemoveIpBanishment(ip[, mask])
doRemovePlayerBanishment(name/guid, type)
doRemoveAccountBanishment(accountId[, playerId])
doRemoveNotations(accountId[, playerId])
doRemoveStatements(name/guid[, channelId])
Is:
isPlayerBanished(name/guid, type)
isAccountBanished(accountId[, playerId])
isSightClear(fromPos, toPos, floorCheck)
isInArray(array, value[, caseSensitive = false])
isPlayerSaving(cid)
isCreature(cid)
isContainer(uid)
isMovable(uid)
isPlayerPzLocked(cid)
isIpBanished(ip[, mask])
Can:
canPlayerWearOutfitId(cid, outfitId[, addon = 0])
canPlayerWearOutfitId(cid, outfitId[, addon = 0])
canPlayerWearOutfit(cid, looktype[, addon = 0])
Combat:
doCombat(cid, combat, param)
setCombatArea(combat, area)
setCombatCondition(combat, condition)
setCombatParam(combat, key, value)
setConditionParam(condition, key, value)
setCombatCallBack(combat, key, function_name)
setCombatFormula(combat, type, mina, minb, maxa, maxb[, minl, maxl[, minm, maxm[, minc[, maxc]]]])
setConditionFormula(combat, mina, minb, maxa, maxb)
createCombatObject()
doCombatAreaHealth(cid, type, pos, area, min, max, effect)
doTargetCombatHealth(cid, target, type, min, max, effect)
doCombatAreaMana(cid, pos, area, min, max, effect)
doTargetCombatMana(cid, target, min, max, effect)
doCombatAreaCondition(cid, pos, area, condition, effect)
doTargetCombatCondition(cid, target, condition, effect)
doCombatAreaDispel(cid, pos, area, type, effect)
doTargetCombatDispel(cid, target, type, effect)
addOutfitCondition(condition, outfit)
createConditionObject(type[, ticks[, buff[, subId]]])
createCombatArea({area}[, {extArea}])
Set:
setWorldType(type)
setHouseOwner(houseId, owner[, clean])
setCreatureMaxHealth(cid, health)
setCreatureMaxMana(cid, mana)
setHouseAccessList(houseid, listid, listtext)
Others:
hasPlayerClient(cid)
hasItemProperty(uid, prop)
addEvent(callback, delay, parameters)
stopEvent(eventid)
stringToVariant(string)
positionToVariant(pos)
targetPositionToVariant(pos)
variantToNumber(var)
variantToString(var)
variantToPosition(var)
numberToVariant(number)
registerCreatureEvent(uid, eventName)
unregisterCreatureEvent(uid, eventName)
addDamageCondition(condition, rounds, time, value)
loadmodlib(lib)
domodlib(lib)
dodirectory(dir[, recursively = false])
errors(var)
Com o tempo irei adicionando uma mini explicação de cada função, caso queiram contribuir com as mini-explicações, mandem as edições por MP para min
Abraço e fuis
Editado Dezembro 29 por Drazyn1291