Ir para conteúdo

atakashi

Visconde
  • Total de itens

    332
  • Registro em

  • Última visita

  • Dias Ganhos

    1

Posts postados por atakashi

  1. 11709399_933451640047718_442600875338796

     

    Servidor 24 Horas
    Uptime: 100%
    WebSite: 
    www.pokenjoy.com

     

     

     


    Catch:
    #- 60% Normal
    #- 30% Shiny
    #- 10% Ditto


    Quests:
    #Leaf Valley
    #Fire Valley
    #Water Valley
    #Pesadelo Quest
    #General Quest
    #Ditto Quest
    #Fire Stone 1 Quest

    #Pandemonio Quest

    #Boost Stone 1 Quest

    ...

    Pokemons:
    #Geracao 1

    #Geracao 2

    #Geracao 3

    #Geracao 4

    #Geracao 5

    #Geracao 6

    ...

    ...

    Venha se juntar a nós.

    13906892_1159954080730805_67916483163523

     

    14021531_1159954030730810_12635927908983

    13939604_1159954027397477_46592399916833

     

    11140025_933453250047557_429624492549615

     



  2. bom pessoal, o nome do topico ja diz praticamente tudo.




    Quero limitar o numero de revive potions que a pessoa pode carrega, em servidor de poketibia pode carrega quantos quiser, porem eu quero limitar 50x potions, caso o player tentar por mais alguma da uma mensagem para ele e o revive cai no chao.


  3. bom pessoal, o nome do topico ja diz praticamente tudo.

    Quero limitar o numero de revive potions que a pessoa pode carrega, em servidor de poketibia pode carrega quantos quiser, porem eu quero limitar 50x potions, caso o player tentar por mais alguma da uma mensagem para ele e o revive cai no chao.

  4. @

     williamserravalle

    eu tinha um npc de event coins no meu servidor, te do uma dica esquece ele, muito facil de roubar ele.

    faz um sistema de script de compra de items via talkactions com uma tabela nova.

    exemplo: no meu servidor existe um shop de event points por talkactions onde voce usa seus event points que ficam salvos na sua conta igual premium points.

  5. 	<!-- Houses -->	<talkaction words="!buyhouse" filter="word-spaced" event="function" value="houseBuy"/>	<talkaction words="!sellhouse" filter="word-spaced" event="function" value="houseSell"/>	<talkaction words="!removeinvite" filter="word-spaced" event="function" value="houseKick"/>	<talkaction words="!invitelist" filter="word-spaced" event="function" value="houseDoorList"/>	<talkaction words="!invite" filter="word-spaced" event="function" value="houseGuestList"/>	<talkaction words="!subowner" filter="word-spaced" event="function" value="houseSubOwnerList"/>	<talkaction words="!leave" filter="word-spaced" event="script" value="leavehouse.lua"/>

     

  6. seguinte, trata-se de servidor de poketibia, e como todo servidor de poketibia existe meios de clonar items como tibia tambem, porem poketibia nao tem como limitar o numero de bags que voce pode carregar, entao um player bota 1.000 bags uma dentro da outra e sai pondo items, e vai clonando quando o servidor cai.

    Ja botei tudo save menor, saveplayer, decayto nas bag, nao adianta nada disso, sempre tem um que consegue.

    Entao o seguinte, eu preciso de um script.

    Que limite o numero de carregar tao item, no caso um item de id 1900 por exemplo, poder carregar 5, se passar disso da mensagem e nao pega o item nem por trade.

    Ou um script que delete esse item em 30 em 30 minutos.

    so preciso de uma query que delete o item na conta so isso, uma funcao eu ja tenho um script, so falta a funcao.

  7. Bom dia pessoal, estou tentando fazer um novo sistema de trade.

    tipo assim, existe como eu por um item no trade e talz, ai vai esta la aparecendo 1 item para cada jogador no trade, eu queria que desse nesse mesmo trade para adicionar mais 1 item com o trade aberto.

    ... Ta mais existe bag para isso... ( porem meu servidor e PDA e todo servidor PDA e de tibia que tem bag so acaba em clones... )

    entao se alguem souber como agradeco.

  8. e o seguinte pessoal, boa tarde, estou querendo mudar meu script de trade do poketibia, versao PDA 1.9.

    eu quero que em vez de os poke ou o que tiver no trade vim pra pessoa, quero que ela va direto pro DEPOT.

    Motivo: todo pda existe um bug, se a pessoa estiver com 5 pokes e o outro com 2, com o maximo e 6 o pokemon bug e nao vem nada pra uma pessoa e o outro fica com os pokes, entao por isso quero que va direto pro DP.

     

    aqui meu script de trade.

    local xhelds = {[8] = {name = "X-Attack(Tier : 1)"},[9] = {name = "X-Attack(Tier : 2)"},[10] = {name = "X-Attack(Tier: 3)"},[11] = {name = "X-Attack(Tier: 4)"},[12] = {name = "X-Attack(Tier: 5)"},[13] = {name = "X-Attack(Tier: 6)"},[14] = {name = "X-Attack(Tier: 7)"},[22] = {name = "X-Hellfire(Tier: 1)"},[23] = {name = "X-Hellfire(Tier: 2)"},[24] = {name = "X-Hellfire(Tier: 3)"},[25] = {name = "X-Hellfire(Tier: 4)"},[26] = {name = "X-Hellfire(Tier: 5)"},[27] = {name = "X-Hellfire(Tier: 6)"},[28] = {name = "X-Hellfire(Tier: 7)"},[29] = {name = "X-Poison(Tier: 1)"},[30] = {name = "X-Poison(Tier: 2)"},[31] = {name = "X-Poison(Tier: 3)"},[32] = {name = "X-Poison(Tier: 4)"},[33] = {name = "X-Poison(Tier: 5)"},[34] = {name = "X-Poison(Tier: 6)"},[35] = {name = "X-Poison(Tier: 7)"},[43] = {name = "X-Agility(Tier: 1)"},[44] = {name = "X-Agility(Tier: 2)"},[45] = {name = "X-Agility(Tier: 3)"},[46] = {name = "X-Agility(Tier: 4)"},[47] = {name = "X-Agility(Tier: 5)"},[48] = {name = "X-Agility(Tier: 6)"},[49] = {name = "X-Agility(Tier: 7)"},[50] = {name = "X-Strafe(Tier: 1)"},[51] = {name = "X-Strafe(Tier: 2)"},[52] = {name = "X-Strafe(Tier: 3)"},[53] = {name = "X-Strafe(Tier: 4)"},[54] = {name = "X-Strafe(Tier: 5)"},[55] = {name = "X-Strafe(Tier: 6)"},[56] = {name = "X-Strafe(Tier: 7)"},[57] = {name = "X-Rage(Tier: 1)"},[58] = {name = "X-Rage(Tier: 2)"},[59] = {name = "X-Rage(Tier: 3)"},[60] = {name = "X-Rage(Tier: 4)"},[61] = {name = "X-Rage(Tier: 5)"},[62] = {name = "X-Rage(Tier: 6)"},[63] = {name = "X-Rage(Tier: 7)"},[64] = {name = "X-Harden(Tier: 1)"},[65] = {name = "X-Harden(Tier: 2)"},[66] = {name = "X-Harden(Tier: 3)"},[67] = {name = "X-Harden(Tier: 4)"},[68] = {name = "X-Harden(Tier: 5)"},[69] = {name = "X-Harden(Tier: 6)"},[70] = {name = "X-Harden(Tier: 7)"},[71] = {name = "X-Experience(Tier: 1)"},[72] = {name = "X-Experience(Tier: 2)"},[73] = {name = "X-Experience(Tier: 3)"},[74] = {name = "X-Experience(Tier: 4)"},[75] = {name = "X-Experience(Tier: 5)"},[76] = {name = "X-Experience(Tier: 6)"},[77] = {name = "X-Experience(Tier: 7)"},[78] = {name = "X-Elemental(Tier: 1)"},[79] = {name = "X-Elemental(Tier: 2)"},[80] = {name = "X-Elemental(Tier: 3)"},[81] = {name = "X-Elemental(Tier: 4)"},[82] = {name = "X-Elemental(Tier: 5)"},[83] = {name = "X-Elemental(Tier: 6)"},[84] = {name = "X-Elemental(Tier: 7)"},[85] = {name = "X-Critical(Tier: 1)"},[86] = {name = "X-Critical(Tier: 2)"},[87] = {name = "X-Critical(Tier: 3)"},[88] = {name = "X-Critical(Tier: 4)"},[89] = {name = "X-Critical(Tier: 5)"},[90] = {name = "X-Critical(Tier: 6)"},[91] = {name = "X-Critical(Tier: 7)"},[99] = {name = "X-Haste(Tier: 1)"},[100] = {name = "X-Haste(Tier: 2)"},[101] = {name = "X-Haste(Tier: 3)"},[102] = {name = "X-Haste(Tier: 4)"},[103] = {name = "X-Haste(Tier: 5)"},[104] = {name = "X-Haste(Tier: 6)"},[105] = {name = "X-Haste(Tier: 7)"},[113] = {name = "X-Cooldown(Tier: 3)"},[114] = {name = "X-Cooldown(Tier: 5)"},[115] = {name = "X-Cooldown(Tier: 7)"},[116] = {name = "X-Blink(Tier: 5)"},}local zhelds = {[106] = {name = "Z-Accuracy(Tier: 1)"},[107] = {name = "Z-Accuracy(Tier: 2)"},[108] = {name = "Z-Accuracy(Tier: 3)"},[109] = {name = "Z-Accuracy(Tier: 4)"},[110] = {name = "Z-Accuracy(Tier: 5)"},[111] = {name = "Z-Accuracy(Tier: 6)"},[112] = {name = "Z-Accuracy(Tier: 7)"},[92] = {name = "Z-Vitality(Tier: 1)"},[93] = {name = "Z-Vitality(Tier: 2)"},[94] = {name = "Z-Vitality(Tier: 3)"},[95] = {name = "Z-Vitality(Tier: 4)"},[96] = {name = "Z-Vitality(Tier: 5)"},[97] = {name = "Z-Vitality(Tier: 6)"},[98] = {name = "Z-Vitality(Tier: 7)"},[36] = {name = "Z-Boost(Tier: 1)"},[37] = {name = "Z-Boost(Tier: 2)"},[38] = {name = "Z-Boost(Tier: 3)"},[39] = {name = "Z-Boost(Tier: 4)"},[40] = {name = "Z-Boost(Tier: 5)"},[41] = {name = "Z-Boost(Tier: 6)"},[42] = {name = "Z-Boost(Tier: 7)"},[120] = {name = "Z-Arch(Tier: PRO)"},}local yhelds = {[1] = {name = "Y-Regeneration(Tier: 1)"},[2] = {name = "Y-Regeneration(Tier: 2)"},[3] = {name = "Y-Regeneration(Tier: 3)"},[4] = {name = "Y-Regeneration(Tier: 4)"},[5] = {name = "Y-Regeneration(Tier: 5)"},[6] = {name = "Y-Regeneration(Tier: 6)"},[7] = {name = "Y-Regeneration(Tier: 7)"},[8] = {name = "Y-Cure(Tier: 1)"},[9] = {name = "Y-Cure(Tier: 2)"},[10] = {name = "Y-Cure(Tier: 3)"},[11] = {name = "Y-Cure(Tier: 4)"},[12] = {name = "Y-Cure(Tier: 5)"},[13] = {name = "Y-Cure(Tier: 6)"},[14] = {name = "Y-Cure(Tier: 7)"},[15] = {name = "Y-Wing(Tier: 1)"},[16] = {name = "Y-Wing(Tier: 2)"},[17] = {name = "Y-Wing(Tier: 3)"},[18] = {name = "Y-Wing(Tier: 4)"},[19] = {name = "Y-Wing(Tier: 5)"},[20] = {name = "Y-Wing(Tier: 6)"},[21] = {name = "Y-Wing(Tier: 7)"},[22] = {name = "Y-Ghost(Tier: 4)"},[23] = {name = "Y-Defense(Tier: 1)"},[24] = {name = "Y-Defense(Tier: 2)"},[25] = {name = "Y-Defense(Tier: 3)"},[26] = {name = "Y-Defense(Tier: 4)"},[27] = {name = "Y-Defense(Tier: 5)"},[28] = {name = "Y-Defense(Tier: 6)"},[29] = {name = "Y-Defense(Tier: 7)"},}function onTradeRequest(cid, target, item)	for a, b in pairs (pokeballs) do		if b.use == item.itemid then			doPlayerSendCancel(cid, "You can't trade this item.")		return false		end	end		if isContainer(item.uid) then	   local bagItems = getItensUniquesInContainer(item.uid)	   if #bagItems >= 1 then	      doPlayerSendCancel(cid, "Has a Unique Item in this bag, you can't trade this item.")     --alterado v1.6	      return false       end     	elseif getItemAttribute(item.uid, "unique") then    --alterado v1.6	   doPlayerSendCancel(cid, "It is a Unique Item, you can't trade this item.")	   return false	end   		if isContainer(item.uid) then	   local itens = getPokeballsInContainer(item.uid)	   if #itens >= 1 then                             	      for i = 1, #itens do	          local lvl = getItemAttribute(itens[i], "level")	          local name = getItemAttribute(itens[i], "poke")	          if not lvl then	             doItemSetAttribute(itens[i], "level", pokes[name].level)     --alterado v1.6              end           end       end    elseif isPokeball(item.itemid) then	   local lvl = getItemAttribute(item.uid, "level")	   local name = getItemAttribute(item.uid, "poke")	   if not lvl then	      doItemSetAttribute(item.uid, "level", pokes[name].level)       end    end        if getPlayerStorageValue(cid, 52480) >= 1 then             --alterado v1.6.1       doPlayerSendTextMessage(cid, 20, "You can't do that while be in a duel!")       return false    end        if isPokeball(item.itemid) then       local name = getItemAttribute(item.uid, "poke")            --alterado v1.8 \/       local boost = getItemAttribute(item.uid, "boost") or 0       local nick = getItemAttribute(item.uid, "nick") or ""           local str = "Pokemon in trade: "       str = str.."•Name: "..name.."   •Boost: "..boost.."   "       if nick ~= "" then str = str.."•Nick: "..nick.."" end	   local heldx = getItemAttribute(item.uid, "heldx")       local heldy = getItemAttribute(item.uid, "heldy")	   if heldx and heldy and heldz thenstr = str.."Holding: "..(xhelds[heldx].name).." and "..(yhelds[heldy].name).." and "..(zhelds[heldz].name)..". "elseif heldx thenstr = str.."Holding: "..(xhelds[heldx].name)..". "elseif heldy thenstr = str.."Holding: "..(yhelds[heldy].name)..". "end       sendMsgToPlayer(target, 20, str)    end                                                            --alterado v1.8 \/    if isContainer(item.uid) then	   local itens = getPokeballsInContainer(item.uid)	   if #itens >= 1 then                             	      for i = 1, #itens do	          if isPokeball(getThing(itens[i]).itemid) then	             local name = getItemAttribute(itens[i], "poke")                             local boost = getItemAttribute(itens[i], "boost") or 0                 local nick = getItemAttribute(itens[i], "nick") or ""				 	   local heldx = getItemAttribute(itens[i], "heldx")       local heldy = getItemAttribute(itens[i], "heldy")                     local str = "Pokemon in trade: "                 str = str.."•Name: "..name.."   •Boost: "..boost.."   "                 if nick ~= "" then str = str.."•Nick: "..nick.."" end				  if heldx and heldy and heldz thenstr = str.."Holding: "..(xhelds[heldx].name).." and "..(yhelds[heldy].name).." and "..(zhelds[heldz].name)..". "elseif heldx thenstr = str.."Holding: "..(xhelds[heldx].name)..". "elseif heldy thenstr = str.."Holding: "..(yhelds[heldy].name)..". "end                 sendMsgToPlayer(target, 20, str)              end          end	   end           end    return trueendlocal function noCap(cid, sid)	if isCreature(cid) then		doPlayerSendCancel(cid, "You can't carry more than six pokemons, trade cancelled.")	end	if isCreature(sid) then		doPlayerSendCancel(sid, "You can't carry more than six pokemons, trade cancelled.")	endendfunction onTradeAccept(cid, target, item, targetItem)	local pbs = #getPokeballsInContainer(item.uid)	local cancel = false	local p1 = 0	local p2 = 0	local itemPokeball = isPokeball(item.itemid) and 1 or 0	local targetItemPokeball = isPokeball(targetItem.itemid) and 1 or 0    if getPlayerMana(cid) + itemPokeball > 6 then  --alterado v1.6	   cancel = true	   p1 = cid    end    if getPlayerMana(target) + targetItemPokeball > 6 then  --alterado v1.6	   cancel = true	   p2 = target    end    	if pbs > 0 and getCreatureMana(target) + pbs > 6 + targetItemPokeball then		cancel = true			p1 = target	end	pbs = #getPokeballsInContainer(targetItem.uid)	if pbs > 0 and getCreatureMana(cid) + pbs > 6 + itemPokeball then		cancel = true		p2 = cid	end	if cancel then		addEvent(noCap, 20, p1, p2)	return false	end	if itemPokeball == 1 and targetItemPokeball == 1 then		setPlayerStorageValue(cid, 8900, 1)		setPlayerStorageValue(target, 8900, 1)	endreturn trueend

     

  9. na verdade não deve ser md5, na realidade deve ser sha1, sites de tíbia a maioria vem com sha1 ajustável, então faça o seguinte, vai na pasta do seu ot, abre o arquivo config.lua.

    ai você procura a parte de sql, vai ter algo do tipo passwordtype, eu não lembro bem, mas você vai conseguir achar, deve estar assim "Plain", muda esse Plain para sha1. Aí você roda seu otserv e ver se vai funcionar.

    caso seu site estiver msm em md5 como você disse, aí você bota md5 no lugar. 

  10. e exatamente o que eu queria, so para os que tivesse ja aberto, muito obrigado, vou testar e assim respondo aqui.

    deu esse erro,

    # 1062 - Duplicate entry '14525-118' for key 'player_id_2'

    o script que voce passou, com id 2594 nao funcionou, entao troquei para 2590, porem 2590 se repete umas 5x por personagem entao creio que o erro e devido a isso.

    entao vou usar a query para deletar os 2590 duplicados que no caso estao nas sid 100 - 105, para ver se funciona depois.

    deu certo nao ta dando mesmo erro ainda.

    Valeu, ja conseguir acertar a query.

    o Erro no seu script esta, se o player tiver item no depot ele tenta duplica a sid, e isso nao pode fazer.

  11. Boa noite pessoal, aqui estou com dificuldade para achar uma Query que adicione a todos Depot de todos players do servidor 1 Item.

    entao se alguem que entenda melhor de sql aqui, uma query para add a todos do servidor na tabela Player_depotitems.

     

  12. <?xml version="1.0" encoding="UTF-8"?><monster name="Charizard Power" nameDescription="a charizard power" race="fire" experience="1604" speed="147" manacost="0">    <health now="170" max="170"/>    <look type="1524" head="80" body="250" legs="95" feet="113" corpse="0"/>    <targetchange interval="10000" chance="0"/>    <strategy attack="100" defense="0"/>    <flags>        <flag summonable="1"/>        <flag attackable="1"/>        <flag hostile="1"/>        <flag illusionable="1"/>        <flag convinceable="1"/>        <flag pushable="1"/>        <flag canpushitems="0"/>        <flag canpushcreatures="0"/>        <flag targetdistance="1"/>        <flag staticattack="97"/>        <flag runonhealth="0"/>        <flag hungerdelay="17"/>    </flags>    <attacks>        <attack name="melee" interval="2000" chance="100" range="1" min="-50" max="-100"/>        <attack name="Dragon Claw" interval="2570" chance="31" range="1"/>        <attack name="Ember" interval="2664" chance="30" range="4"/>        <attack name="Flamethrower" interval="3580" chance="28" range="4"/>		<attack name="Fireball" interval="3040" chance="28" range="4"/>        <attack name="Fire Fang" interval="2852" chance="29" range="1"/>        <attack name="Raging Blast" interval="3846" chance="28" range="4"/>        <attack name="Fire Blast" interval="4128" chance="27" range="5"/> 	<attack name="Magma Storm" interval="5128" chance="18" range="5"/>		<attack name="Rage" interval="3510" chance="25" range="1"/>    </attacks>    <defenses armor="0" defense="0"/>    <voices interval="5000" chance="10">        <voice sentence="CHARIZARD!"/>    </voices>    <loot>        <item id="12152" chance="4000" count="1" countmax="1"/>        <item id="12162" chance="5000" countmax="50"/>        <item id="12157" chance="4000" count="1" countmax="1"/>        <item id="11447" chance="100" count="1" countmax="1"/>        <item id="12159" chance="4000" count="1" countmax="1"/>    </loot>    <script>        <event name="Spawn"/>    </script></monster>

     

     

     Caronte

  13. Bom dia pessoal, estou com um probleminha a meses e queria resolver ele agora.

    Deixe me explicar, eu tenho um servidor PDA, e tem um problema nos pokemons selvagens, eles estao batendo mais no hit corpo a corpo do que no hit de magias, sendo que no configuration.lua o hit special ( de magia ) e 4x maior que o hit corpo a corpo, queria saber em qual script que faz essa mudanca, e quem poderia me ajudar a modificar.

  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...