Tudo que FlavioHulk postou
-
(Resolvido)Mensagens "setCallback" do NPC
-- Constant indexes for defining default messages. MESSAGE_GREET = 1 -- When the player greets the npc. MESSAGE_FAREWELL = 2 -- When the player unGreets the npc. MESSAGE_BUY = 3 -- When the npc asks the player if he wants to buy something. MESSAGE_ONBUY = 4 -- When the player successfully buys something via talk. MESSAGE_BOUGHT = 5 -- When the player bought something through the shop window. MESSAGE_SELL = 6 -- When the npc asks the player if he wants to sell something. MESSAGE_ONSELL = 7 -- When the player successfully sells something via talk. MESSAGE_SOLD = 8 -- When the player sold something through the shop window. MESSAGE_MISSINGMONEY = 9 -- When the player does not have enough money. MESSAGE_NEEDMONEY = 10 -- Same as above, used for shop window. MESSAGE_MISSINGITEM = 11 -- When the player is trying to sell an item he does not have. MESSAGE_NEEDITEM = 12 -- Same as above, used for shop window. MESSAGE_NEEDSPACE = 13 -- When the player don't have any space to buy an item MESSAGE_NEEDMORESPACE = 14 -- When the player has some space to buy an item, but not enough space MESSAGE_IDLETIMEOUT = 15 -- When the player has been idle for longer then idleTime allows. MESSAGE_WALKAWAY = 16 -- When the player walks out of the talkRadius of the npc. MESSAGE_DECLINE = 17 -- When the player says no to something. MESSAGE_SENDTRADE = 18 -- When the npc sends the trade window to the player MESSAGE_NOSHOP = 19 -- When the npc's shop is requested but he doesn't have any MESSAGE_ONCLOSESHOP = 20 -- When the player closes the npc's shop window MESSAGE_ALREADYFOCUSED = 21 -- When the player already has the focus of this npc. MESSAGE_WALKAWAY_MALE = 22 -- When a male player walks out of the talkRadius of the npc. MESSAGE_WALKAWAY_FEMALE = 23 -- When a female player walks out of the talkRadius of the npc. Basta usar um dos ID acima, e incluir no final do script do NPC npcHandler:setMessage(MESSAGE_WALKAWAY, "Example") npcHandler:setMessage(MESSAGE_FAREWELL, "Example")
-
(Resolvido)Mensagens "setCallback" do NPC
poste seu script NPCHandler na pasta libs em Npc
-
(Resolvido)script de skills por stages para otserv 10.00 e 11.00
Cara, esse script é para o TFS 1.3
-
[Erro] Simple Task erro
Apaga a linha e redigita novamente, o editor tá reconhecendo com caractere especial
-
(Resolvido)Tile que passa apenas 1 player por IP!
Realmente funciona dessa maneira, porém é o que está descrito no tópico haha, valeu !
-
alguem pode me ajudar nesse (ERRO) reward chest
tente colocar : monster:setReward(true)
-
(Resolvido)Tile que passa apenas 1 player por IP!
Pode ser action kk
-
Reload não funciona normalmente
posta seu script de reload que está na pasta talkactions
-
(Resolvido)Tile que passa apenas 1 player por IP!
local ip = {} local function checkPlayerIp(cid) if not isPlayer(cid) then return end if ip[getPlayerIp(cid)] == true then return true end return false end function onStepIn(cid, item, position, fromPosition) if not isPlayer(cid) then return true end if checkPlayerIp(cid) then doTeleportThing(cid, fromPosition, false) doSendMagicEffect(position, CONST_ME_MAGIC_BLUE doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você não pode entrar aqui com mais de um IP") else ip[getPlayerIp(cid)] = true end return true end Tentei uma chance frustrada kk !
-
(Resolvido)Npc que venda Livro com Texto
@Sttorm
-
(Resolvido)Npc que venda Livro com Texto
Qual TFS? É fundamental informar o TFS, assim saberemos trabalhar melhor em cima das possíveis distros !
-
Como criar servidor nas versoes recentes em windows:
Há tutoriais aqui no fórum, e na net, mano... Dá uma procurada
-
estou com vários erro no sistema warzones
qual a versão do seu TFS? Você instalou as storages na Lib?
-
(Resolvido)erro In a timer event called from
Tentei kk, não manjo de 0.4 kk local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_RED) local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, 20000) setConditionFormula(condition, -0.9, 0, -0.9, 0) setCombatCondition(combat, condition) function onCastSpell(cid, var) setPlayerStorageValue(cid, 12019, 1) addEvent(function(id) if not isPlayer(id) then return end setPlayerStorageValue(id, 12019, -1) end, 500, cid) return doCombat(cid, combat, var) end
-
bug exani hur up/down
post your script, man... And what is version of distro?
- TFS 1.3 / Otx3 | Otg Server Global - 11x - 12.40 (SPRITES 13.40) (Updates Diarios)
-
Castele 24hrs alguem me ajuda
tu quer um script do zero? Ou não sabe instalar o que já tem no Tibiaking?
- Modal Compra por alavanca 1.2
-
[AJUDA] SCRIPT NAO TA PEGANDO
isso é na source, mano
-
Erro system cassino npc
poste o script, por favor
-
(Resolvido)Delay Comando
local storage = 502154 function onSay(player, words, param) if player:getExhaustion(storage) > 0 then player:sendCancelMessage(RETURNVALUE_YOUAREEXHAUSTED) return false end if player:stopLiveCast(param) then player:setExhaustion(storage, 5) player:sendTextMessage(MESSAGE_INFO_DESCR, "You have stopped casting your gameplay.") else player:sendCancelMessage("You're not casting your gameplay.") end return false end
-
estou com vários erro no sistema warzones
Cara, no github do Malucooo há esses sistemas, dê uma procurada lá
-
[DUVIDA] Red Skull
function onUse(player, item, fromPosition, target, toPosition, isHotkey) if player:getSkull() == SKULL_RED then player:getPosition():sendMagicEffect(CONST_ME_POFF) player:sendCancelMessage('Você esta red skull.') return true end player:teleportTo(player:getTown():getTemplePosition()) player:getPosition():sendMagicEffect(CONST_ME_TELEPORT) return true end
-
Gnome e Destruction itens
Use o OT Item Editor para colocar as propriedades correta dos itens !
-
Tibia 11 crasha no tutorial
Mande seu login.php aqui, por favor