GithubHelp home page GithubHelp logo

newcomer1989 / tsn-ranksystem Goto Github PK

View Code? Open in Web Editor NEW
142.0 18.0 61.0 7.97 MB

A PHP Bot that assigns time based server groups on TeamSpeak3.

Home Page: https://ts-ranksystem.com

License: GNU General Public License v3.0

PHP 97.76% Smarty 0.13% CSS 1.84% JavaScript 0.27%
teamspeak bot serverquery php ranking auto-assign servergroups levels ranks

tsn-ranksystem's People

Contributors

arci224 avatar bykidi avatar caseyjhol avatar christian1998 avatar durek avatar jvmerkle avatar newcomer1989 avatar nickslowinski avatar r4sas avatar shad86 avatar stetinac avatar toster234 avatar xopez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tsn-ranksystem's Issues

Spam - Log / ServerIcon download

Hello,

I just upgraded to the new 1.00 version, and now every icon on the new "top list" is a cracked image not found icon, (you know what i mean). And the teamspeak has this in the log:

file download from (id:0), '/icon_1396826995' by client 'rank'(id:1)
file download from (id:0), '/icon_1396826995' by client 'rank'(id:1)
file download from (id:0), '/icon_1396826995' by client 'rank'(id:1)
file download from (id:0), '/icon_1396826995' by client 'rank'(id:1)
file download from (id:0), '/icon_1396826995' by client 'rank'(id:1)
file download from (id:0), '/icon_1396826995' by client 'rank'(id:1)
file download from (id:0), '/icon_1396826995' by client 'rank'(id:1)
file download from (id:0), '/icon_1396826995' by client 'rank'(id:1)
file download from (id:0), '/icon_1396826995' by client 'rank'(id:1)
file download from (id:0), '/icon_1396826995' by client 'rank'(id:1)
file download from (id:0), '/icon_1396826995' by client 'rank'(id:1)
file download from (id:0), '/icon_1396826995' by client 'rank'(id:1)
file download from (id:0), '/icon_1396826995' by client 'rank'(id:1)

Cronjob - Which time should I use?

Hello,

In the cronjob specified on the installation page of the ranksystem, it is set to 10 minute when what I think you want is actually 1 minute.

Thanks

Not connecting to the TeamSpeak 3 server

Hi,

the page says "NOT CONNECTED TO TS3" and indeed it's not connected, but I double checked and the TeamSpeak 3 setting are OK, serveradmin, password, etc... What it could be?

How to start the Ranksystem / worker.php start

worker.php not starting
Code:

root@gamestar-clan:~# /var/www/ranksystem/worker.php start
/var/www/ranksystem/worker.php: line 1: ?php: No such file or directory
/var/www/ranksystem/worker.php: line 2: syntax error near unexpected token `__DIR__.'/other/config.php''
/var/www/ranksystem/worker.php: line 2: `require_once(__DIR__.'/other/config.php');'

Online Zeit wird genommen statt die Aktive Zeit

Hey ;)
Ich hab folgendes Problem mit dem Ranksystem, und zwar wird die Idle Time hergenommen statt
der Aktiven Zeit.

PHP ist auf neuester Version
MySQL wäre dass einzigste Problem, läuft auf einer free datenbank
Worker VBS wird alle 5 Minuten auf dem V-Server Ausgeführt

Ich weiss nicht wirklich woran dass Liegen könnte bis auf dass mit der MySQL Datenbank...
Ja ich hab auch den Regler aktiviert bei Idle Time dass die abgezogen wird.
Ich hoffe du könntest mich eventuell mal im Teamspeak besuchen (GambarojaLP)
IP: ts.gamer-verein.de

Danke! 💯

Script opened about webURL (ranksystem/worker.php) doesn't work

I hope and think you are german , if not i will translate my problem :)

Also ich habe diesen Bot/Script (wie auch immer) auf dem webspace von Nitrado installiert.
Ich hatte den bot bereits letztes jahr verwendet und es hat alles wunderbar geklappt.
Es ist ja eigentlich auch gar nicht so schwer das ganze.
Ich habe den kompletten Ordner in das Hauptverzeichnis gezogen. Und dem Ordner + allen Dateien die untergeordnet sind die Dateienberechtigung 777 gegeben (mit Filezilla).
habe die TS ip etc eingetragen und gesaved , dann müsste ja eigentlich der Bot test- connecten auf dem ts, aber beim saven kommt die meldung "Warning: exec() has been disabled for security reasons in /var/customers/webs/ni385349_2/ranksystem/webinterface.php on line 105" dort ist die Zeile mit worker.php restart.
und wenn ich worker.php mit dem browser aufrufe connectet nix auf meinem ts und es öffnet sich eine seite ohne hintergrund etc. und da steht "Usage: php worker.php {start|stop|restart|check|status} * start [start Ranksystem Bot] * stop [stop Ranksystem Bot] * restart [restart Ranksystem Bot] * check [check Ranksystem Bot is running; if not, start it; no output if all is ok] * status [output status Ranksystem Bot]"
Und auch keine Log Dateien entstehen.
Ich denke es ist detailliert genug :)
Vielen dank im vorraus :)

Installation database error 111 SQL connection failed

Hello
I try to install the ranksystem on my Debian 8 vserver.
Now i have one problem when i try to install the database withe the insatll.php then come this Erro:

Database error: SQL Connection failed: SQLSTATE[HY000] [2003] Can't connect to MySQL server on 'My server Addres' (111)

I hope someone can help me.

Top User of Week/Month/All - Servergroup Exception ignored

Hello!

First of all: Thank you for this awesome tool! I will donate some $$$ soon ;)

My Problem: In Top User of Week/Month/All time there are only my Musicbots listed, because they are playing music for 24/7. Can i delimit it somehow that Users with Servergroup ID 11 wont be in this ranking?

Thanks for your response =)

Doesn't start

When i start it using php worker.php start it says
Starting the Ranksystem Bot. [OK]

but when i use php worker.php status it says
The Ranksystem does not seem to run.

Stats page wont open

Hello. I'm getting this error when I open ranksystem/stats/ and that page wont open

2016/05/17 15:21:19 [error] 2308#0: *40809 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to a member function fetchAll() on a non-object in /www/ranksystem/other/session.php on line 1" while reading response header from upstream, client: 91.99.161.74, server: test.com, request: "GET /ranksystem/stats/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "test.com"

Reaching max level keep adding max level

Hello,

Using this rank system since a long time, its really amazing, can't wait for the next version, however the first user was just reached the max level on my server and just noticed that user keep getting the lv 100 rank removed and added each time the cron job runs. Just fixed it with a temporary 31 million year rank, that user never can reach, but then in the list_rankup the "max rank reached" gone.

Any quick fix for this?

How to hide the logfile from the webspace?

Hey
folgendes Problem
bei den Top Usern ist auf dem 2. platz jemand der nur 2 sec da war und wieder gegangen ist.
ich bin seit stunden drinne bin auf dem letzten und auf dem ersten ist ein etwas neuerer.
er hat 100%
der rest alle 0
wie wird der top user ermittelt?

und ich würde gerne den anderen ermöglichen in ihre eigenen stats zu sehen etc, aber dann sehen die ja den kompletten datei-pfad sehen und dann in den hauptordner gehen und in die logs etc schauen. kann man da etwas gegen machen? oder brauch ich mir da kein sorgen machen ?

Multiple Instances running at same time

After a little bit that the Query is connected to the TS, it disconnect automatically and the function check doesn't work. When i try to start it with php worker.php start it say that it's already running.
php worker.php status The Ranksystem seems to be running. (but it doesn't work on ts, there is no query)
For make it work I must restart it.
and when i restart it say:
php worker.php restart Stopping the Ranksystem Bot. Wait until Bot is down...... [Failed] Starting the Ranksystem Bot. [OK]
Common problem?
Thanks
Zank

Improve Rank Listing

Hi,

Please add an option to choose what to display on the all time/weekly/monthly sites and the List Rankup (active time, inactive time, etc)

Also, the "Rank Number" should be calculated based on the choosen value.

greets

Idea for icons

Hello,
Can you disable the download of icons if the group is temporary ?

Old Level gets removed, new Level failed

The Level 1 is given to everybody who talked the time but when he should get level 2 he dont get the 2. Level but the system removes level 1.

So short in better english ...

The Script counts the time ----> Level 1 ..... counting ...... Time for level 2 is done....... Removing level 1
BUT dont give the user level 2

I hope you understand me... SORRy i am german...

Installation database error 111 SQL connection failed

Hey
I have a problem! When i try to install the database withe the install.php . I fill all the things in (name; PW etc.) than kome this error:
Datenbank-Fehler: SQL Connection failed: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '213.136.94.122' (111)

I hope someone can help me

Write Permissions failed on folder - but still set

Initialize Bot... [done]
2016-05-03 17:20:02.092353 Check Database for updates... [done]
2016-05-03 17:20:02.092711 Write Permissions failed on folder "icons". Please give them a chmod 777 and try to start the Ranksystem again.
2016-05-03 17:20:02.095713 Write Permissions failed on folder "logs". Please give them a chmod 777 and try to start the Ranksystem again.
2016-05-03 17:20:02.095893 Write Permissions failed on folder "avatars". Please give them a chmod 777 and try to start the Ranksystem again.

The Folder and all its files got the 0777 Rights

Rank Groups

Please add a function to choose which data should be used for the server groups.

example: Display the current rank as server group (rank1 -> Group ID 6, rank2 -> Group ID 7, etc)

problem with stats/index.php

It's look like all work correctly, but when I try open stats/index.php then browser show me error 500 and in my http server error log file I found PHP Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /var/www/ranksystem/stats/index.php on line 253

Error 40001 Deadlock; restarting transaction

2016-04-29 23:05:53.293405 calc_serverstats 14:Array
(
[0] => 40001
[1] => 1213
[2] => Deadlock found when trying to get lock; try restarting transaction
)
1
Array
(
[0] => 40001
[1] => 1213
[2] => Deadlock found when trying to get lock; try restarting transaction
)

This is new, what is this meaning?

Problem mit der Installation

Wenn ich das installieren möchte, kommen diese Fehler

Installiere Datenbank:
Fehler beim Erstellen der Datenbank: 42000

Installiere Tabellen:
Fehler beim Erstellen der Tabelle: 42000.
Fehler beim Erstellen der Tabelle: 42000.Fehler beim Erstellen der Tabelle: 42000.Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@Ranksystem.cleanclients (timestamp bigint(11) NOT NULL default '0')' at line 1 ) Fehler beim Erstellen der Tabelle: 1.Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@Ranksystem.cleanclients SET timestamp='1'' at line 1 ) Fehler beim Erstellen der Tabelle: 1.Fehler beim Erstellen der Tabelle: 42000.
Fehler beim Erstellen der Tabelle: 42000.Fehler beim Erstellen der Tabelle: 42000.
Fehler beim Erstellen der Tabelle: 42000.
Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@Ranksystem.user_snapshot (timestamp)' at line 1 ) Fehler beim Erstellen der Tabelle: 1.Fehler beim Erstellen der Tabelle: 42000.
Fehler beim Erstellen der Tabelle: 42000.
Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@Ranksystem.stats_server SET total_user='9999'' at line 1 ) Fehler beim Erstellen der Tabelle: 1.Fehler beim Erstellen der Tabelle: 42000.
Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@Ranksystem.job_check (job_name) VALUES ('calc_user_limit'),('calc_user_lastscan' at line 1 ) Fehler beim Erstellen der Tabelle: 1.Fehler beim Erstellen der Tabelle: 42000.

Bitte um Hilfe

Log-Error SQL syntax - Client Description

This is for 1000 Lines...

1
Array
(
[0] => 42000
[1] => 1064
[2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Admin'),('lxJcDv06LYSV5uFLrsaQqemFrdE=', '0', '17863', '17863', '0', '0', '6', '' at line 1
)

PATH_TRANSLATED error

Hello

Im getting many errors from this:
PHP Notice: Undefined index: PATH_TRANSLATED in worker.php on line 452
in the error_log file, how can it be fixxed?

Bot Lost Connection

I've got a problem with the teamspeak bot. it lost his connection immediatly. If I set it on Highdelay It loose it after 9 seconds. The ranksystem script and the server teamspeak are in the same server, is that a problem?

Boost - removed all user out of servergroup

So i found out that if i create some group with boost and then i assign for like 5 people 10 hour boost that will increase the gain with 10, like:

282=>2=>3600,284=>3=>3600,285=>5=>3600,286=>7=>3600,287=>10=>3600,289=>10=>86400

So if i give group 289 for like 5 people at different time, eg: i give for one at 1:00PM and then the rest get the boost at 7:00PM

Well the boost works but, when the first one who got boost, get to the end of its 24H everyone get the boost removed. But the other 4 guy should still have it for 6 more hours. Is this a bug? Or i only need to apply the boost group on 1 people eg: myself and then everyone will level with boost?

Problem : stats/index.php

Hey :p
All system works properly, but ...

When I try to connect to /stats/index.php
I receive this error : http://prntscr.com/b6pcin

I tried to run this file using command-line and receive :
PHP Notice: Undefined index: REMOTE_ADDR in xxx/stats/index.php on line 1
PHP Notice: Undefined index: HTTP_HOST in xxx/stats/index.php on line 1
PHP Notice: Undefined index: HTTP_HOST in xxx/stats/index.php on line 1
PHP Notice: Undefined index: HTTP_HOST in xxx/stats/index.php on line 1

In Issue #16 you said that is fixed on release 1.0.1, but I'm using this version and still with this problem.

Some solution ?

phpinfo : ts3.traitors.com.br/info.php

Thx man 💛

MyStats - progress bar - Missed percentage

Hallo,

ich vermute du sprichst / schreibst auch deutsch? :)

Bei mir habe ich einen Fehler bei "Meine Statistiken" in der Errungenschafts anzeige. (Auch andere User schilderten dies.)

Bei "Zeit:" wird nur "% errreicht für Legendary" angezeigt. (im übrigen sehe ich auch gerade das da sogar noch ein Rechtschreibfehler drinn its -> "errreicht" :)

http://puu.sh/op9pc/50b6b67c59.png

Bei "Verbinungen:" wird es richtig angezeigt

Sehe ich es im übrigen richtig das ich diese beiden Errungenschaften derzeit nur in der my_stats.php bearbeiten kann? Also um die Zeit und/oder verbindungsanzahl zu erhöhen.

Wird das Webinterface (webinterface.php) eigentlich auch noch an das bootstrap design angepasst, ich persönlich fände es eben schön wenn alles einheitlich gleich wirkt.

Ansonsten Top update, gefällt mir echt gut!

Where to edit the rankup Msg to User?

Hallo, ich habe mir vor kurzem das ranksystem geholt und habe es eingestellt und es hat alles funktioniert Und jetzt habe ich gesehen das ich nirgendwo die Nachricht einstellen kann wen man ein rankup bekommt. Ich hoffe ihr könnt mir helfen .

MFG ReacTElekTRiXx

Logspam

Any way to stop this?

2016-03-23 09:35:16.786520|INFO    |VirtualServer |1  |query client connected 'serveradmin from (removed):25874'(id:1)
2016-03-23 09:35:16.822474|INFO    |VirtualServer |1  |query client connected 'serveradmin from (removed):25879'(id:1)
2016-03-23 09:35:17.485680|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_3067554346' by client '(removed) BOT'(id:1)
2016-03-23 09:35:17.510585|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_3067554346' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:17.619818|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_842810963' by client '(removed) BOT'(id:1)
2016-03-23 09:35:17.644121|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_842810963' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:17.752515|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_3149717810' by client '(removed) BOT'(id:1)
2016-03-23 09:35:17.776954|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_3149717810' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:18.010654|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_1730836226' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:18.025884|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_1730836226' by client '(removed) BOT'(id:1)
2016-03-23 09:35:18.258743|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_2057342049' by client '(removed) BOT'(id:1)
2016-03-23 09:35:18.263472|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_2057342049' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:18.496803|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_1332644401' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:18.512168|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_1332644401' by client '(removed) BOT'(id:1)
2016-03-23 09:35:18.745369|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_4041273693' by client '(removed) BOT'(id:1)
2016-03-23 09:35:18.751818|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_4041273693' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:18.984659|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_2404834277' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:18.999127|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_2404834277' by client '(removed) BOT'(id:1)
2016-03-23 09:35:19.232197|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_1356566047' by client '(removed) BOT'(id:1)
2016-03-23 09:35:19.237848|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_1356566047' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:19.470461|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_2712452878' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:19.485269|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_2712452878' by client '(removed) BOT'(id:1)
2016-03-23 09:35:19.717800|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_107065407' by client '(removed) BOT'(id:1)
2016-03-23 09:35:19.724019|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_107065407' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:19.956904|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_221636005' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:19.971237|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_221636005' by client '(removed) BOT'(id:1)
2016-03-23 09:35:20.204373|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_2873054194' by client '(removed) BOT'(id:1)
2016-03-23 09:35:20.209432|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_2873054194' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:20.309266|INFO    |VirtualServerBase|1  |client connected '(removed)'((removed)) from (removed):50904
2016-03-23 09:35:20.447905|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_274229453' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:20.457167|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_274229453' by client '(removed) BOT'(id:1)
2016-03-23 09:35:20.689870|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_20049074' by client '(removed) BOT'(id:1)
2016-03-23 09:35:20.700413|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_20049074' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:20.933032|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_3410741069' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:20.942500|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_3410741069' by client '(removed) BOT'(id:1)
2016-03-23 09:35:21.175504|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_554494284' by client '(removed) BOT'(id:1)
2016-03-23 09:35:21.185522|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_554494284' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:21.419286|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_4202597190' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:21.428787|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_4202597190' by client '(removed) BOT'(id:1)
2016-03-23 09:35:21.662130|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_2910784082' by client '(removed) BOT'(id:1)
2016-03-23 09:35:21.678592|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_2910784082' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:21.911309|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_3251729954' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:21.915101|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_3251729954' by client '(removed) BOT'(id:1)
2016-03-23 09:35:22.148369|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_2053162589' by client '(removed) BOT'(id:1)
2016-03-23 09:35:22.164964|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_2053162589' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:22.318364|INFO    |VirtualServerBase|1  |client connected '(removed)'(id:(removed)) from (removed):55339
2016-03-23 09:35:22.399611|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_2846397331' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:22.401965|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_2846397331' by client '(removed) BOT'(id:1)
2016-03-23 09:35:22.634016|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_3911207202' by client '(removed) BOT'(id:1)
2016-03-23 09:35:22.652798|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_3911207202' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:22.886111|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_1145480565' by client '(removed) Rank BOT #1'(id:1)
2016-03-23 09:35:22.887038|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_1145480565' by client '(removed) BOT'(id:1)
2016-03-23 09:35:23.119751|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_647349438' by client '(removed) BOT'(id:1)
2016-03-23 09:35:23.139102|INFO    |VirtualServerBase|1  |file download from (id:0), '/icon_647349438' by client '(removed) Rank BOT #1'(id:1)

Database hacked allegedly about the Ranksystem

Because of this script i got my database hacked and my website wiped out, if it wasn't the owner of the script sure he has a backdoor build in ;)

And I got data center confirmation that was this script that originated the hack...

HY000 error due saving the user for the webinterface

Hallo,
nachdem ich die Datenbank Daten eingegeben habe, und er die Tabellen alle erstellt hat, soll ich mir ja einen Account erstellen. Daraufhin gebe ich die Daten bzw irgendeinen Login ein und drücke auf den Submit button. Daraufhin erhalte ich eine Komplett weiße Seite mit folgendem Text:
"HY000"
Hast du einen Rat?
Ich benutze einen Mysql Server 5.7, was vielleicht der Grund ist

stats/index.php Undefined index: REMOTE_ADDR

Hi.
I'm getting this error when I open /stats/ and that page wont open.

PHP Notice:  Undefined index: REMOTE_ADDR in /home/nimagame/www/ranksystem/stats/index.php on line 17
PHP Fatal error:  Call to a member function fetchAll() on a non-object in /home/nimagame/www/ranksystem/other/session.php on line 1

or list_rankup.php

PHP Notice:  Undefined index: REMOTE_ADDR in /home/nimagame/www/ranksystem/stats/list_rankup.php on line 9
PHP Fatal error:  Call to a member function fetchAll() on a non-object in /home/nimagame/www/ranksystem/other/session.php on line 1

Please help me.
Thank you.

Log File spam - ServerIcon

The logfile gets "spammed" almost every second by these command:

2016-04-23 15:14:00.862309 Download new ServerIcon
2016-04-23 15:14:01.720206 Download new ServerIcon
2016-04-23 15:14:02.557259 Download new ServerIcon
2016-04-23 15:14:03.397654 Download new ServerIcon
2016-04-23 15:14:04.223619 Download new ServerIcon
2016-04-23 15:14:05.044211 Download new ServerIcon
2016-04-23 15:14:05.880632 Download new ServerIcon
2016-04-23 15:14:06.722082 Download new ServerIcon
2016-04-23 15:14:07.548907 Download new ServerIcon
2016-04-23 15:14:08.342070 Download new ServerIcon
2016-04-23 15:14:09.268191 Download new ServerIcon
2016-04-23 15:14:10.124964 Download new ServerIcon
2016-04-23 15:14:10.960331 Download new ServerIcon
2016-04-23 15:14:11.758424 Download new ServerIcon
2016-04-23 15:14:12.687856 Download new ServerIcon
2016-04-23 15:14:13.547225 Download new ServerIcon
2016-04-23 15:14:14.406318 Download new ServerIcon
2016-04-23 15:14:15.214917 Download new ServerIcon
2016-04-23 15:14:16.069845 Download new ServerIcon
2016-04-23 15:14:16.956587 Download new ServerIcon
2016-04-23 15:14:17.807316 Download new ServerIcon
2016-04-23 15:14:18.637484 Download new ServerIcon
2016-04-23 15:14:19.492146 Download new ServerIcon
2016-04-23 15:14:20.374431 Download new ServerIcon
2016-04-23 15:14:21.227409 Download new ServerIcon
2016-04-23 15:14:22.021882 Download new ServerIcon
2016-04-23 15:14:22.969579 Download new ServerIcon
2016-04-23 15:14:23.790126 Download new ServerIcon
2016-04-23 15:14:24.638161 Download new ServerIcon
2016-04-23 15:14:25.448923 Download new ServerIcon
2016-04-23 15:14:26.322852 Download new ServerIcon
2016-04-23 15:14:27.191386 Download new ServerIcon
2016-04-23 15:14:28.021607 Download new ServerIcon
2016-04-23 15:14:28.820680 Download new ServerIcon
2016-04-23 15:14:29.706878 Download new ServerIcon
2016-04-23 15:14:30.540143 Download new ServerIcon
2016-04-23 15:14:31.390319 Download new ServerIcon
2016-04-23 15:14:32.203687 Download new ServerIcon
2016-04-23 15:14:33.044921 Download new ServerIcon
2016-04-23 15:14:33.892506 Download new ServerIcon
2016-04-23 15:14:34.736089 Download new ServerIcon
2016-04-23 15:14:35.538759 Download new ServerIcon
2016-04-23 15:14:36.380889 Download new ServerIcon
2016-04-23 15:14:37.254190 Download new ServerIcon
2016-04-23 15:14:38.098304 Download new ServerIcon
2016-04-23 15:14:38.914444 Download new ServerIcon
2016-04-23 15:14:39.763856 Download new ServerIcon
2016-04-23 15:14:40.624396 Download new ServerIcon
2016-04-23 15:14:41.483137 Download new ServerIcon
2016-04-23 15:14:42.314926 Download new ServerIcon
2016-04-23 15:14:43.166099 Download new ServerIcon
2016-04-23 15:14:44.021707 Download new ServerIcon
2016-04-23 15:14:44.848719 Download new ServerIcon
2016-04-23 15:14:45.653876 Download new ServerIcon
2016-04-23 15:14:46.507910 Download new ServerIcon
2016-04-23 15:14:47.390163 Download new ServerIcon
2016-04-23 15:14:48.224376 Download new ServerIcon
2016-04-23 15:14:49.024821 Download new ServerIcon
2016-04-23 15:14:49.979881 Download new ServerIcon
2016-04-23 15:14:50.829331 Download new ServerIcon
2016-04-23 15:14:51.698654 Download new ServerIcon
2016-04-23 15:14:52.505765 Download new ServerIcon
2016-04-23 15:14:53.350694 Download new ServerIcon
2016-04-23 15:14:54.195328 Download new ServerIcon
2016-04-23 15:14:55.052726 Download new ServerIcon
2016-04-23 15:14:55.871579 Download new ServerIcon
2016-04-23 15:14:56.731643 Download new ServerIcon
2016-04-23 15:14:57.588093 Download new ServerIcon
2016-04-23 15:14:58.450098 Download new ServerIcon
2016-04-23 15:14:59.262446 Download new ServerIcon
2016-04-23 15:15:00.110884 Download new ServerIcon
2016-04-23 15:15:00.946310 Download new ServerIcon
2016-04-23 15:15:02.113256 Download new ServerIcon
2016-04-23 15:15:02.862839 Download new ServerIcon
2016-04-23 15:15:03.717455 Download new ServerIcon
2016-04-23 15:15:04.555382 Download new ServerIcon
2016-04-23 15:15:05.405525 Download new ServerIcon
2016-04-23 15:15:06.206360 Download new ServerIcon
2016-04-23 15:15:07.142470 Download new ServerIcon
2016-04-23 15:15:07.980251 Download new ServerIcon
2016-04-23 15:15:08.815794 Download new ServerIcon
2016-04-23 15:15:09.600747 Download new ServerIcon
2016-04-23 15:15:10.547667 Download new ServerIcon
2016-04-23 15:15:11.411070 Download new ServerIcon
2016-04-23 15:15:12.281108 Download new ServerIcon
2016-04-23 15:15:13.091630 Download new ServerIcon
2016-04-23 15:15:13.924474 Download new ServerIcon
2016-04-23 15:15:14.768005 Download new ServerIcon
2016-04-23 15:15:15.609691 Download new ServerIcon
2016-04-23 15:15:16.426636 Download new ServerIcon
2016-04-23 15:15:17.265023 Download new ServerIcon
2016-04-23 15:15:18.110345 Download new ServerIcon
2016-04-23 15:15:18.961564 Download new ServerIcon
2016-04-23 15:15:19.783180 Download new ServerIcon
2016-04-23 15:15:20.644122 Download new ServerIcon
2016-04-23 15:15:21.514733 Download new ServerIcon
2016-04-23 15:15:22.357062 Download new ServerIcon
2016-04-23 15:15:23.163111 Download new ServerIcon
2016-04-23 15:15:24.009331 Download new ServerIcon
2016-04-23 15:15:24.867112 Download new ServerIcon
2016-04-23 15:15:25.709797 Download new ServerIcon
2016-04-23 15:15:26.508429 Download new ServerIcon
2016-04-23 15:15:27.348724 Download new ServerIcon
2016-04-23 15:15:28.187486 Download new ServerIcon
2016-04-23 15:15:29.030704 Download new ServerIcon
2016-04-23 15:15:29.834102 Download new ServerIcon
2016-04-23 15:15:30.706320 Download new ServerIcon
2016-04-23 15:15:31.568145 Download new ServerIcon
2016-04-23 15:15:32.419634 Download new ServerIcon
2016-04-23 15:15:33.227351 Download new ServerIcon
2016-04-23 15:15:34.085191 Download new ServerIcon
2016-04-23 15:15:34.945379 Download new ServerIcon
2016-04-23 15:15:35.830185 Download new ServerIcon
2016-04-23 15:15:36.622862 Download new ServerIcon
2016-04-23 15:15:37.567929 Download new ServerIcon
2016-04-23 15:15:38.426990 Download new ServerIcon
2016-04-23 15:15:39.258358 Download new ServerIcon
2016-04-23 15:15:40.063514 Download new ServerIcon
2016-04-23 15:15:40.911214 Download new ServerIcon
2016-04-23 15:15:41.758099 Download new ServerIcon
2016-04-23 15:15:42.606248 Download new ServerIcon
2016-04-23 15:15:43.411375 Download new ServerIcon
2016-04-23 15:15:44.266411 Download new ServerIcon
2016-04-23 15:15:45.107944 Download new ServerIcon
2016-04-23 15:15:45.943123 Download new ServerIcon
2016-04-23 15:15:46.751091 Download new ServerIcon
2016-04-23 15:15:47.594902 Download new ServerIcon
2016-04-23 15:15:48.432155 Download new ServerIcon
2016-04-23 15:15:49.257726 Download new ServerIcon
2016-04-23 15:15:50.058176 Download new ServerIcon
2016-04-23 15:15:51.009621 Download new ServerIcon
2016-04-23 15:15:51.879968 Download new ServerIcon
2016-04-23 15:15:52.731383 Download new ServerIcon
2016-04-23 15:15:53.537268 Download new ServerIcon
2016-04-23 15:15:54.389352 Download new ServerIcon
2016-04-23 15:15:55.242130 Download new ServerIcon
2016-04-23 15:15:56.093879 Download new ServerIcon
2016-04-23 15:15:56.899199 Download new ServerIcon
2016-04-23 15:15:57.732471 Download new ServerIcon
2016-04-23 15:15:58.575748 Download new ServerIcon
2016-04-23 15:15:59.443156 Download new ServerIcon
2016-04-23 15:16:00.239606 Download new ServerIcon
2016-04-23 15:16:01.192657 Download new ServerIcon
2016-04-23 15:16:02.142699 Download new ServerIcon
2016-04-23 15:16:02.913801 Download new ServerIcon
2016-04-23 15:16:03.701154 Download new ServerIcon
2016-04-23 15:16:04.633626 Download new ServerIcon
2016-04-23 15:16:05.492531 Download new ServerIcon
2016-04-23 15:16:06.344447 Download new ServerIcon
2016-04-23 15:16:07.148889 Download new ServerIcon
2016-04-23 15:16:08.107230 Download new ServerIcon
2016-04-23 15:16:08.974403 Download new ServerIcon
2016-04-23 15:16:09.814317 Download new ServerIcon
2016-04-23 15:16:10.628054 Download new ServerIcon
2016-04-23 15:16:11.495782 Download new ServerIcon
2016-04-23 15:16:12.345714 Download new ServerIcon
2016-04-23 15:16:13.208049 Download new ServerIcon
2016-04-23 15:16:14.026577 Download new ServerIcon
2016-04-23 15:16:14.886706 Download new ServerIcon
2016-04-23 15:16:15.728850 Download new ServerIcon
2016-04-23 15:16:16.578715 Download new ServerIcon
2016-04-23 15:16:17.384255 Download new ServerIcon
2016-04-23 15:16:18.243670 Download new ServerIcon
2016-04-23 15:16:19.118638 Download new ServerIcon
2016-04-23 15:16:19.950540 Download new ServerIcon
2016-04-23 15:16:20.733860 Download new ServerIcon
2016-04-23 15:16:21.674759 Download new ServerIcon
2016-04-23 15:16:22.518704 Download new ServerIcon
2016-04-23 15:16:23.359365 Download new ServerIcon
2016-04-23 15:16:24.156101 Download new ServerIcon
2016-04-23 15:16:25.116083 Download new ServerIcon
2016-04-23 15:16:25.960920 Download new ServerIcon
2016-04-23 15:16:26.802314 Download new ServerIcon
2016-04-23 15:16:27.608852 Download new ServerIcon
2016-04-23 15:16:28.451709 Download new ServerIcon
2016-04-23 15:16:29.313436 Download new ServerIcon
2016-04-23 15:16:30.154388 Download new ServerIcon
2016-04-23 15:16:30.946211 Download new ServerIcon
2016-04-23 15:16:31.896670 Download new ServerIcon
2016-04-23 15:16:32.736193 Download new ServerIcon
2016-04-23 15:16:33.584354 Download new ServerIcon

Bot crashed - what is the reason?

When I type "php worker.php status" and it replies saying that the service is running, but the "bot" is not connected to the server. I type "php worker.php restart" and I get the following:
Stopping the Ranksystem Bot.
Wait until Bot is down...... [Failed]
Starting the Ranksystem Bot. [OK]
The bot then reconnects to the server and begins to read time again.

Any ideas?

Downloading user avatars all the time.

2016-05-04 23:47:48.999215 Download avatar: /avatar_aemlmmhfeefkdkdgnojjhoabklaidnghbflkeaem
2016-05-04 23:47:50.285908 Download avatar: /avatar_afgmgleooeljmoioiafehfhdmjhnpmagmpogmkln
2016-05-04 23:47:51.533006 Download avatar: /avatar_agamlbehcmjmfaoomlnpfgolininoldebegagfac
2016-05-04 23:47:52.796237 Download avatar: /avatar_agobjeihbebcfdecmlbdeneehffhjikmpclopdnb
2016-05-04 23:47:54.080388 Download avatar: /avatar_bcnmcdghlmlggoncgifoafpibckhoobpbfeoahde
2016-05-04 23:47:55.364204 Download avatar: /avatar_blojecghahlniepcjejlgnmmjbpphnllkjegdhjc
2016-05-04 23:47:56.648174 Download avatar: /avatar_caekhdgbjppldhnpjhanehmepfeeokfpfahepnnj
2016-05-04 23:47:58.043730 Download avatar: /avatar_clhndpldechikebdkenopdclahfcjdacddeilled
2016-05-04 23:47:59.273148 Download avatar: /avatar_dbnchebnacalnjdefemaglhffpgjiojmpanoehjd
2016-05-04 23:48:00.433771 Download avatar: /avatar_efingjdhpcfbkijkhlfhgbmnjdedjmjgfiphofkj
2016-05-04 23:48:01.672911 Download avatar: /avatar_fpkbpihpoocpdgpcgnnegdkplpcengloiibciieg
2016-05-04 23:48:02.999172 Download avatar: /avatar_iodkjihpmaellihnmifklamoengnomkiglpjplgo
2016-05-04 23:48:04.260844 Download avatar: /avatar_jnpincaaekdmnceabdpgcdemcohahihkjeaecicg
2016-05-04 23:48:05.493258 Download avatar: /avatar_kedcijpmkbmblaanbiimldnkklcmgcnhaehcfhla
2016-05-04 23:48:06.756609 Download avatar: /avatar_kjcdipbgdlpgokkggminfolloaledobagacpgiap
2016-05-04 23:48:08.046362 Download avatar: /avatar_lgcnlnebpgbeloffnpphfpjidlgpjepcbhkakpmb
2016-05-04 23:48:09.341973 Download avatar: /avatar_lhajjkojkfaeeabojakhjgmhelhapdakmneonemg
2016-05-04 23:48:10.625981 Download avatar: /avatar_mijahakdlenmggdikcdoijdecekoimdaimhlpoao
2016-05-04 23:48:11.988664 Download avatar: /avatar_nckicdfeddpbehpmpepodcpoikdjjoaocdaobmeb
2016-05-04 23:48:13.151550 Download avatar: /avatar_ncmlbbgbdipgobebbapghpopbphlaofgadgfdccf
2016-05-04 23:48:14.414013 Download avatar: /avatar_nelpmbnmfjngplgocagghnkdjofhdcbhhkmpaioe
2016-05-04 23:48:15.805756 Download avatar: /avatar_ofmkijhmjkigmlfhpcjikkkieboadhjjjcflbcmn
2016-05-04 23:48:16.988404 Download avatar: /avatar_ogbggjapkdcbndcmdcmjclnmokhldjkblgbhhpcg
2016-05-04 23:48:32.707479 Download avatar: /avatar_aemlmmhfeefkdkdgnojjhoabklaidnghbflkeaem
2016-05-04 23:48:33.991875 Download avatar: /avatar_afgmgleooeljmoioiafehfhdmjhnpmagmpogmkln
2016-05-04 23:48:35.238782 Download avatar: /avatar_agamlbehcmjmfaoomlnpfgolininoldebegagfac
2016-05-04 23:48:36.522107 Download avatar: /avatar_agobjeihbebcfdecmlbdeneehffhjikmpclopdnb
2016-05-04 23:48:37.806709 Download avatar: /avatar_bcnmcdghlmlggoncgifoafpibckhoobpbfeoahde
2016-05-04 23:48:39.071165 Download avatar: /avatar_blojecghahlniepcjejlgnmmjbpphnllkjegdhjc
2016-05-04 23:48:40.355731 Download avatar: /avatar_caekhdgbjppldhnpjhanehmepfeeokfpfahepnnj
2016-05-04 23:48:41.751898 Download avatar: /avatar_clhndpldechikebdkenopdclahfcjdacddeilled

I see this in my ranksystem.log . Doesn't really bother me but it seems to eat some bandwith http://i.imgur.com/ajrVbrW.png

Change boosted user to mode 'online time' if general 'Idletime' is activated

Hello,

(Version 1.0.1)

English:

we had a talk about some suggestions and i said i will test again the boost thingy, because i thought the boost isnt working with enabled idletime.

http://puu.sh/oW9fk/453b2c8358.png (Online time gets boosted active time not)

i set the "Boosting-Server Group" -> http://puu.sh/oW9il/0eca17cd75.png

if i boost over the selective client thingy it works without any issue only on the Servergroup-boost it doesnt boost the active time.

regards :)

German:

Wir hatten ja ein Gespräch über ein paar features gehabt und dabei ist mir ja aufgefallen (war mir aber da nicht sicher) dass das boosten mit aktivierte idlezeit nicht geht und das ich das sobald ich zeit habe nochmal teste.

Über die Boostfunktion per Servergruppe (http://puu.sh/oW9il/0eca17cd75.png) funktioniert es bei mir nun also tatsächlich nicht.

http://puu.sh/oW9fk/453b2c8358.png (Online Zeit wird geboosted / Aktive Zeit nicht)

Wenn ich die Zeit über -> "Clients editieren (Selektiv)" "gutschreibe" funktioniert es aber einwandfrei

Grüße :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.