[Teamspeak] Salas permanentes


Faramir

Recommended Posts

Estou criando um script que irá monitorar o teamspeak para ver quais salas permanentes não estão mais sendo usadas, as salas que não forem usadas na ultima semana serão apagadas para evitar que o ts fique muito lotado, inicialmente será a primeira semana, mas depois iremos fazer a limpeza apenas em salas inativas por X meses, até la eu informo quantos meses mas como vou precisar testar o script o primeiro teste será de 1 semana

O script irá verificar a cada 5 minutos se tem alguém na sala, se tiver ele vai marcar a ultima vez que a sala foi usada como a data atual, se nao tiver a ultima vez que foi usado vai ir passando o tempo e quanto atingir 1 semana a sala será automaticamente removida.

Se o script funcionar bem e manter o ts limpo vou provavelmente liberar no futuro que os proprios membros do ts criem salas permanentes, logicamente as salas de guilds ficaram no topo pois são prioridade

  • Like 3
Link to comment
Share on other sites

vai ser dificil funcionar

pq tipo

tem gente que fica trocando de sala toda hora em todas as salas

se fizer um script q faça tipo quem ficar na sala por um tempo daria mais certo

sim, tem esse problema mas meu foco inicialmente eh tirar o grosso, mtas salas nao sao nem um pouco usadas, nunca tem ngm nelas e alem de ocupar espaço poluindo a arvore de salas ainda deixam um monte de arquivos no filebrowser que fica no hd do servidor ocupando espaço, se o script nao conseguir melhorar isso aih eu vou ir melhorando aos poucos até conseguir nem que ele faça como vc falou de ver quanto tempo o kra ta na sala
Link to comment
Share on other sites

sim, tem esse problema mas meu foco inicialmente eh tirar o grosso, mtas salas nao sao nem um pouco usadas, nunca tem ngm nelas e alem de ocupar espaço poluindo a arvore de salas ainda deixam um monte de arquivos no filebrowser que fica no hd do servidor ocupando espaço, se o script nao conseguir melhorar isso aih eu vou ir melhorando aos poucos até conseguir nem que ele faça como vc falou de ver quanto tempo o kra ta na sala

Poe pra verificar quando estiver na sala 2 ou mais pessoas, dai ja nao ativa quando os mlk tiver pulando em sala errada

Link to comment
Share on other sites

salas permanentes e semi permanentes removidas pq estavam sem senha

<18:04:12> Channel "AAAAAA" was deleted by "TS3-BOT"

<18:04:12> Channel "AFK" was deleted by "TS3-BOT"

<18:04:13> Channel "Jo.Bronha [Fixoooo]" was deleted by "TS3-BOT"

<18:04:13> Channel "[Guild] Insanity Alliance" was deleted by "TS3-BOT"

<18:04:13> Channel "A.F.K" was deleted by "TS3-BOT"

<18:04:13> Channel "AFK" was deleted by "TS3-BOT"

<18:04:13> Channel "MUSICA" was deleted by "TS3-BOT"

<18:04:13> Channel "TOTAL-WAR" was deleted by "TS3-BOT"

<18:04:14> Channel "AUREA" was deleted by "TS3-BOT"

<18:04:14> Channel "AMERA" was deleted by "TS3-BOT"

<18:04:14> Channel "LIBERA" was deleted by "TS3-BOT"

<18:04:14> Channel "[Guild] Especialistas" was deleted by "TS3-BOT"

<18:04:14> Channel "[Guild] Lindos" was deleted by "TS3-BOT"

<18:04:15> Channel "B" was deleted by "TS3-BOT"

<18:04:15> Channel "I" was deleted by "TS3-BOT"

<18:04:15> Channel "G" was deleted by "TS3-BOT"

<18:04:15> Channel "biru" was deleted by "TS3-BOT"

<18:04:15> Channel "ts3.masterxhost.com" was deleted by "TS3-BOT"

<18:04:15> Channel "BERÇOT SEN SOFA" was deleted by "TS3-BOT"

<18:04:15> Channel "CLAUDIN CAGO NO ELEVADOR" was deleted by "TS3-BOT"

<18:04:15> Channel "[Guild] Radio Big Loira" was deleted by "TS3-BOT"

<18:04:16> Channel "[Guild] Real Madrid" was deleted by "TS3-BOT"

<18:04:16> Channel "AFK" was deleted by "TS3-BOT"

<18:04:16> Channel "[Guild] Imperion" was deleted by "TS3-BOT"

<18:04:16> Channel "[FIXO] A.F.K" was deleted by "TS3-BOT"

<18:04:16> Channel "[Guild] Gods Of The Earth" was deleted by "TS3-BOT"

<18:04:17> Channel "[Guild] Demonios do fogo" was deleted by "TS3-BOT"

<18:04:17> Channel "CS" was deleted by "TS3-BOT"

<18:04:17> Channel "[Guild] Impact Alliance" was deleted by "TS3-BOT"

<18:04:17> Channel "[Guild] sepre nois" was deleted by "TS3-BOT"

<18:04:18> Channel "1" was deleted by "TS3-BOT"

<18:04:18> Channel "2" was deleted by "TS3-BOT"

<18:04:18> Channel "3" was deleted by "TS3-BOT"

<18:04:18> Channel "4" was deleted by "TS3-BOT"

<18:04:18> Channel "5" was deleted by "TS3-BOT"

<18:04:18> Channel "6" was deleted by "TS3-BOT"

<18:04:18> Channel "7" was deleted by "TS3-BOT"

<18:04:18> Channel "8" was deleted by "TS3-BOT"

<18:04:18> Channel "9" was deleted by "TS3-BOT"

<18:04:18> Channel "10" was deleted by "TS3-BOT"

<18:04:18> Channel "11" was deleted by "TS3-BOT"

<18:04:18> Channel "12" was deleted by "TS3-BOT"

<18:04:18> Channel "13" was deleted by "TS3-BOT"

<18:04:18> Channel "14" was deleted by "TS3-BOT"

<18:04:19> Channel "15" was deleted by "TS3-BOT"

<18:04:19> Channel "16" was deleted by "TS3-BOT"

<18:04:19> Channel "17" was deleted by "TS3-BOT"

<18:04:19> Channel "18" was deleted by "TS3-BOT"

<18:04:19> Channel "19" was deleted by "TS3-BOT"

<18:04:19> Channel "20" was deleted by "TS3-BOT"

<18:04:19> Channel "21" was deleted by "TS3-BOT"

<18:04:19> Channel "22" was deleted by "TS3-BOT"

<18:04:19> Channel "23" was deleted by "TS3-BOT"

<18:04:19> Channel "24" was deleted by "TS3-BOT"

<18:04:19> Channel "25" was deleted by "TS3-BOT"

<18:04:19> Channel "26" was deleted by "TS3-BOT"

<18:04:19> Channel "27" was deleted by "TS3-BOT"

<18:04:19> Channel "28" was deleted by "TS3-BOT"

<18:04:19> Channel "29" was deleted by "TS3-BOT"

<18:04:19> Channel "30" was deleted by "TS3-BOT"

<18:04:19> Channel "31" was deleted by "TS3-BOT"

<18:04:19> Channel "32" was deleted by "TS3-BOT"

<18:04:19> Channel "33" was deleted by "TS3-BOT"

<18:04:19> Channel "34" was deleted by "TS3-BOT"

<18:04:19> Channel "35" was deleted by "TS3-BOT"

<18:04:19> Channel "36" was deleted by "TS3-BOT"

<18:04:19> Channel "37" was deleted by "TS3-BOT"

<18:04:19> Channel "38" was deleted by "TS3-BOT"

<18:04:19> Channel "39" was deleted by "TS3-BOT"

<18:04:19> Channel "40" was deleted by "TS3-BOT"

<18:04:19> Channel "41" was deleted by "TS3-BOT"

<18:04:19> Channel "42" was deleted by "TS3-BOT"

<18:04:19> Channel "43" was deleted by "TS3-BOT"

<18:04:19> Channel "44" was deleted by "TS3-BOT"

<18:04:19> Channel "45" was deleted by "TS3-BOT"

<18:04:19> Channel "46" was deleted by "TS3-BOT"

<18:04:19> Channel "47" was deleted by "TS3-BOT"

<18:04:19> Channel "48" was deleted by "TS3-BOT"

<18:04:19> Channel "49" was deleted by "TS3-BOT"

<18:04:19> Channel "50" was deleted by "TS3-BOT"

<18:04:19> Channel "[Guild] Tuer Fagots" was deleted by "TS3-BOT"

<18:04:25> Channel "[Guild] BaNaNaS De PiJaMaS" was deleted by "TS3-BOT"

<18:04:25> Channel "AFK !" was deleted by "TS3-BOT"

<18:04:25> Channel "[Guild] Big Tits" was deleted by "TS3-BOT"

<18:04:25> Channel "[Guild] Ordo Ab Chaos" was deleted by "TS3-BOT"

<18:04:26> Channel "[Guild] Global" was deleted by "TS3-BOT"

<18:04:26> Channel "[Guild] MaximuS DiretoriA" was deleted by "TS3-BOT"

<18:04:26> Channel "[Guild] The End" was deleted by "TS3-BOT"

<18:04:26> Channel "[Guild] Old Team" was deleted by "TS3-BOT"

<18:04:26> Channel "[Guild] Vai Toma Durmindo" was deleted by "TS3-BOT"

<18:04:26> Channel "[Guild] Mass Log Team" was deleted by "TS3-BOT"

<18:04:27> Channel "Gui bolado" was deleted by "TS3-BOT"

<18:04:27> Channel "[Guild] Bomja Team" was deleted by "TS3-BOT"

<18:04:27> Channel "[Guild] BIG BROTHER" was deleted by "TS3-BOT"

<18:04:27> Channel "[Guild] Hezbollah" was deleted by "TS3-BOT"

<18:04:27> Channel "[Guild] Life Styller" was deleted by "TS3-BOT"

<18:04:27> Channel "[Guild] Vortex Society" was deleted by "TS3-BOT"

<18:04:28> Channel "[Guild] Favelados" was deleted by "TS3-BOT"

<18:04:28> Channel "[Guild] Therre Legion" was deleted by "TS3-BOT"

<18:04:28> Channel "[Guild] The Backyardigans" was deleted by "TS3-BOT"

<18:04:29> Channel "[Guild] Bastardosz Inglorios" was deleted by "TS3-BOT"

<18:04:30> Channel "[Guild] Ousadia e Alegria" was deleted by "TS3-BOT"

<18:04:30> Channel "[Guild] Ornament Sky" was deleted by "TS3-BOT"

Link to comment
Share on other sites

ordem alfabetica vai ficar meio chato faramir, os cara que crio sala com Z com com W e talz vai ficar lem baixo la mano, se voce conseguir deixar so as salas ativas no ts poderia por em ordem alfabetica ai seria massa

a questao eh facilitar encontrar a sala, se a sala começar com Z como vc mesmo disse vai estar la em baixo, vc inclusive ja sabe aonde vai estar ueh ... e as salas inativas serão removidas sim, mas preciso de um tempo pra capturar os dados de quais estao inativas
  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.