Ir para conteúdo

Starliks

Campones
  • Total de itens

    66
  • Registro em

  • Última visita

Tudo que Starliks postou

  1. Kawoszin quando tento capturarar o mostro 14:39 [PET-SYSTEM]: You can catch only monsters! aparece essa mensagem porem eu sumonei o mostro que esta de listad e catch sabe o que poderia ser?
  2. Deu Certo, Irei Verificar o sistema agora , Obrigado Edit: Onde era o problema?
  3. Creio que eu não estou sabendo configurar a pasta lib, pois a maioria dos scripts que utilizo esta dando o msm erro. Se alguem puder Ajudar
  4. Olá gostaria de pedir o executável do OTClient para Windows 32 bits e 64 bits, não me dei bem tentando compilar =/.. eu baixei essa versão https://github.com/edubart/otclient RESOLVIDO....
  5. Estou com 1 problema com sistema de distribuição de pontos quando crio 1 personagem ele ja aparece com -1 ponto, conforme o char for upando era para ele ganhar pontos para distribuir mais isso não acontece, resumindo o personagem não recebe pontos quando upa para fazer a distribuição, baixo tem a imagem e o script. Creatures Script local function addSkills(player, skillId) player:addSkillTries(skillId, math.ceil(player:getVocation():getRequiredSkillTries(skill, player:getSkillLevel(skill) + 1) / configManager.getNumber(configKeys.RATE_SKILL))) return false end local skillids = { ["shield"] = SKILL_SHIELD, ["sword"] = SKILL_SWORD, ["axe"] = SKILL_AXE, ["club"] = SKILL_CLUB, ["fist"] = SKILL_FIST, ["dist"] = SKILL_DISTANCE } local attributes = { ["health"] = {reqPoints = 1, increaseBy = 2, name = "Hit Points"}, ["mana"] = {reqPoints = 1, increaseBy = 2, name = "Mana Points"}, ["magic"] = {reqPoints = 15, increaseBy = 1, name = "Magic Level"}, ["shielding"] = {reqPoints = 15, increaseBy = 1, name = "Shielding Skill"}, ["sword"] = {reqPoints = 15, increaseBy = 1, name = "Sword Skill"}, ["axe"] = {reqPoints = 15, increaseBy = 1, name = "Axe Skill"}, ["club"] = {reqPoints = 15, increaseBy = 1, name = "Club Skill"}, ["fist"] = {reqPoints = 15, increaseBy = 1, name = "Fist Skill"}, ["distance"] = {reqPoints = 15, increaseBy = 1, name = "Distance Skill"}, } function onModalWindow(player, modalWindowId, buttonId, choiceId) local SKILL_POINTS = 45200 --- Change here the storage value used to save the skill points local points = player:getStorageValue(SKILL_POINTS) local function sendCancel() player:sendTextMessage(MESSAGE_INFO_DESCR, "You do not have the required amount of Skill Points!") end local function doAddHealth(param, attributes) player:setMaxHealth(player:getMaxHealth() + attributes["health"].increaseBy*param) player:addHealth(attributes["health"].increaseBy*param) player:setStorageValue(SKILL_POINTS, points - attributes["health"].reqPoints*param) player:sendTextMessage(MESSAGE_INFO_DESCR, "You have gained " ..attributes["health"].increaseBy.. " " ..attributes["health"].name.. "!") return true end local function doAddMana(param, attributes) player:setMaxMana(player:getMaxMana() + attributes["mana"].increaseBy*param) player:addMana(attributes["mana"].increaseBy*param) player:setStorageValue(SKILL_POINTS, points - attributes["mana"].reqPoints*param) player:sendTextMessage(MESSAGE_INFO_DESCR, "You have gained " ..attributes["mana"].increaseBy.. " " ..attributes["mana"].name.. "!") return true end if (not modalWindowId == 1) or (buttonId == 4) then return false end if choiceId == 1 then if buttonId == 1 then if points >= attributes["health"].reqPoints then doAddHealth(1, attributes) else sendCancel() end end if buttonId == 2 then if points >= attributes["health"].reqPoints*2 then doAddHealth(2, attributes) else sendCancel() end end if buttonId == 3 then if points >= attributes["health"].reqPoints*5 then doAddHealth(5, attributes) else sendCancel() end end end if choiceId == 2 then if buttonId == 1 then if points >= attributes["mana"].reqPoints then doAddMana(1, attributes) else sendCancel() end end if buttonId == 2 then if points >= attributes["mana"].reqPoints*2 then doAddMana(2, attributes) else sendCancel() end end if buttonId == 3 then if points >= attributes["mana"].reqPoints*5 then doAddMana(5, attributes) else sendCancel() end end end if choiceId == 3 then if buttonId == 1 then if points >= attributes["magic"].reqPoints then player:addManaSpent(math.ceil(player:getVocation():getRequiredManaSpent(player:getBaseMagicLevel() + 1) / configManager.getNumber(configKeys.RATE_MAGIC))) player:setStorageValue(SKILL_POINTS, points - attributes["magic"].reqPoints) else sendCancel() end end if buttonId == 2 then if points >= attributes["magic"].reqPoints*2 then for i = 1,2 do player:addManaSpent(math.ceil(player:getVocation():getRequiredManaSpent(player:getBaseMagicLevel() + 1) / configManager.getNumber(configKeys.RATE_MAGIC))) player:setStorageValue(SKILL_POINTS, points - attributes["magic"].reqPoints) end else sendCancel() end end if buttonId == 3 then if points >= attributes["magic"].reqPoints*5 then for i = 1,5 do player:addManaSpent(math.ceil(player:getVocation():getRequiredManaSpent(player:getBaseMagicLevel() + 1) / configManager.getNumber(configKeys.RATE_MAGIC))) player:setStorageValue(SKILL_POINTS, points - attributes["magic"].reqPoints) end else sendCancel() end end end if choiceId == 4 then if buttonId == 1 then if points >= attributes["sword"].reqPoints then addSkills(player, skillids["sword"]) end end if buttonId == 2 then if points >= attributes["sword"].reqPoints*2 then for i = 1,2 do addSkills(player, skillids["sword"]) end else sendCancel() end end if buttonId == 3 then if points >= attributes["sword"].reqPoints*5 then for i = 1,5 do addSkills(player, skillids["sword"]) end else sendCancel() end end end if choiceId == 5 then if buttonId == 1 then if points >= attributes["axe"].reqPoints then addSkills(player, skillids["axe"]) end else sendCancel() end if buttonId == 2 then if points >= attributes["axe"].reqPoints*2 then for i = 1,2 do addSkills(player, skillids["axe"]) end else sendCancel() end end if buttonId == 3 then if points >= attributes["axe"].reqPoints*5 then for i = 1,5 do addSkills(player, skillids["axe"]) end else sendCancel() end end end if choiceId == 6 then if buttonId == 1 then if points >= attributes["club"].reqPoints then addSkills(player, skillids["club"]) end else sendCancel() end if buttonId == 2 then if points >= attributes["club"].reqPoints*2 then for i = 1,2 do addSkills(player, skillids["club"]) end else sendCancel() end end if buttonId == 3 then if points >= attributes["club"].reqPoints*5 then for i = 1,5 do addSkills(player, skillids["club"]) end else sendCancel() end end end if choiceId == 7 then if buttonId == 1 then if points >= attributes["shielding"].reqPoints then addSkills(player, skillids["shield"]) end else sendCancel() end if buttonId == 2 then if points >= attributes["shielding"].reqPoints*2 then for i = 1,2 do addSkills(player, skillids["shield"]) end else sendCancel() end end if buttonId == 3 then if points >= attributes["shielding"].reqPoints*5 then for i = 1,5 do addSkills(player, skillids["shield"]) end else sendCancel() end end end if choiceId == 8 then if buttonId == 1 then if points >= attributes["distance"].reqPoints then addSkills(player, skillids["dist"]) end else sendCancel() end if buttonId == 2 then if points >= attributes["distance"].reqPoints*2 then for i = 1,2 do addSkills(player, skillids["dist"]) end else sendCancel() end end if buttonId == 3 then if points >= attributes["distance"].reqPoints*5 then for i = 1,5 do addSkills(player, skillids["dist"]) end else sendCancel() end end end end local SkillPoints = { [1] = 1, [2] = 1, [3] = 1, [4] = 1, [5] = 1, [6] = 1, [7] = 1, [8] = 1, } function onAdvance(player, skill, oldlevel, newlevel) local cid = player:getId() if not (SkillPoints[getPlayerVocation(cid)]) then return true end if (skill == 8) then if (getPlayerStorageValue(cid, 14573) < newlevel) then if (getPlayerStorageValue(cid, 14574) < 0) then setPlayerStorageValue(cid, 14574, 0) setPlayerStorageValue(cid, 14573, 0) end setPlayerStorageValue(cid, 14573, newlevel) setPlayerStorageValue(cid, 14574, getPlayerStorageValue(cid, 14574) + (newlevel - oldlevel) * (SkillPoints[getPlayerVocation(cid)])) doCreatureSay(cid, '+1 Skill Point!', TALKTYPE_MONSTER_SAY) end end return true end Talkaction Script function onSay(player, words, param) local SKILL_POINTS = 45200 local Point = ModalWindow(1, "Skill Points", "You have skill " ..player:getStorageValue(SKILL_POINTS).. " points make your choice:\n\n Skill Required Points Increase Amount") Point:addChoice(1, "1. Health 1 2") Point:addChoice(2, "2. Mana") Point:addChoice(3, "3. Magic Level") Point:addChoice(4, "4. Sword") Point:addChoice(5, "5. Axe") Point:addChoice(6, "6. Club") Point:addChoice(7, "7. Shielding") Point:addChoice(8, "8. Distance") Point:addButton(1, 'Gain 1') Point:addButton(2, 'Gain 2') Point:addButton(3, 'Gain 5') Point:addButton(4, 'Cancel') player:registerEvent("PointWindow") Point:sendToPlayer(player) return false end Resolvido...
  6. Olá estou tentando adicionar o sistema de capturar e utilizar um mostro do tibia. fiz a instação nenhum erro no console porem ao tentar capturar o mostro ele da alguns erros. Se alguém Puder me ajudar, esse sistema e essencial para meu projeto de tibia =/
  7. Estou tentando instalar o gesior para tfs 1.2 e esta dando erro no 2° passo de instalação Error occured!Error ID: More info: CANNOT CONNECT TO DATABASE: SQLSTATE[HY000] [2002] Nenhuma conexăo pôde ser feita porque a máquina de destino as recusou ativamente. File: C:\xampp\htdocs\classes/database_mysql.php Line: 22 File: C:\xampp\htdocs/install.php Line: 229 Alguem pode ajudar?
  8. Me tire uma duvida, level system e o sistema de level nos pokemons? se for e possível retirar?
  9. Obrigado !!! Sabe dizer se precisa de WebSite para abrir o servidor ou da pra usar o sql ? caso precise de Web site poderia informar 1 compatível?
  10. Alguém pode me explicar como consigo o executável? estou usando Win 7 64 Bits.
  11. Bom galera estou utilizando o servidor slicer 1.9.1 editado pelo boltz mais esta faltando muito remakes, faltando shinys entre outras coisas, eu venho tentando de diferentes formas apagar as sprites do tibia e sprites antigas de pokemon dentro do spr e não obtenho sucesso, sempre ao trocar e como tivesse adicionando uma sprite ela não substitui, estou utilizando dat editor e o SprEditor que o gabriel fez um tutorial etc... se alguém souber como apagar e add as sprites só comentar ai. substituição das sprites. Apos salvar as substituições Outra coisa que observei e o corpo do Venusaur ao ele ser morto o corpo não some e não da pra tacar ball alguem sabe como corrigir ? att; starliks
  12. Blz , eu vi em 1 servidor que o pokemon não sentia fome e era pda tbm, pq fica chato eles pedindo comida e mostrando a face triste toda hora, teria como retirar os emoticons de fome e triste?
  13. Não entendi direito deixo com X.XX ou coloco alguma rate ? tipo tudo 5.00 ? Veja como está no seu. Essa é o fator de força dos pokémons. Por exemplo: se o pokémon tiver 10 de ataque, e esse número estiver 1.50, o ataque do pokémon na verdade será 15. Eu sugiriria você colocar algo entre 1.00 e 1.50. Ah ok, entendi . não tem como desativar , apenas igualar as rates para quando estiver feliz bater a mesma coisa de quanto estiver triste.. exato?
  14. Não entendi direito deixo com X.XX ou coloco alguma rate ? tipo tudo 5.00 ?
  15. Você tem que mudar o ip usando o Hex Editor e meio complicado mais tem vários tutorias ai ensinando, ou tenta utilizar OTCLIENT e mais pratico e facil ;s
  16. Os shinys que chamamos de shiny da Cyber "PxG" EX: Shiny Politoed, Shiny Umbreon etc, tem respawn fixo ou e aleatorio igual os demais shinys ? Uma coisa que percebi o revive não esta curando status negativos. Não vi Shiny Magmar, Shiny Crobat não tem espaço pra por? Eu estava lendo os comentarios e vi que vc conseguiu abrir espaço no client pode me mandar ele com esse espaço para eu add o resto dos shinys e os remakes?
  17. Olá estou com um problema referente ao sistema de fome do PDA, o pokemon pede comida em 10 em 10 segundos, fica triste rápido d+ e isso esta atrapalhando o servidor, eu procurei na pasta do servidor e só achei o script de fome que fica na pasta de actions/other e não vi nada referente a configuração de tempo de fome etc... Alguém sabe onde encontro o script para concertar esse problema ??
  18. Problema resolvido, era só add algumas coisas na Sources. Podem fechar o Tópico!
  19. Bom estou adicionando alguns pokes no servidor e me deparo com o seguinte erro ao executar . Sendo que procurei algo relacionado a raça do pokemon nas pastas do servidor e nada encontrei, se alguém puder ajudar, os pokes são feitos para PDA.
  20. Roksas Consegui arruma mais agora ao da use na bigorna nada acontece :S
  • Quem Está Navegando   0 membros estão online

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