
Tudo que Wakon postou
-
[PEDIDO] COMO POSSO FAZER STREAM LIVE PELO SITE?
http://www.tibiaking.com/forum/topic/61284-streamtemple-tfs-04-860/
- Sprite Shiny Mismagius
-
(Resolvido)Remover vip days iniciais do otserver com site
O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Aprovação de Tópicos de Conteúdos" Para: "OTServ → Suporte OTServ → Suporte de OTServ Geral"
-
(Resolvido)Promotion para free accounts!(King Tbianus)
Tenta assim:
-
[8.60] Inovation Ot
Tópico aprovado e movido a área correta, obrigado por compartilhar. Você recebeu um REP pela contribuição.
-
[8.60] Baiak Daesung
Tópico aprovado e movido a área correta, obrigado por compartilhar. Você recebeu um REP pela contribuição.
- Xenobot Att Sozinho pra 10.81
-
(Pedido)Client Pokexgames Descompilado (2014)
Seu conteúdo foi deletado e você postou o mesmo em área de suporte! Assunto encerrado, caso receba permissão e volte a postar, envie pm.
-
(Pedido)Client Pokexgames Descompilado (2014)
Jair Kevick, você postou um conteúdo sem autorização que foi enviado a lixeira, agora postou o mesmo conteúdo em uma área de suporte e vai ficar floodando todos os tópicos? Você será negativado e caso ocorra novamente, irá receber uma punição mais severa.
-
Launcher/Cliente Anti-Bot
O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Suporte OTServ → Suporte de OTServ Geral" Para: "OTServ → Suporte OTServ → Suporte de Programação"
-
[AJUDA] Bug no premiumForPromote
Procura o script dos npc's, em "Data/npc/scripts", e posta aqui.
- Baixei Elfbot Ng no notebook,mas não funciona
-
Como Deixar Poketibia Online em W8?
O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Aprovação de Tópicos de Conteúdos" Para: "OTServ → Suporte OTServ → Suporte de OTServ Geral"
-
Tile que sumona monstro
Em "Data/movements/scripts", nome_desejado.lua: local config = { gStorage = 34349, monster = "Demodras", time = 5, pos = {x = 158, y = 57, z = 7} } function onStepIn(cid, item, position, fromPosition) if not isPlayer(cid) then return true end if getGlobalStorageValue(config.gStorage) < os.time() then doCreateMonster(config.monster, config.pos) setGlobalStorageValue(config.gStorage, config.time * 60 + os.time()) doCreatureSay(cid, ''..config.monster ..' apareceu!', TALKTYPE_MONSTER) doSendMagicEffect(config.pos, CONST_ME_TELEPORT) doSendMagicEffect(position, 13) else doTeleportThing(cid, fromPosition) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'Aguarde '.. math.ceil((getGlobalStorageValue(config.gStorage) - os.time())/60) ..' minutos para summonar o '.. config.monster ..' novamente.') end return true end Em "Data/movements", no arquivo movements.xml adicione: <movevent type="StepIn" actionid="XXX" event="script" value="nome_desejado.lua" /> Em XXX coloque a actionID desejada e depois coloque-a no RME. Se tiver errado ou der alguma problema, me avise.
-
Item de teleport para poketibia
É mesmo, obrigado por avisar .
-
Item de teleport para poketibia
Em "Data/actions/scripts", copie e cole um arquivo.lua e renomeie para nome_desejado.lua, apague tudo e cole: local config = { battle = false, -- Usar em batalha. tpPos = {x = 160, y = 54, z = 7}, -- Posição que o player será levado ao usar o item. level = 10, -- Level para usar o item. pz = false -- Usar apenas em zona de proteção. } function onUse(cid, item) if config.battle == false and getCreatureCondition(cid, CONDITION_INFIGHT) == true then return doPlayerSendCancel(cid, 'Não é possivel teleportar em batalha!') elseif config.pz == true and getTilePzInfo(getPlayerPosition(cid)) == false then return doPlayerSendCancel(cid, 'Não é possivel teleportar fora da zona de proteção!') end if getPlayerLevel(cid) >= config.level then doTeleportThing(cid, config.tpPos) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_TELEPORT) doRemoveItem(item.uid, 1) else doPlayerSendCancel(cid, 'Apenas jogadores com level superior a '.. config.level ..' podem teleportar.') end return true end Em "Data/actions", abra o arquivo actions.xml e adicione a tag: <action itemid="XXX" event="script" value="nome_desejado.lua"/> Em XXX você coloca o ID do item de teleport, em nome_desejado é o nome do script que você colocou em "Data/scripts/actions". Se der algum problema, me avise.
-
(Resolvido)Clicar no item trocar vocation
Aqui está: local t = { checkStorage = 0092, -- Não altere mesmo que faça outro script para outra vocation!!! vocStorage = 0091, -- Mesma coisa da checkStorage. maxLevel = 10, -- Level máximo para usar. table = { [2456] = {voc = 6}, [2457] = {voc = 7}, [2458] = {voc = 8} }, } function onUse(cid, item) for k, v in pairs(t.table) do if item.itemid == k then if getPlayerLevel(cid) <= t.maxLevel then doPlayerSetVocation(cid, v.voc) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Sua vocação foi alterada para ".. (getVocationInfo(v.voc).name) ..".") setPlayerStorageValue(cid, t.vocStorage, v.voc) setPlayerStorageValue(cid, t.checkStorage, 1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MAGIC_GREEN) doRemoveItem(item.uid, 1) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Apenas jogadores com level inferior a ".. t.maxLevel .." podem utilizar este item.") end end end return true end <action itemid="2456;2457;2458" event="script" value="changeVoc.lua"/> Adicione os itens no script e na tag, como no exemplo. O creaturescripts, use o mesmo!
-
Arrumar uma coisinha
Suidera, é proibido oferecer suporte fora do fórum, você será alertado e caso ocorra novamente, você irá receber uma punição mais severa! Leia as regras: http://www.tibiaking.com/forum/topic/1281-regras-gerais/
-
(Resolvido)Clicar no item trocar vocation
Acabei de explicar amigo, sem o creaturescripts não vai funcionar.
-
(Resolvido)Clicar no item trocar vocation
Sim, se você não adiciona-lo, quando o jogador relogar a vocação irá voltar para a antiga.
-
[AJUDA] Script quest não ta rodando direto
Qual erro aparece?
-
(Resolvido)Clicar no item trocar vocation
Em "Data/actions/scripts", copie e cole um arquivo.lua e renomeie para changeVoc.lua, apague tudo e cole: local t = { checkStorage = 0092, -- Não altere mesmo que faça outro script para outra vocation!!! vocStorage = 0091, -- Mesma coisa da checkStorage. maxLevel = 10, -- Level máximo para usar. useVoc = 7 -- Vocação após usar o item. } function onUse(cid, item) if getPlayerLevel(cid) <= t.maxLevel then doPlayerSetVocation(cid, t.useVoc) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Sua vocação foi alterada para ".. (getVocationInfo(t.useVoc).name) ..".") setPlayerStorageValue(cid, t.vocStorage, t.useVoc) setPlayerStorageValue(cid, t.checkStorage, 1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MAGIC_GREEN) doRemoveItem(item.uid, 1) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Apenas jogadores com level inferior a ".. t.maxLevel .." podem utilizar este item.") end return true end Em "Data/actions", abra o arquivo actions.xml e adicione: <action itemid="2456" event="script" value="changeVoc.lua"/> Agora em "Data/creaturescripts/scripts", copie e cole um arquivo.lua e renomeie para changeVoc.lua, apague tudo e cole: local t = { checkStorage = 0092, vocStorage = 0091 } function onLogin(cid) if getPlayerStorageValue(cid, t.checkStorage) > 0 then doPlayerSetVocation(cid, getPlayerStorageValue(cid, t.vocStorage)) end return true end Em "Data/creaturescripts", no arquivo creaturescripts.xml adicione: <event type="login" name="changeVocation" event="script" value="changeVoc.lua"/> A mesma regra das storage no primeiro arquivo se aplicam ao segundo! Se der algum problema, me avise.
-
StreamTemple TFS 0.4 [8.60]
Muito bom mesmo, obrigado por compartilhar esse belo conteúdo .
-
(Resolvido)NPC Travel TFS 1.0
Tenta assim: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end local cfg = { toPos = {x=964, y=1025, z=14}, level = 1, Storage = 25747, temploPos = {x = 444, y = 444, z = 7} } function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid local player = Player(cid) if msgcontains(msg, 'bosses') then selfSay('There are some undead below, you agree to be teleported there?', cid) talkState[talkUser] = 1 elseif talkState[talkUser] == 1 then if msgcontains(msg, 'yes') then if player:getStorageValue(cfg.Storage) > 0 then selfSay('You\'ve done it.', cid) return FALSE end if getPlayerLevel(cid) >= cfg.level then doTeleportThing(cid, cfg.toPos) talkState[talkUser] = 0 else selfSay('Only players level ' ..cfg.level.. ' can pass.', cid) end end if msgcontains(msg, 'no') and talkState[talkUser] == 1 then selfSay('Okay, you\'re a smart and probably know the face of danger that exists there.', cid) talkState[talkUser] = 0 end elseif msgcontains(msg, 'back') then doTeleportThing(cid, cfg.temploPos) end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
-
ajuda com script de spell
Tente assim: local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -60.0, -30, -50.0, 90) local arr = { {0, 1, 0}, {0, 1, 0}, {0, 1, 0}, } local area = createCombatArea(arr) setCombatArea(combat, area) function onCastSpell(cid, var) local mL = 2 if getPlayerMagLevel(cid) < mL then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você precisa ter seu magic level em ".. mL .." para usar essa magia!") return false end return doCombat(cid, combat, var) end