Ir para conteúdo

Absolute

Héroi
  • Registro em

  • Última visita

Tudo que Absolute postou

  1. e vc é que lvl? 9? rsrsrs
  2. Cara na sua cidade n tem?
  3. 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
  4. http://remeresmapeditor.com/marklar.php
  5. Clique em sim.
  6. 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")
  7. 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.
  8. 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"/>
  9. Absolute postou uma resposta no tópico em Suporte Tibia OTServer
    Erro na source, você que compilou? É no luascript.h
  10. 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
  11. 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?
  12. Absolute postou uma resposta no tópico em Playground (Off-topic)
    pi pi pi pi pi pi
  13. Absolute postou uma resposta no tópico em Suporte Tibia OTServer
    Não entendi, pode ser mais específico no que está tentando fazer?
  14. Absolute postou uma resposta no tópico em Suporte Tibia OTServer
    Provavelmente sua máquina está desligada ou sob ataques nullada, pinguei o IP da 100% de perda, comunique a empresa e diga que está sem conexão. Qual a empresa? --- PING 177.40.81.64 (177.40.81.64) 56(84) bytes of data. --- --- 177.40.81.64 ping statistics --- packets transmitted 9 received 0 packet loss 100 % time 8011 ms
  15. CMake
  16. Você está fazendo isso com o char deslogado?
  17. Absolute postou uma resposta no tópico em Playground (Off-topic)
  18. Se você por um servidor seu lá, provavelmente não irá rodar pelo case, Linux A é diferente de a.
  19. Absolute postou uma resposta no tópico em Formação de Equipe
    Não entendi
  20. Algum erro na distro?
  21. Absolute postou uma resposta no tópico em Playground (Off-topic)
    britania
  22. só isso? que mais tu quer? É proprio jovem, ninguém vai ter não, bora trabalhar pra deixar um semelhante
  23. Absolute postou uma resposta no tópico em Playground (Off-topic)
    vc é tao bronzão que nem conseguiria banir, elobooster alma de bronze
  24. Não amigo, linux não se usa dllls e afins do windows, apenas as libbost na máquina. Porém você haverá de pegar as sources e compilar em sua máquina Linux. Procure no fórum há inúmeros tutoriais de compilling. Abraços.

Informação Importante

Confirmação de Termo