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.




  • Our picks

    • Game Server Hosting:

      We're happy to announce that EZRCON will branch out into the game server provider scene. This is a big step for us so please having patience if something doesn't go right in this area. Now, what makes us different compared to other providers? Well, we're going with the idea of having a scaleable server hosting and providing more control in how you set up your server. For example, in Minecraft, you have the ability to control how many CPU cores you wish your server to have access to, how much RAM you want to use, how much disk space you want to use. This type of control can't be offered in a single service package so you're able to configure a custom package the way you want it.

      You can see all the available games here. Currently, we have the following games available.

      Valheim (From $1.50 USD)


      Rust (From $3.20 USD)


      Minecraft (Basic) (From $4.00 USD)


      Call of Duty 4X (From $7.00 USD)


      OpenTTD (From $4.00 USD)


      Squad (From $9.00 USD)


      Insurgency: Sandstorm (From $6.40 USD)


      Changes to US-East:

      Starting in January 2022, we will be moving to a different provider that has better support, better infrastructure, and better connectivity. We've noticed that the connection/routes to this location are not ideal and it's been hard getting support to correct this. Our contract for our two servers ends in March/April respectively. If you currently have servers in this location you will be migrated over to the new provider. We'll have more details when the time comes closer to January. The new location for this change will be based out of Atlanta, GA. If you have any questions/concerns please open a ticket and we'll do our best to answer them.
      • 5 replies
    • Hello All,

      I wanted to give an update to how EZRCON is doing. As of today we have 56 active customers using the services offered. I'm glad its doing so well and it hasn't been 1 year yet. To those that have services with EZRCON, I hope the service is doing well and if not please let us know so that we can improve it where possible. We've done quite a few changes behind the scenes to improve the performance hopefully. 

      We'll be launching a new location for hosting procon layers in either Los Angeles, USA or Chicago, IL. Still being decided on where the placement should be but these two locations are not set in stone yet. We would like to get feedback on where we should have a new location for hosting the Procon Layers, which you can do by replying to this topic. A poll will be created where people can vote on which location they would like to see.

      We're also looking for some suggestions on what else you would like to see for hosting provider options. So please let us know your thoughts on this matter.
      • 4 replies
    • Added ability to disable the new API check for player country info


      Updated GeoIP database file


      Removed usage sending stats


      Added EZRCON ad banner



      If you are upgrading then you may need to add these two lines to your existing installation in the file procon.cfg. To enable these options just change False to True.

      procon.private.options.UseGeoIpFileOnly False
      procon.private.options.BlockRssFeedNews False



       
      • 2 replies
    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 11 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 9 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.