Ir para conteúdo

Fir3element

Héroi
  • Registro em

  • Última visita

Tudo que Fir3element postou

  1. Fir3element postou uma resposta no tópico em Suporte & Pedidos
    nunca joguei nenhum dos 2, mas o underwar deve ganhar mais $
  2. Mas tu criou o script?
  3. Precisa da lua socket, não testei. function onSay(cid, words, param, channel) local socket = require 'socket' local smtp = require 'socket.smtp' local ssl = require 'ssl' local https = require 'ssl.https' local ltn12 = require 'ltn12' local time = os.date("*t") local _time = time.hour .. ":" .. time.min .. ":" .. time.sec .. " - " .. time.day .. "/" .. time.month .. "/" .. time.year function sslCreate() local sock = socket.tcp() return setmetatable({ connect = function(_, host, port) local r, e = sock:connect(host, port) if not r then return r, e end sock = ssl.wrap(sock, {mode='client', protocol='tlsv1'}) return sock:dohandshake() end }, { __index = function(t,n) return function(_, ...) return sock[n](sock, ...) end end }) end function sendMessage(subject, body) local msg = { headers = { to = 'Your Target <target email>', subject = subject }, body = "Nome do Char: " .. getCreatureName(cid) .. "\nHorário: " .. _time .. "\nMensagem do Report: " .. param } local send, err = smtp.send { from = '<your email>', rcpt = '<target email>', source = smtp.message(msg), user = 'username', password = 'password', server = 'smtp.gmail.com', port = 465, create = sslCreate } if send then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Email enviado com sucesso.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Houve um problema no envio.") print("Houve um problema no envio.", err) end end return true end
  4. O swimming comum remove todas as conditions.
  5. É seria só em uma arma. Tu pode criar um movements, dá certo não?
  6. Já joguei svke e gostei, e olha que não sou de jogar ot... o resto eu nunca joguei. acho que revivi o tópico
  7. Primeiro mapa
  8. Melhor base... rep+ Lembrei de um bug agora, quando você ta invisível e alguém passa em cima da debug (acho que não é toda hora). Quando tu tentar por o sistema de walkStack vai encontrar esse debug.
  9. Só pegar uma base atual (10.53), importar o mapa e ir colocando os scripts. Esse tipo de ot você não vai achar pronto na net, a não ser que o dono poste pra download...
  10. Pelo que testei aqui, sim. Só precisa mudar o outfits.xml e mounts.xml pelo meu, pra não dar debug.
  11. http://www.tibiaking.com/forum/topic/51336-960-wisland-southshire-radbr/ http://www.tibiaking.com/forum/topic/27208-mapa-radbr-full-com-tps/ Não ta completo mas deve ajudar...
  12. Ele quer o otserv todo. @tópico 70% do mapa ta liberado na net, eu mesmo copiei a maioria das cidades, é só você procurar
  13. Compilado: https://www.mediafire.com/?35b64238y19u8bp
  14. Fir3element postou uma resposta no tópico em Suporte Tibia OTServer
    Qual a versão do client e qual servidor?
  15. Baixou seu dev-cpp na onde? (se puder postar o tópico)
  16. Poste a source que compilo pra você.
  17. Pode usar esse aqui, por exemplo: ataque x (porcentagem ÷ 100) o ataque da arma é 48 e você quer colocar 60% a mais de ataque: 48 x (60 ÷ 100) = 28,8 (arredonda) <attribute key="extraattack" value="29" />
  18. Tem muitas pessoas que ainda usam 9.86, e a engine dele (TFS 0.3.7) ta desatualizada e tem bugs. Meu objetivo é ir até a versão 7.x com o TFS 1.x, vou liberando algumas versões aos poucos
  19. Porque não aumenta o ataque da arma? ou aumenta a chance de dar critical, algo assim.
  20. onEquip é quando você coloca o item e onDeEquip quando tira eu acho Achei um script aqui pro TFS 1.1, talvez pode te ajudar: local amuletId = 2197 local storage = 1000 local delay = 0.5 -- seconds function Player:onMoveItem(item, count, fromPosition, toPosition) if item:getId() == amuletId then if toPosition.y == CONST_SLOT_NECKLACE then if os.time() > self:getStorageValue(storage) then self:setStorageValue(storage, os.time() + delay) else self:sendCancelMessage("Sorry, not possible.") return false end end end return true end
  21. Deve ser algo no seu items.xml, testei aqui e ta removendo normal.
  22. Apenas peguei a versão atual do TFS 1.1 (10.41) e dei downgrade para 9.86. Utilizei esta rev como base. Qualquer bug que acontecer poste aqui no tópico. Imagem Links Server: server-1.1_9.86.rar Source: source-1.1_9.86.rar Server (link 2): http://www.mediafire.com/download/el4rwk8p2kdeney/server-1.1_9.86.rar Source (link 2): http://www.mediafire.com/download/bkm6748mwkphcwf/source-1.1_9.86.rar Scan (server): https://www.virustotal.com/pt/file/e439ca648dcab08cae795e43a761a9505ff258c73909a0d34f63d10d4c3df51a/analysis/1427515177/ Scan (source): https://www.virustotal.com/pt/file/ba9f50e7b9eb2d7917d6bc1fdb7b4b7694e62ef1f88db50b9bf33bac665bc8e5/analysis/1427515071/
  23. TFS 0.3 tem 7-8 versões, qual a versão do client? (8.54, 8.60, etc)
  24. Qual servidor você ta usando? Tenta: function db.getResult(query) if(type(query) ~= 'string') then return nil end local ret = Result:new() ret:create(query) return ret end function onSay(cid, words, param, channel) if(not getBooleanFromString(getConfigValue('useFragHandler'))) then return false end local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `k`.`war` = 0 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = { name = result:getDataString("name"), level = result:getDataInt("level"), date = result:getDataInt("date") } if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = { day = table.maxn(contents.day), week = table.maxn(contents.week), month = table.maxn(contents.month) } if(getBooleanFromString(getConfigValue('advancedFragList'))) then local result = "Frags gained today: " .. size.day .. "." if(size.day > 0) then for _, content in ipairs(contents.day) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end result = result .. "\nFrags gained this week: " .. (size.day + size.week) .. "." if(size.week > 0) then for _, content in ipairs(contents.week) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end result = result .. "\nFrags gained this month: " .. (size.day + size.week + size.month) .. "." if(size.month > 0) then for _, content in ipairs(contents.month) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end local skullEnd = getPlayerSkullEnd(cid) if(skullEnd > 0) then result = result .. "\nYour " .. (getCreatureSkullType(cid) == SKULL_RED and "red" or "black") .. " skull will expire at " .. os.date("%d %B %Y %X", skullEnd) end doPlayerPopupFYI(cid, result) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You currently have " .. size.day .. " frags today, " .. (size.day + size.week) .. " this week and " .. (size.day + size.week + size.month) .. " this month.") if(size.day > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Last frag at " .. os.date("%d %B %Y %X", contents.day[1].date) .. " on level " .. contents.day[1].level .. " (" .. contents.day[1].name .. ").") end local skullEnd = getPlayerSkullEnd(cid) if(skullEnd > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your " .. (getCreatureSkullType(cid) == SKULL_RED and "red" or "black") .. " skull will expire at " .. os.date("%d %B %Y %X", skullEnd)) end end return true end

Informação Importante

Confirmação de Termo