Newcomer1989 / TSN-Ranksystem

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

does not give Level ranks for clients just for some #171

Closed Snoker87 closed 8 years ago

Snoker87 commented 8 years ago

calc_user 12:It happened a problem with the servergroup of the user there is a problem does not give Level ranks for clients just for some logs file

Newcomer1989 commented 8 years ago

Has the query user the needed ts3 permissions to assign/remove the group(s)? Also you should check the permissions for each group, which should be given by the Ranksystem.

Snoker87 commented 8 years ago

will give you link and username and password and see the setting i think it from site setting

Newcomer1989 commented 8 years ago

Ok, we can have a look, but not more today.. Please join tomorrow the ts3 server address: ts-n.net And contact me there.

Snoker87 commented 8 years ago

ok

Newcomer1989 commented 8 years ago

extract of the ranksystem.log

2016-11-08 21:10:16.562318   ERROR     update_groups 2:0: Error while getting servergrouplist: connection to server 'XXXX' lost
2016-11-08 21:10:16.562199   ERROR     update_groups 1:0: Error while getting servergrouplist: connection to server 'XXXX' lost
2016-11-08 21:10:16.561894   ERROR     get_avatars 1:0: Error while getting avatarlist: connection to server 'XXXX' lost
2016-11-08 21:10:16.557383   ERROR     calc_user 12:It happened a problem with the servergroup of the user 'ᅟᅟᅟᅟᅟᅟ  ᅟᅟᅟᅟᅟᅟ' (unique Client-ID: dSSz4JuPZSC1FKBmpW/QKYBgPgU=; Client-database-ID 650)!
2016-11-08 21:10:16.557202   ERROR     calc_user 10:It happened a problem with the servergroup of the user 'ᅟᅟᅟᅟᅟᅟ  ᅟᅟᅟᅟᅟᅟ' (unique Client-ID: dSSz4JuPZSC1FKBmpW/QKYBgPgU=; Client-database-ID 650)!
2016-11-08 21:10:16.557008   ERROR     calc_user 12:It happened a problem with the servergroup of the user 'ShoSho-\"' (unique Client-ID: Rp80y/X1e/W/vkbINmdvYE4G2zg=; Client-database-ID 488)!
2016-11-08 21:10:16.556860   ERROR     calc_user 10:It happened a problem with the servergroup of the user 'ShoSho-\"' (unique Client-ID: Rp80y/X1e/W/vkbINmdvYE4G2zg=; Client-database-ID 488)!
2016-11-08 21:10:16.556669   ERROR     calc_user 12:It happened a problem with the servergroup of the user 'maobaid' (unique Client-ID: Vdp+CRagEWJ75dNSPVs+QdHShHc=; Client-database-ID 551)!
2016-11-08 21:10:16.556538   ERROR     calc_user 10:It happened a problem with the servergroup of the user 'maobaid' (unique Client-ID: Vdp+CRagEWJ75dNSPVs+QdHShHc=; Client-database-ID 551)!
2016-11-08 21:10:16.556337   ERROR     calc_user 12:It happened a problem with the servergroup of the user 'Ahmed' (unique Client-ID: AIrDS0ME5+5Gra4NWPNRY+4jFlk=; Client-database-ID 693)!
2016-11-08 21:10:16.556207   ERROR     calc_user 10:It happened a problem with the servergroup of the user 'Ahmed' (unique Client-ID: AIrDS0ME5+5Gra4NWPNRY+4jFlk=; Client-database-ID 693)!
2016-11-08 21:10:16.555988   ERROR     calc_user 12:It happened a problem with the servergroup of the user '#                          Kiz' (unique Client-ID: AN4xI4MNKGTTZM71su8cZRCdEcA=; Client-database-ID 468)!
2016-11-08 21:10:16.555860   ERROR     calc_user 10:It happened a problem with the servergroup of the user '#                          Kiz' (unique Client-ID: AN4xI4MNKGTTZM71su8cZRCdEcA=; Client-database-ID 468)!
2016-11-08 21:10:16.555661   ERROR     calc_user 12:It happened a problem with the servergroup of the user 'Smekr ~' (unique Client-ID: o2cgas7VWdzGKAxriNImXAZaGME=; Client-database-ID 473)!
2016-11-08 21:10:16.555525   ERROR     calc_user 10:It happened a problem with the servergroup of the user 'Smekr ~' (unique Client-ID: o2cgas7VWdzGKAxriNImXAZaGME=; Client-database-ID 473)!
2016-11-08 21:10:16.555369   ERROR     calc_user 9:It happened a problem with the servergroup of the user 'Smekr ~' (unique Client-ID: o2cgas7VWdzGKAxriNImXAZaGME=; Client-database-ID 473)!
2016-11-08 21:10:16.555189   ERROR     calc_user 12:It happened a problem with the servergroup of the user '!                   ๓ןг๓_ςгคŦt' (unique Client-ID: WsEaWpxNOVZpbdu0FZRxWO0WkwI=; Client-database-ID 543)!
2016-11-08 21:10:16.555061   ERROR     calc_user 10:It happened a problem with the servergroup of the user '!                   ๓ןг๓_ςгคŦt' (unique Client-ID: WsEaWpxNOVZpbdu0FZRxWO0WkwI=; Client-database-ID 543)!
2016-11-08 21:10:16.554880   ERROR     calc_user 12:It happened a problem with the servergroup of the user 'mjod_gamer' (unique Client-ID: ett5QqKVaZYxNMSa1RAjnKh5zHA=; Client-database-ID 613)!
2016-11-08 21:10:16.554752   ERROR     calc_user 10:It happened a problem with the servergroup of the user 'mjod_gamer' (unique Client-ID: ett5QqKVaZYxNMSa1RAjnKh5zHA=; Client-database-ID 613)!
2016-11-08 21:10:16.554602   ERROR     calc_user 9:It happened a problem with the servergroup of the user 'mjod_gamer' (unique Client-ID: ett5QqKVaZYxNMSa1RAjnKh5zHA=; Client-database-ID 613)!
2016-11-08 21:10:16.554357   ERROR     calc_user 12:It happened a problem with the servergroup of the user 'شنقال' (unique Client-ID: 4pUKJJfp+tgQmGfQqKbh0HIVmp4=; Client-database-ID 474)!
2016-11-08 21:10:16.554228   ERROR     calc_user 10:It happened a problem with the servergroup of the user 'شنقال' (unique Client-ID: 4pUKJJfp+tgQmGfQqKbh0HIVmp4=; Client-database-ID 474)!
2016-11-08 21:10:16.554045   ERROR     calc_user 12:It happened a problem with the servergroup of the user 'اﺑﻧ سـﻟﯾﻣ̝̚' (unique Client-ID: SRw+NPLghiPYPhWbH+7q88xLqak=; Client-database-ID 459)!
2016-11-08 21:10:16.553912   ERROR     calc_user 10:It happened a problem with the servergroup of the user 'اﺑﻧ سـﻟﯾﻣ̝̚' (unique Client-ID: SRw+NPLghiPYPhWbH+7q88xLqak=; Client-database-ID 459)!
2016-11-08 21:10:16.553749   ERROR     calc_user 9:It happened a problem with the servergroup of the user 'اﺑﻧ سـﻟﯾﻣ̝̚' (unique Client-ID: SRw+NPLghiPYPhWbH+7q88xLqak=; Client-database-ID 459)!
2016-11-08 21:10:16.553437   ERROR     calc_user 12:It happened a problem with the servergroup of the user 'moath17' (unique Client-ID: TdP4siitlikRVJaR6V7hSldm+8s=; Client-database-ID 469)!
2016-11-08 21:10:16.552704   INFO      Grant servergroup 588 to user 'moath17' (unique Client-ID: TdP4siitlikRVJaR6V7hSldm+8s=; Client-database-ID 469).
2016-11-08 21:10:16.548411   INFO      تم حذف مجموعة السيرفر 593 من المستخدم 'moath17' (unique Client-ID: TdP4siitlikRVJaR6V7hSldm+8s=; Client-database-ID 469).
2016-11-08 21:10:16.539523   INFO      Grant servergroup 588 to user '\"#B0SMRh .~' (unique Client-ID: PRxuDS3PY5pPit/VOKoYPUxmlwA=; Client-database-ID 657).
2016-11-08 21:10:16.535295   INFO      تم حذف مجموعة السيرفر 593 من المستخدم '\"#B0SMRh .~' (unique Client-ID: PRxuDS3PY5pPit/VOKoYPUxmlwA=; Client-database-ID 657).
Newcomer1989 commented 8 years ago

First time the Ranksystem gives the ranks.. Then it stops with an error. After a view tries, it lost the connection. This should be a problem, that you got banned from the ts3 server.

To solve the problem whiteliste the ip address of your webserver inside the query_ip_whitelist.txt on your ts3 server.

I saw, the webserver and the teamspeak server are in your case on same machine. Then it is the best idea to connect the script via "127.0.0.1" instead of the domain. The localhost is automatically whitelisted for your ts3 server and it is more stable instead of routing your traffic outside the server and get it back on the same one...