Ir para conteúdo

Fir3element

Héroi
  • Registro em

  • Última visita

Tudo que Fir3element postou

  1. Baixou seu dev-cpp aonde?
  2. Lembrando, AID/UID tem o limite de 65535.
  3. Fir3element postou uma resposta no tópico em Suporte Tibia OTServer
    Tem que editar o client, na source do otserv não precisa mudar muita coisa, eu acho.
  4. Fir3element postou uma resposta no tópico em Suporte Tibia OTServer
    Talvez isso ajude (é 8.1): https://github.com/mattyx14/otxserver/tree/otxserv2/path_8_1x
  5. function onDeath(cid, corpse, deathList) local money = 500 -- em gp if isPlayer(deathList[1]) then doPlayerAddMoney(cid, money) doBroadcastMessage("OWNED:\n".. getCreatureName(cid) .. "[" .. getPlayerLevel(cid) .. "] foi morto pelo jogador: " .. getCreatureName(deathList[1]) .. "[" .. getPlayerLevel(deathList[1]) .. "]", 22) end doBroadcastMessage("Eitaa...:\n".. getCreatureName(cid) .. "[" .. getPlayerLevel(cid) .. "] foi morto pelo monstro: " .. getCreatureName(deathList[1]) .. ".", 22) return true end
  6. Fir3element postou uma resposta no tópico em Suporte Tibia OTServer
    Executa isso aqui e depois tenta abrir: apt-get install autoconf build-essential pkg-config
  7. site ou sistema?
  8. Fir3element postou uma resposta no tópico em Suporte Tibia OTServer
    Não entendo muito de linux, então não sei te explicar porque acontece isso. Mas mesmo se conseguir arrumar esse erro, creio que não vai abrir. É o PokeStorm não é?
  9. Fir3element postou uma resposta no tópico em Suporte Bots
    Elfbot não foi feito pra otserv custom, eu acho. Tenta achar algum próprio pra isso...
  10. Tenta ai: O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Aprovação de Tópicos de Conteúdos" Para: "OTServ → Suporte OTServ → Suporte de Scripts"
  11. Fir3element postou uma resposta no tópico em Suporte & Pedidos
    Ficou bom, parecido com GBA mesmo. Eu não sei como é a original... poderia postar?
  12. Teria que que criar um creaturescript. -- Adicionei suporte para TFS 1.1.
  13. Fir3element postou uma resposta no tópico em Suporte Tibia OTServer
    No such file or directory Não existe tal arquivo ou diretório Auto-explicativo...
  14. tenta ai: local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, 20 * 1000) -- tempo de paralyze setConditionFormula(condition, -0.9, 40, -0.9, 0) function onAttack(cid, target) local config = { storage = 4597, delay = 120, -- em segundos chance = 25 -- chance } if isPlayer(target) then if (os.time() - getPlayerStorageValue(cid, config.storage)) >= config.delay and getPlayerVocation(cid) ~= getPlayerVocation(target) then setPlayerStorageValue(cid, config.storage, os.time()) if math.random(1, 100) <= config.chance then doAddCondition(target, condition) end end end return true end
  15. Fir3element postou uma resposta no tópico em Suporte Tibia OTServer
    Tem dois jeitos de fazer isso. 1º: local fromPos = {x = 1100, y = 600, z = 7} local toPos = {x = 1200, y = 700 z = 7} for x_ = fromPos.x, toPos.x do for y_ = fromPos.y, toPos.y do for z_ = fromPos.z, toPos.z do local pos = {x = x_, y = y_, z = z_} if getCreaturePosition(cid) == pos then -- script end end end end 2º: local pos = { {x = 1100, y = 600, z = 7}, {x = 1101, y = 600, z = 7}, {x = 1102, y = 600, z = 7}, {x = 1103, y = 600, z = 7} } for _, w in pairs(pos) do if getCreaturePosition(cid) == w then -- script end end
  16. creaturescripts/scripts/paralyze.lua local condition = createConditionObject(CONDITION_PARALYZE) setConditionParam(condition, CONDITION_PARAM_TICKS, 20 * 1000) -- tempo de paralyze setConditionFormula(condition, -0.9, 40, -0.9, 0) function onAttack(cid, target) local config = { storage = 4597, delay = 120, -- em segundos chance = 25 -- chance } if (os.time() - getPlayerStorageValue(cid, config.storage)) >= config.delay and getPlayerVocation(cid) ~= getPlayerVocation(target) then setPlayerStorageValue(cid, config.storage, os.time()) if math.random(1, 100) <= config.chance then doAddCondition(target, condition) end end return true end creaturescripts/creaturescripts.xml <event type="attack" name="attack" event="script" value="paralyze.lua"/> creaturescripts/scripts/login.lua, adicione: registerCreatureEvent(cid, "attack")
  17. creaturescripts.xml <event type="logout" name="logout" event="script" value="logout.lua"/> logout.lua function onLogout(cid) if getCreatureName(cid) == "Account Manager" then if not ((os.time() - getPlayerStorageValue(cid, 4597)) >= 3) then doPlayerSendCancel(cid, "You need to wait.") return false end end return true end login.lua if getCreatureName(cid) == "Account Manager" then if (os.time() - getPlayerStorageValue(cid, 4597)) >= 3 then setPlayerStorageValue(cid, 4597, os.time()) end end
  18. O de items não existe, tem que criar um exhaust. "timeBetweenActions" pode ajudar também.
  19. Tu postou no outro tópico, mas la era sobre items... (http://www.tibiaking.com/forum/topic/52561-c-block-fast-anti-push/) Quer push de creature ou de items?
  20. Scan: https://www.virustotal.com/pt/file/dcb541ec1957ed53c2cc9913219281168c308eedcbce6e620b340a532b041dea/analysis/1429379572/ Aprovado e movido para a área correta.
  21. Aprovado e movido para a área correta.
  22. Tenta pedir ajuda pra empresa do host. Se quiser tentar: http://askubuntu.com/questions/321903/resetting-forgotten-phpmyadmin-password Mas se hackearam uma vez, vão hackear novamente.
  23. Windows ou Linux? Windows: phpMyAdmin/config.inc.php
  24. function onSay(cid, words, param) local housePrice = configManager.getNumber(configKeys.HOUSE_PRICE) if housePrice == -1 then return true end local player = Player(cid) local levelToBuyHouse = 30 if player:getLevel() < levelToBuyHouse then player:sendCancelMessage("You have to be at least Level " .. levelToBuyHouse .. " to purchase a house.") return false end if player:getPremiumDays() <= 0 then player:sendCancelMessage("You need a premium account.") return false end local position = player:getPosition() position:getNextPosition(player:getDirection()) local house = House(getTileHouseInfo(position)) if house == nil then player:sendCancelMessage("You have to be looking at the door of the house you would like to buy.") return false end if house:getOwnerGuid() > 0 then player:sendCancelMessage("This house already has an owner.") return false end if player:getHouse() then player:sendCancelMessage("You are already the owner of a house.") return false end local price = house:getTileCount() * housePrice if not player:removeMoney(price) then player:sendCancelMessage("You do not have enough money.") return false end house:setOwnerGuid(player:getGuid()) player:sendTextMessage(MESSAGE_INFO_DESCR, "You have successfully bought this house, be sure to have the money for the rent in the bank.") return false end
  25. Tu pode tentar essa query: SELECT houses.owner, houses.id as hid, houses.name as house_name, players.name FROM houses LEFT JOIN players ON players.id = houses.owner LEFT JOIN accounts ON players.account_id = accounts.id WHERE players.lastlogin < (UNIX_TIMESTAMP() - (30*24*60*60)) AND players.world_id = 0

Informação Importante

Confirmação de Termo