Histórico de Curtidas
-
Shinob deu reputação a Noob II em [ME AJUDE] Systema de Held OTCÉ em algum MOD do OTC mesmo amigo, estarei baixando o OTClient aqui para ver
-
Shinob deu reputação a Noob II em [ME AJUDE] Systema de Held OTCPrecisando
-
Shinob deu reputação a Noob II em [ME AJUDE] Systema de Held OTCTroque o script por esse ai:
Esse script original do servidor está cheio de gambiarra junto com o MOD!
Ai alterei ele quase todo para funcionar normal, teste ai
-
Shinob deu reputação a wesquel em [ME AJUDE] Systema de Held OTC
-
Shinob deu reputação a wesquel em [ME AJUDE] Systema de Held OTCTenta Assim !
function onSay(cid, words, param, channel) if not isCreature(cid) then return true devotedCount = getPlayerItemCount(cid, 14752) mightyCount = getPlayerItemCount(cid, 14750) honoredCount = getPlayerItemCount(cid, 14751) if words == "#devoted#" then if devotedCount >= 20 then if math.random(1,2) == 1 then tierTable = helds.tiers1 else tierTable = helds.tiers2 end prize = tierTable[math.random(#tierTable)] doPlayerAddItem(cid, prize, 1) if doPlayerRemoveItem(cid,14752,1) == TRUE then doPlayerSendTextMessage(cid, 19, "You received a "..getItemInfo(prize).name..".") doCreatureExecuteTalkAction(cid, "#heldCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 20 Devoted Tokens to pick a held item!") doCreatureExecuteTalkAction(cid, "#heldCount#") return true end return true end if words == "#mighty1#" then if mightyCount >= 50 then if math.random(1,3) == 1 then tierTable = helds.tiers1 elseif math.random(1,3) == 2 then tierTable = helds.tiers2 else tierTable = helds.tiers3 end prize = tierTable[math.random(#tierTable)] doPlayerAddItem(cid, prize, 1) doPlayerRemoveItem(cid, 14750, 50) doPlayerSendTextMessage(cid, 19, "You received a "..getItemInfo(prize).name..".") doCreatureExecuteTalkAction(cid, "#heldCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 50 Mighty Tokens to pick a held item!") doCreatureExecuteTalkAction(cid, "#heldCount#") return true end end if words == "#mighty2#" then if mightyCount >= 100 then if math.random(1,3) == 1 then tierTable = helds.tiers2 elseif math.random(1,3) == 2 then tierTable = helds.tiers3 else tierTable = helds.tiers4 end prize = tierTable[math.random(#tierTable)] doPlayerAddItem(cid, prize, 1) doPlayerRemoveItem(cid, 14750, 100) doPlayerSendTextMessage(cid, 19, "You received a "..getItemInfo(prize).name..".") doCreatureExecuteTalkAction(cid, "#heldCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 100 Mighty Tokens to pick a held item!") doCreatureExecuteTalkAction(cid, "#heldCount#") return true end end if words == "#mighty3#" then if mightyCount >= 200 then if math.random(1,4) == 1 then tierTable = helds.tiers3 elseif math.random(1,4) == 2 then tierTable = helds.tiers4 elseif math.random(1,4) == 3 then tierTable = helds.tiers5 else tierTable = helds.tiers6 end prize = tierTable[math.random(#tierTable)] doPlayerAddItem(cid, prize, 1) doPlayerRemoveItem(cid, 14750, 200) doPlayerSendTextMessage(cid, 19, "You received a "..getItemInfo(prize).name..".") doCreatureExecuteTalkAction(cid, "#heldCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 200 Mighty Tokens to pick a held item!") doCreatureExecuteTalkAction(cid, "#heldCount#") return true end end if words == "#honored1#" then if honoredCount >= 25 then if math.random(1,3) == 1 then tierTable = helds.tiers1 elseif math.random(1,3) == 2 then tierTable = helds.tiers2 else tierTable = helds.tiers3 end prize = tierTable[math.random(#tierTable)] doPlayerAddItem(cid, prize, 1) doPlayerRemoveItem(cid, 14751, 25) doPlayerSendTextMessage(cid, 19, "You received a "..getItemInfo(prize).name..".") doCreatureExecuteTalkAction(cid, "#heldCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 25 Honored Tokens to pick a held item!") doCreatureExecuteTalkAction(cid, "#heldCount#") return true end end if words == "#honored2#" then if honoredCount >= 50 then if math.random(1,3) == 1 then tierTable = helds.tiers2 elseif math.random(1,3) == 2 then tierTable = helds.tiers3 else tierTable = helds.tiers4 end prize = tierTable[math.random(#tierTable)] doPlayerAddItem(cid, prize, 1) doPlayerRemoveItem(cid, 14751, 50) doPlayerSendTextMessage(cid, 19, "You received a "..getItemInfo(prize).name..".") doCreatureExecuteTalkAction(cid, "#heldCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 50 Honored Tokens to pick a held item!") doCreatureExecuteTalkAction(cid, "#heldCount#") return true end end if words == "#honored3#" then if honoredCount >= 100 then if math.random(1,4) == 1 then tierTable = helds.tiers3 elseif math.random(1,4) == 2 then tierTable = helds.tiers4 elseif math.random(1,4) == 3 then tierTable = helds.tiers5 else tierTable = helds.tiers6 end prize = tierTable[math.random(#tierTable)] doPlayerAddItem(cid, prize, 1) doPlayerRemoveItem(cid, 14751, 100) doPlayerSendTextMessage(cid, 19, "You received a "..getItemInfo(prize).name..".") doCreatureExecuteTalkAction(cid, "#heldCount#") return true else doPlayerSendTextMessage(cid, 27, "You need 100 Honored Tokens to pick a held item!") doCreatureExecuteTalkAction(cid, "#heldCount#") return true end end if words == "#heldCount#" then doPlayerSendCancel(cid, "#held#,"..devotedCount..","..mightyCount..","..honoredCount..",") return true end return true end
-
Shinob deu reputação a Viny 13 em Bike Box do [ otPokemon ]Está tudo la no outro topico, Desculpe por demorar 1 ano pra responder mas quem tiver ainda á mesma duvida está ai
-
Shinob deu reputação a Xagah em [MONSTER] Como fazer?Olá, boa noite.
Para mudar a vida você altera aqui:
<health now="140" max="140"/> Onde a primeira e a segunda devem ser iguais.
Já as magias não são alteradas no mesmo arquivo, a não ser a "melee" (ataque de perto, porrada). Se quiser alterar o melee mude aqui:
<attack name="melee" interval="2000" chance="100" range="1" min="-50" max="-100"/> Onde interval é quanto tempo demora entre um hit e outor. Chance é a chance de acertar. range é a distância que ele tem que estar pra bater. E min e max é o quanto pode tirar de life (deixe no NEGATIVO, se não o monster vai healar o outro).
Para modificar o ataque e tals, tem um tuto bom:
http://www.tibiaking.com/forum/topic/28655-pokemon-como-arrumar-experiencia-e-outros/
Veja lá.
-
Shinob deu reputação a ViitinG em Comando !rank, HELP!Só retirar o level do GOD..
-
Shinob deu reputação a Xagah em (Resolvido)Erro no ScriptOlá, bom dia.
A função elseif complementa um if, e este não existe ali.
Insira isto e veja o que dá:
local strg = divulgue local texto = "Curta nossa pagina no Facebook." function onUse(cid, item, frompos, item2, topos) if (getPlayerStorageValue(cid, strg)~= 2) then if getPlayerStorageValue(cid, strg) == 0 then setPlayerStorageValue(cid, strg, 1) doPlayerSendTextMessage(cid, 23, texto) else doPlayerSendCancel(cid, "Voce ja clicou, agora va pegar sua recompensa no NPC Rey.") end else getPlayerStorageValue(cid, strg) == 2 then doPlayerSendCancel(cid, "Voce ja pegou sua recompensa por ajudar na divulgacao.") return true end Se não der certo volte aqui.
Abraço.
-
Shinob deu reputação a Xagah em (Resolvido)[POKETIBIA] Corpo do Pokémon não aparece.Olá, bom dia.
Colega, entendo muito de OT, mas pouco do Pokemon. Vou falar algumas coisas e, por analogia, faça o mais próximo possível.
Cada pokemón tem o seu próprio arquivo. Você pode encontrar eles na pasta data > monsters.
Abra, neste caso, o do Pinsir, por exemplo. Acredito que deve estar Pinsir.xml.
Dentro do Arquivo vc vai encontrar deste modo:
<?xml version="1.0" encoding="UTF-8"?> <monster name="Deathbringer" nameDescription="deathbringer" race="undead" experience="5100" speed="300" manacost="0"> <health now="10000" max="10000"/> <look type="231" corpse="7349"/> ... Ali onde está <look type=''231" é que vc deve colocar a "roupa" do seu monsters.
O problema é que o seu client não deve estar sendo compatível com o OT que vc baixou. Para saber exatamente no seu faça o download do DatEditor.
Download: DatEditor (Link Direto)
Scan: Scan do Arquivo
Agora vá em File > Open > (selecione seu .spr e seu .dat). Ao lado de Open seleciona a Opcão 760 (apta para o Tibia 8.54).
Vá, ao lado direito inferior, e desça a barra até o final. Vai ser a parte de effects. Vá subindo aos poucos até encontrar o monstro que deseja.
Quando encontrar, clique sobre a imagem dele e pegue a seguinte informação:
Por exemplo, no caso acima eu selecionei o Ferumbras, o LookType dele é 229.
No local marcado em vermelho vc pega o número da "roupa" de seu Pokemón e já era!
Se não der certo volta aqui. Abraço.
-
Shinob deu reputação a Adriano SwaTT em NPC que dá um item e passa uma mensagem.Todos scripts corrigidos e testados.
Caso dê algum erro, poste para resolvermos.
Obs: Quando precisar postar mais de uma vez em seguida, edite seu post anterior para não ficar 2 posts consecutivos, isso é chamado de Double-Post e o fórum tem Políticas que proíbem isso.
Ao script:
rey.xml:
<?xml version="1.0"?> <npc name="Rey" script="rey.lua" walkinterval="50000" floorchange="0"> <health now="100" max="100"/> <look type="153" head="58" body="58" legs="58" feet="50" addons="2"/> <parameters> <parameter key="message_greet" value="Voce ja conhece nosso servidor? Leia a placa abaixo e Curta-nos no Facebook para ganhar uma {BP}." /> </parameters> </npc> rey.lua:
Agora vamos adicionar a tag ao actions.xml:
<action actionid="50010" event="script" value="divulgue.lua" /> Agora criamos o script divulgue.lua:
Well done!
Caso dê algum erro, favor postá-lo para corrigirmos².
Boa sorte.
-
Shinob deu reputação a xWhiteWolf em NPC que dá um item e passa uma mensagem.agora ta certo
local strg = divulgue local texto = "Curta nossa pagina no Facebook." function onUse(cid, item, frompos, item2, topos) if getPlayerStorageValue(cid, strg) == 0 then setPlayerStorageValue(cid, strg, 1) doPlayerSendTextMessage(cid, 23, texto) else doPlayerSendCancel(cid, "Voce ja clicou, agora va pegar sua recompensa no NPC Rey.") end elseif getPlayerStorageValue(cid, strg) == 2 then doPlayerSendCancel(cid, "Voce ja pegou sua recompensa por ajudar na divulgacao.") return true end -
Shinob deu reputação a Adriano SwaTT em NPC que dá um item e passa uma mensagem.Boa noite.
@@ EDITADO - POST INUTILIZADO.
O tópico será atualizado no outro post com o SCRIPT.
E lembre-se, é muito importante adicionar a actionID "50010" na placa pelo MapEditor com o seguinte script:
Em actions.xml adicione:
<action actionid="50010" script="divulgue.lua"/> Agora em divulgue.lua adicione o script abaixo:
-
Shinob deu reputação a xWhiteWolf em (Resolvido)[EDITAR] Script - Auto Loottenho razões para acreditar que é só mudar isso na talkactions:
local expl = param:explode(':') para
local expl = param:explode(',') mas como esse script é todo complicado eu posso estar errado kkk
-
Shinob deu reputação a Adriano SwaTT em NPC que dá um item e passa uma mensagem.Me diga uma coisa, o player precisará clicar na placa para somente após isto dizer "BP" e ser recompensado?
-
Shinob deu reputação a Cat em Pokemon Novo Inicio Equipe PNIboa sorte com o projeto, porém eu achei o client muito "sujo", quase me perdi olhando pra ele. É só uma critica.
-
Shinob deu reputação a Hona em Poketibia Erondino V11.2Poketibia Erondino V11.2
Vamos ver o que contém nesse server :
ScreenShots V11.2
Senha de God :
Serve+Client :
ATENÇÃO:
ENCONTROU BUGS ? COMENTE EM
tibiapoketibia-erondino