-
Total de itens
24 -
Registro em
-
Última visita
Posts postados por Admrevolution
-
-
Go Casas Bahia!
Acho Melhor Comprar Um Novo Se Vc Quer Rodar Jogos Pesados Uma Placa De Video De 1gb Não Vai Nada Mal!
-
Ola Vim Trazer Pra Vocês O Npc De Montaria 9.1!
Em Data/Npc Crie Um Arquivo Xml Com Nome De Domador E Adicione Isso :
<?xml version="1.0" encoding="UTF-8"?><npc name="Domador" script="mounts.lua" walkinterval="2000" floorchange="0">
<health now="100" max="100"/>
<look type="134" head="17" body="54" legs="114" feet="0" addons="3" mount="373"/>
<parameters>
<parameter key="message_greet" value="Ola |PLAYERNAME|, Eu Vendo Montarias : Widow Queen,,Racing Bird,War Bear,Black Sheep,Midnight Panther,Draptor,Titanica,Tin Lizzard,Blazebringer,Rapid Boar,Stampor,Undead Cavebear,Mule,Tiger Slug,Uniwheel,Crystal Wolf,Brown War Horse,Kingly Deer,Tamed Panda,Dromedary,Sandstone Scorpion,Rented Horse,Fire War Horse !! Fale mount (nomemdamontaria) ex : mount draptor."/>
</parameters>
</npc>
Em Data/npc/scripts Crie Um Arquivo .lua Chamado mounts e Adicione Isso :
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) --by vodka
if(not npcHandler:isFocused(cid)) then
return false
end
if parameters.premium == true and not isPremium(cid) then
return true,npcHandler:say('Sorry,Only premium members buy this mount!', cid)
elseif not doPlayerRemoveMoney(cid, parameters.price) then
return true,npcHandler:say('Sorry You need '..parameters.price..' gps to buy this mount!', cid)
end
doPlayerAddMount(cid, parameters.mount)
npcHandler:say('Here is your mount!', cid)
npcHandler:resetNpc()
return true
end
keywordHandler:addKeyword({'mounts'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I sell these mounts: {widow queen},{racing bird},{war Bear},{black sheep},{midnight panther},{draptor},{titanica},{tin lizzard}.{blazebringer},{rapid boar},{stampor} or {undead cavebear}!'})
local node1 = keywordHandler:addKeyword({'widow queen'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount widow queen?'})
node1:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 1,premium = false})
node1:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node2 = keywordHandler:addKeyword({'racing bird'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount racing bird'})
node2:addChildKeyword({'yes'}, AddMount, {price = 20000,mount = 2,premium = true})
node2:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node3 = keywordHandler:addKeyword({'war bear'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount war Bear'})
node3:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 3,premium = false})
node3:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node4 = keywordHandler:addKeyword({'black sheep'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount black sheep?'})
node4:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 4,premium = false})
node4:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node5 = keywordHandler:addKeyword({'midnight panther'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount midnight panther?'})
node5:addChildKeyword({'yes'}, AddMount, {price = 20000,mount = 5,premium = true})
node5:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node6 = keywordHandler:addKeyword({'draptor'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount draptor?'})
node6:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 6,premium = true})
node6:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node7 = keywordHandler:addKeyword({'titanica'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount titanica?'})
node7:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 7,premium = true})
node7:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node8 = keywordHandler:addKeyword({'tin lizzard'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount tin lizzard?'})
node8:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 8,premium = true})
node8:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node9 = keywordHandler:addKeyword({'blazebringer'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount blazebringer?'})
node9:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 9,premium = true})
node9:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node10 = keywordHandler:addKeyword({'rapid boar'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount rapid boar?'})
node10:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 10,premium = false})
node10:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node11 = keywordHandler:addKeyword({'stampor'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount stampor?'})
node11:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 11,premium = true})
node11:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node12 = keywordHandler:addKeyword({'undead cavebear'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the mount undead cavebear?'})
node12:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 12,premium = true})
node12:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node13 = keywordHandler:addKeyword({'mule'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the Mule?'})
node13:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 13,premium = true})
node13:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node14 = keywordHandler:addKeyword({'tiger slug'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the tiger slug?'})
node14:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 14,premium = true})
node14:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node15 = keywordHandler:addKeyword({'uniwheel'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the uniwheel?'})
node15:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 15,premium = true})
node15:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node16 = keywordHandler:addKeyword({'crystal wolf'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the crystal wolf?'})
node16:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 16,premium = true})
node16:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node17 = keywordHandler:addKeyword({'brown war horse'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the brown war horse?'})
node17:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 17,premium = true})
node17:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node18 = keywordHandler:addKeyword({'kingly deer'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the Kingly Deer?'})
node18:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 18,premium = true})
node18:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node19 = keywordHandler:addKeyword({'tamed panda'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the Tamed Panda?'})
node19:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 19,premium = true})
node19:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node20 = keywordHandler:addKeyword({'dromedary'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the Dromedary?'})
node20:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 20,premium = true})
node20:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node21 = keywordHandler:addKeyword({'sandstone scorpion'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the Sandstone Scorpion?'})
node21:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 21,premium = true})
node21:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node22 = keywordHandler:addKeyword({'rented horse'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy the Rented Horse?'})
node22:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 22,premium = true})
node22:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
local node23 = keywordHandler:addKeyword({'fire war horse'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You want to buy fire War Horse?'})
node23:addChildKeyword({'yes'}, AddMount, {price = 10000,mount = 23,premium = true})
node23:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Ok, then.', reset = true})
npcHandler:addModule(FocusModule:new())
Espero Ter Ajudado
Créditos:50%Admrevolution (EU)por adicionar as montarias 9.1
50%deletera Npc Montarias Versão 8.7
Obrigado!
-
Éee parece que de tópico de um mega projeto virou tópico de propaganda =(.
Tenho esperança que esse ot vai ser lançado para nos, mas tenho pensado tambem que com o open beta que lançou acumulou tantos players e ficou tão rox que mudaram de ideia e esqueceram da palavra open tibia, assim querendo criar um sevidor para ganharem dinheiro.Evitando não pensar nisso,( mas como o capitalismo domina hj em dia vai sabe ne =|), ainda tenho esperança!
Atualmente Estou Concordando 100% Com Você !
-
O Tópico Morreu?E A Battle For Azeroth Ta Todos Vivos?
-
ADD MSN : jaden5ds@hotmail.com TE AJUDO POR UM +REP
-
E A Batle For Azeroth Ta De Férias Escolares?Hehe To Brincando Darkscrol e Comedinhaas Sinal De Vida Please Como Ta Indo O Projeto?
-
Grade Hitory Evoluindo Sempre!Aguardo A Versão Sem Bugs Nas Actions!Sem Elas Meu Server Não é Nada!
-
NOME: Daniel
IDADE:(14)(ISSO NAO IMPORTA, OQUE VALE É O CONHECIMENTO ² então pra que por se não importa?)
ANOS EM TAL CARGO: 1 ano
CARGO:Tudo De Relacionado A Otserver
SKYPE, MSN, OU ORKUT: Msn : jaden5ds@hotmail.com
Informações adicionais : fan de hp ja li todos livros e ja assisti muitas veses os primeiros 7 filmes (umas 40)
-
Meu Total Apoio A Batlle For Azeroth !!
So 1 Pergunta No Server Azeroth Vai Funcionar Tudo Que Funciona No Tfs0.3.6 e No Real Server Por EX:npcs,mods,spells?
-
ADC MSN : jaden5ds@hotmail.com que eu faço pra vc
-
Me Adc Msn Que Eu Arrumo : jaden5ds@hotmail.com
-
19:22 Você tem 29 dias de VIP no seu character.
19:22 Seja Bem Vindo a Area vip.
19:21 Using the last health vip...
Não Ta Dando Vou Mostrar Daonde Eu Peguei O Storage
-- Script Vip Sytem 1.0 --function onStepIn(cid, item, position, fromPosition)
local config = {
msgDenied = "Você não e vip ,para adqrir sua vip fale .!buyvip",
msgWelcome = "Seja Bem Vindo a Area vip."
}
if getPlayerStorageValue(cid, 13540) - os.time() <= 0 then
doTeleportThing(cid, fromPosition, true)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgDenied)
doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE)
return TRUE
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, config.msgWelcome)
return TRUE
end
Ta Certo?
Desde Já Agradeço...
ATT : Adm Revolution
-
@fireelement
Obrigado Por Ajudar Mas Não Esta Funcionando Configurei Assim :
local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, FALSE) setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, TRUE) function onCastSpell(cid, var) local storage = 13540 local msg = {"Voce Nao e Vip.", "Health Vip"} if getPlayerStorageValue(uid, storage) == true then doCreatureAddHealth(cid, math.random(1000,1500)) doCreatureSay(cid, msg[2], TALKTYPE_ORANGE_1) else doPlayerSendCancel(cid, msg[1]) return true end return doCombat(cid, combat, var) end
Alguém Pode Testar Ver Se Na Sua Versão Ele Funciona?
Desde Já Meus Agradecimentos!
ATT:Adm Revolution
-
Tipo do script:Axo Que É Na Pasta Spell Da Runa...
Protocolo (versão do Tibia):8.6
Servidor utilizado:Real Server
Nível de experiência:Médio
Adicionais/Informações:Por Exemplo Esse É O Script Da Minha Runa :
local combat = createCombatObject()setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, FALSE)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, TRUE)
function onCastSpell(cid, var)
doCreatureAddHealth(cid, math.random(1000,1500))
doCreatureSay(cid,"Health Vip", TALKTYPE_ORANGE_1)
return doCombat(cid, combat, var)
end
Eu Queria Que Somente O Player Com A Storage Vip Pudesse Usar A Runa...Caso Contrario Dava Uma Mensagem Ou Apenas Um Erro!
Desde Já Meu Muito Obrigado!
Att : ADM REVOLUTION
VALE 2 + REP
-
Hehe!Convivemos Em Uma Sociedade Tão Capitalista Que Até O Open Tibia Entrou Nessa Poisé Vamos Esperar A : Battle For Azeroth Lançar O Server Deles Quem Sabe Eles Vão Compartilhar...
:weight_lift: ae :XTibia_smile:
-
Alguém Pode Me Explica O Que Que É Isso : Clique aqui
-
oks assim que der lanço.
Esse Dia Vai Ser Comemorado Por Todos Como A REVOLUÇÃO Brasileira Nos Ot Servers!! :XTibia_smile: FODA
#meus filhos vão estudar esse dia na escola
-
So 1 Pergunta As Montarias É 100% Igual Global De Use Item Ou É Por Npc ?Que Add A Mount?
:weight_lift: Ae :XTibia_smile:
-
Lol Man O :XTibia_smile: Ta Revolucionando!!... Sobre O Map Editor...Nao Tem Como Roda O Server Com map 8.6 e otbm 8.6?
-
HEHE MUIT0 BOM MAS EU JA FORMATEI O PC MAS ACHO BOM O TOPICO NAO MORRER PQ ISSO ACONTECE EM VARIOS OT SERVERS...
#vou atualizar o post com os links de prevenção e tals logo logo...
-
Resumindo!
Um Lixo Laag On Lah...
-
OMG
Vejo Que A Galera Do :XTibia_smile: É Fera...A Proposito Quando É A Previsão Para Sair O 9.1 Beta...Pq To Pensando Em Abri Um 8.6 Aqui E To Na Duvida Se Eu Espero Ou Não...
#Boa Sorte E Que O Projeto De Voces Seja Próspero...
Att : Adm Revolution
-
Minha Opinião É De Que Se Não Se Mechemos Logo O Otserver Free Baseado Na Diversão Se Acabará E Daqui A Pouco Tempo Teremos Que Pagar Pra Jogar Tibia...
ATT:Adm Revolution
-
Só 1 Pergunta Ele Apenas Deixou De Entrar No Global Né... Até Por Que Ainda Não Temos Ot 9.1 Certo?
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.
The Baiak Server 9.10 New Mount System + Cooldown 100%
em Lixeira Pública
Postado
History Não Da Bola Pros Trolls E Vamo Ownar Lah...