Jump to content

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


tyger07

Recommended Posts

Originally Posted by TheMrApostel*:

 

Hey Guys,

 

currently we are not playing BF4 anymore.

We switched our Servers back to BF3 is the webstats are BF4 only i guess?

Is there a way to modify the code of the BF4 version to function with a BF3 database?

 

I saw a post earlier but i can't find them anymore..

 

Thank you!

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

Originally Posted by ty_ger07*:

 

Hey Guys,

 

currently we are not playing BF4 anymore.

We switched our Servers back to BF3 is the webstats are BF4 only i guess?

Is there a way to modify the code of the BF4 version to function with a BF3 database?

 

I saw a post earlier but i can't find them anymore..

 

Thank you!

Yes, as long as you are using XpKiller's newest plugin version for BF3.

 

In /common/connect.php, change BF4 to BF3 in the GameID query.

 

That will work, but all the map images, map names, and weapon images won't work.

 

To fix those,

In /common/constants.php, rename the map and weapon names.

Replace the map images, weapon images, and rank images in the /images folder.

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

Originally Posted by TheMrApostel*:

 

Yes, as long as you are using XpKiller's newest plugin version for BF3.

 

In /common/connect.php, change BF4 to BF3 in the GameID query.

 

That will work, but all the map images, map names, and weapon images won't work.

 

To fix those,

In /common/constants.php, rename the map and weapon names.

Replace the map images, weapon images, and rank images in the /images folder.

Thanks for your answer.

That should be no problem. :smile:

 

Thanks!

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

Originally Posted by killengage*:

 

Hello, thanks for your effort ty_ger07 and Xpkiller.

 

I however do have a question. I use Piwik as my analytics package for websites. I have it running on 40+ sites. Normally i added the trackingcode below the footer codes. Where can i add the trackingcode ? I'm getting a blank page when adding it below the body tag or in the footer (in front of closing HTML tag).

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

Originally Posted by killengage*:

 

If I knew the code you were using, I may be able to provide some advice. Can you paste here the piwik code you are using?

var _paq = _paq || [];

_paq.push(['trackPageView']);

_paq.push(['enableLinkTracking']);

(function() {

var u="//stats.XXXXX.eu/piwik/";

_paq.push(['setTrackerUrl', u+'piwik.php']);

_paq.push(['setSiteId', 1]);

var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];

g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);

})();

 

Thanks ty_ger

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

Originally Posted by ty_ger07*:

 

var _paq = _paq || [];

_paq.push(['trackPageView']);

_paq.push(['enableLinkTracking']);

(function() {

var u="//stats.XXXXX.eu/piwik/";

_paq.push(['setTrackerUrl', u+'piwik.php']);

_paq.push(['setSiteId', 1]);

var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];

g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);

})();

 

Thanks ty_ger

And where exactly are you placing that code? I think it is simply an issue with escaping the single quotation marks with ' instead of ' but I will have to know where you are placing the code to be sure.

 

Try:

Code:

<script type="text/javascript">
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//stats.XXXXX.eu/piwik/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 1]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//stats.XXXXX.eu/piwik/piwik.php_idsite=1" style="border:0;" alt="" /></p></noscript>
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

At the bottom before the last body tag. Thx

 

Missed that regex, i was searching in your thread instead of the XPkillers one. Thanks for your help.

At the bottom within an echo '..'; block, right? Look at my edit above.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by GR101*:

 

Excellent work ty_ger07 on your stats webpage.

 

However, I have a number of issues which did work with previous versions.

 

1. What would cause the player 'Stats image with player's rank:' from not being displayed?

 

2. 'average players per day' and 'average, maximum and average players' and 'joins and leaves from server' graphs not being displayed?

 

3. Horizontal banner not being displayed, vertical banner is fine.

 

Also, could you look at providing 'platoon members' stats on the 'leaderboard' page from a list of players manually added in config.php?

 

Thanks in advance.

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

Originally Posted by ty_ger07*:

 

Excellent work ty_ger07 on your stats webpage.

 

However, I have a number of issues which did work with previous versions.

 

1. What would cause the player 'Stats image with player's rank:' from not being displayed?

 

2. 'average players per day' and 'average, maximum and average players' and 'joins and leaves from server' graphs not being displayed?

 

3. Horizontal banner not being displayed, vertical banner is fine.

 

Also, could you look at providing 'platoon members' stats on the 'leaderboard' page from a list of players manually added in config.php?

 

Thanks in advance.

I don't know your website address. So it is hard for me to know. I switched from .php images to .png images with an .htaccess redirect. Maybe your server doesn't support it or there are missing files.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by GR101*:

 

I don't know your website address. So it is hard for me to know. I switched from .php images to .png images with an .htaccess redirect. Maybe your server doesn't support it or there are missing files.

Thanks ty_ger07

 

Here is the website URL:

 

http://www.t4g3.com/bf4stats/ServerStats.php_ServerID=1

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

Originally Posted by ty_ger07*:

 

Thanks ty_ger07

 

Here is the website URL:

 

http://www.t4g3.com/bf4stats/ServerStats.php_ServerID=1

Yeah...

 

Your .htaccess redirect is not working for some reason. Do you see a .htaccess file in the /pchart, the /banner, and the /signature folders?

 

Doesn't work:

t4g3.com/bf4stats/pchart/playersbydate.png_sid=1

 

Does work:

t4g3.com/bf4stats/pchart/playersbydate.php_sid=1

 

The .htaccess file redirects (or is supposed to) .png requests to .php requests. A request to .png was used just because it has better image compatibility when embedding into forums. But, you can just change it back to .php if you want.

 

In other words, we are asking the server for the .png file which actually doesn't exist, and the server redirects the request to the .php file which does exist.

 

https://github.com/tyger07/BF4-Serve...ture/.htaccess

 

I really have no idea how to prevent this from happening because I don't know why your server is ignoring the .htaccess file. I would advise that you simply edit my code to reference the file names by .php instead of .png.

 

 

EDIT: By the way, you have some errors due to renaming index.php to ServerStats.php. In the next version I am working on, that would transform into many many errors.

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

Originally Posted by Prophet731*:

 

Yeah...

 

Your .htaccess redirect is not working for some reason. Do you see a .htaccess file in the /pchart, the /banner, and the /signature folders?

 

Doesn't work:

t4g3.com/bf4stats/pchart/playersbydate.png_sid=1

 

Does work:

t4g3.com/bf4stats/pchart/playersbydate.php_sid=1

 

The .htaccess file redirects (or is supposed to) .png requests to .php requests. A request to .png was used just because it has better image compatibility when embedding into forums. But, you can just change it back to .php if you want.

 

In other words, we are asking the server for the .png file which actually doesn't exist, and the server redirects the request to the .php file which does exist.

 

https://github.com/tyger07/BF4-Serve...ture/.htaccess

 

I really have no idea how to prevent this from happening because I don't know why your server is ignoring the .htaccess file. I would advise that you simply edit my code to reference the file names by .php instead of .png.

 

 

EDIT: By the way, you have some errors due to renaming index.php to ServerStats.php. In the next version I am working on, that would transform into many many errors.

AllowOverride All needs to bet set on the vhost for .htaccess to work.
* Restored post. It could be that the author is no longer active.
Link to comment
  • 2 weeks later...

Originally Posted by ty_ger07*:

 

I don't know the codes for the Final Stand weapons and vehicles, so you may see those missing. Please feel free to point out the displayed weapon name if you find one of the missing ones.

 

Code:

// final stand
// 'Rorsch Mk-1'			=>	'',
// 'Phantom'			=>	'',
...
// Final Stand Vehicles
// 'Snowmobile'			=>	'',
// 'HT-95 Levkov'			=>	'',
// 'Shipunov 42'			=>	'',
// 'Pod Launcher'			=>	'',
// 'XD-1 Accipiter'			=>	''
Anyone?

 

Is dlSHTR damage type 'none' or vehicle-something?

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

Originally Posted by ty_ger07*:

 

Yep, its the bow.

Yes, I know.

 

But I don't know what the 'Fullname', 'Friendlyname', or 'Damagetype' is according to xpkiller's plugin.

 

XpKiller's plugin comes up with some pretty bizarre random stuff sometimes and it is very hard to predict. Impossible for me to know since I don't have a server.

 

So, any idea for these items?

 

Final Stand Weapons:

'Rorsch Mk-1'? Friendlyname? Fullname? Damagetype?

'Phantom Bow'? Friendlyname? Fullname? Damagetype?

 

Final Stand Vehicles:

'Snowmobile'? Friendlyname? Fullname? Damagetype?

'HT-95 Levkov'? Friendlyname? Fullname? Damagetype?

'Shipunov 42'? Friendlyname? Fullname? Damagetype?

'Pod Launcher'? Friendlyname? Fullname? Damagetype?

'XD-1 Accipiter'? Friendlyname? Fullname? Damagetype?

 

If I knew the output of XpKiller's plugin, it would make it much easier for me to implement stats for these items. It is a fairly simple thing for anyone to do. If you have a BF4 server with updated B4.def file, I just need to know the weapon information from the newest weapons in the weapons table of the database.

 

For example:

weapon_example.jpg

 

If someone can help me out with the above questions, that would REALLY help. Thank you!

 

Since they are the newest weapons, they should be easy to find since they will be the last weapon IDs in the table. I already know everything up to 'Unica6'.

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

Originally Posted by ty_ger07*:

 

In other news, I have been working on the code.

 

These are the changes I have been working on:

- Improved directory structure (makes finding specific files easier)

- Reduced code size (less duplicated code and less spaghetti code)

- More asynchronous loading (page contents are asynchronously loaded into the page)

- Should be easier to navigate via mobile device due to larger click/"touch" areas for links.

 

You can view current progress here:

http://open-web-community.com/bf4stats/test/index.php

 

^It's not done and therefore you will see some broken images, some broken links, and some things haven't been changed yet.

 

If I could also add Final Stand vehicles and weapons at the same time, that would be nice. I just need someone's help in order to do so (see post above).

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

Originally Posted by Ruger*:

 

Hey ty_ger07, Have a question about serverbanner.php. How can I alter the code so it gets rid of the top 10 players section, shortening the height to where it now ends just below the online players?

 

Thanks for your stats page. Really love em.

 

Ruger

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

ERROR: HTML content TABLE found.

ERROR: HTML content DIV found.

 

 

OLD THREADID: 6854 ; OLD POSTID: 114097

 

ORIGINAL FILE: /root/Desktop/CONVERTER/6854-BF4-Stats-webpage-for-XpKiller-s-Stats-Logger-Plugin/page25/index.html

 

 

POST IN BASE64:T3JpZ2luYWxseSBQb3N0ZWQgYnk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kZXgucGhwX3A9cGxheWVyJmFtcDtzaWQ9JyAuICRTZXJ2ZXJJRCAuICcmYW1wO3BsYXllcj0nIC4gJHNvbGRpZXIgLiAnIiB0YXJnZXQ9Il9ibGFuayI+JyAuICRzb2xkaWVyIC4gJzwvYT4KCQkJPC90ZD4KCQkJPHRkIHdpZHRoPSIyNSUiIHN0eWxlPSJ0ZXh0LWFsaWduOiByaWdodDsiPgoJCQknIC4gJHNjb3JlIC4gJwoJCQk8L3RkPgoJCQk8L3RyPgoJCQknOwoJCX0KCQllY2hvICcKCQk8L3RhYmxlPgoJCTwvY2VudGVyPic7Cgl9CgllbHNlCgl7CgkJZWNobyAnCgkJPGNlbnRlcj4KCQk8dGFibGUgYm9yZGVyPSIwIiBhbGlnbj0iY2VudGVyIiB3aWR0aD0iMTAwJSIgc3R5bGU9InBhZGRpbmc6IDJweDsiPgoJCTx0cj4KCQk8dGQgd2lkdGg9IjEwMCUiIHN0eWxlPSJ0ZXh0LWFsaWduOiBsZWZ0OyI+CgkJTm8gcGxheWVycyBmb3VuZC4KCQk8L3RkPgoJCTwvdHI+CgkJPC90YWJsZT4KCQk8L2NlbnRlcj4KCQknOwoJfQoJLy8gZnJlZSB1cCBwbGF5ZXIgc2NvcmVzIHF1ZXJ5IG1lbW9yeQoJQG15c3FsaV9mcmVlX3Jlc3VsdCgkU2NvcmVfcSk7CgllY2hvICcKCTwvZGl2PlsvY29kZV0=

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

Originally Posted by Ruger*:

 

If you don't want to display the top 10 players, remove this:
Code:
// display top all-time players
    echo '
    <div class="section"><b>Top 10 Players:</b></div>
    ';
    // initialize value
    $count = 0;
    // query for player scores
    // use faster query if top 20 cache is available
    
    // initialize timestamp values
    $now_timestamp = time();
    $old = $now_timestamp - 43200;
    
    // check if this is a top 20 player
    // if so, we can get their score rank much faster
    $Score_q = @mysqli_query($BF4stats,"
        SELECT `Score`, `SoldierName`
        FROM `tyger_stats_top_twenty_cache`
        WHERE `SID` = '{$ServerID}'
        AND `GID` = '{$GameID}'
        AND `timestamp` >= '{$old}'
        GROUP BY `PlayerID`
        ORDER BY tps.`Score` DESC, tpd.`SoldierName` ASC LIMIT 10
    ");
    if(@mysqli_num_rows($Score_q) == 0)
    {
        $Score_q = @mysqli_query($BF4stats,"
            SELECT tpd.`SoldierName`, tps.`Score`
            FROM `tbl_playerstats` tps
            INNER JOIN `tbl_server_player` tsp ON tsp.`StatsID` = tps.`StatsID`
            INNER JOIN `tbl_playerdata` tpd ON tsp.`PlayerID` = tpd.`PlayerID`
            WHERE tsp.`ServerID` = {$ServerID}
            AND tpd.`GameID` = {$GameID}
            ORDER BY tps.`Score` DESC, tpd.`SoldierName` ASC LIMIT 10
        ");
    }
    if(@mysqli_num_rows($Score_q) != 0)
    {
        echo '
        <center>
        <table border="0" align="center" width="100%" style="padding: 2px;">
        ';
        while($Score_r = @mysqli_fetch_assoc($Score_q))
        {
            $count++;
            $soldier = $Score_r['SoldierName'];
            $score = $Score_r['Score'];
            echo '
            <tr>
            <td width="75%" style="text-align: left;">
            ' . $count . ' <a href="../index.php_p=player&sid=' . $ServerID . '&player=' . $soldier . '" target="_blank">' . $soldier . '</a>
            </td>
            <td width="25%" style="text-align: right;">
            ' . $score . '
            </td>
            </tr>
            ';
        }
        echo '
        </table>
        </center>';
    }
    else
    {
        echo '
        <center>
        <table border="0" align="center" width="100%" style="padding: 2px;">
        <tr>
        <td width="100%" style="text-align: left;">
        No players found.
        </td>
        </tr>
        </table>
        </center>
        ';
    }
    // free up player scores query memory
    @mysqli_free_result($Score_q);
    echo '
    </div>
Hmm...I removed exactly that portion and the banner stopped showing completely. Received the following error:
Code:
[24-Dec-2014 21:06:00 UTC] PHP Parse error:  syntax error, unexpected '<' in /xxxx/xxxxxxx/public_html/stats/common/serverbanner.php on line 400
Which ended up being . I then tried just deleting that but banner still didnt show and there was a new error of:
Code:
[24-Dec-2014 21:10:51 UTC] PHP Parse error:  syntax error, unexpected 'iframe' (T_STRING) in /xxxx/xxxxxx/public_html/stats/common/serverbanner.php on line 400
Not sure what else to do.

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

Originally Posted by ty_ger07*:

 

Hmm...I removed exactly that portion and the banner stopped showing completely. Received the following error:
Code:
[24-Dec-2014 21:06:00 UTC] PHP Parse error:  syntax error, unexpected '<' in /xxxx/xxxxxxx/public_html/stats/common/serverbanner.php on line 400
Which ended up being . I then tried just deleting that but banner still didnt show and there was a new error of:
Code:
[24-Dec-2014 21:10:51 UTC] PHP Parse error:  syntax error, unexpected 'iframe' (T_STRING) in /xxxx/xxxxxx/public_html/stats/common/serverbanner.php on line 400
Not sure what else to do.

Thanks, Ruger
:ohmy:

I made some assumptions.  I thought that you would know how to properly merge it all together.

This is what it should look like with the Top 10 part cut out:
Code:
...
echo '</div>';
    // free up player scores query memory
    @mysqli_free_result($Score_q);
    echo '
    
    suggested iframe size:
...
You were missing the echo ' before the .

I haven't tested it, but it should work.  I haven't even looked at it much since I am busy with other things.  So, you might see some alignment issues or something which you might have to tweak.  But it should work none-the-less.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Yes, I know.

 

But I don't know what the 'Fullname', 'Friendlyname', or 'Damagetype' is according to xpkiller's plugin.

 

XpKiller's plugin comes up with some pretty bizarre random stuff sometimes and it is very hard to predict. Impossible for me to know since I don't have a server.

 

So, any idea for these items?

 

Final Stand Weapons:

'Rorsch Mk-1'? Friendlyname? Fullname? Damagetype?

'Phantom Bow'? Friendlyname? Fullname? Damagetype?

 

Final Stand Vehicles:

'Snowmobile'? Friendlyname? Fullname? Damagetype?

'HT-95 Levkov'? Friendlyname? Fullname? Damagetype?

'Shipunov 42'? Friendlyname? Fullname? Damagetype?

'Pod Launcher'? Friendlyname? Fullname? Damagetype?

'XD-1 Accipiter'? Friendlyname? Fullname? Damagetype?

 

If I knew the output of XpKiller's plugin, it would make it much easier for me to implement stats for these items. It is a fairly simple thing for anyone to do. If you have a BF4 server with updated B4.def file, I just need to know the weapon information from the newest weapons in the weapons table of the database.

 

For example:

weapon_example.jpg

 

If someone can help me out with the above questions, that would REALLY help. Thank you!

 

Since they are the newest weapons, they should be easy to find since they will be the last weapon IDs in the table. I already know everything up to 'Unica6'.

Is there anyone willing to help?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Ruger*:

 

:ohmy:

I made some assumptions.  I thought that you would know how to properly merge it all together.

This is what it should look like with the Top 10 part cut out:
Code:
...
echo '</div>';
    // free up player scores query memory
    @mysqli_free_result($Score_q);
    echo '
    
    suggested iframe size:
...
You were missing the echo ' before the .

I haven't tested it, but it should work.  I haven't even looked at it much since I am busy with other things.  So, you might see some alignment issues or something which you might have to tweak.  But it should work none-the-less.
Thanks for the help. Got it all worked out.
* 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.