Ir para conteúdo

Fir3element

Héroi
  • Registro em

  • Última visita

Tudo que Fir3element postou

  1. Deleta qualquer outro Dev-cpp que tiver no PC, se não vai dar conflito.
  2. Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: Downloads OTServ > OTServ > OTServs 8.0 - 8.5x Para: Suporte OTServ > OTServ > Suporte de OTServ Geral
  3. local function getDeaths(cid) local query, d = db.getResult("SELECT `player_id` FROM `player_killers` WHERE `player_id` = " ..getPlayerGUID(cid)), 0 if (query:getID() ~= -1) then repeat d = d+1 until not query:next() query:free() end return d end local function getPlayerFrags(cid) 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 = {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) } return size.day + size.week + size.month end function onLook(cid, thing, position, lookDistance) if isPlayer(thing.uid) and thing.uid ~= cid then return doPlayerSetSpecialDescription(thing.uid, '\n'.. '[Frags: ' .. getPlayerFrags(thing.uid) .. ' - Deaths: ' .. getDeaths(thing.uid) .. ']') elseif thing.uid == cid then local string = 'You see yourself.' if getPlayerFlagValue(cid, PLAYERFLAG_SHOWGROUPINSTEADOFVOCATION) then string = string..' You are '.. getPlayerGroupName(cid) ..'.' elseif getPlayerVocation(cid) ~= 0 then string = string..' You are '.. getPlayerVocationName(cid) ..'.' else string = string..' You have no vocation.' end if getPlayerGuildId(cid) > 0 then string = string..' You are ' .. (getPlayerGuildRank(cid) == '' and 'a member' or getPlayerGuildRank(cid)) ..' of the '.. getPlayerGuildName(cid) string = getPlayerGuildNick(cid) ~= '' and string..' ('.. getPlayerGuildNick(cid) ..').' or string..'.' end string = string..'\n'.. '[Frags: ' .. getPlayerFrags(cid) .. ' - Deaths: ' .. getDeaths(cid) .. ']' if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEECREATUREDETAILS) then string = string..'\nHealth: ['.. getCreatureHealth(cid) ..' / '.. getCreatureMaxHealth(cid) ..'], Mana: ['.. getCreatureMana(cid) ..' / '.. getCreatureMaxMana(cid) ..'].' string = string..'\nIP: '.. doConvertIntegerToIp(getPlayerIp(cid)) ..'.' end if getPlayerFlagValue(cid, PLAYERCUSTOMFLAG_CANSEEPOSITION) then string = string..'\nPosition: [X:'.. position.x..'] [Y:'.. position.y..'] [Z:'.. position.z..'].' end return false, doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, string) end return 1 end
  4. Trocar apache por nginx vai ajudar a segurar o site. Você usa algum firewall sem ser o da servercore (csf, iptables, etc)? no config.lua, usa as opções assim: sqlKeepAlive = 0 mysqlReadTimeout = 60000 mysqlWriteTimeout = 60000
  5. Vai no cmd, digita ipconfig e pega seu ipv4 C:\Windows\System32\drivers\etc\hosts, adiciona isso: ipv4 meuip.com.br Exemplo: 192.168.1.2 globalfull.com Depois reinicia o server.
  6. config.lua -> stairhopDelay = 0
  7. Já te respondi por MP. Todos esses problemas eu arrumei.
  8. game.cpp, deleta isso: StringVec strVector; strVector = explodeString(g_config.getString(ConfigManager::ADVERTISING_BLOCK), ";"); for(StringVec::iterator it = strVector.begin(); it != strVector.end(); ++it) { std::string words []= {(*it)}; int ii, length; length = sizeof(words)/sizeof(words[0]); for(ii=0; ii < int(length); ii++) { if (int(_text.find(words[ii])) > 0 || _text == words[ii]) { player->sendTextMessage(MSG_STATUS_SMALL, "You can't send this message, forbidden characters."); return false; break; } } }
  9. Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: Downloads de Mapas > Mapping OTServ > OTServ > Mapas Derivados Para: Suporte OTServ > OTServ > Suporte de OTServ Geral
  10. https://github.com/hjnilsson/rme/archive/master.zip Tutorial pra compilar: # Installing dependencies sudo apt-get install git libboost-system-dev libboost-thread-dev libglu1-mesa-dev libwxgtk3.0-dev libarchive-dev # Clone the project git clone [email protected]:hjnilsson/rme.git # Go to RME Folder cd rme # Preparing to build mkdir build && cd build cmake .. # Building make -j `nproc` # Running and enjoy ./rme -- Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: Downloads OTServ > OTServ > Utilitários para OTServs Para: Suporte OTServ > OTServ > Suporte de OTServ Geral
  11. acho eles usam o tfs 0.3.7, ajuda muito nessa questão de delay são os únicos ots que consigo jogar msm, pq qualquer global 8.6 da otservlist eu tenho esse delay, fica impossível ir pvp =/
  12. 90% dos otserv 8.6 são assim, pelo menos entrando pela minha net Canadá deve ficar com ping 180~200, é normal esse delay
  13. Tenta usar a query assim: db.executeQuery("UPDATE `player_skills` SET `value` = `value` + 1 WHERE `skillid` = 2 and `player_id` = " .. pid)
  14. Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: Aprendizagem OTServ > OTServ > Começando seu Servidor Para: Suporte OTServ > OTServ > Suporte de OTServ Geral
  15. é só diminuir o delay no creature.h e diminuir o atk speed
  16. normal aqui, usei esse dev: http://www.mediafire.com/download/os3063htddwxlb9 não tenta manter 2 dev no seu pc, deleta os outros se n vai dar problema em todos
  17. fixar oq? isso é o cast system se quiser desbilitar ele, coloca no config.lua enableCast = false
  18. nessa linha no field: <attribute key="replaceable" value="0" /> troca 0 por 1
  19. Esta é uma mensagem automática, este tópico foi movido para a área correta. Regras do fórum: http://www.tibiaking.com/forum/topic/1281-regras-gerais/#comment-7680 Este tópico foi movido: De: Suporte OTServ > OTServ > Suporte de WebSites Para: Suporte OTServ > OTServ > Suporte de OTServ Geral
  20. Fir3element respondeu ao post em um tópico de Rhyu em Suporte Tibia OTServer
    Acho que encontrei o erro, é nessa parte do config.lua criticalHitMultiplier = Tem que deixar 1 porque o valor é usado como expoente. Ex.: criticalHitMultiplier = 5, se o player der 200 de dano, vai sair 320.000.000.000 (200^5).
  21. Usa o TFS 0.3.7 ou troca de host.
  22. Fir3element respondeu ao post em um tópico de Rhyu em Suporte Tibia OTServer
    Acho que sim, mas não vai funcionar essas coisas. Se tu quiser pode usar esse tfs: https://github.com/Fir3element/0.3.6pl1/ Não tem cast e outros bugfix mas se arrumar seu problema eu posso adicionar.
  23. Fir3element respondeu ao post em um tópico de Rhyu em Suporte Tibia OTServer
    Seu gesior é o antigo, vai dar trabalho usar meu config.lua Usa o seu mesmo, só tenta ficar com a database nova.
  24. Fir3element respondeu ao post em um tópico de Rhyu em Suporte Tibia OTServer
    Usa o configure.ac do 3777.

Informação Importante

Confirmação de Termo