-
-
Porfavor me ajudem !
Isso é erro de script não website, está dizendo que não está sendo possível carregar a pasta libs, verifique se seu serve possui.
-
Erro STEP 1 Xampp
Era só deixar C:/Users/Osni/Desktop/Nova pasta/otserv/
- Gente Pfv Ajudar
-
Flavio S. Cabral alterou sua foto pessoal
-
-
-
-
-
(Resolvido)Pedido Modificação de Npc de Vocation
eu posto o que quero e faço o que quero, desde que eu esteja nas regras desse fórum então, sem xoro...
-
(Resolvido)AJUDA NPC
isso é minha assinatura se não percebeu rsrsrs
-
(Resolvido)Pedido Modificação de Npc de Vocation
...
-
(Resolvido)Pedido Modificação de Npc de Vocation
se não funcionar dps faço um do 0 pra você ... <?xml version="1.0" encoding="UTF-8"?> <npc name="Jordan" floorchange="0" walkinterval="0"> <health now="150" max="150"/> <look type="324"/> <interaction range="3" idletime="30"> <interact keywords="hi" focus="1"> <!--These are the keywords will trigger this interaction--> <keywords>hello</keywords> <keywords>greet</keywords> <response> <action name="script"> if(getPlayerVocation(cid) ~= 0) then selfSay("Desculpe, mas voce ja fez sua escolha!!", cid) _state.isidle = true return end if(getPlayerLevel(cid)) >= 1 then selfSay(getCreatureName(cid) .. ", qual vocation voce vai querer ser? Escolha entre {Guardian}, {Mage}, {Archer} e {Ninja}", cid) _state.b1 = (isPremium(cid) == false) _state.topic = 1 else selfSay("CHILD! COME BACK WHEN YOU HAVE GROWN UP!", cid) _state.isidle = true end </action> </response> </interact> <interact keywords="guardian" topic="2"> selfSay("um Guardian! voce tem certeza? esta decisao e inreversivel!", cid) <!--n2: 1 = guardian, 2 = mage, 3 = ninja, 4 = archer--> <action name="script"> _state.n2 = 1 _state.topic = 3 </action> </response> </interact> <interact keywords="mage" topic="2"> selfSay("um Mage! voce tem certeza? esta decisao e inreversivel!", cid) <!--n2: 1 = guardian, 2 = mage, 3 = ninja, 4 = archer--> <action name="script"> _state.n2 = 2 _state.topic = 3 </action> </response> </interact> <interact keywords="ninja" topic="2"> selfSay("um Ninja! voce tem certeza? esta decisao e inreversivel!", cid) <!--n2: 1 = guardian, 2 = mage, 3 = ninja, 4 = archer--> <action name="script"> _state.n2 = 3 _state.topic = 3 </action> </response> </interact> <interact keywords="archer" topic="2"> selfSay("um Archer! voce tem certeza? esta decisao e inrreversivel!", cid) <!--n2: 1 = guardian, 2 = mage, 3 = ninja, 4 = archer --> <action name="script"> _state.n2 = 4 _state.topic = 3 </action> </response> </interact> <!--If the player does not say any profession, repeat our question--> <interact keywords="|*|" topic="2"> selfSay("Guardian, Mage, ninja, ou archer?", cid) </interact> <interact keywords="yes" topic="3"> <response> <!--n1: 1 = carlin, 2 = edron, 3 = thais, 4 = venore--> <!--n2: 1 = guardian, 2 = mage, 3 = ninja, 4 = archer--> <action name="script"> selfSay("Que assim seja!", cid) doSendMagicEffect(getCreaturePosition(cid), 13) doPlayerSetVocation(cid, _state.n2) </action> <action name="idle" value="1"/> </response> </interact> <interact keywords="bye" focus="0"> <keywords>farewell</keywords> selfSay("Adeus. Recomende-nos, se voce estivesse satisfeito com nosso servico.", cid) </interact> <!-- If the event onBusy exists, the npc will make a queue like Tibia, if the event is removed the npc will be able to talk to all customers at the same time without problems. --> <interact event="onBusy"> selfSay("WAIT UNTIL IT IS YOUR TURN!", cid) <action name="addqueue" value="|PLAYER|"/> </response> </interact> <!--This event triggers if the player goes to far away from the npc/logout/idle timeout--> <interact event="onPlayerLeave" focus="0"> selfSay("Volte quando estão preparados para enfrentar seu destino!!", cid) </interact> </interaction> </npc>
-
(Resolvido)AJUDA NPC
--[[ Basta editar os ["town1"], colocando o nome da cidade e a pos dela logo a frente... abrçs ]]-- local free = { ["town1"] = {x= ,y= ,z= }, ["town2"] = {x= ,y= ,z= }, ["town3"] = {x= ,y= ,z= }, ["town4"] = {x= ,y= ,z= }, ["town5"] = {x= ,y= ,z= }, ["town6"] = {x= ,y= ,z= }, ["town7"] = {x= ,y= ,z= } } local vip = { ["town1"] = {x= ,y= ,z= }, ["town2"] = {x= ,y= ,z= }, ["town3"] = {x= ,y= ,z= } } local cost = 300 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 for city, tp in pairs(free) do if msgcontains(msg, city) then npcHandler:say('you are sure?', cid) npcHandler.topic[cid] = 1 elseif msgcontains(msg, 'yes') and npcHandler.topic[cid] == 1 then if doPlayerRemoveMoney(cid, cost) then doTeleportThing(cid, tp) npcHandler:say('Let\'s GO', cid) npcHandler.topic[cid] = 0 else npcHandler:say('Sorry, you don\'t have enough money', cid) npcHandler.topic[cid] = 0 end end end for citys, tps in pairs(vip) do if msgcontains(msg, citys) then npcHandler:say('you are sure?', cid) npcHandler.topic[cid] = 2 elseif msgcontains(msg, 'yes') and npcHandler.topic[cid] == 2 then if getPlayerPremiumDays(cid) > 0 then if doPlayerRemoveMoney(cid, cost) then doTeleportThing(cid, tps) npcHandler:say('Let\'s GO', cid) npcHandler.topic[cid] = 0 else npcHandler:say('Sorry, you don\'t have enough money', cid) npcHandler.topic[cid] = 0 end else npcHandler:say('Você não tem VIP!', cid) npcHandler.topic[cid] = 0 end end end if msgcontains(msg, 'no') then npcHandler:say('Bye!', cid) npcHandler.topic[cid] = 0 end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) <?xml version="1.0" encoding="UTF-8"?> <npc name="EDITEAQUI" script="NOMEDOARQUIVO.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100"/> <look type="152" head="95" body="95" legs="29" feet="56" addons="2" corpse="6080"/> <parameters> <parameter key="message_greet" value="Sejá Bem-Vindo ao Barco, |PLAYERNAME|.Quer viajar para {town1}, {town2}, {town3}, {town4}, {town5}, {town6} dps edita aqui..." /> </parameters> </npc>
-
-
Vamos evoluir? Unity 3D
Opah pode contar comigo pra participar
-
-
ERRO AO COMPLIAR OTSERVER NO LINUX 14.10
Lembre-se que linux é case sensitive ou seja : Ele diferencia maiúsculas de minúsculas. Exemplo: ========= diretório 1 /home/joao diretório 2 /home/Joao no ruimdows é a mesma pasta, porém no Linux esses diretorios são diferentes. Verifique se o nome está vocations.xml, se não tiver mude.
-
-
-
ERRO AO COMPLIAR OTSERVER NO LINUX 14.10
sempre rodei tfs1.0, no ubuntu 14.04 ... 14.10 ... então não tem essa de não é compatível. falta um pouco entender inglês de sua parte Alanray ou até mesmo tentar traduzir. root@alan-S3420GP:~/otserv# mkdir build && cd build mkdir: é impossível criar o diretório “build”: Arquivo existe root@alan-S3420GP:~/otserv# cmake .. CMake Error: The source directory "/root" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. é impossível criar o diretório “build”: Arquivo existe ... <-- Já tem recomendo deletar ... The source directory "/root" does not appear to contain CMakeLists.txt. <-- o Arquivo CMakeLists.txt não está onde deveria ... tente ler isso > http://askubuntu.com/questions/527665/undefined-reference-to-symbol-expglibc-2-2-5< pode acabar sendo a solução.
- ERRO AO COMPLIAR OTSERVER NO LINUX 14.10
-
-
Windows ou Linux
Linux é 100x melhor que o ruimdowns, não preciso nem entrar em detalhes basta jogar no google e irá ver o que estou falando ... aqui no fórum existe bastante tutoriais, que ensinam compilar e instalar tudo certinho, mas se mesmo assim tu se sente inseguro de migrar pro linux, como tu pediu tem a MONEY DEDICADOS , que da suporte na instalação, confirmo isso pois trabalho/ajudo na área de suporte lá, então qualquer coisa ou dúvida só me procurar.
-
ae porcada
mia rep
-
-
- (Resolvido)URGENTE CRIAÇÃO OTSERV 10.53