yugecin / tsstats

Bot for teamspeak3 to collect data for generating statistics
GNU General Public License v3.0
8 stars 4 forks source link

Teamspeak Viewer is empty #8

Closed Artapel closed 2 years ago

Artapel commented 7 years ago

Good day.

Do you perhaps have advice on why the last tab "Teamspeak Viewer" us empty. i only see one small icon and nothing else?

yugecin commented 7 years ago

check these ini settings: https://github.com/yugecin/tsstats/blob/master/tsstats.sample.ini#L42-L43

Artapel commented 7 years ago

mmm That is configured. This is what my line looks like

Location */htdocs/statistics/hteamspeak.txt

; dump info for the webbased viewer (see the tsstats-webviewer repo) enablesiteviewer: yes siteviewerfile: */htdocs/statistics/hteamspeak.txt

yugecin commented 7 years ago

the sample uses .hteamspeak.txt (notice the dot), and the webviewer will look for that file by default. So I think you need to either change it to .hteamspeak.txt (with a dot) or change the webviewer so it looks for a file without the dot.

Artapel commented 7 years ago

I see. One thing i noticed is that the file does not yet exists. Neither with or without the dot. Can you perhaps share when the file gets created? Every 5 minutes maybe? or where can i check the settings responsible for creating the file

yugecin commented 7 years ago

https://github.com/yugecin/tsstats/blob/master/src/viewer/ViewerUpdater.java#L91-L116 Check the file permissions if you're on a unix environment, perhaps check the log