Jump to content

[BF4] Stats webpage for XpKiller's Stats Logger Plugin


tyger07

Recommended Posts

Originally Posted by ty_ger07*:

 

Is it normal for the stats to be about 2 hours behind?

Which stats in particular?

 

The first page of the leaderboard will be behind because it uses a cache to reduce database load and make the main page load faster. The players on the first page of the leaderboard usually have high enough numbers that the difference in real-time versus cached values aren't too noticeable unless you are trying to notice the difference. But, with a new server or a server with players with low numbers, the mismatch can be much more noticeable. Every other page of the leaderboard (page 2 and on) should not lag behind real-time.

 

The player ranks at the top of a player's stats page are similarly behind real-time for database load and webpage faster loading reasons.

 

The player's stats image is similarly behind real-time for the same reasons.

 

And so on and so on....

 

You should see pop-ups on the left side of the page for each section which uses cached versus real-time information.

* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 1.7k
  • Created
  • Last Reply

Originally Posted by HitchItch*:

 

Tx, ty_ger, I thought so, just wanted to make sure, I check leader board, top player, first page.

 

I noticed an issue with Chat log this morning, it has not updated since around 4pm yesterday.

Might be a self inflicted problem. I asked in the GUID forum how to stop recording chat for request ammo, meds, ride, etc

I was told to add ID_CHAT_.* in the chat filter rules (regex) string array. that is about the time I added that to procon

http://otckillingtime.com/index.php_p=chat&sid=1

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Prophet731*:

 

Tx, ty_ger, I thought so, just wanted to make sure, I check leader board, top player, first page.

 

I noticed an issue with Chat log this morning, it has not updated since around 4pm yesterday.

Might be a self inflicted problem. I asked in the GUID forum how to stop recording chat for request ammo, meds, ride, etc

I was told to add ID_CHAT_.* in the chat filter rules (regex) string array. that is about the time I added that to procon

http://otckillingtime.com/index.php_p=chat&sid=1

See myrcon.net/...chat-guid-stats-and-mapstats-logger#entry45944
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Stov3top*:

 

I have changed things over for hardline, and the issue that I am running into so far is the picture not showing up on the page for the SMAW. I have tried a number of configurations on the name of it in "constants", and the picture itself. I have not had any luck so far. I did notice that it is called out as "u smaw" by default on the stats page, and when I go into my SQL and edit the friendly name to "SMAW" it displays correctly. Is there some issue with the names by chance? I looked in the BF4 sql and it is called out as "U_SMAW", not "u_smaw" as in the BFH one. The stats seem to be showing up fine, it's just the picture is not, even after renaming it. I am kinda stumped on this one. Any ideas?

page.JPGconstants.JPGsql.JPGpics.JPG

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TimSad*:

 

I'm in the process of making this suitable for Hardline too while retaining its suitability for BF4 as well!

 

http://blockpartystats.com/

 

EDIT: I'm slowly adding in weapons and vehicles, both images to the images folder and elements to the $weapon_array variable's array in constants.php. I'm even starting to get the "havana" lines to show their actually vehicles. Started off by using this guy's #1 vehicle - the criminal coupe - as a test: http://blockpartystats.com/index.php...=1931&p=player Still gotta figure out why "Death" is coming up as "Not Specified" as you see his in Vehicles tab.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Stov3top*:

 

Lookin good, I am compiling all my files into a folder and gonna double check to make sure all is good and I will post a download link for the files. The only issue I think I am left with is the SMAW pic not showing up, everything else as far as I can tell is working great. I will keep you guys posted.

 

If you wanna check out a page I have set up here is the link:http://yourserverstats.us/hardline/demo/two

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Stov3top*:

 

I'm in the process of making this suitable for Hardline too while retaining its suitability for BF4 as well!

I do see under the players signatures it has an external link for BF4db, is there one for hardline, or can it use this?

 

I am going to double check and make sure I still have it all set up to work universally for everyone and I will post a download link.

 

This one is converted to be just hardline based, I got rid of all the BF4 info.

 

 

Edit: I started a new thread for the Hardline stats page here is the link - Hardline-Stats-Web-Page-(-XPKiller-s-Stats-Logger-Plugin-)*

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by GvnrRickPerry*:

 

I'm in the process of making this suitable for Hardline too while retaining its suitability for BF4 as well!

 

http://blockpartystats.com/

 

EDIT: I'm slowly adding in weapons and vehicles, both images to the images folder and elements to the $weapon_array variable's array in constants.php. I'm even starting to get the "havana" lines to show their actually vehicles. Started off by using this guy's #1 vehicle - the criminal coupe - as a test: http://blockpartystats.com/index.php...=1931&p=player Still gotta figure out why "Death" is coming up as "Not Specified" as you see his in Vehicles tab.

TimSad! I'm assuming you'll be sharing that update, eh? :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by madem*:

 

Some time I will add more statistics columns such as deaths, suicides, smoke launcher kills, etc., and make the top 25 players list able to be ordered by score or kills or deaths or suicides, etc.

 

I might even move away from the super simple fast design to a more complex and visually appealing style with more images instead of just a bunch of text.

Edit thanks.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

It seems to be a recurring question. The first page of the leaderboard uses a 12 hour cache. On a brand new database, the first page will look funny at first and take a while to start looking more normal.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by GR101*:

 

Hey ty_ger07,

 

'Top 20 Players This Week' tab doesn't show any data, all it returns:- 'No session stats found for this server this week'

One possible cause, about a month ago the server IP address changed, which I changed the database to match, maybe I missed something.

 

Thanks in advance for your help.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

ty_ger07, is there any easy way for me to have the stats site not display my Block Party server (as I've gotten rid of it) and just the hotwire server?

 

http://hotwirestats.com/

In your database, change `ConnectionState` to 'off' for that server in the `tbl_server` table.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Stov3top*:

 

ty_ger07, is there any easy way for me to have the stats site not display my Block Party server (as I've gotten rid of it) and just the hotwire server?

 

http://hotwirestats.com/

TimSad, Looks like the stats page you are using may be out dated, you can get the latest Hardline version here: ...*
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TimSad*:

 

TimSad, Looks like the stats page you are using may be out dated, you can get the latest Hardline version here: ...*

Actually I've been working on a version of my own that'll be compatible for both BF4 and Hardline at the same time. It's just really time consuming going through the images and appropriately naming them as well as putting new weapon entries into constants.php. I checked yours out and kinda stole the death and roadkill images. Hope you won't mind about that. :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Stov3top*:

 

Actually I've been working on a version of my own that'll be compatible for both BF4 and Hardline at the same time. It's just really time consuming going through the images and appropriately naming them as well as putting new weapon entries into constants.php. I checked yours out and kinda stole the death and roadkill images. Hope you won't mind about that. :smile:

Haha, nope its all good. I know it's pretty time consuming. Feel free to take everything that's set for hardline off mine to incorporate into yours, It's all for the same common goal anyway right? I thought about doing that with mine, but that was a little more than I wanted to bite off for the moment :-). Good luck.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by killengage*:

 

Hello, 1 of our game server ip addresses has changed. Now i see an extra server added in the webpage. I also see acitivity on both (duplicate) servers, however the old server is not collecting chat log anymore (as it should). How can i combine the data ?

 

affected server: http://www.four-eleven.eu

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Hello, 1 of our game server ip addresses has changed. Now i see an extra server added in the webpage. I also see acitivity on both (duplicate) servers, however the old server is not collecting chat log anymore (as it should). How can i combine the data ?

 

affected server: http://www.four-eleven.eu

You can't combine the servers. You can make the new server go back to saving to the old server ID, but you can't combine the data. You will lose whatever data is different between the two. Search XP Killer's thread for the answer to how to make the new server go back to using the old server ID.

 

EDIT with link:

myrcon.net/...chat-guid-stats-and-mapstats-logger#entry45736

* Restored post. It could be that the author is no longer active.
Link to comment
  • 4 weeks later...

Originally Posted by HitchItch*:

 

We now have a second server that we would like to have a stats page for.

Im not really sure how to setup a second stats page, our first server is setup saving/showing stats on our webpage.

Do I need to duplicate what we already have and just point it to the second server ip and setup procon in the second server like i did in the first one?

 

Thanks

Hitch

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

We now have a second server that we would like to have a stats page for.

Im not really sure how to setup a second stats page, our first server is setup saving/showing stats on our webpage.

Do I need to duplicate what we already have and just point it to the second server ip and setup procon in the second server like i did in the first one?

 

Thanks

Hitch

If you add the second server into the same database (setup XpKiller's plugin on the second server to connect to the same stats database), the second server will have a stats page automatically. Everything is automatic from there. You don't have to (and shouldn't!!) change the server group or add table suffixes or worry about server IDs.

XpKiller's plugin will add more than one server into the same database correctly automatically. Once you have more than one server in the stats database, the stats page will automatically create an index page like this (LINK) which will give you the option to choose which server to view and give you an option to view "combined" stats of the servers. The drop-down menu at the top of the page also obviously becomes more useful once there is more than one server in the list.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HitchItch*:

 

Ty_ger07,

Thanks for the post.

If I understand you correctly, All I need to do is setup the Procon Chat, GUID,Stats and Map plugin on the second server exactly the same as it is on our first server?

Then all I need to do is choose what server I want to view stats for on our webpage via the drop down menu.

 

If that is correct, it could not be any simpler.

 

Hitch

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HitchItch*:

 

I setup the hardcore plugin the same as our first server about an hour ago., When I click on the drop down menue on the stats page, I dont have the option to pick a server.

Link to our stats page---http://otckillingtime.com/index.php_...e&o=DESC&sid=1

 

Do I need to restart the layer? or does it just take a few hours before it will show up?

 

Both plugins are set exactly the same now

 

Hitch

* Restored post. It could be that the author is no longer active.
Link to comment

Archived

This topic is now archived and is closed to further replies.




×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.