Tudo que oliverarrow postou
-
OrochiElf Server 0.1
To no aguardo da 8.6, ninguem usa 8.54
-
OrochiElf Server 0.1
Arrumado BUG do Swimming (Agradecimento: FireElement) Que bug era esse? São essas as dll? http://www.tibiaking.com/forum/topic/53579-854-the-forgotten-server-036pl1-crying-damson/ explica melhor as funções, aguardando a 8.60 pra poder dar uma olhada
-
Peça seu Map
Só procurar sobre porta do inferno supernatural
-
[AJUDA] Codeblocks / OTClient
@kamus Eu postei o link do tutorial q eu segui, olha lá ---- Todo tutorial de otclient usa codeblocks N sei como, mas agora o projeto apareceu, mas não acho isso q vc mostrou
-
Peça seu Map
Você quem manda chapa, só faz um cemitério de vaqueiros com a porta do inferno Do teu jeito
-
(Resolvido)O que eu fiz de errado? NPC simples
Valeu mano vou te encher de reps seu lindo --- vou reputar todos aqui, acabou meu limite ;(
-
Peça seu Map
Se ficar bonito, claro!
-
Peça seu Map
tema: Porta do inferno estilo supernatural local: térreo versão: 8.6 observação: Sem exageros, demons pra todo lado, só um cemitério bonito estilo essa img ]http://vignette2.wikia.nocookie.net/supernaturalbrasil/images/5/52/Devil's_gate_-_AHBL2.jpg/revision/latest?cb=20130107230445&path-prefix=pt-br E se souber como no mini mapa fazer esse efeito, de estrela http://vignette1.wikia.nocookie.net/supernaturalbrasil/images/a/a6/222trap.png/revision/latest?cb=20130107230516&path-prefix=pt-br
-
(Resolvido)O que eu fiz de errado? NPC simples
<?xml version="1.0" encoding="UTF-8"?> <npc name="Lucca" script="data/npc/scripts/tasks/taskbase.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100"/> <look type="131" head="59" body="95" legs="94" feet="113" addons="0"/> <parameters> <parameter key="message_greet" value="Hello |PLAYERNAME|! I npc {task}!"/> <parameter key="message_farewell" value="Good bye."/> <parameter key="message_walkaway" value="Farewell then.." /> </parameters> </npc>
-
(Resolvido)O que eu fiz de errado? NPC simples
Desculpe cara, não vi tua resposta, vim direto pra segunda pagina achando que na primeira era a minha, vou testar e edito aqui! O seu eu tentei assim, mas sem erros no console, mas o npc não responde qnd eu falo task local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} local config = { strg1 = 200201, -- storage começando a task strg2 = 91001, -- storage finalizou a task (ganha qnd matar os monstros) idiom = 8971 } 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 end if(msgcontains(msg:lower(), "task")) then if(getPlayerStorageValue(cid, config.strg2) < 1) then if(getPlayerStorageValue(cid, config.strg1) < 1) then if(getPlayerStorageValue(cid, config.idiom) == 1 or getPlayerStorageValue(cid, config.idiom) == 0 ) then selfSay("That good, one more soul coming from the {portal}! Welcome, I hope you can help.", cid) elseif(getPlayerStorageValue(cid, config.idiom) == 2) then selfSay("Que bom, mais uma alma vinda do {portal}! Seja bem vindo, espero que possa nos ajudar.", cid) end talkState[talkUser] = 1 else if(getPlayerStorageValue(cid, config.idiom) == 1 or getPlayerStorageValue(cid, config.idiom) == 0 ) then selfSay("you have to finish the task.", cid) elseif(getPlayerStorageValue(cid, config.idiom) == 2) then selfSay("Você tem que terminar a missão.", cid) end talkState[talkUser] = 0 end else if(getPlayerStorageValue(cid, config.strg2) == 1) then if(getPlayerStorageValue(cid, config.idiom) == 1 or getPlayerStorageValue(cid, config.idiom) == 0 ) then selfSay("You have finished the mission! Take it a Sabre, use it until you reach on level 8 and talk with Oracle in the temple.", cid) selfSay("He will send you to Aurea, there talk with !", cid) elseif(getPlayerStorageValue(cid, config.idiom) == 2) then selfSay("Você concluiu a missão! Tome aqui um Sabre, use ele ate chegar no nivel 8 e fale com o Oraculo no templo.", cid) selfSay("Ele ira te mandar para Aurea, la fale com !", cid) end doPlayerAddItem(cid, 2385, 1) else if(getPlayerStorageValue(cid, config.idiom) == 1 or getPlayerStorageValue(cid, config.idiom) == 0 ) then selfSay("You already finished this task.", cid) elseif(getPlayerStorageValue(cid, config.idiom) == 2) then selfSay("Você já terminou essa task.", cid) end end talkState[talkUser] = 0 end elseif(msgcontains(msg:lower(), "portal") and talkState[talkUser] == 1) then if(getPlayerStorageValue(cid, config.idiom) == 1 or getPlayerStorageValue(cid, config.idiom) == 0 ) then selfSay("Crystal, a angel come down here and in Aurea and opened a portal of humans who comes from another dimension for us {save}.", cid) elseif(getPlayerStorageValue(cid, config.idiom) == 2) then selfSay("Crystal, uma anja desceu até aqui e em Aurea e abriu um portal de humanos que vem de outra dimensão para nos {salvar}.", cid) end talkState[talkUser] = 2 elseif(msgcontains(msg:lower(), "salvar") or msgcontains(msg:lower(), "save") and talkState[talkUser] == 2) then if(getPlayerStorageValue(cid, config.idiom) == 1 or getPlayerStorageValue(cid, config.idiom) == 0 ) then selfSay("We are in an apocalyptic world, at war with several races. And you can be {the chosen}!", cid) elseif(getPlayerStorageValue(cid, config.idiom) == 2) then selfSay("Estamos em um mundo apocalíptico, em guerra com varias raças. E você pode ser o {escolhido}!", cid) end talkState[talkUser] = 3 elseif(msgcontains(msg:lower(), "escolhido") or msgcontains(msg:lower(), "the chosen") and talkState[talkUser] == 3) then if(getPlayerStorageValue(cid, config.idiom) == 1 or getPlayerStorageValue(cid, config.idiom) == 0 ) then selfSay("Calm down, first we need to train, you have to help us with simple things until you are trained!", cid) selfSay("As for example our plague of {rats} in the city that are rising by storm drains!", cid) elseif(getPlayerStorageValue(cid, config.idiom) == 2) then selfSay("Calma, primeiro precisamos treinar, você deve nos ajudar com coisas simples, até estar bem treinado!", cid) selfSay("Como por exemplo a nossa praga de {rats} na cidade que estão subindo pelos bueiros!", cid) end talkState[talkUser] = 4 elseif(msgcontains(msg:lower(), "rats") and talkState[talkUser] == 4) then if(getPlayerStorageValue(cid, config.idiom) == 1 or getPlayerStorageValue(cid, config.idiom) == 0 ) then selfSay("Okay, so help us get this over with and kill 10 rats in the storm drain in front here.", cid) elseif(getPlayerStorageValue(cid, config.idiom) == 2) then selfSay("Ok, então ajude-nos a acabar com isso e mate 10 ratos no bueiro aqui na frente.", cid) end setPlayerStorageValue(cid, strg1, 1) talkState[talkUser] = 0 end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
-
(Resolvido)O que eu fiz de errado? NPC simples
Substituir npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) por npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, "creatureSayCallback") ? Pq no final do meu cod já tá como função (EU ACHO) npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
-
(Resolvido)O que eu fiz de errado? NPC simples
Acho q não é esse o problema, pq tentei assim tbm e não foi 0 é ainda não escolheu 1 é ingles 2 é portugues 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 local config = { strg1 = 200201, -- storage começando a task strg2 = 91001, -- storage finalizou a task (ganha qnd matar os monstros) idiom = 8971 } if msgcontains(msg:lower(),'task') then if getPlayerStorageValue(cid, config.strg2) < 1 then if getPlayerStorageValue(cid, config.strg1) < 1 then if getPlayerStorageValue(cid, config.idiom) == 1 or getPlayerStorageValue(cid, config.idiom) == 0 then selfSay('Good one more coming soul of {portal}! Welcome, I hope you can help!', cid) talkState[talkUser] = 1 elseif getPlayerStorageValue(cid, config.idiom) == 2 then selfSay('Que bom mais uma alma vinda do {portal}! Seja bem vindo, espero que possa nos ajudar!.', cid) talkState[talkUser] = 1 end else selfSay('you have to finish the task', cid) talkState[talkUser] = 0 end else selfSay('Voce concluiu a missao, tome aqui um Sabre, use ele ate chegar no nivel 8 e fale com o Oraculo no templo!', cid) selfSay('Ele ira te mandar para Aurea, la fale com !', cid) doPlayerAddItem(cid, 2385, 1) talkState[talkUser] = 0 end elseif msgcontains(msg:lower(), 'portal') and talkState[talkUser] == 1 then if getPlayerStorageValue(cid, config.idiom) == 1 or getPlayerStorageValue(cid, config.idiom) == 0 then selfSay('Crystal angel one came down here and Aurea and opened a portal of humans who comes from another dimension for us {save}.', cid) talkState[talkUser] = 2 elseif getPlayerStorageValue(cid, config.idiom) == 2 then selfSay('Crystal uma anja desceu até aqui e em Aurea e abriu um portal de humanos que vem de outra dimensão para nós {salvar}.', cid) talkState[talkUser] = 2 end elseif msgcontains(msg:lower(), 'salvar') or msgcontains(msg:lower(), 'save') and talkState[talkUser] == 2 then if getPlayerStorageValue(cid, config.idiom) == 1 or getPlayerStorageValue(cid, config.idiom) == 0 then selfSay('We are in an apocalyptic world, at war with several races. And you can be! {the chosen}', cid) talkState[talkUser] = 3 elseif getPlayerStorageValue(cid, config.idiom) == 2 then selfSay('Estamos em um mundo apocalíptico, em guerra com varias raças. E voce pode ser o {escolhido}!', cid) talkState[talkUser] = 3 end elseif msgcontains(msg:lower(), 'escolhido') or msgcontains(msg:lower(), 'the chosen') and talkState[talkUser] == 3 then if getPlayerStorageValue(cid, config.idiom) == 1 or getPlayerStorageValue(cid, config.idiom) == 0 then selfSay('Congratulations, now with permission.', cid) selfSay('Such as our plague of {rats} in the city that are climbing down the drain!', cid) talkState[talkUser] = 4 elseif getPlayerStorageValue(cid, config.idiom) == 2 then selfSay('Calma primeiro precisamos treinar, voce deve nos ajudar com coisas {simples}, ate estar bem treinado!', cid) selfSay('Como por exemplo a nossa praga de {rats} na cidade que estão subindo pelos bueiros!', cid) talkState[talkUser] = 4 end elseif msgcontains(msg:lower(), 'rats') and talkState[talkUser] == 4 then if getPlayerStorageValue(cid, config.idiom) == 1 or getPlayerStorageValue(cid, config.idiom) == 0 then selfSay('Okay, so help us get this over with and kill 10 rats in the gutter in front here.', cid) setPlayerStorageValue(cid, strg1, 1) talkState[talkUser] = 0 elseif getPlayerStorageValue(cid, config.idiom) == 2 then selfSay('Ok, então ajuda-nos a acabar com isso e mate 10 ratos no bueiro aqui na frente.', cid) setPlayerStorageValue(cid, strg1, 1) talkState[talkUser] = 0 end end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
-
(Resolvido)O que eu fiz de errado? NPC simples
Mesmo problema, spawna o NPC, fala hi, ele responde com a do xml certinho, mas qnd fala task ou qlqr fala ele n responde
-
(Resolvido)O que eu fiz de errado? NPC simples
- (Resolvido)O que eu fiz de errado? NPC simples
Os dois deram erros- (Resolvido)O que eu fiz de errado? NPC simples
Como eu nunca fiz um NPC devo ta fazendo besteira vou usar o seu @Summ, mas qnd eu falo hi, task o npc não me responde nada, sem nenhum erro no console, mas o npc não me responde local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) npcHandler.topic = {} 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 msg = msg:lower() local config = { strg1 = 200201, -- storage começando a task strg2 = 91001, -- storage finalizou a task (ganha qnd matar os monstros) idiom = 8971 } if msgcontains(msg, "task") then if getPlayerStorageValue(cid, config.strg2) < 1 then if getPlayerStorageValue(cid, config.strg1) < 1 then if getPlayerStorageValue(cid, config.idiom) == 1 then npcHandler:say("Good one more coming soul of {portal}! Welcome, I hope you can help!", cid) npcHandler.topic[cid] = 1 elseif getPlayerStorageValue(cid, config.idiom) == 2 then npcHandler:say("Que bom mais uma alma vinda do {portal}! Seja bem vindo, espero que possa nos ajudar!.", cid) npcHandler.topic[cid] = 1 end else npcHandler:say("you have to finish the task", cid) npcHandler.topic[cid] = 0 end else npcHandler:say("Voce concluiu a missao, tome aqui um Sabre, use ele ate chegar no nivel 8 e fale com o Oraculo no templo!", cid) npcHandler:say("Ele ira te mandar para Aurea, la fale com !", cid) doPlayerAddItem(cid, 2385, 1) npcHandler.topic[cid] = 0 end elseif msgcontains(msg, "portal") and npcHandler.topic[cid] == 1 then if getPlayerStorageValue(cid, config.idiom) == 1 then npcHandler:say("Crystal angel one came down here and Aurea and opened a portal of humans who comes from another dimension for us {save}.", cid) npcHandler.topic[cid] = 2 elseif getPlayerStorageValue(cid, config.idiom) == 2 then npcHandler:say("Crystal uma anja desceu até aqui e em Aurea e abriu um portal de humanos que vem de outra dimensão para nós {salvar}.", cid) npcHandler.topic[cid] = 2 end elseif msgcontains(msg, "salvar") or msgcontains(msg, "save") and npcHandler.topic[cid] == 2 then if getPlayerStorageValue(cid, config.idiom) == 1 then npcHandler:say("We are in an apocalyptic world, at war with several races. And you can be! {the chosen}", cid) npcHandler.topic[cid] = 3 elseif getPlayerStorageValue(cid, config.idiom) == 2 then npcHandler:say("Estamos em um mundo apocalíptico, em guerra com varias raças. E voce pode ser o {escolhido}!", cid) npcHandler.topic[cid] = 3 end elseif msgcontains(msg, "escolhido") or msgcontains(msg, "the chosen") and npcHandler.topic[cid] == 3 then if getPlayerStorageValue(cid, config.idiom) == 1 then npcHandler:say("Congratulations, now with permission.", cid) npcHandler:say("Such as our plague of {rats} in the city that are climbing down the drain!", cid) npcHandler.topic[cid] = 4 elseif getPlayerStorageValue(cid, config.idiom) == 2 then npcHandler:say("Calma primeiro precisamos treinar, voce deve nos ajudar com coisas {simples}, ate estar bem treinado!", cid) npcHandler:say("Como por exemplo a nossa praga de {rats} na cidade que estão subindo pelos bueiros!", cid) npcHandler.topic[cid] = 4 end elseif msgcontains(msg, "rats") and npcHandler.topic[cid] == 4 then if getPlayerStorageValue(cid, config.idiom) == 1 then npcHandler:say("Okay, so help us get this over with and kill 10 rats in the gutter in front here.", cid) setPlayerStorageValue(cid, strg1, 1) npcHandler.topic[cid] = 0 elseif getPlayerStorageValue(cid, config.idiom) == 2 then npcHandler:say("Ok, então ajuda-nos a acabar com isso e mate 10 ratos no bueiro aqui na frente.", cid) setPlayerStorageValue(cid, strg1, 1) npcHandler.topic[cid] = 0 end end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) -- Dps eu do rep pra vcs pessoal já dei 5 pro summ- (Resolvido)O que eu fiz de errado? NPC simples
local strg1 = 200201 -- storage começando a task local strg2 = 91001 -- storage finalizou a task (ganha qnd matar os monstros) -- ["rat"] = {monster_race={"rat","cave rat"}, storage_start = 200201, storage = 91001,count = 10}, if string.lower(msg) == "task" then if getPlayerStorageValue(cid, strg1) == 0 then if getPlayerStorageValue(cid, 8971) == 1 then selfSay("Good one more coming soul of {portal}! Welcome, I hope you can help!") elseif getPlayerStorageValue(cid, 8971) == 2 then selfSay("Que bom mais uma alma vinda do {portal}! Seja bem vindo, espero que possa nos ajudar!.") end if string.lower(msg) == "portal" then if getPlayerStorageValue(cid, 8971) == 1 then selfSay("Crystal angel one came down here and Aurea and opened a portal of humans who comes from another dimension for us {save}.") elseif getPlayerStorageValue(cid, 8971) == 2 then selfSay("Crystal uma anja desceu até aqui e em Aurea e abriu um portal de humanos que vem de outra dimensão para nós {salvar}.") end if string.lower(msg) == "salvar" or string.lower(msg) == "save" then if getPlayerStorageValue(cid, 8971) == 1 then selfSay("We are in an apocalyptic world, at war with several races. And you can be! {the chosen}") elseif getPlayerStorageValue(cid, 8971) == 2 then selfSay("Estamos em um mundo apocalíptico, em guerra com varias raças. E voce pode ser o {escolhido}!") end if string.lower(msg) == "escolhido" or string.lower(msg) == "the chosen" then if getPlayerStorageValue(cid, 8971) == 1 then selfSay("Congratulations, now with permission.") elseif getPlayerStorageValue(cid, 8971) == 2 then selfSay("Calma primeiro precisamos treinar, voce deve nos ajudar com coisas {simples}, ate estar bem treinado!") selfSay("Como por exemplo a nossa praga de {rats} na cidade que estão subindo pelos bueiros!") end if string.lower(msg) == "rats" then if getPlayerStorageValue(cid, strg1) == 0 then setPlayerStorageValue(cid, strg1, 1) if getPlayerStorageValue(cid, 8971) == 1 then selfSay("Congratulations, now with permission.") elseif getPlayerStorageValue(cid, 8971) == 2 then selfSay("Ok, então ajuda-nos a acabar com isso e mate 10 ratos no bueiro aqui na frente.") end elseif getPlayerStorageValue(cid, strg2) >= 1 then if getPlayerStorageValue(cid, 8971) == 1 then selfSay("Congratulations, now with permission.") elseif getPlayerStorageValue(cid, 8971) == 2 then selfSay("Voce concluiu a missao, tome aqui um Sabre, use ele ate chegar no nivel 8 e fale com o Oraculo no templo!") selfSay("Ele ira te mandar para Aurea, la fale com !") end doPlayerAddItem(cid,2385,1) end end end end end end end- [AJUDA] Codeblocks / OTClient
Cara nunca mexi com visual studio, tava só seguindo o tutorial aqui: http://www.tibiaking.com/forum/topic/43700-otc-compilando-otclient-no-windows/ Vou pesquisar aqui como mexe nessa bagaça, como baixa e tal, como é, oq é shauhsauha Qlqr dica q se deixar p mim aqui agradeço- [AJUDA] Codeblocks / OTClient
tem n- [AJUDA] Codeblocks / OTClient
Como adicionar um parametro -DOPENGLES=2.0 ? No dev cpp era bem simples, o codeblocks eu acho muito confuso, --- E o otclient pq o codeblocks é tão confuso? Cade as outras funções pra eu fuçar? só tem a main? Queria aprender a modifica legal o otclient- [AJUDA] Compilar OTClient
postei errado, desculpem-me vou postar direito dessa vez- [PEDIDO] Sprites de base
Opa claro que eu quero, mandarei aqui qualquer coisa posto aqui que não precisa mais das espadas --- Sou um artista kkkkkkkkkkkkk alguem com cordenação motora de gente pode colocar essa cruz reta nesse shield pffvR? E alguem sabe como melhorar essa espada?- OT sem perspectiva 45
Não pretendia fazer igual esses narutos,dbzs,pokemons, pretendo fazer tudo na mesma perspectiva Então você acha que seria mais fácil eu criar no RPG maker? Nunca criei derivados assim mexendo com client, mas olhei otclient e vi uma chance maneira ali E o game seria parecido com o tibia na jogabilidade, só algumas modificações, fora estabilidade, facilidade que eu tenho de mexer com ots, pq já mexi muito, mas meu medo é ficar limitado ou dificultado, em questão de andares, e varias outras paradas Valeu --- Pessoal deixem pros e contras pessoal por favor, eu creio que não vou ter problemas, mas como vocês pensam sobre isso? Tenho duvidas sobre map editor, criar coisas que precisam de mais de 1 pixel tipo uma dessas cabanas que são a junção de 4 sprites http://i.imgur.com/IJnQ2Ds.png Também tenho duvidas com relação a andares e tals- [AJUDA] Battlefield Automatico
http://www.tibiaking.com/forum/topic/16699-sistema-battlefield-event/- OT sem perspectiva 45
E aí pessoas, to querendo opinião de vocês! Estou pensando em desenvolver um projeto de OT sem a famosa perspectiva 45°, como os jogos de RPG maker, e CIA... Que tem MUITOS resources na internet Será que daria certo? Teria algum problema? Ficaria bom? Quais seriam as dificuldades? Vale a pena? Falem pessoas! Usaria movements pra trocas de interiores (houses,entradas de caverna) Actions? (onuse para entrar em portas e ETC) Algumas das que eu ia usar: http://i.imgur.com/IJnQ2Ds.png - (Resolvido)O que eu fiz de errado? NPC simples
Informação Importante
Confirmação de Termo