TekaZudo
seuserver.com.br
DESCRIÇÃO
Anuncie aqui neste countdown e dê maior visibilidade ao seu lançamento |
Full Global • Custom Quests • Custom Outfits • Lottery System • Version 15x
Inicia em:
--
Participar
Tudo que psychonaut postou
- removido
-
(Resolvido)phpmyadmin dando erro #1273
#edit, nem vi a resposta em cima, não tem como deletar post :x
-
Leigo no assunto
Pega o Gesior, é aparentemente o mais fácil para isso, tem alguns scripts de venda no fórum que são fáceis de configurar. Se tiver alguma dúvida no processo tu pode postar nessa mesma sessão que normalmente o pessoal ajuda.
-
Problema com a woe
Posta o script do guarda. E a parte dele no xml também.
- removido
-
Alguem pode me dizer se windows ou linux qual é o melhor?
No caso de um servidor, eu acho melhor Linux, pois além de em alguns hosts sair bem mais barato, ele possui mais segurança que o Windows(não é imune a tudo, mas tem bem mais segurança) e as vezes é até mais estável. Eu só recomendo o windows, em casos de, o que você precisa fazer nele, não ser possível no Linux devido a problemas de compatibilidade.
-
Erro mysql 10.78
Não tem nenhum arquivo que termina em .sql? mt estranho
-
Erro mysql 10.78
Você não instalou o banco de dados, o xampp Tem que ter pra rodar o serviço de sql #edit Aqui tem um tuto http://www.tibiaking.com/forum/topic/59567-criando-um-site-para-seu-servidor-com-diferentes-sistemas/ Faz até a parte importando scheme do servidor
-
Cliente 10.76
É só criar 2 dns que vai pro seu mesmo ip, e colocar no tibia editando com o notepad++, os dns tem que ter o mesmo número de digitos dos do tibia, um com 14 e outro com 17 se eu não me engano
-
(Resolvido)QuestLog
Tenta isso local monstro1 = 55004 local monstro2 = 55005 function onKill(cid, target) if(isPlayer(target) == FALSE and monstro1 or monstro2 and getPlayerStorageValue(cid, 76669) == 2) then if getPlayerStorageValue(cid, monstro1) < 20 or getPlayerStorageValue(cid, monstro2) < 1 then if target == monstro1 then local killedMonsters = getPlayerStorageValue(cid, monstro1) else local killedMonsters = getPlayerStorageValue(cid, monstro2) end if(killedMonsters == -1) then killedMonsters = 1 end setPlayerStorageValue(cid, monster, killedMonsters + 1) doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, 'Voce matou ' .. killedMonsters .. ' de 20 dragoes') else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você matou dragões suficientes.") setPlayerStorageValue(cid, 76669, 3) end end return true end
-
erro por site online
no config.lua tem que por mysql no database
-
(Resolvido)Bow Não é compativel com a arrow
</item> <item id="12634" article="a" name="Pally bow"> <attribute key="weight" value="3500" /> <attribute key="slotType" value="two-handed" /> <attribute key="weaponType" value="distance" /> <attribute key="ammoType" value="arrow" /> <attribute key="range" value="20" /> <attribute key="hitChance" value="50" /> <attribute key="attack" value="600" /> </item> <item id="12635" article="a" name="Pally Arrow" plural="Pally Arrows"> <attribute key="weight" value="80" /> <attribute key="slotType" value="ammo" /> <attribute key="attack" value="5" /> <attribute key="maxHitChance" value="90" /> <attribute key="weaponType" value="ammunition" /> <attribute key="ammoType" value="arrow" /> <attribute key="shootType" value="arrow" /> <attribute key="ammoAction" value="removecount" /> </item>
-
(Resolvido)Argumento Invalido !
Vai no config.lua e muda bindOnlyGlobalAddress pra no ou false
-
(Resolvido)Bow Não é compativel com a arrow
O arrow tem um .lua? Se tiver coloca aqui.
-
Upar x level, ganhar itens e aparecer mensagem default
8.60 Mas não usa TFS 1.0+ né
-
COMANDO DO GOD NÃO FUNCIONA
Ah, pera, passei o errado la. Vo colocar o link aqui, apaga o que ta ai na pasta, e deixa o que tava antes de você apagar tudo(que você fez backup) e só substitui: http://www.tibiaking.com/forum/topic/59907-comandos-god-gm-cm-tutor-e-player-revisados-tfs-1x/ Download: https://mega.nz/#!rYIgRaxY!OLSQAFRRrV2BA1woHUgpqGgLBSEwrfI2inMQnSbS5n4 Scan: https://www.virustotal.com/pt/file/090c59890209143c280d8156550e3b96eae4b640e258d0e0b93cc6a2020fe7c0/analysis/1436615221/
- (Resolvido)QuestLog
-
COMANDO DO GOD NÃO FUNCIONA
http://www.tibiaking.com/forum/topic/59907-comandos-god-gm-cm-tutor-e-player-revisados-tfs-1x/ Faz backup do seu, baixa esse ai e poe no lugar.
-
Tabela faltando
Vai na tabela houses e cria "highest_bidder"
-
(Resolvido)QuestLog
Tenta isso, e vê no console se da os prints. local monsters = { --nome = storage ["dragon"] = 55004, ["dragon lord"] = 55005 } function onKill(cid, target) local monster = monsters[getCreatureName(target):lower()] if(isPlayer(target) == FALSE and monster and getPlayerStorageValue(cid, 76669) == 2) then if getPlayerStorageValue(cid, monster) < 20 then local killedMonsters = getPlayerStorageValue(cid, monster) if(killedMonsters == -1) then killedMonsters = 1 end print("Chegou aqui.") setPlayerStorageValue(cid, monster, killedMonsters + 1) doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, 'Voce mato ' .. killedMonsters .. ' de 20 dragoes') print("Chegou aqui 2.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você matou dragões suficientes.") setPlayerStorageValue(cid, 76669, 3) end end return true end
-
(Resolvido)QuestLog
Testa assim local monsters = { --nome = storage ["dragon"] = 55004, ["dragon lord"] = 55005 } function onKill(cid, target) local monster = monsters[getCreatureName(target):lower()] if(isPlayer(target) == FALSE and monster and getPlayerStorageValue(cid, 76669) == 2) then if getPlayerStorageValue(cid, monster) < 20 then local killedMonsters = getPlayerStorageValue(cid, monster) if(killedMonsters == -1) then killedMonsters = 1 end setPlayerStorageValue(cid, monster, killedMonsters + 1) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Voce matou "..getPlayerStorageValue(cid, monster).." de 20 dragões.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você matou dragões suficientes.") setPlayerStorageValue(cid, 76669, 3) end end return true end
- (Resolvido)QuestLog
-
[Show Off] Roga
10.41 eu acho.
-
(Resolvido)QuestLog
Beleza, a começar pelo quest log. A tag quests fecha por último: <?xml version="1.0" encoding="UTF-8"?> <quests> <quest name="Example Quest I" startstorageid="1001" startstoragevalue="1"> <mission name="Example Mission 1" storageid="1001" startvalue="1" endvalue="3"> <missionstate id="1" description="Example description 1"/> <missionstate id="2" description="Example description 2"/> <missionstate id="3" description="Example description 3"/> </mission> <mission name="Example Mission 2" storageid="1001" startvalue="4" endvalue="5"> <missionstate id="4" description="Example description 1"/> <missionstate id="5" description="Example description 2"/> </mission> </quest> <quest name="Tasks" startstorageid="76669" startstoragevalue="1"> <mission name="Task Dragoes" storageid="76669" startvalue="1" endvalue="4"> <missionstate id="1" description="Fale com o npc tal para aceitar a missao"/> <missionstate id="2" description="Mate 20 dragoes em tal montanha"/> <missionstate id="3" description="Volte ao npc tal para receber sua recompensa"/> <missionstate id="3" description="Voce ja fez a task dos dragoes"/> </mission> </quest> </quests> Bom, no login.lua o nome ta errado, mas vamos corrigir no creaturescripts.xml: <event type="kill" name="MonsterKill" script="monsterkill.lua"/> Bem, e o NPC ta sem dialogo inicial: <?xml version="1.0" encoding="UTF-8"?><npc name="Adam" script="task1.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100" /> <look type="132" head="115" body="0" legs="114" feet="0" addons="3" corpse="2212"/> <parameters> <parameter key="message_greet" value="Oi, você pode me ajudar? Se puder, me avise que eu lhe falo sobre a {missao}. "/> </parameters> </npc> Pra mudar esse {missao}, que é a mensagem em azul, mude essa linha: elseif msgcontains(msg, "missao") then No script do npc Qualquer erro ou mal funcionamento é só postar.
-
(Resolvido)QuestLog
É que tinha bugado, eu ja tinha respondido, vou fazer a resposta denovo aqui. Script do npc: local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} local quest = 76669 --storage local reward = 70000 local recompensa = 2160 -- id da recompensa local recompensaqtd = 1 -- quantidade de itens que vai ganhar local xpganha = 20000 -- xp q o jogador vai ganha 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) local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if(not npcHandler:isFocused(cid)) then return false elseif msgcontains(msg, "yes") and talkState[talkUser] == 1 then npcHandler:say("Ótimo! Vou recompensar você bem, {ok}?.", cid) talkState[talkUser] = 2 elseif msgcontains(msg, "ok") and talkState[talkUser] == 2 then npcHandler:say("Okay, vamos!", cid) setPlayerStorageValue(cid, quest, 2) talkState[talkUser] = 0 elseif msgcontains(msg, "missao") then local str = getPlayerStorageValue(cid, quest) if(str < 2) then npcHandler:say("Eu preciso de você. Pode matar 20 dragoes pra mim?", cid) talkState[talkUser] = 1 return true elseif(str == 2) then npcHandler:say("Por favor volte para uma recompensa.", cid) elseif(str == 3) then npcHandler:say("20 dragões, já? Você é realmente um matador de dragões! Como o prometido, ta aqui sua recompensa.", cid) doPlayerAddItem(cid, recompensa, recompensaqtd) doPlayerAddExp(cid, xpganha) setPlayerStorageValue(cid, quest, 4) elseif(str == 4) then npcHandler:say("Você ja me ajudou!", cid) end talkState[talkUser] = 0 end return TRUE end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) data/creaturescripts/scripts monsterkill.lua local monsters = { --nome = storage ["dragon"] = 55004, ["dragon lord"] = 55004 } function onKill(cid, target) local monster = monsters[getCreatureName(target):lower()] if(isPlayer(target) == FALSE and monster and getPlayerStorageValue(cid, 76669) == 2) then if getPlayerStorageValue(cid, monster) < 20 then local killedMonsters = getPlayerStorageValue(cid, monster) if(killedMonsters == -1) then killedMonsters = 1 end setPlayerStorageValue(cid, monster, killedMonsters + 1) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Voce matou " .. killedMonsters .. " de 20 dragões.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você matou dragões suficientes.") setPlayerStorageValue(cid, 76669, 3) end end return TRUE end creaturescripts.xml <event type="kill" name="monsterkill" script="monsterkill.lua"/> Registra o evento monsterkill no login.lua na pasta creaturescripts/scripts ou creaturescripts/scripts/data vai ter vários eventos é só copiar o molde de um e trocar o nome. data/xml/quests.xml <quest name="Tasks" startstorageid="76669" startstoragevalue="1"> <mission name="Task Dragoes" storageid="76669" startvalue="1" endvalue="4"> <missionstate id="1" description="Fale com o npc tal para aceitar a missao"/> <missionstate id="2" description="Mate 20 dragoes em tal montanha"/> <missionstate id="3" description="Volte ao npc tal para receber sua recompensa"/> <missionstate id="3" description="Voce ja fez a task dos dragoes"/> </mission> </quest>