Tudo que ViitinG postou
-
Os players do ot não ficar redskull nem blacksull, e quando soltam um Magic Wall ele fica infinito!
Primeiramente aqui não é o tibiaking e sim o Tibia King. Mande o script da magic wall por favor !!
- (Resolvido)Npc De Premmium
- (Resolvido)Npc De Premmium
- (Resolvido)Npc De Premmium
- (Resolvido)Npc De Premmium
- (Resolvido)Npc De Premmium
-
(Resolvido)Qual é a base para criar um bom servidor?
Para saber a senha que ta em sha1 é só converter para plain usando um dos sites que o Nicrox mandou acima ! Pegue a senha que está em sha1 e coloque no dialogo de um dos dois sites que ele mandou acima..
-
(Resolvido)Qual é a base para criar um bom servidor?
Aqui tem um download do Alissow pelo comedinhasss : http://www.tibiaking.com/forum/topic/24660-alissow-ots-50-17032013/
-
(Resolvido)Qual o editor mais usado?
Poisé a 3.0 tem essa opção de poder mappear junto porém está com muitos bugs então acho melhor usar a 2.2 até que a 3.0 esteja livre de bugs e possa ser usada sem dor de cabeça !!
-
(Resolvido)Npc De Premmium
Tem que falar "sim",no caso se quiser que fale "yes" mude para este script : 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 function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVbehavior == CONVERSATION_DEFAULT and 0 or cid -- Conversa Jogador/NPC if(msgcontains(msg, 'offer') or msgcontains(msg, 'offer')) then selfSay('Para comprar Premium diga ( premium ).', cid) elseif(msgcontains(msg, 'premium') or msgcontains(msg, 'Premium')) then selfSay('dialogo da premium - diga sim para comprar-', cid) talkState[talkUser] = 1 -- Confirmação da Compra elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 1) then if(doPlayerRemoveItem(cid, 2160, 1) == true) then selfSay('Parabens, Premium de 30 dias!', cid) doPlayerAddPremiumDays(cid, 31) talkState[talkUser] = 0 else selfSay('Voce nao tem dinheiro suficientes.', cid) talkState[talkUser] = 0 end end return TRUE end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
-
(Resolvido)Qual o editor mais usado?
O melhor editor de mapa no meu caso é o RME mesmo. A versão mais recente dele sem bugs é a 2.2 !!
-
(Resolvido)Npc De Premmium
Tenta este : "data/npc/premmyseller" <?xml version="1.0" encoding="UTF-8"?> <npc name="Premmy Seller" script="data/npc/scripts/premmyseller.lua" walkinterval="3000" floorchange="0" access="5" > <health now="150" max="150"/> <look type="545" head="0" body="114" legs="114" feet="0"/> <parameters> <parameter key="message_greet" value="Bem-vindo, aqui voce pode comprar sua Premium para ver as ofertas diga 'offer' "/> <parameter key="message_farewell" value="Ate a proxima, Beijoss!"/> </parameters> </npc> "data/npc/scripts/premmyseller" 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 function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVbehavior == CONVERSATION_DEFAULT and 0 or cid -- Conversa Jogador/NPC if(msgcontains(msg, 'offer') or msgcontains(msg, 'offer')) then selfSay('Para comprar Premium diga ( premium ).', cid) elseif(msgcontains(msg, 'premium') or msgcontains(msg, 'Premium')) then selfSay('dialogo da premium - diga sim para comprar-', cid) talkState[talkUser] = 1 -- Confirmação da Compra elseif(msgcontains(msg, 'sim') and talkState[talkUser] == 1) then if(doPlayerRemoveItem(cid, 2160, 10) == true) then selfSay('Parabens, Premium de 30 dias!', cid) doPlayerAddPremiumDays(cid, 31) talkState[talkUser] = 0 else selfSay('Voce nao tem dinheiro suficientes.', cid) talkState[talkUser] = 0 end end return TRUE end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
-
Galera por Favor me ajudem Quero Fazer um Server de Poketibia
Procure um tutorial aqui no TK que você vai achar brother !!
-
(Resolvido)Npc De Premmium
Tenta mudar o script para este : days = 30 gold coins = 3031 quant = 10000 local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) 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 function santaNPC(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if (parameters.present == true) then if isPlayer(cid) then if getPlayerItemCount(cid,gold coins) >= quant then doPlayerAddPremiumDays(cid,days) doPlayerRemoveItem(cid,gold coins,quant) npcHandler:say('Obrigado |PLAYERNAME|, Está aqui seus "..days.." dias de Premium', cid) else npcHandler:say('Voce não tem "..quant.." Gold Coins.', cid) end end npcHandler:resetNpc() return true end end npcHandler:setMessage(MESSAGE_GREET, "Olá |PLAYERNAME|. Eu vendo {Premium} Days.") local noNode = KeywordNode:new({'no'}, santaNPC, {present = false}) local yesNode = KeywordNode:new({'yes'}, santaNPC, {present = true}) local node = keywordHandler:addKeyword({'premium'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Voce gostaria de comprar "..days.." dias de Premium por "..quant.." gold coins?'}) node:addChildKeywordNode(yesNode) node:addChildKeywordNode(noNode) npcHandler:addModule(FocusModule:new())
-
(Resolvido)Qual é a base para criar um bom servidor?
É só você achar um que não tenha muitas coisas,se tiver algo que você não goste é só retirar do servidor..
-
(Resolvido)Npc De Premmium
Tenta este : "data/npc/buypremmy.xml" <?xml version="1.0" encoding="UTF-8"?> <npc name="Premium Seller" script="buypremmy.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100"/> <look type="160" head="0" body="112" legs="93" feet="95"/> </npc> "data/npc/scripts/buypremmy.lua" days = 30 goldcoins = 3031 quant = 10000 local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) 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 function santaNPC(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if (parameters.present == true) then if isPlayer(cid) then if getPlayerItemCount(cid,goldcoins) >= quant then doPlayerAddPremiumDays(cid,days) doPlayerRemoveItem(cid,goldcoins,quant) npcHandler:say('Obrigado |PLAYERNAME|, Está aqui seus "..days.." dias de Premium', cid) else npcHandler:say('Voce não tem "..quant.." Gold Coins.', cid) end end npcHandler:resetNpc() return true end npcHandler:setMessage(MESSAGE_GREET, "Olá |PLAYERNAME|. Eu vendo {Premium} Days.") local noNode = KeywordNode:new({'no'}, santaNPC, {present = false}) local yesNode = KeywordNode:new({'yes'}, santaNPC, {present = true}) local node = keywordHandler:addKeyword({'premium'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Voce gostaria de comprar "..days.." dias de Premium por "..quant.." gold coins?'}) node:addChildKeywordNode(yesNode) node:addChildKeywordNode(noNode) npcHandler:addModule(FocusModule:new())
-
(Resolvido)Alterando o tempo de battle no player
Da sim brother,faça o seguinte : "data/creaturescripts/creaturescripts.xml" <event type="think" name="TiraBattle" event="script" value="tirabattle.lua"/> "data/creaturescript/scripts/login.lua" registerCreatureEvent(cid, "TiraBattle") "data/creaturescripts/scripts/tirabattle" function onThink(cid, interval) if(getTilePzInfo(getCreaturePosition(cid))) then doRemoveCondition(cid, CONDITION_INFIGHT) end end
-
(Resolvido)Alterando o tempo de battle no player
Troque por este : pzLocked = 1 * 60 * 1000 huntingDuration = 1 * 60 * 1000 obs : tem que esperar 1 minuto após matar o monstro !!!!
-
(Resolvido)Alterando o tempo de battle no player
Mude isto : pzLocked = 2 * 60 * 1000 huntingDuration = 1 * 60 * 1000 Para isto : pzLocked = 1 * 60 huntingDuration = 1 * 60
-
(Resolvido)Alterando o tempo de battle no player
Manda o config.lua ae por favor !
-
Problema com RW Items!
Está certo seu items.xml o problema é no servidor mesmo,ele não tem "doShowTextWindow" até tentei mudar mas não sou muito bom com scripts to treinando ainda rsrsrsrs. Mas como eu ja disse,deixa o topico aberto quem sabe alguma alma do TK venha e te ajude !!
-
(Resolvido)Qual é a base para criar um bom servidor?
Tenta usar um alissow ou styller como base brother !
-
Problema com RW Items!
Manda ai..
-
Problema com RW Items!
Não sei oque possa ser então cara,eu não to em casa então não tem como eu testar outras possibilidades para te ajudar,mas quando eu chegar eu vejo. Deixa o topico aberto quem sabe alguma alma nesse TK te ajude !! rsrsrsrsrsrs
-
Problema com RW Items!
Tenta usa esse aqui tambem cara.. : function onUse(cid, item, frompos, item2, topos) rw = getItemRWInfo(item.uid) if rw and 1 then if rw and 2 then doShowTextDialog(item.uid,100,1) else doShowTextDialog(item.uid,0,0) end else if item.itemid == 2597 then doShowTextDialog(item.uid,0,0) end end return 1 end