
Tudo que Natanael Beckman postou
-
DEV C++ Compilando TFS no Windows
Natanael Beckman respondeu ao post em um tópico de Natanael Beckman em Tutoriais Infraestrutura & ProteçãoObrigado a você pelo comentário!
-
[AUTO SAUVE]
Talvez resolva seu problema: http://www.tibiaking.com/forum/topic/34006-globalevents-servesave-shutdownautom%C3%A1tico/
-
DEV C++ Compilando TFS no Windows
Natanael Beckman respondeu ao post em um tópico de Natanael Beckman em Tutoriais Infraestrutura & ProteçãoEstá dizendo que dentro da pasta do c++ dev-c++/include/libxml não contém o arquivo xmlmemory.h e verifiquei aqui tem, veja ai se tem...
-
DEV C++ Compilando TFS no Windows
Natanael Beckman respondeu ao post em um tópico de Natanael Beckman em Tutoriais Infraestrutura & ProteçãoVerifique se existe a pasta Obj dentro da pasta Dev Cpp, se não tiver cria uma.
-
DEV C++ Compilando TFS no Windows
Natanael Beckman respondeu ao post em um tópico de Natanael Beckman em Tutoriais Infraestrutura & ProteçãoPode ser que sim, mais pode ser que não, dificilmente numa mudança dessas você não bata cabeça, sei que você vai ter que usar, as pastas /data/lib, data/npc/lib, data/items...
-
DEV C++ Compilando TFS no Windows
Natanael Beckman respondeu ao post em um tópico de Natanael Beckman em Tutoriais Infraestrutura & ProteçãoEssa do tópico mano é 0.4 e por sinal muito boa!
-
DEV C++ Compilando TFS no Windows
Natanael Beckman respondeu ao post em um tópico de Natanael Beckman em Tutoriais Infraestrutura & ProteçãoA pasta Obj existe dentro da Dev cpp?
-
[2015] Gesior 2012 1.0 - V2 - Atualizado
Utilize esse create account abaixo em SPOILER, talvez lhe sirva:
-
DEV C++ Compilando TFS no Windows
Natanael Beckman respondeu ao post em um tópico de Natanael Beckman em Tutoriais Infraestrutura & Proteção@gioz Você não faz ideia de quantos leigos, que talvez tenha o conhecimento menor que você conseguem concluir perfeitamente o que explica no tutorial. Não tem segredo, não tem mistério, você só precisa fazer o que manda o tutorial, passo a passo, atenciosamente. Lhe peço que refaça tudo novamente, se possível... Tenha paciência e não seja ansioso querendo chegar no final antes de passar pelas etapas uma por uma como a maior parte faz.
-
[2015] Gesior 2012 1.0 - V2 - Atualizado
Verifique se no shop.lua está db.executeQuery se tiver tente mude pra db.storeQuery veja se resolve. E verifique se a tabela z_ots_comunication existe.
-
DEV C++ Compilando TFS no Windows
Natanael Beckman respondeu ao post em um tópico de Natanael Beckman em Tutoriais Infraestrutura & ProteçãoObrigado Max!
-
DEV C++ Compilando TFS no Windows
Natanael Beckman respondeu ao post em um tópico de Natanael Beckman em Tutoriais Infraestrutura & ProteçãoPra mim que isso estava desativado... essa forma de baixar a OpenSSL... Você fez alguma alteração pra ativa esse procedimento ou não? Já estava ativo?
-
DEV C++ Compilando TFS no Windows
Natanael Beckman respondeu ao post em um tópico de Natanael Beckman em Tutoriais Infraestrutura & ProteçãoBoa mano, tive o mesmo problema não precisei instalar o openSSL porque resolvi como dito, obrigado pela seu post vai ajudar o Cook.
-
DEV C++ Compilando TFS no Windows
Natanael Beckman respondeu ao post em um tópico de Natanael Beckman em Tutoriais Infraestrutura & ProteçãoReinicia o pc extrai novamente o dev c++ que você baixou no tópico.
-
DEV C++ Compilando TFS no Windows
Natanael Beckman respondeu ao post em um tópico de Natanael Beckman em Tutoriais Infraestrutura & ProteçãoVocê já tinha o DEV CPP instalado? Se sim desinstale e faça tudo novamente...
-
[Proibir Palavras] Anti Divulgação
Natanael Beckman respondeu ao post em um tópico de Absolute em Action, MoveEvent, TalkAction & SpellBoa luke, rep+
-
Account VIP System por Killua
Boa perfeito rep+
-
DEV C++ Compilando TFS no Windows
Natanael Beckman respondeu ao post em um tópico de Natanael Beckman em Tutoriais Infraestrutura & ProteçãoEstá utilizando as dlls erradas verifique!
-
ShopGuild Points 100% add em player offline. Atualizado
Natanael Beckman respondeu ao post em um tópico de Natanael Beckman em Sistemas, Mods & Funções .luaTESTA: local GuildPointsConfigs = { ExecuteIntervalHours = 24, NeedPlayersOnline = 7, NeedDiferentIps = 5, MinLevel = 70, AddPointsForAcc = 19 } function getGuildPlayersValidAccIDS(GuildID, MinLevel) local RanksIDS, AccsID, ValidAccsID = {}, {}, {} local Query1 = db.storeQuery("SELECT `id` FROM `guild_ranks` WHERE guild_id = '" .. GuildID .. "'") if(Query1:getID() == -1) then return ValidAccsID end for i = 1, Query1:getRows() do table.insert(RanksIDS, Query1:getDataInt("id")) Query1:next() end local Query2 = db.storeQuery("SELECT `account_id` FROM `players` WHERE `rank_id` IN (".. table.concat(RanksIDS,', ')..") AND `level` >= "..MinLevel.."") if(Query2:getID() == -1) then return ValidAccsID end for i = 1, Query2:getRows() do local AccID = Query2:getDataInt("account_id") if(#AccsID > 0) then for k = 1, #AccsID do if(AccID == AccsID[k]) then AddAccList=false break end AddAccList=true end if(AddAccList) then table.insert(AccsID,AccID) end else table.insert(AccsID,AccID) end Query2:next() end local Query3 = db.storeQuery("SELECT `id` FROM `accounts` WHERE `guild_points_stats` = 0 AND `id` IN (".. table.concat(AccsID,', ')..")") if(Query3:getID() == -1) then return ValidAccsID end for i = 1, Query3:getRows() do local AccID=Query3:getDataInt("id") if(#ValidAccsID > 0) then for k = 1, #ValidAccsID do if(AccID == ValidAccsID[k]) then AddAccList=false break end AddAccList=true end if(AddAccList) then table.insert(ValidAccsID,AccID) end else table.insert(ValidAccsID,AccID) end Query3:next() end return ValidAccsID end function onSay(cid, words, param, channel) local player = Player(cid) if(player:getGuildLevel == 3) then local GuildID = player:getGuild():getId() local Query = db.storeQuery("SELECT `last_execute_points` FROM `guilds` WHERE id = '" .. GuildID .. "'") if(Query:getID() == -1) then return true end if(Query:getDataInt("last_execute_points") < os.time()) then local GuildMembers = {} local GuildMembersOnline = {} for i, pid in ipairs(Game.getPlayers()) do local targetPlayer = Player(pid) if(targetPlayer:getGuild():getId() == GuildID)then if(targetPlayer:getLevel() >= GuildPointsConfigs.MinLevel) then table.insert(GuildMembersOnline, pid) end end end if(#GuildMembersOnline >= GuildPointsConfigs.NeedPlayersOnline) then local IPS = {} for i, pid in ipairs(GuildMembersOnline)do local PlayerIP = getPlayerIp(pid) if(#IPS > 0) then for k = 1, #IPS do if(PlayerIP == IPS[k]) then AddIPList = false break end AddIPList = true end if(AddIPList) then table.insert(IPS,PlayerIP) end else table.insert(IPS,PlayerIP) end end if(#IPS >= GuildPointsConfigs.NeedDiferentIps) then local ValidAccounts = getGuildPlayersValidAccIDS(GuildID,GuildPointsConfigs.MinLevel) db.query("UPDATE `guilds` SET `last_execute_points` = ".. os.time()+(GuildPointsConfigs.ExecuteIntervalHours*3600).." WHERE `guilds`.`id` = "..GuildID..";") player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE,"" .. #ValidAccounts .. " Players received points") if(#ValidAccounts > 0) then db.query("UPDATE `accounts` SET `guild_points` = `guild_points` + "..GuildPointsConfigs.AddPointsForAcc..", `guild_points_stats` = ".. os.time().." WHERE `id` IN (".. table.concat(ValidAccounts,',')..");") for i, pid in ipairs(GuildMembersOnline)do local targetPlayer = Player(pid) local PlayerMSGAccID = targetPlayer:getAccountId() for k = 1, #ValidAccounts do if(PlayerMSGAccID == ValidAccounts[k]) then targetPlayer:sendTextMessage(MESSAGE_INFO_DESCR,"You received "..GuildPointsConfigs.AddPointsForAcc.." guild points.") break end end end end else player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE,"Only " .. #IPS .. " players are valid, you need "..GuildPointsConfigs.NeedDiferentIps .." players with different ips.") end else player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE,"Has only " .. #GuildMembersOnline .. " players online you need ".. GuildPointsConfigs.NeedPlayersOnline .." players online at least from level ".. GuildPointsConfigs.MinLevel .. ".") end else player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE,"The command can only be run once every " ..GuildPointsConfigs.ExecuteIntervalHours .. " hours.") end else player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE,"Only guild leader can request points.") end return true end Mano tem o shopGUILDadmin no tutorial pra você adicionar os items.
- [GESIOR2012] War system com Escudos (TFS1.0)
-
ShopGuild Points 100% add em player offline. Atualizado
Natanael Beckman respondeu ao post em um tópico de Natanael Beckman em Sistemas, Mods & Funções .luaTem que ver se sua database está certinha com todos as colunas que contém no tutorial...
-
ShopGuild Points 100% add em player offline. Atualizado
Natanael Beckman respondeu ao post em um tópico de Natanael Beckman em Sistemas, Mods & Funções .lua--------------------- Muito obrigado mano Vai em talkactions/scripts/guildpoints.lua apaga o que tem dentro e troca por isso pra ver: GuildPointsConfigs = { ExecuteIntervalHours = 24, NeedPlayersOnline = 7, NeedDiferentIps = 5, MinLevel = 70, AddPointsForAcc = 19 } function getGuildPlayersValidAccIDS(GuildID, MinLevel) local RanksIDS = {} local AccsID = {} local ValidAccsID = {} Query1 = db.storeQuery("SELECT `id` FROM `guild_ranks` WHERE guild_id = '".. GuildID .."'") if(Query1:getID() == -1) then return ValidAccsID end for i = 1, Query1:getRows() do table.insert(RanksIDS, Query1:getDataInt("id")) Query1:next() end Query2 = db.storeQuery("SELECT `account_id` FROM `players` WHERE `rank_id` IN (".. table.concat(RanksIDS, ', ') ..") AND `level` >= ".. MinLevel .."") if(Query2:getID() == -1) then return ValidAccsID end for i = 1, Query2:getRows() do local AccID = Query2:getDataInt("account_id") if #AccsID > 0 then for k = 1, #AccsID do if AccID == AccsID[k] then AddAccList = false break end AddAccList = true end if AddAccList then table.insert(AccsID, AccID) end else table.insert(AccsID, AccID) end Query2:next() end Query3 = db.storeQuery("SELECT `id` FROM `accounts` WHERE `guild_points_stats` = 0 AND `id` IN (".. table.concat(AccsID, ', ')..")") if(Query3:getID() == -1) then return ValidAccsID end for i = 1, Query3:getRows() do local AccID = Query3:getDataInt("id") if #ValidAccsID > 0 then for k = 1, #ValidAccsID do if AccID == ValidAccsID[k] then AddAccList = false break end AddAccList = true end if AddAccList then table.insert(ValidAccsID, AccID) end else table.insert(ValidAccsID, AccID) end Query3:next() end return ValidAccsID end function onSay(cid, words, param, channel) if(getPlayerGuildLevel(cid) == 3) then local GuildID = getPlayerGuildId(cid) Query = db.storeQuery("SELECT `last_execute_points` FROM `guilds` WHERE id = '".. GuildID .."'") if(Query:getID() == -1) then return true end if Query:getDataInt("last_execute_points") < os.time() then local GuildMembers = {} local GuildMembersOnline = {} local PlayersOnline = getPlayersOnline() for i, pid in ipairs(PlayersOnline) do if getPlayerGuildId(pid) == GuildID then if getPlayerLevel(pid) >= GuildPointsConfigs.MinLevel then table.insert(GuildMembersOnline, pid) end end end if #GuildMembersOnline >= GuildPointsConfigs.NeedPlayersOnline then local IPS = {} for i, pid in ipairs(GuildMembersOnline) do local PlayerIP = getPlayerIp(pid) if #IPS > 0 then for k = 1, #IPS do if PlayerIP == IPS[k] then AddIPList = false break end AddIPList = true end if AddIPList then table.insert(IPS, PlayerIP) end else table.insert(IPS, PlayerIP) end end if #IPS >= GuildPointsConfigs.NeedDiferentIps then local ValidAccounts = getGuildPlayersValidAccIDS(GuildID, GuildPointsConfigs.MinLevel) db.executeQuery("UPDATE `guilds` SET `last_execute_points` = ".. os.time() +(GuildPointsConfigs.ExecuteIntervalHours * 3600) .." WHERE `guilds`.`id` = ".. GuildID ..";") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "".. #ValidAccounts .." Players received points") if #ValidAccounts > 0 then db.executeQuery("UPDATE `accounts` SET `guild_points` = `guild_points` + " ..GuildPointsConfigs.AddPointsForAcc .. ", `guild_points_stats` = ".. os.time() .." WHERE `id` IN (" .. table.concat(ValidAccounts, ',').. ");") for i, pid in ipairs(GuildMembersOnline) do local PlayerMSGAccID = getPlayerAccountId(pid) for k = 1, #ValidAccounts do if PlayerMSGAccID == ValidAccounts[k] then doPlayerSendTextMessage(pid, MESSAGE_INFO_DESCR, "You received ".. GuildPointsConfigs.AddPointsForAcc .." guild points.") break end end end end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Only ".. #IPS .." players are valid, you need ".. GuildPointsConfigs.NeedDiferentIps .." players with different ips.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Has only ".. #GuildMembersOnline .." players online you need ".. GuildPointsConfigs.NeedPlayersOnline .." players online at least from level "..GuildPointsConfigs.MinLevel ..".") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "The command can only be run once every "..GuildPointsConfigs.ExecuteIntervalHours .." hours.") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Only guild leader can request points.") end return true end
-
(Resolvido)[mysql]Comando para retirar os items das houses dos players deletados
Mano é a tabela houses, todas as outras tabelas relacionadas a houses são limpas automaticamente quando você limpa a houses... Só faça isso n tenha medo e solved!
-
(Resolvido)[mysql]Comando para retirar os items das houses dos players deletados
Você deletou a tabela bans?
-
(Resolvido)[mysql]Comando para retirar os items das houses dos players deletados
Mano você vai na coluna houses, clica em limpar >>/\ e resolvido quando o server abrir novamente as houses seram add normalmente na coluna houses so isso!