Stats [Unmaintained]
Discussion in 'Plugin Support' started by Vilsol, Jun 29, 2015.
-
I will try also I just went to www.alpineserver.net/www/query.php and it give me an invaild token. Do you get the same? or have I messed up the Token. the token is still un changed from the download am I suppose to change it for it to work?
HOLY SHIT IT'S WORKING! I believe it was the query.php! you're a LEGEND! -
you just put in stats plugin and it will write your token to the server console, and yes if i open query.php in browser it says invalid token but the stats are working fine
-
Everything is working now, thank you so much!
-
no problem
-
Is there any way to remove coords from this plugin? thanks!
-
Code:
[Oxide] 8:47 AM [Warning] stats plugin is using deprecated hook: OnGather
-
I'm getting this error. I did not edit stats.php
( ! ) Parse error: syntax error, unexpected end of file in C:\wamp\www\stats.php on line 645
What should i do? -
Last edited by a moderator: Aug 3, 2015
-
Hi, i try install stats on my server and have same problem like few people before.
when i go in left column somewhere (players, buildings...) i get error:
Code:DataTables warning: table id=DataTables_Table_0 - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1
-
Is this plugin going to receive an update for the latest version of rust? It seems the last update messed with quite a few things website side... Assuming its the new hooks/item names?
-
It most likely will not be update anymore. Vilsol doesnt even reply when I ask him questions. He used to.
-
Code:
[Oxide] 6:07 AM [Warning] stats plugin is using deprecated hook: OnGather
-
I'm looking into reworking some of his code to work with the current hooks/item names or whatever. If i get it working ill post a link to download if anyone is interested.
-
Sorry if this is the wrong area. I keep getting this info over and over in my web console...
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 65)
[Oxide] 8:06 PM [Info] [Stats] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<HTML><HEAD><TITLE>Not Found</TITLE>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD>
<BODY><h2>Not Found</h2>
<hr><p>HTTP Error 404. The requested resource is not found.</p>
</BODY></HTML>
: 404 -
-
I looked into it a bit, and it kinda seems like its a bit out of my range. I tried fiddling with the way the hooks are handled and nothing I could do was able to fix the problem. If some one does fix it I would greatly appreciate any tips on how to fix it. :/ sorry guys.
-
In stats.cs I changed line 334 from:
void OnGather(ResourceDispenser dispenser, BaseEntity entity, Item item) {
to
void OnDispenserGather(ResourceDispenser dispenser, BaseEntity entity, Item item) {
It seems to be behaving for now, you may want to give that a try. -
Neo, is your stats page showing correctly? Have you looked into how to call the right entities to the query?
-
I'm testing it. So far I can tell you it doesn't properly pass the values if you're using the ZLevel plugin. I hit a tree and got +27 wood and in my web stats it shows 25 wood gathered at that time.