Tudo que Fir3element postou
- [8.60] The Forgotten Server 0.4 By Fir3Element (SQL and MYSQL)
- [7.7] Tibia World RPG - Algo que a CipSoft deveria ter feito
-
[PEDIDO] Base PokeLute
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
-
[AJUDA] SISTEMA FRAGS - DEATHS
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
-
Como deixar meu server seguro?
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
- [VIDEO AULA] Colocando OT online nas versões atuais 10.x
-
(Resolvido)Exausted
config.lua -> stairhopDelay = 0
- [8.60] The Forgotten Server 0.4 By Fir3Element (SQL and MYSQL)
-
Como arrumar bug de falar numeros no EmporiaOTX
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; } } }
-
Alguem sabe aonde encontro esse Mapa ?? URGENTEE !
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
-
Alguém possui o RME extended que rode no linux? pode ser no wine msm.
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
-
VPS Canadá dando delay no servidor
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 =/
-
VPS Canadá dando delay no servidor
90% dos otserv 8.6 são assim, pelo menos entrando pela minha net Canadá deve ficar com ping 180~200, é normal esse delay
- [AJUDA] PROBLEMA TALKACTION
-
Para que serve Source...
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
- [8.60] The Forgotten Server 0.4 By Fir3Element (SQL and MYSQL)
-
Erro ao compilar
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
-
Account Manager logando apenas se digitar 1/1 . Com enter nao vai
fixar oq? isso é o cast system se quiser desbilitar ele, coloca no config.lua enableCast = false
- Magic Wall em fire field
-
Como faço uma Source? Tem como fazer?
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
-
BUG DISTRO
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).
-
Lag no meu servidor que me ajuda
Usa o TFS 0.3.7 ou troca de host.
-
BUG DISTRO
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.
-
BUG DISTRO
Seu gesior é o antigo, vai dar trabalho usar meu config.lua Usa o seu mesmo, só tenta ficar com a database nova.
-
TFS3884 Debian 7
Usa o configure.ac do 3777.