Tudo que WarW0lf postou
-
NPC Chondur
Não coloco Spoiler porque meu navegador é bugado... Tipo: eu clico em Mostrar e não acontece nada
-
High Rate OT - Phoenix
Algumas pessoas acima disse que há um Bug no servidor de Magias e Items. Não sei se o seu problema é esse mas provavelmente é.
-
NPC Chondur
Falaaaaaaaaaaaaaa galera, beleza? Bom, muitos OT's das versões novas (8.7 ~ 9.81) estão com o NPC Chondur que faz a montaria do Stampor BUGADO. Vou postar pra vocês o script correto pra que a montaria do Stampor possa ser pega in-game e não seja necessário vende-la pelo site. Em libs/050-function.lua adicione: function getItemsFromList(items) local str = '' if table.maxn(items) > 0 then for i = 1, table.maxn(items) do str = str .. items[i][2] .. ' ' .. getItemNameById(items[i][1]) if i ~= table.maxn(items) then str = str .. ', ' end end end return str end function doRemoveItemsFromList(cid,items) local count = 0 if table.maxn(items) > 0 then for i = 1, table.maxn(items) do if getPlayerItemCount(cid,items[i][1]) >= items[i][2] then count = count + 1 end end end if count == table.maxn(items) then for i = 1, table.maxn(items) do doPlayerRemoveItem(cid,items[i][1],items[i][2]) end else return false end return true end Em NPC/Chondur.xml troque o script por esse: <?xml version="1.0" encoding="UTF-8"?> <npc name="Chondur" script="data/npc/scripts/Chondur.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100"/> <look type="154" head="0" body="94" legs="120" feet="116" addons="3"/> <parameters> <parameter key="module_keywords" value="1" /> <parameter key="keywords" value="rituals;" /> <parameter key="keyword_reply1" value="Hm. I don't think you need another one of my counterspells to cross the barrier on Goroma." /> <parameter key="module_shop" value="1" /> <parameter key="shop_sellable" value="Mysterious Voodoo Skull,5669,4000;Enigmatic Voodoo Skull,5670,4000;black skull,9969,4000;blood herb,2798,500;blood goblet,9447,10000;" /> <parameter key="message_greet" value="Be greeted, child. What do you want in an old shaman's hut?"/> <parameter key="message_farewell" value="Good bye."/> <parameter key="message_walkaway" value="Good bye!" /> <parameter key="message_sendtrade" value="Well, I currently buy mysterious and enigmatic voodoo skulls and a few other things I might need for my rituals." /> </parameters> e em npc/scripts/Chondur.lua coloque: 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 AddMount(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if (isPlayerPremiumCallback == nil or isPlayerPremiumCallback(cid) == true or parameters.premium == false) then if(parameters.level ~= nil and getPlayerLevel(cid) < parameters.level) then npcHandler:say('You must reach level ' .. parameters.level .. ' to buy this mount.', cid) elseif canPlayerRideMount(cid, parameters.mountid) then npcHandler:say('you already have this mount!', cid) elseif not doRemoveItemsFromList(cid,parameters.items) then npcHandler:say('Sorry You need '..getItemsFromList(parameters.items)..' to buy this mount!', cid) else doPlayerAddMount(cid, parameters.mountid) npcHandler:say('Here is your mount!', cid) npcHandler:resetNpc() end else npcHandler:say('I can only allow premium players to buy this mount.', cid) end npcHandler:resetNpc() return true end local mounts = { {"stampor", items = {{13300,100}, {13299,50},{13301,30}}, mountid = 11, level = 15, premium = false}, {"mounts", text = "I sell these mounts: {stampor}!"} } for i = 1, #mounts do local get = mounts[i] if type(get.items) == "table" then local node = keywordHandler:addKeyword({get[1]}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = "You want to buy the mount " .. get[1] .. " for "..getItemsFromList(get.items).." ?"}) node:addChildKeyword({"yes"}, AddMount, {items = get.items,mountid = get.mountid, level = get.level, premium = get.premium}) node:addChildKeyword({"no"}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = "Ok, then.", reset = true}) else keywordHandler:addKeyword({get[1]}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = get.text}) end end mounts = nil npcHandler:addModule(FocusModule:new()) -- Storage IDs -- fshaman = 22020 sshaman = 22021 newaddon = 'Ah, right! The shaman mask! Here you go.' noitems = 'You do not have all the required items.' noitems2 = 'You do not have all the required items or you do not have the outfit, which by the way, is a requirement for this addon.' already = 'It seems you already have this addon, don\'t you try to mock me son!' function ShamanFirst(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if getPlayerStorageValue(cid,fshaman) == -1 then if getPlayerItemCount(cid,3955) >= 5 and getPlayerItemCount(cid,5015) >= 1 and getPlayerItemCount(cid,5810) >= 5 then if doPlayerRemoveItem(cid,3955,5) and doPlayerRemoveItem(cid,5015,1) and doPlayerRemoveItem(cid,5810,5) then npcHandler:say('Ah, right! The shaman staff! Here you go.') doSendMagicEffect(getCreaturePosition(cid), 13) setPlayerStorageValue(cid,fshaman,1) if getPlayerSex(cid) == 1 then doPlayerAddOutfit(cid, 154, 2) elseif getPlayerSex(cid) == 0 then doPlayerAddOutfit(cid, 158, 2) end end else selfSay(noitems) end else selfSay(already) end end function ShamanSecond(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if getPlayerStorageValue(cid,sshaman) == -1 then if getPlayerItemCount(cid,3966) >= 5 and getPlayerItemCount(cid,3967) >= 5 then if doPlayerRemoveItem(cid,3966,5) and doPlayerRemoveItem(cid,3967,5) then npcHandler:say('Ah, right! The shaman mask! Here you go.') doSendMagicEffect(getCreaturePosition(cid), 13) setPlayerStorageValue(cid,sshaman,1) if getPlayerSex(cid) == 1 then doPlayerAddOutfit(cid, 154, 1) elseif getPlayerSex(cid) == 0 then doPlayerAddOutfit(cid, 158, 1) end end else selfSay(noitems) end else selfSay(already) end end node1 = keywordHandler:addKeyword({'staff'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'To get shaman staff you need give me 5 Pirate Voodoo Doll, 5 Dworc Voodoo Dolls and 1 Mandrake. Do you have them with you?'}) node1:addChildKeyword({'yes'}, ShamanFirst, {}) node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got all neccessary items.', reset = true}) node3 = keywordHandler:addKeyword({'first'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'To get shaman staff you need give me 5 Pirate Voodoo Doll, 5 Dworc Voodoo Dolls and 1 Mandrake. Do you have them with you?'}) node3:addChildKeyword({'yes'}, ShamanFirst, {}) node3:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got all neccessary items.', reset = true}) node2 = keywordHandler:addKeyword({'mask'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'To get shaman mask you need give me 5 banana staffs and 5 tribal masks. Do you have them with you?'}) node2:addChildKeyword({'yes'}, ShamanSecond, {}) node2:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got all neccessary items.', reset = true}) node4 = keywordHandler:addKeyword({'second'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'To get shaman mask you need give me 5 banana staffs and 5 tribal masks. Do you have them with you?'}) node4:addChildKeyword({'yes'}, ShamanSecond, {}) node4:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Alright then. Come back when you got all neccessary items.', reset = true}) npcHandler:addModule(FocusModule:new()) Créditos: Alisson
-
Monstros da versão 9.8
Bom galera, encontrei esse conteúdo na Internet e resolvi trazer pra voces. Looktype 100% Loots 97% Corpses 100% (TFS Items.otb) Hits 90% http://www.mediafire.com/?d99z3wtxj8bxm65 Créditos: Alisson
-
Mozark se declarando
Legal em.
-
[9.80/9.81] Voods OTServer
Bom, aqui rodou normal
-
[9.80/9.81] Voods OTServer
Isso é problema do seu PC.
-
[Gesior] PagSeguro automático! (100% funcional)
No config.php vai ter uma parte de Preço, Valor, não sei direito vai estar 100 = 1, se você alterar pra 200 = 2 ou seja double points, 150 = 50% a mais de pontos entendeu?
-
[Pedido] Alguem sabe qual é o mapa que o narutoshinobi e o narutobrazil usa?
Bom cara, voce dizendo que "quer o mapa deles" creio que o mapa seja ótimo e sejam servers conhecidos. Então possivelmente ninguem vai te passar o Mapa e muito menos terá ele pra Download. Tente fazer seu próprio OT!
-
[Resolvido] IP em Linux
Nem em Linux nem em Windows nunca usei o programa. Só criando o IP ele funcionava normalmente.
-
[Resolvido] Site Online em Linux Ubuntu 10.04
Então o bug ta no seu Site LOL!
-
[Resolvido] Site Online em Linux Ubuntu 10.04
Claro.... Agora voce tem que por seu site la, criar a database, por a pasta do ot no config.ini etc...
-
[Resolvido] Site Online em Linux Ubuntu 10.04
Voce tem que colocar seu Site nesse diretório /var/www e remover o Index.html que ja vem por padrão.
-
[Resolvido] Site Online em Linux Ubuntu 10.04
Sim, eu uso ele.
-
[Resolvido] Site Online em Linux Ubuntu 10.04
sudo apt-get install lamp-server^ sudo apt-get install phpmyadmin sudo ln -s /usr/share/phpmyadmin /var/www sudo /etc/init.d/apache2 restart
-
AUHAUAHUAH Naty Buc####
Eai Markin beleza?
-
P.O Battle - Site novo
Ótimo cara, gostei muito!
-
AUHAUAHUAH Naty Buc####
-
[Duvida] Otserver + vps
Seu servidor não viverá caindo como o amigo acima disse mas qualquer ataque, até de um "noob" pode derruba-lo.
-
[Duvida] Otserver + vps
Sim. Ou não... Se você tiver dinheiro pra gastar, tipo uns 300 reais por mes da pra por em Windows, mas acho que compensa voce aprender mexer em Linux
-
[Duvida] Otserver + vps
Não compensa. O que compensa é voce aprender a mexer em Linux e abrir nele
-
[Duvida] Otserver + vps
Depois que passar dos 50 players vai começar a ser atakado.
- [AJUDA] minha primeira vez hospedando
- #3 - Bate-papo Tibia King!
-
Bug de clonar itens no meu otserv alguem ajuda!
Esse comando causa clones, ficadica#.

Hospedagem de Servidores de Tibia Profissional
Promoção Imperdível
Servidores Brasileiros