Ir para conteúdo

tiagoduuarte

Membro
  • Registro em

  • Última visita

Tudo que tiagoduuarte postou

  1. tiagoduuarte postou uma resposta no tópico em Eventos de Mapping
    Sobre escolher o tema, seria melhor você escolher uns 3 temas , 5 temas e fazer uma enquete, seria mais legal, se não iria ficar muito aleatorio...
  2. tiagoduuarte postou uma resposta no tópico em Suporte Tibia OTServer
    Ninguem sabe?
  3. tiagoduuarte postou uma resposta no tópico em Suporte Tibia OTServer
    Como ficaria, já mudei da msma forma da global e não ficou bom... Pode fazer pra mim, se funcionar leva meu +rep
  4. tiagoduuarte postou uma resposta no tópico em Suporte Tibia OTServer
    Estou com um problema com stamina ela está subindo de forma errada, estou usando tfs 0.4... Seguinte acabei de testar a exp e tal fui deslogar e testar a stamina então minha stamina estava assim: 27:40stamina ~~ 21:30hrs , fui logar novamente depois de umas duas horas mais ou menos: 27:42stamina ~~ 23:02hrs, o que era pra encher quase duas horas encheu dois minutos, alguem consegue me ajudar? 27:40stamina ~~ 21:30hrs 27:42stamina ~~ 23:02hrs ------------------------ 00:02stamina ~~ 01:72hrs CONFIG.LUA rateStaminaLoss = 1 rateStaminaGain = 29 rateStaminaThresholdGain = 48 staminaRatingLimitTop = 10 * 60 staminaRatingLimitBottom = 14 * 60 staminaLootLimit = 14 * 60 rateStaminaAboveNormal = 1.0 rateStaminaUnderNormal = 0.5 staminaThresholdOnlyPremium = true obs: se isso muda alguma coisa, tive que mudar meus globalevents que funcionavam assim: <globalevent name="animatedtext" interval="2" script="texto.lua"/> com interval de 2 ficava aparecendo o texto de dois em dois segundos, mas agora eu tenho que usar assim: <globalevent name="animatedtext" interval="2000" script="texto.lua"/> pra ficar de dois em dois segundos caso contrario fica exageradamente rapido.
  5. Global Event: <globalevent name="dbcleaner" type="startup" event="script" value="dbcleaner.lua"/> dbcleaner.lua: ------------------------------------------------------------------------------* ----- [[> Automated Database Cleanup 1.1 Structure //By Cybermaster <]] ------| -------------- [[> System 2.0 Revamped by Teh Maverick <3 <]] ----------------| ------------- [[> Removal of empty accounts by darkaos <]] ---------------| --------------- [[> Function getDBPlayersCount() by Elf <]] ------------------| ------------------------------------------------------------------------------| ------------------------------------------------------------------------------| --- ~!READ THIS!~ ------------------------------------------------------------| --- Be sure to back up your database and test this on your server first, -----| --- I(Teh Maverick) cannot guarantee it will work the same for every core. ---| --- It is very easy to test, with the log file and values that are printed ---| -----------------------------------Enjoy!-------------------------------------| ------------------------------------------------------------------------------* function countRowsWhereInTable(table, field, condition) local result = db.getResult("SELECT COUNT(" .. field .. ") as count FROM " .. table .. " WHERE " .. field .. " = '" .. condition .. "';") local tmp = result:getDataInt("count") result:free() return tmp end function getDBPlayersCount() local result = db.getResult("SELECT COUNT(id) as count FROM `players`;") local tmp = result:getDataInt("count") result:free() return tmp end function getDBAccountsCount() local result = db.getResult("SELECT COUNT(id) as count FROM `accounts`;") local tmp = result:getDataInt("count") result:free() return tmp end function onstartup() local DB_BEFORE = {players = getDBPlayersCount(), accounts = getDBAccountsCount()} local result,result1, ii, numPlayersToDelete, numAccountsDeleted, tmp = 0, 0, 0, 0, 0 local pid, aid = {}, {} local dropCount = {players={},accounts={}} local config = { deleteAccountWithNoPlayers = true, cleanChildTables = true, printResult = true, saveResultToFile = true, logFileName = 'db_cleanup.txt' } --In each table, players with below specified level, and days of inactivity will be deleted from db on server startup local cleanup = { [1] = {level = 11, time = 5 * 24 * 60 * 60}, [2] = {level = 20, time = 15 * 24 * 60 * 60}, [3] = {level = 50, time = 30 * 24 * 60 * 60}, [4] = {level = 100, time = 60 * 24 * 60 * 60}, [5] = {level = 130, time = 90 * 24 * 60 * 60} } local childAttributeTables = { players = { [1] = {table = "`player_viplist`", idField = "`player_id`"}, [2] = {table = "`player_storage`", idField = "`player_id`"}, [3] = {table = "`player_spells`", idField = "`player_id`"}, [4] = {table = "`player_skills`", idField = "`player_id`"}, [5] = {table = "`player_namelocks`", idField = "`player_id`"}, [6] = {table = "`player_items`", idField = "`player_id`"}, [7] = {table = "`player_depotitems`", idField = "`player_id`"}, [8] = {table = "`houses`", idField = "`owner`"}, [9] = {table = "`house_auctions`", idField = "`player_id`"}, [10] = {table = "`players`", idField = "`id`"} -- Keep this as the last item in the array --Note: `houses` and `bans` are in the DB triggers for TFS so don't worry about them. --Also I did not want to put killers, or deaths on here because that is historic data, --do so at your own risk. }, accounts = { [1] = {table = "`accounts`", idField = "`id`"}, [2] = {table = "`account_viplist`", idField = "`account_id`"} } } --Clean up all the players and player data for i = 1, #cleanup do result = db.getResult("SELECT `id`,`name`,`account_id` FROM `players` WHERE `level` < ".. cleanup.level .." AND `name` NOT IN('Account Manager', 'Sorcerer Sample', 'Druid Sample', 'Paladin Sample', 'Knight Sample', 'Rook Sample') AND `group_id` < 2 AND `lastlogin` < UNIX_TIMESTAMP() - ".. cleanup.time ..";") if(result:getID() ~= -1) then ii = 1 repeat pid[ii] = result:getDataInt("id") -- list the players id into an array aid[ii] = result:getDataInt("account_id") -- list the account id of each player being removed into an array ii = ii + 1 until not(result:next()) result:free() end numPlayersToDelete = ii - 1 --Drop players and their child table attribute data such as skills, items, etc. for j = 1, numPlayersToDelete do if(config.cleanChildTables) then for k = 1, #childAttributeTables.players do if childAttributeTables.players[k].table == "houses" then house = getHouseByPlayerGUID(pid[j]) if house ~= 0 or house ~= nil then doCleanHouse(house) doUpdateHouseAuctions() end else dropCount.players[k] = ((dropCount.players[k] or 0) + countRowsWhereInTable(childAttributeTables.players[k].table, childAttributeTables.players[k].idField, pid[j])) db.executeQuery("DELETE FROM " .. childAttributeTables.players[k].table .. " WHERE " .. childAttributeTables.players[k].idField .. " = '" .. pid[j] .. "';") end end else db.executeQuery("DELETE FROM `players` WHERE `id` = '" .. pid[j] .. "';") end end end --Drop all the accounts that have 0 players linked to them (at the moment its only checking from the list of players removed) if config.deleteAccountWithNoPlayers then --This part was scripted by Darkhaos, modified/fixed by Teh Maverick --[[ for acc = 1, #aid do result1 = db.getResult("SELECT `id` FROM `accounts` WHERE `id` = '" .. aid[acc] .. "';") if result1:getID() ~= -1 then -- check to make sure the account exists result1:free() for i = 1, #childAttributeTables.accounts do --Make sure there are no other players on the account result1 = db.getResult("SELECT COUNT(id) as count FROM `players` WHERE `account_id` = '" .. aid[acc] .. "';") tmp = result1:getDataInt("count") if(tmp <= 0) then --Remove accounts dropCount.accounts = ((dropCount.accounts or 0) + countRowsWhereInTable(childAttributeTables.accounts.table, childAttributeTables.accounts.idField, aid[acc])) db.executeQuery("DELETE FROM " .. childAttributeTables.accounts.table .. " WHERE " .. childAttributeTables.accounts.idField .. " = '" .. aid[acc] .. "';") end end end end end --]] --Print and Save results (configurable) local DB_NOW = {players = DB_BEFORE.players - getDBPlayersCount(), accounts = DB_BEFORE.accounts - getDBAccountsCount()} if DB_NOW.players > 0 or DB_NOW.accounts > 0 then local text = ">> [DBCLEANUP] " .. DB_NOW.players .. " inactive players" .. (config.deleteAccountWithNoPlayers and " and " .. DB_NOW.accounts .. " empty accounts" or "") .. " have been deleted from the database." --Write to console if config.printResult then print("") print(text) if config.cleanChildTables then --Write player info for i = 1,#dropCount.players do print("[!] --> Dropped: " .. dropCount.players .. " from " .. childAttributeTables.players.table .. " table") end --Write account info if config.deleteAccountWithNoPlayers then for i = 1,#dropCount.accounts do print("[!] --> Dropped: " .. dropCount.accounts .. " from " .. childAttributeTables.accounts.table .. " table") end end print("") end end --Write to file if config.saveResultToFile then local file = io.open("data/logs/"..config.logFileName, "a") file:write("[" .. os.date("%d %B %Y %X ", os.time()) .. "] " .. text .. "\n") if config.cleanChildTables then --Write player info for i = 1, #dropCount.players do file:write("[!] --> Dropped: " .. dropCount.players .. " from " .. childAttributeTables.players.table .. " table\n") end --Write account info if config.deleteAccountWithNoPlayers then for i = 1, #dropCount.accounts do file:write("[!] --> Dropped: " .. dropCount.accounts .. " from " .. childAttributeTables.accounts.table .. " table\n") end end file:write("\n") end file:close() end end return true end espero ter ajudado. Creditos: Dudu Ruller
  6. Então pessoal eu procurei muito, mas não achei esse server, só achei outro global com tps(compatco) queria esse com esse templo: http://loja.chaitosoft.com/media/catalog/product/cache/1/image/9df78eab33525d08d6e5fb8d27136e95/g/l/globaltps.png e as hunts são em um barco, tem d lair venore, alguem tem ele ou sabe onde tem? +rep ai pra qm conseguir.
  7. EU perdi meu mapa global antigo, gostava dele por ter muita coisa e pesar apenas 30mb, mapa usado nas versões mais antigas de mapa global acho que do 8.4 pra baixo, nome do mapa global NSO, usado por base de quase todos os servers globais antigos como o UnderWar se alguem achar uma versão desse mapa por favor me passe todos que eu encontrei estavam com link corrompido
  8. Bom baixe o directx aqui nesse link: http://www.microsoft.com/pt-br/download/details.aspx?id=35 Ou no link de cima, mas eu pessoalmente não gosto mais do instalador do baixaki Apos instalar clique com o butão direito no seu tibia, vá até propriedades, em destino você de um espaço e adicione engine 0, apos isso clique em ok (vai ficar mais ou menos assim -> "C:\Arquivos de programas\Tibia\Tibia.exe" engine 0), e agora seu tibia só ira abrir em directx 5.
  9. tiagoduuarte postou uma resposta no tópico em Suporte Bots
    O oficial não tinha trojan... Eu tenho até o crack sem vírus menos o propio elfbot :/
  10. Os servidores mais cheios usam a 8.60
  11. Seu OT/data/XML
  12. tiagoduuarte postou uma resposta no tópico em Suporte Bots
    Muito obrigado, vou testar +REP Livre de vírus pra quem quizer ver ai está o scan: https://www.virustotal.com/file/d1c47028ece9e6a629f09f5b056ffcc40998203679a853d4d7540cff58104da4/analysis/
  13. tiagoduuarte postou uma resposta no tópico em Suporte Bots
    Antes de vir me chingar e falar procura, eu queria saber se alguem tem elfbot ou tibia mc 8.6 SEM VíRUS, achei elfobot e mc 8.60, mas todos com trojans aqui eu tinha o mc e tal se alguem tiver me manda por favor (não quero crack do elfbot só o instalador)
  14. tiagoduuarte postou uma resposta no tópico em Suporte Tibia OTServer
    Alguem deleta aqui vou pesquisar direito não era bem o que eu tava pensando, e vou tentar arrumar um jeito de ajudar o pessoal
  15. tiagoduuarte postou uma resposta no tópico em Ouvidoria
    Seria muito bom e ainda daria uma renda pro site E muita gente iria ver pq esse site alem de ser de ot , é de bot e muito mais mt gente iria ver seria um dos melhores...
  16. tenta entrar no seu phpadmin e ver a senha talvez vc tenha digitado errado ou algo assim ;s
  17. Eu fiz lá com 300 MB o disco qndfui ligar apareceu isso: FATAL: No bootable medium found! System halted
  18. Claro não vou ficar te pertubando ou postando aqui com preguiça de procurar tudo eu posto aqui antes eu pesquiso , tipo esse topico eu vi que linux era melhor e tal vim tirar minhas duvidas e o que vcs me indicariam, ql linux eu uso ? Ubuntu ?
  19. Obrigado pelo conselho não sabia disso , vou baixar e tentar criar o servidor de lá ou sei lá o que não sei como funciona isso já me ajudo bastante +REP posso tirar duvidas com você? pms , skype ?
  20. Mas eu não tenho como por em outra maquina só no dedicado e ir mechendo será que não da ? o que eu vou ter que aprender, tenho paciencia e pego rapido...
  21. Ah sim , não ouvi falar no nicaw ainda, uso genior e não deu certo ficou com o mesmo erro :/
  22. Eu não consigo um TFS compilada não ?
  23. Estou realizando uns testes aqui com o servidor online
  24. Ok parece que eu entendi então -1, -75, -1, -75, 6, 6, 6, 9 O vermelho é o dano que vai causar de segundo em segundo, o novo efeito da Sd, 75 a cada 1 segundo... Não precisa mecher! O azul é o dano minimo e maximo por Level 6 mim , 6 max O cinza é o dano minimo e maximo por magic level 6 minimo , 9 maximo < Level > Magic Level

Informação Importante

Confirmação de Termo