-
-
-
- OTClient para navegadores
-
-
- [Canary] Mapa Global Completo 14x Atualizado
-
-
Pedro. alterou sua foto pessoal
-
Monsters Quest Worlds
Não vingou?
-
-
[TFS 1.1+] Limpar Characters Inativos / Accounts vazias
acho que algo assim funcionaria. local inactiveMonths = 1 local createdMonths = 1 local protectedAccIdEnd = 20 local function clearInactivePlayers() local inactiveTimestamp = os.time() - (86400 * (inactiveMonths * 30)) local totalClear = 0 local fromClause = "`players` WHERE `account_id` > " .. protectedAccIdEnd .. " AND lastlogin <= " .. inactiveTimestamp local result = db.storeQuery("SELECT COUNT(*) as num_inativos FROM " .. fromClause) if result then totalClear = result:getNumber("num_inativos") if totalClear > 0 then db.query("DELETE FROM " .. fromClause) end result:free() end return totalClear end local function clearEmptyAccounts() local totalClear = 0 local createdTimestamp = os.time() - (86400 * (createdMonths * 30)) local fromClause = "`accounts` ACCS WHERE `id` > " .. protectedAccIdEnd .. " AND `creation` <= " .. createdTimestamp .. " AND (SELECT COUNT(*) from `players` WHERE `account_id` = ACCS.`id`) > 0" local result = db.storeQuery("SELECT COUNT(*) as num_inativas FROM " .. fromClause) if result then totalClear = result:getNumber("num_inativas") if totalClear > 0 then db.query("DELETE ACCS FROM " .. fromClause) end result:free() end return totalClear end function onStartup() print('>> ' .. clearInactivePlayers() .. " players inativos deletados.") print('>> ' .. clearEmptyAccounts() .. " contas vazias deletadas.") end
-
-
-
-
joaopedrodepaiva reagiu a uma resposta no tópico: (Resolvido)Field 'comment' doesn't have a default value - ZnoteAcc
-
mateusweber começou a seguir Pedro.
-
[TFS 1.2+] Dungeon System (Modal)
caralho, a lenda voltou! gz pelo sistema.
-
-
TFS 1x Necronia
pedrogiampietro/ots_layouts at Necronia (github.com)
-
[OTClient Showoff] Mostre seu Projeto/Módulo/Interface do seu OTClient
Isso ta muito bonito rs
-
Pedro. reagiu a uma resposta no tópico: [OTClient Showoff] Mostre seu Projeto/Módulo/Interface do seu OTClient
-
Pedro. reagiu a uma resposta no tópico: [OTClient Showoff] Mostre seu Projeto/Módulo/Interface do seu OTClient
-
Pedro. reagiu a uma resposta no tópico: [OTClient Showoff] Mostre seu Projeto/Módulo/Interface do seu OTClient
- OT 7.6 war 1/1
-
-
Alguém vivo ainda?
to fora, eiuahieuaea
-
Alguém vivo ainda?
sdds quando @Caronte fazia concurso de mapping ._.
-
Novos Locais de Caça (atualizado 29/11/2020) Trackeando...
God!
-
[TFS 1.3] Otg Server Global - 12.85 (Updates Diarios)
Parabéns pela iniciativa. Já dizia um sábio, melhor fazer algo do que só ficar falando.
-
Hati New AAC
estou dando uma pausa no projeto por um momento, só tenho tempo finais de semana, trabalho tá me sugando e no momento vou ter que da um gás nos finais de semana também, mas logo volto! tava finalizando o fórum! pega la vision! ateagoraehisso.mp4
-
[SPRITER] SpriteSheetMaker
rasker
-
Yutae - Cidade + Hunts
caralho, wtf que merda é essa, uma cidade completa dessas, ai se meu custom map tivesse on