Ir para conteúdo

FearWar

Membro
  • Registro em

  • Última visita

Tudo que FearWar postou

  1. staminaRegenPz = true staminaSecondsToRegen = 30 gainStaminaRegerationPz = 1
  2. Sobre a alteração do first attack, eu não tenho conhecimento suficiente!
  3. Bom dia, As linhas que estão em (+) você adiciona dentro da sua source! Eu "resolvi" esse problema mudando duas linhas no config.lua mysqlReadTimeout = 1000 mysqlWriteTimeout = 1000
  4. Alguém pode postar a solução? Estou passando pelo mesmo problema!
  5. FearWar postou uma resposta no tópico em Tutoriais Websites
    o meu também está com esse problema
  6. Estou com o mesmo problema
  7. Alguém que compila essa source consegue mandar uma mensagem pra mim?
  8. Olá Tk's, Alguém sabe uma base de Gesior-acc da versão 8.6, para TFS 0.4 que seja limpa? Um exemplo, igual essa aqui: Obrigado!
  9. FearWar postou uma resposta no tópico em Tibia Global OTServer
    source?
  10. Olá Tk's Bom conforme o título, preciso de um "account mananger" pro meu servidor, YurOTS 0.9.4f em XML. Base: YurOTS 0.9.4f Se algum programador tiver interesse, podemos negociar $. Obrigado
  11. function onUse(cid, item, frompos, item2, topos) mag = getPlayerMagLevel(cid) if item2.uid == cid then doSendMagicEffect(topos,14) doPlayerSay(cid,"Fear Bless!",16) doPlayerAddMana(cid, 99999999) doPlayerAddHealth(cid, 99999999) if item.type > 1 then doChangeTypeItem(item.uid,item.type-1) else doRemoveItem(item.uid,1) end else doSendMagicEffect(frompos,2) doPlayerSendCancel(cid,"You can only use this rune on creatures.") end return 1 end
  12. Olá galera do TK, Estou querendo criar uma runa de LIFE/MANA RUNE, que heala-se os dois full... segue um exemplo da UH do server: --doTargetMagic -- attackType: Type of attack. -- cid: creature id. -- Targetpos: Target position. -- animationEffect: Projectile animation. -- hitEffect: Effect to show when spell hits a creature. -- damageEffect: Effect to show when spell hits a player. -- animationColor: Color of the text that is shown above the player when hit. -- offensive: Indicates if the spell is a healing/attack spell. -- drawblood: Determines if the spell causes blood splash. -- minDmg: Minimal damage. -- maxDmg: Maximum damage. -- returns true if the spell was casted. attackType = ATTACK_NONE animationEffect = NM_ANI_NONE hitEffect = NM_ME_NONE damageEffect = NM_ME_MAGIC_ENERGIE animationColor = GREEN offensive = false drawblood = false UltimateHealingObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0) function onCast(cid, creaturePos, level, maglv, var) centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z} UltimateHealingObject.minDmg = (level * 2 + maglv * 3) * 1.8 if UltimateHealingObject.minDmg < 250 then UltimateHealingObject.minDmg = 250 end UltimateHealingObject.maxDmg = (level * 2 + maglv * 3) * 2.3 if UltimateHealingObject.maxDmg < 250 then UltimateHealingObject.maxDmg = 250 end return doTargetMagic(cid, centerpos, UltimateHealingObject:ordered()) end Se alguém quiser pelo menos tentar me ajudar, agradeço!
  13. Olá galera do TK, Preciso fazer uma runa de LIFE/MANA rune, que cura toda a vida do personagem! Vou postar uma base da UH do meu servidor, para ter uma noção da linguagem. --doTargetMagic -- attackType: Type of attack. -- cid: creature id. -- Targetpos: Target position. -- animationEffect: Projectile animation. -- hitEffect: Effect to show when spell hits a creature. -- damageEffect: Effect to show when spell hits a player. -- animationColor: Color of the text that is shown above the player when hit. -- offensive: Indicates if the spell is a healing/attack spell. -- drawblood: Determines if the spell causes blood splash. -- minDmg: Minimal damage. -- maxDmg: Maximum damage. -- returns true if the spell was casted. attackType = ATTACK_NONE animationEffect = NM_ANI_NONE hitEffect = NM_ME_NONE damageEffect = NM_ME_MAGIC_ENERGIE animationColor = GREEN offensive = false drawblood = false UltimateHealingObject = MagicDamageObject(attackType, animationEffect, hitEffect, damageEffect, animationColor, offensive, drawblood, 0, 0) function onCast(cid, creaturePos, level, maglv, var) centerpos = {x=creaturePos.x, y=creaturePos.y, z=creaturePos.z} UltimateHealingObject.minDmg = (level * 2 + maglv * 3) * 1.8 if UltimateHealingObject.minDmg < 250 then UltimateHealingObject.minDmg = 250 end UltimateHealingObject.maxDmg = (level * 2 + maglv * 3) * 2.3 if UltimateHealingObject.maxDmg < 250 then UltimateHealingObject.maxDmg = 250 end return doTargetMagic(cid, centerpos, UltimateHealingObject:ordered()) end Bom se alguém puder me ajudar, posso recompensar! Obrigado
  14. FearWar postou uma resposta no tópico em Suporte Tibia OTServer
    Olá Tk's, Estou usando base essa script para minha quest, porem ela contem mais três partes com alavanca. - Queria poder adicionar as três partes com alavanca dentro dessa script, ou criar outras 3 scripts de alavanca. -- queen luana lever function onUse(cid, item, frompos, item2, topos) if item.uid == 8000 and item.itemid == 1945 then player1pos = {x=1108, y=995, z=10, stackpos=253} player1 = getThingfromPos(player1pos) player2pos = {x=1107, y=995, z=10, stackpos=253} player2 = getThingfromPos(player2pos) player3pos = {x=1106, y=995, z=10, stackpos=253} player3 = getThingfromPos(player3pos) if player1.itemid > 0 and player2.itemid > 0 and player3.itemid > 0 then queststatus1 = getPlayerStorageValue(player1.uid,8001) queststatus2 = getPlayerStorageValue(player2.uid,8001) queststatus3 = getPlayerStorageValue(player3.uid,8001) if queststatus1 == -1 and queststatus2 == -1 and queststatus3 == -1 then nplayer1pos = {x=1135, y=995, z=10} nplayer2pos = {x=1136, y=995, z=10} nplayer3pos = {x=1134, y=995, z=10} doSendMagicEffect(player1pos,2) doSendMagicEffect(player2pos,2) doSendMagicEffect(player3pos,2) doTeleportThing(player1.uid,nplayer1pos) doTeleportThing(player2.uid,nplayer2pos) doTeleportThing(player3.uid,nplayer3pos) doSendMagicEffect(nplayer1pos,10) doSendMagicEffect(nplayer2pos,10) doSendMagicEffect(nplayer3pos,10) doTransformItem(item.uid,item.itemid+1) else doPlayerSendCancel(cid,"Somebody in your team has already done this quest.") end else doPlayerSendCancel(cid,"You need three players four this quest.") end elseif item.uid ==8000 and item.itemid == 1946 then if getPlayerAccess(cid,1) then doTransformItem(item.uid,item.itemid-1) else doPlayerSendCancel(cid,"Sorry, not possible.") end else return 0 end return 1 end Bom, essa imagem é a segunda parte, a primeira parte já está concluída que a script acima... Variáveis: a partir dessa parte da quest, o player que usar a alavanca pode usar ela sozinha, ou em dois, ou em três, ou os três juntos. (algum player pode morrer nessa sala). Qualquer dúvida pode me solicitar! Agradeço desde já
  15. Sim, é uma versão custom deles!
  16. Fear War https://discord.gg/XycngC Bom, o projeto do FearWar é um servidor custom na versão 7.6, contendo diversos monstros, magias, quest's elaboradas e muito conteúdo in-game. Procurando: - Scripter - Web - Programador Galeria: Discord: Gianwh#6033
  17. Tem como upar novamente o download?
  18. Alguém poderia me passar download de versão 11x limpa do tibia pra mim baixar?
  19. function onUse(cid, item, frompos, item2, topos) local reqLevel = 20 if getPlayerLevel(cid) <= reqLevel then pos = getPlayerPosition(cid) if pos.x == topos.x then if pos.y < topos.y then pos.y = topos.y + 1 else pos.y = topos.y - 1 end elseif pos.y == topos.y then if pos.x < topos.x then pos.x = topos.x + 1 else pos.x = topos.x - 1 end else doPlayerSendTextMessage(cid,22,'Stand in front of the door.') return 1 end doTeleportThing(cid, pos) doSendMagicEffect(topos, 12) else doPlayerSendTextMessage(cid,22,'Only levels under ' .. reqLevel .. ' can pass this door.') end return true end Obrigado por tentar ajudar @Roy
  20. Já consegui, obrigado por tentar ajudar!
  21. Olá Tk's, Estou precisando de uma script da seguinte forma: Tenho uma Door (porta) de gate "level", que eu preciso limitar o level para entrar por exemplo Só ate level 20 pode acessar. Base: Yurots 0.9.4f Se alguém disponível pra me ajudar, ou querer me ensinar agradeço! @FearWar
  22. Alguns meses atrás pensei em começar um projeto desse tipo. Seria interessante nas versões atuais, até pra automatizar os "esportes". Boto fé em um projeto desse porte. Abrass
  23. não sei também o end ta ficando "fora" da script Deu esse erro também... to muito chateado velho... será que é minha distro? Consegui @Vodkart e @KOLISAO Segue o código: function onUse(cid, item, frompos, item2, topos) piece1pos = {x=1027, y=1015, z=6, stackpos=1} rockpos = {x=1027, y=1015, z=6, stackpos=1} getpiece1 = getThingfromPos(piece1pos) if item.uid == 7050 and item.itemid == 1945 then doCreateItem(1355,1,rockpos) doPlayerSendTextMessage(cid,22,"You add stone.") doTransformItem(item.uid,item.itemid+1) elseif item.uid == 7050 and item.itemid == 1946 then doPlayerSendTextMessage(cid,22,"You remove stone.") doSendMagicEffect(piece1pos,2) doRemoveItem(getpiece1.uid,1) doTransformItem(item.uid,item.itemid-1) else doPlayerSendTextMessage(cid,22,"Sorry, not possible.") end return 1 end
  24. Sim, os dois estão correto... Está aqui "funciona", porém ela não meche a alavanca e também não remove a pedra... mas ela cria a pedra quando usa a alavanca function onUse(cid, item, frompos, item2, topos) stone_pos = {x=1027, y=1015, z=6} stone = getThingfromPos(stone_pos) if item.actionid == 5000 and item.itemid == 1945 then doCreateItem(1304, 1, stone_pos) elseif item.actionid == 5000 and item.itemid == 1946 and stone.itemid > 0 then doRemoveItem(stone.uid, stone.type) end return 1 end

Informação Importante

Confirmação de Termo