Ir para conteúdo

Absolute

Héroi
  • Registro em

  • Última visita

Tudo que Absolute postou

  1. AKOEKOAKOEKOAKOEAOKEAKOEA Sou ninguém, tenho 2 MEI no nome, 1 empresa ativa, já você... ? É isento pelo governo tb? AEHAHUEAHUEAHUEUAUHEAUHE dont cry. Kisses spriter.
  2. Pô valeu, não tinha visto este tópico. mas você ainda não me respondeu, quem é você? o SMART SPRITER QUE REPROVOU DE ANO? KKKKKKKKK calaboca seu fezes, vcs nunca foi ngm, lixoso
  3. Absolute postou uma resposta no tópico em Playground (Off-topic)
    ACHA, VI ISSO AGORA KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK ME MIJO DE RIR! FOD*-SE VOC~E É APENAS MAIS UM, E PELO QUE EU VI, SEU OT FICOU OFF KKKKKKKKKKKKKKKK VOCÊ NÃO PODE COM PAPAI ABSOLUTE JOVEM *---* É MUITO MIMIMI E ESTUDANDO POUCO. AUHEAUHEA BJAO!
  4. beleza, manda ae, meu sonho um autógrafo de um "spriter" como você, abraços.
  5. ignorante, merece se fud*r mesmo KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK
  6. Olá galera do TK, a uns dias atrás um cliente me pediu um sistema simples pro TFS 1.0 onde o player ganharia uma montaria ao conquistar level 250, então desenvolvi o script e trago aqui pra você ensinando a instalar/configurar. É um script simples, fiz rapidamente, porém útil. Vamos aos passos: Em data/creaturescripts/scripts crie um arquivo com o nome de gainmountabsolute.lua com o seguinte conteúdo: function onAdvance(cid, skill, oldlevel, newlevel) if getPlayerLevel(cid) >= 250 and getPlayerStorageValue(cid, 13139) ~= 1 then doPlayerAddMount(cid, 19) setPlayerStorageValue(cid, 13139, 1) doPlayerSendTextMessage(cid, 19, "You have received a Mount by Absolute.") end return TRUE end Em data/creaturescripts/creaturescripts.xml adicione a seguinte linha: <event type="advance" name="AbsoluteGainMount" script="gainmountabsolute.lua"/> Feito, não é necessário registrar no login.lua pois é uma função onAdvance. Configurando: (Únicas linhas que você deve mexer): if getPlayerLevel(cid) >= 250 ----( EM 250 é o level que o player ganhará a montaria) doPlayerAddMount(cid, 19) ---- (AQUI ESTAMOS SETANDO A CRIATURA em cid e o NÚMERO 19 é a montariaID que o player vai receber, ou seja veja no seu mounts.xml o id da montaria, e adicione o número da montaria que o player irá ganhar ao conquistar o level). Não mexa no resto! Espero ter ajudado. Demais dúvidas poste aqui no tópico. Até a próxima! Absolute.
  7. Absolute postou uma resposta no tópico em Suporte & Pedidos
    Legal, continue assim!
  8. não dá pra dar ctrl f4, tenho mtas abas abertas. Grato.
  9. Absolute postou uma resposta no tópico em Suporte Tibia OTServer
    Acho que essa versão tu n vai encontrar meu jovem.
  10. As imagens não aparecem jovem.
  11. Ele não disse Group, disse type, type é localizado em accounts, o Group_ID fica 3, e o type 5 ou 6. Mais atenção, abraços.
  12. '-'

    Absolute postou uma resposta no tópico em Playground (Off-topic)
    vc n vira homem nunca em
  13. contrata um matador de aluguel! ME CONTRATA, ME CONTRATA! AUIEUAHE EU MATO TUTO EM!
  14. e vc é que lvl? 9? rsrsrs
  15. Cara na sua cidade n tem?
  16. Absolute postou uma resposta no tópico em Suporte Tibia OTServer
    Adicione na 050-functions function isPlayerGhost(cid) if(not isPlayer(cid)) then return false end return getCreatureCondition(cid, CONDITION_GAMEMASTER, GAMEMASTER_INVISIBLE) or getPlayerFlagValue(cid, PLAYERFLAG_CANNOTBESEEN) end
  17. http://remeresmapeditor.com/marklar.php
  18. Clique em sim.
  19. Bless para leveis inferiores a 20: data/creaturescripts/scripts crie um arquivo com o nome de bleeslvl20.lua e dentro adicione: local freeBlessMaxLevel = 20 function onLogin(cid) local player = Player(cid) if player:getLevel() <= freeBlessMaxLevel then for i = 1, 5 do player:addBlessing(i) end player:say('FREE BLESS! -20', TALKTYPE_ORANGE_1) player:getPosition():sendMagicEffect(CONST_ME_HOLYDAMAGE) end return true end Em data/creaturescripts/creaturescripts.xml adicione a seguinte linha: <event type="login" name="blesslvl20" event="script" value="blesslvl20.lua"/> Em data/creaturescripts/scripts/others/login.lua, registre o evento abaixo de um normal: registerCreatureEvent(cid, "blesslvl20")
  20. Absolute postou uma resposta no tópico em Suporte Tibia OTServer
    Se você que é dono do ot e tem acesso a tudo não sabe, imagine nós =s terás que especificar ou falar mais sobre o erro.
  21. Fiz o do item, vai testando, jájá faço o resto: data/creaturescripts/scripts: recompensa.lua function onAdvance(cid, skill, oldlevel, newlevel) if getPlayerLevel(cid) >= 20 and getPlayerStorageValue(cid, 99920) ~= 1 then doPlayerAddItem(cid, 2160, 2) setPlayerStorageValue(cid, 99920, 1) doPlayerSendTextMessage(cid, 19, "You have received 20000 gold in your backpack for advancing to Level 20.") end return TRUE end data/creaturescripts/creaturescripts.xml: <event type="advance" name="AbsoluteReward" script="recompense.lua"/>
  22. Absolute postou uma resposta no tópico em Suporte Tibia OTServer
    Erro na source, você que compilou? É no luascript.h
  23. local ultimateHealthPot = 8473 local greatHealthPot = 7591 local greatManaPot = 7590 local greatSpiritPot = 8472 local strongHealthPot = 7588 local strongManaPot = 7589 local healthPot = 7618 local manaPot = 7620 local smallHealthPot = 8704 local antidotePot = 8474 local greatEmptyPot = 7635 local strongEmptyPot = 7634 local emptyPot = 7636 local antidote = Combat() antidote:setParameter(COMBAT_PARAM_TYPE, COMBAT_HEALING) antidote:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) antidote:setParameter(COMBAT_PARAM_TARGETCASTERORTOPMOST, true) antidote:setParameter(COMBAT_PARAM_AGGRESSIVE, false) antidote:setParameter(COMBAT_PARAM_DISPEL, CONDITION_POISON) local exhaust = Condition(CONDITION_EXHAUST_HEAL) exhaust:setParameter(CONDITION_PARAM_TICKS, (configManager.getNumber(configKeys.EX_ACTIONS_DELAY_INTERVAL) - 1000)) -- 1000 - 100 due to exact condition timing. -100 doesn't hurt us, and players don't have reminding ~50ms exhaustion. function onUse(cid, item, fromPosition, itemEx, toPosition) if itemEx.itemid ~= 1 or itemEx.type ~= THING_TYPE_PLAYER then return true end local player = Player(cid) if player:getCondition(CONDITION_EXHAUST_HEAL) then player:sendTextMessage(MESSAGE_STATUS_SMALL, Game.getReturnMessage(RETURNVALUE_YOUAREEXHAUSTED)) return true end if item.itemid == antidotePot then if not doCombat(cid, antidote, numberToVariant(cid)) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) elseif item.itemid == smallHealthPot then if not doTargetCombatHealth(0, cid, COMBAT_HEALING, 60, 85, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) elseif item.itemid == healthPot then if not doTargetCombatHealth(0, cid, COMBAT_HEALING, 125, 175, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) elseif item.itemid == manaPot then if not doTargetCombatMana(0, cid, 75, 125, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) elseif item.itemid == strongHealthPot then if(not isInArray({3,4,7,8}, player:getVocation():getId()) or player:getLevel() < 50) and not(player:getGroup():getId() >= 2) then player:say("This potion can only be consumed by paladins and knights of level 50 or higher.", TALKTYPE_MONSTER_SAY) return true end if not doTargetCombatHealth(0, cid, COMBAT_HEALING, 250, 350, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) elseif item.itemid == strongManaPot then if(not isInArray({1,2,3,5,6,7}, player:getVocation():getId()) or player:getLevel() < 50) and not(player:getGroup():getId() >= 2) then player:say("This potion can only be consumed by sorcerers, druids and paladins of level 50 or higher.", TALKTYPE_MONSTER_SAY) return true end if not doTargetCombatMana(0, cid, 115, 185, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) elseif item.itemid == greatSpiritPot then if(not isInArray({3, 7}, player:getVocation():getId()) or (player:getLevel() < 80)) and not(player:getGroup():getId() >= 2) then player:say("This potion can only be consumed by paladins of level 80 or higher.", TALKTYPE_MONSTER_SAY) return true end if not doTargetCombatHealth(0, cid, COMBAT_HEALING, 250, 350, CONST_ME_MAGIC_BLUE) or not doTargetCombatMana(0, cid, 100, 200, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) elseif item.itemid == greatHealthPot then if(not isInArray({4, 8}, player:getVocation():getId()) or player:getLevel() < 80) and not(player:getGroup():getId() >= 2) then player:say("This potion can only be consumed by knights of level 80 or higher.", TALKTYPE_MONSTER_SAY) return true end if not doTargetCombatHealth(0, cid, COMBAT_HEALING, 425, 575, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) elseif item.itemid == greatManaPot then if(not isInArray({1,2,5,6}, player:getVocation():getId()) or player:getLevel() < 80) and not(player:getGroup():getId() >= 2) then player:say("This potion can only be consumed by sorcerers and druids of level 80 or higher.", TALKTYPE_MONSTER_SAY) return true end if not doTargetCombatMana(0, cid, 150, 250, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) elseif item.itemid == ultimateHealthPot then if(not isInArray({4, 8}, player:getVocation():getId()) or player:getLevel() < 130) and not(player:getGroup():getId() >= 2) then player:say("This potion can only be consumed by knights of level 130 or higher.", TALKTYPE_MONSTER_SAY) return true end if not doTargetCombatHealth(0, cid, COMBAT_HEALING, 650, 850, CONST_ME_MAGIC_BLUE) then return false end player:addCondition(exhaust) player:say("Aaaah...", TALKTYPE_MONSTER_SAY) Item(item.uid):remove(1) doPlayerAddItem(cid, 7636, 1) end return true end
  24. Absolute postou uma resposta no tópico em Suporte Tibia OTServer
    Não estou entendendo mais nada, o que tem a ver o shell com a compilação? Qual o S.O do seu dedicado?

Informação Importante

Confirmação de Termo