Newcomer1989 / TSN-Ranksystem

A PHP Bot that assigns time based server groups on TeamSpeak3.
https://ts-ranksystem.com
GNU General Public License v3.0
145 stars 60 forks source link

Problem update_groups 6: - Download GroupIcons continuously #65

Closed majussiani closed 8 years ago

majussiani commented 8 years ago

Server statistics not update

http://pastebin.com/wU02S08V

Shad86 commented 8 years ago

Hello @par4na i also saw that on a other thread and as i also said there its only a thought but it looks like the database is corrupt but im not that sure about it.

So well you can try a fresh install or just wait for an answer from @Newcomer1989

regards

Shad86

majussiani commented 8 years ago

Hi @Shad86 , my datebae is new, I had to reset my teamspeak to put this rank because of the same problem. At first the rank was working, after the additions of new servergrups rank began to give problems.

Newcomer1989 commented 8 years ago

It seems to be a problem with the servergroup Puniçao "Use Push to Talk"

Can you let me know, how it is exactly written in your TeamSpeak? Its this? Puniçao "Use Push to Talk"

It would be nice, if you let me know your TeamSpeak Connection data, that I can look for it directly on your TeamSpeak.

majussiani commented 8 years ago

I deleted the servergroups with ----------**---------- and Puniçao "Use Push to Talk", and I am having the same problem

http://pastebin.com/X43fBwc1

majussiani commented 8 years ago

Resolved: The rank can not download all the servergrups at once, I was added gradually and now works.

2016-07-10 14:51:01.488952 INFO Initialize Bot... 2016-07-10 14:51:01.493137 INFO Check Ranksystem database for updates. 2016-07-10 14:51:01.493249 INFO No newer version detected; Database check finished. 2016-07-10 14:51:01.493361 INFO Ranksystem Version: 1.0.2 2016-07-10 14:51:01.493417 INFO Connect to TS3 Server (Address: "teamspeak.clanputos.com" Voice-Port: "9999" Query-Port: "10011"). 2016-07-10 14:51:01.662909 INFO Conenction to TS3 Server established. 2016-07-10 14:51:01.673687 NOTICE No channel defined where the Ranksystem should be entered. 2016-07-10 14:51:01.673824 INFO Bot starts now his work!

Newcomer1989 commented 8 years ago

I was added gradually and now works.

How you did that exactly? You deleted all other servergroups and recreated it gradually?

majussiani commented 8 years ago

Nope.

I did the backup server, and deleted 80% the serverus groups, I turn on the teamspeak, and called the rank, waited 10 minutes to see if I will not give error.

I deleted the teamspeak and restored the backup, and deleted 60% the serverus groups, I turn on the teamspeak, and called the rank, waited 10 minutes to see if I will not give error.

I deleted the teamspeak and restored the backup, and deleted 40% the serverus groups, I turn on the teamspeak, and called the rank, waited 10 minutes to see if I will not give error.

I deleted the teamspeak and restored the backup, and deleted 40% the serverus groups, I turn on the teamspeak, and called the rank, waited 10 minutes to see if I will not give error.

I do not deleted server groups from my server, I just did it gradually loading the new groups

"sorry I do not speak English and it is difficult to express"

Newcomer1989 commented 8 years ago

Ok, I am really confused.

I will try to test it with much servergroups. If I can reproduce the problem, I will change the insert to smaller steps.

Thx for your information!

majussiani commented 8 years ago

Thanks you for making this wondrous script.

My Staff is working on the translation to Portuguese

look http://imgur.com/a/ctDZS

Newcomer1989 commented 8 years ago

A translation to portuguese would be really nice.

Here an actual language file as base. http://pastebin.com/0FyBjpee

I tried this problem on a server with ~ 150 servergroups (most with an icon). But I can't reproduce this with acutal dev version. So I hope, this will be fixed, cause I already changed the way to escape characters inside the servergroup name.

Newcomer1989 commented 8 years ago

Back to topic.. The problem should be solved with 1.1.0. It happened with servergroups without an icon or especially when the server has no servericon set.

Newcomer1989 commented 8 years ago

Release 1.1.0 is out. Problem should be solved with this.

Jo0Lz commented 8 years ago

I am having this exact same issue. Keeps downloading the ServerGroupIcon, and it keeps running into the same error.

http://pastebin.com/n3R21XTu

I am already running 1.1.0