Ir para conteúdo

cocazul

Membro
  • Registro em

  • Última visita

Tudo que cocazul postou

  1. Fala galera do Tk estou querendo ajuda em um Scrip de uma spells aqui complementar funções nela tipo a scrip e do spells edo tensei. To querendo que adicione o item pro player quando usar edo tensei tudo certo ate agr mas tipo quero que quando eu der use no item o monster volta. Spells /edo tensei.lua function onCastSpell(cid, var) local playerpos = getPlayerPosition(cid) local targetpos = getPlayerPosition(getCreatureTarget(cid)) local cloth = getCreatureOutfit(cid) local health = getCreatureHealth(getCreatureTarget(cid)) if not isMonster(getCreatureTarget(cid)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você so deve pegar o corpo para edo tensei de ninjas e monstros selvagens.") return 0 end if health >= getCreatureMaxHealth(getCreatureTarget(cid))/100*70 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, ""..getCreatureName(getCreatureTarget(cid)).." esta resistindo ao edo tensei retire mais vida dele") return 0 end if getCreatureMaxHealth(getCreatureTarget(cid)) > getCreatureMaxHealth(cid) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Você so pode invocar criaturas com o HP Baixo") return 0 end local item = doPlayerAddItem(cid, 2221) doItemSetAttribute(item, "corpse", ""..getCreatureName(getCreatureTarget(cid)).."") doItemSetAttribute(item, "health", ""..getCreatureMaxHealth(getCreatureTarget(cid)).."") doSendMagicEffect(playerpos, 2) doSendMagicEffect(targetpos, 2) doItemSetAttribute(item, "name", "Edo tensei! "..getCreatureName(getCreatureTarget(cid)).."") doRemoveCreature(getCreatureTarget(cid)) return true end esse script no meu target ele transformar o bixo no item 2221. configuravel edo tensei quero que transforme o bixo mas dps posso soltalo dando use nele. +rep pra quem ajuda sa help
  2. o script n vai funciona certamente falta uma storage pra funfa direito
  3. mano onde voce acho source compativel com 3.4.5 / 8.54 de naruto?
  4. muito simples Meu senhor povo pensa um poco jesus <event type="login" name="ExpGuild" event="script" value="ExpGuild.lua"/> <event type="logout" name="ExpGuild_out" event="script" value="ExpGuild_out.lua"/> </creaturescripts> olha como ta no arquivo lua confere tudo antes de posta merda caracaaa que coisa de noob
  5. coisa mais simples do mundo . config.lua -- Account manager accountManager = true - se vai usar acc manager pra ativar -true-false namelockManager = true newPlayerChooseVoc = true newPlayerSpawnPosX = 1027 --- aqui -x positon newPlayerSpawnPosY = 912 - y position newPlayerSpawnPosZ = 5 -- z position newPlayerTownId = 1 newPlayerLevel = 1 newPlayerMagicLevel = 1 generateAccountNumber = false oque importa e localização x , y , z so configura ali no config lua
  6. cocazul postou uma resposta no tópico em Suporte Tibia OTServer
    seria melhor um npc que tipo ele iria ate o player com um burro levando os item dele
  7. cocazul postou uma resposta no tópico em Suporte Tibia OTServer
    up o meu deu o mesmo error SAHAShas
  8. e n vai dar tem que configura na source mano nao no script e complicado
  9. cocazul postou uma resposta no tópico em Formação de Equipe
    Ola galera do Tk Procuro algumas pessoas que podem ser boa em Sprites ,Spell Creator , e algum Script mas como eu ja intendo de scripts nem seria necessitado estou recrutando porque estou 4 meses sozin criando tudo sozinho e ta complicado pkss ja crei 25 Vocações. Falando sobre o Servidor : Este servidor eu não comecei ele do 0 meio que um amigo me passou ele , mas passou ele cheio de erros bugs no map e tal sem vocações tive que arruma muitas coisas adicionar monsters cria sistemas e com ajuda de alguns membros do tk aqui eles me ajudo passando alguns sistemas bom pra naruto o Map ja ta 80% completo falta cria mais cidades e hunts e um templo vip hunts vips isso falta mas isso eo mais e de menos então oque falta mesmo e criar mais Vocações e spells , o servidor contem 11 ou 12 eventos varios sistemas muito bom 25 vocações ate agora spells ja estão sendo balanceadas Sistema de Castelo 24hrs double xp automaticos e entre outros varios. Condições para Entrar na Equipe : Começando deve gosta do anime Naruto ne. Para o que sera um Sprite Ter uma Base de 70% em conhecimento em criar sprites Para o Spell creator saber um Script descente de uma spell ter um Conhecimento de 60% em script Vagas : 2 Spell creator , 2 Sprites , 1 Scripter. Base para ser Recrutado : ​Tempo livre : Sua Função : Porque quer entra na Equipe : Idade : qual Group quer ser : Experiencia No anime : Experiencia em sua base : Preencha tudo corretamente para eu intender Duvidas ja sabe uuu
  10. mano pra começa tipo se voce hostear teu serv com teu ip da internet vão nukar o ot facilmente e podem roubar informações tuas . Recomendo voce pagar um host //vps para seu servidor seria melhor tem varios vps aqui por preço de 35$ ,19$ e melhor outra coisa pra voce coloca servidor usando teu ip do computador não daria porque o ip do wifi n e fixo ele sempre mudara então se for assim nunca deixara ele online
  11. como deletar as guilds? n deu mano pra executar aff
  12. mano WTF VOCES QUE AJUDA OU ATRAPALHA HSSAHSAHASH PRA COMeça se presta atenção no topico tera a resposta se uso site como vo usa site com Sqilte mano WTF ? e pra começa troca meu forgotten mdsssssssssssss oque vai adianta aff ai voces me fode responde isso SAHASASH
  13. Ola galera estava querendo deletar as contas ja existente eu tinha deixado online ai quero deleta tudo de uma vez sem ser deleta uma por uma teria como ? .... e que tem uns 80 player e umas 30 contas se der pra deletar os player inves da acc tbm ta de boa. alguem poderia ajuda. Distro 3.4.5 /cliente 8.54 Constantemente Usando Sqlite por base n criei um site ate arruma tudo certo e arruma um Grupo pra me ajuda.
  14. cocazul postou uma resposta no tópico em Suporte Tibia OTServer
    nada ve muda aqui no vocations .xml la voce configura quanto ele vai batar e spells e com armas etc
  15. cocazul postou uma resposta no tópico em Suporte Tibia OTServer
    posta o script dele ne mano mds
  16. {Complementos de Recompensa Castle.24hr} Como assim complementos ? R : Tipo assim tenho aqui no meu otserv um castelo 24hrs configurado certinho mas quero um tipo de recompensa que a guild que ficar 1hr com o Castelo conquistado todos Membros da guild receberão 300k. Ex : So da guild The End dominei o castelo , 1hr dps de eu ter dominado o castelo todos membros da minha guild receberam 300k. ============================================================================================================================================================================================================ ​ 2. Outra coisa que estava vendo Guilds que dominar o Castelo ficarão com double-xp e bonus de 1hr que mostrei acima. Ex : Eu so leader da guild The cotocos dominei o Castelo vou receber 2x o xp do meu servidor e como se fosse um evento de double xp mas tipo so membros da guild que dominarem o castelo recebera o Double-xp. ============================================================================================================================================================================================================ Meu Script do castle 24hr. em movements/script. -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. -- // function onStepIn(cid, item, pos, fromPosition) local pos = getThingPos(cid) if item.actionid == 16203 then if not isPlayer(cid) then return true end if getGlobalStorageValue(COH_STATUS) == getPlayerGuildName(cid) then doSendMagicEffect(getThingPos(cid), 14) doSendAnimatedText(pos, "CoH", math.random(1, 255)) else doSendMagicEffect(getThingPos(cid), 2) doTeleportThing(cid, fromPosition, false) doPlayerSendCancel(cid, "[CoH] Você não pertence á guild "..getGlobalStorageValue(COH_STATUS)..".") end return true end if item.actionid == 16202 then if not isPlayer(cid) then return true end if getPlayerGuildId(cid) > 0 then if (getGlobalStorageValue(COH_STATUS) ~= getPlayerGuildName(cid)) then doPlayerSendTextMessage(cid, 20, "[Castle of Honor] Você e sua guild estão no comando, os antigos donos ["..tostring(getGlobalStorageValue(COH_STATUS)).."] podem se vingar!") setGlobalStorageValue(COH_PREPARE1, -1) setGlobalStorageValue(COH_PREPARE2, -1) setGlobalStorageValue(COH_STATUS, getPlayerGuildName(cid)) doCastleRemoveEnemies() doBroadcastMessage("[Castle of Honor] O jogador ["..getCreatureName(cid).."] e sua guild ["..getPlayerGuildName(cid).."] estão no comando do castelo, vá dominar e impedir isso!") end else doSendMagicEffect(pos, 2) doTeleportThing(cid, fromPosition, false) doPlayerSendCancel(cid, "[CoH] Você não possui uma guild.") end return true end if item.actionid == 16200 then if not isPlayer(cid) then return true end if getPlayerGuildId(cid) > 0 then doSendAnimatedText(pos, "CoH", math.random(1, 255)) if (getGlobalStorageValue(COH_PREPARE1) ~= getPlayerGuildName(cid)) and ((getGlobalStorageValue(COH_PREPARE2) ~= getPlayerGuildName(cid))) then setGlobalStorageValue(COH_PREPARE1, getPlayerGuildName(cid)) doBroadcastMessage("[Castle of Honor] Atenção! A guild "..getPlayerGuildName(cid).." está tentando dominar o castelo, preparem-se!") end else doSendMagicEffect(pos, 2) doTeleportThing(cid, fromPosition, false) doPlayerSendCancel(cid, "[CoH] Você não possui uma guild.") return true end end if item.actionid == 16201 then if not isPlayer(cid) then return true end doSendAnimatedText(pos, "CoH", math.random(1, 255)) if (getGlobalStorageValue(COH_PREPARE2) ~= getPlayerGuildName(cid)) then setGlobalStorageValue(COH_PREPARE2, getPlayerGuildName(cid)) doBroadcastMessage("[Castle of Honor] Atenção! A guild "..getPlayerGuildName(cid).." está muito próxima do domínio, ataquem!") end end return true end ============================================================================================================================================================================================================ talkations/script. -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with this program. If not, see <http://www.gnu.org/licenses/>. -- // function onSay(cid, words, param) if getPlayerGuildLevel(cid) == GUILDLEVEL_LEADER then if getPlayerStorageValue(cid, COH_PUSHSTOR) < os.time() then if getGlobalStorageValue(COH_STATUS) == getPlayerGuildName(cid) then if isInArea(getThingPos(cid), COH_AREA[1], COH_AREA[2]) then if #getMembersOnline(getPlayerGuildId(cid)) > 0 then for index, creature in ipairs(getMembersOnline(getPlayerGuildId(cid))) do if (getTileInfo(getThingPos(creature)).protection ~= true) then return doPlayerSendCancel(cid, "[CoH] Os membros devem estar em área PZ.") end doTeleportThing(creature, getThingPos(cid)) end setPlayerStorageValue(cid, COH_PUSHSTOR, os.time() + COH_PUSHTIME) doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "[Castle of Honor] Você teleportou seus membros, comando pode ser usado a cada "..tostring(COH_PUSHTIME / 60).." minuto(s).") else doPlayerSendCancel(cid, "[CoH] Para executar isso, sua guild deve ter 2 ou mais membros online.") end else doPlayerSendCancel(cid, "[CoH] Você deve estar no castelo.") end else doPlayerSendCancel(cid, "[CoH] Sua guild não é dona do castelo.") end else doPlayerSendCancel(cid, "[CoH] Você deve aguardar "..tostring(math.ceil((getPlayerStorageValue(cid, COH_PUSHSTOR) - os.time()) / 60)).." minuto(s) para usar este comando.") end else doPlayerSendCancel(cid, "[CoH] Você deve ser líder de uma guild para executar este comando.") end return true end function getMembersOnline(id) local mbr = {} for index, creature in ipairs(getPlayersOnline()) do if getPlayerGuildId(creature) == id then if getCreatureSkullType(creature) < 3 then table.insert(mbr, creature) end end end return mbr or #mbr end ============================================================================================================================================================================================================ e isso ae galera se conseguir me ajuda ja sabe ne ? Rep++++++++++ =10 ooo bum UPPPPPPPPPPPPPPPPPPPPPPPPPPP AJUDA AE PLS UPPPPPPPPPPPP
  17. mano cria um monster normal e muda o looktype dele olha ai . <?xml version="1.0" encoding="UTF-8"?> <monster name="Guardiao dos Trap" nameDescription="Guardiao dos Trap" race="blood" experience="900" speed="0" manacost="0"> <health now="65000000" max="65000000"/> <look type="131" head="57" body="19" legs="57" feet="95" addons="1" corpse="6080"/> <targetchange interval="5000" chance="30"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="0"/> <flag convinceable="0"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag targetdistance="4"/> <flag staticattack="90"/> <flag runonhealth="800"/> </flags> <attacks> <attack name="melee" interval="2000" min="3000" max="4000"/> <attack name="physical" interval="1000" chance="35" range="7" min="2005" max="2685"> <attribute key="shootEffect" value="energy"/> </attack> <attack name="manadrain" interval="1000" chance="17" range="7" min="2005" max="2560"/> <attack name="speed" interval="1000" chance="12" range="7" speedchange="-600" duration="40000"> <attribute key="areaEffect" value="redshimmer"/> </attack> <attack name="fire" interval="2000" chance="45" range="7" radius="3" target="1" min="250" max="420"> <attribute key="shootEffect" value="burstarrow"/> <attribute key="areaEffect" value="firearea"/> </attack> <attack name="firefield" interval="1000" chance="20" range="7" radius="2" target="1"> <attribute key="shootEffect" value="fire"/> </attack> <attack name="energy" interval="2000" chance="25" length="8" spread="0" min="265" max="445"> <attribute key="areaEffect" value="energy"/> </attack> <attack name="speed" interval="6000" chance="10" range="5" speedchange="-600" duration="20000"> <attribute key="areaEffect" value="redshimmer"/> </attack> </attacks> <defenses armor="1" defense="1"/> <elements> <element firePercent="100"/> <element energyPercent="100"/> <element icePercent="100"/> <element earthPercent="90"/> <element holyPercent="-25"/> <element physicalPercent="-33"/> </elements> <immunities> <immunity paralyze="1"/> <immunity invisible="1"/> </immunities> <summons maxSummons="2"> <summon name="deathspawn" interval="1500" chance="0" max="0"/> </summons> <loot> <item id="2148" countmax="20" chance1="100000" chancemax="0"/> </loot> </monster> Melhor monster ele da exaust e fica parado n se move e pode colocar fogo no chao impedindo passagem varias ultidades mas so sabe configurar certo <look type="131" essa parte coloca o imagem do monstro tipo como o monstro vai ser aqui voce pode configurar um crystal uma parede etc. Rep+ se ajudei
  18. seu otserv e war ne pra ter funções assim teria que ser aqueles x-dream ?
  19. cocazul postou uma resposta no tópico em Ferramentas OpenTibia
    na real ele serve pra funções de modifica items ou duplica mas pra outfit n tem nada ve pelo que eu saiba mano
  20. mano eu to criando um serv de naruto mas o meu acho que ta bem melhor que esse ai em .
  21. seriu topico mal organizado assim complica em mano
  22. {Invasão compativel com meu Servidor} ola galera do Tk queria uma invasão marcada por dias e horas automatica mas tipo tem que ser compativel com meu Servidor. Minha distro versão 3.4.5 // o event automatico de invasão tem que ser compativel com a distro. Versão do cliente 8.54 cliente narutotibia. O event tem que conter uma invasão com mensagem automaticas avisando que ira que ira começar a invasão e dps avisando quando começar e sendo automatica sem comandos por dia hora minuto. Vlw galera do tk se alguem poder me ajuda com isso +rep e ficarei devendo algo. UP

Informação Importante

Confirmação de Termo