Jump to content

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


tyger07

Recommended Posts

Originally Posted by ty_ger07*:

 

oh ok I don't know anything about that,, So if I contacted my server host I should ask to get it updated ?

Yeah, sure. You can ask your server host why the imagettfbbox() function is not working in your server's PHP environment and ask if perhaps GD is not installed.
* 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*:

 

I made a phpinfo.php and its saying that GD Support: enabled

Is the Headshots graph same because that is working?

No, the headshots graph is Google Charts API.

 

What version of PHP is running on your server? What version of GD is running on your server?

 

Here is mine for comparison:

PHP Version 5.4.19

...

GD Support enabled

GD Version bundled (2.1.0 compatible)

...

GIF Read Support enabled

GIF Create Support enabled

JPEG Support enabled

libJPEG Version 6b

PNG Support enabled

libPNG Version 1.2.49

WBMP Support enabled

XBM Support enabled

...

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

Originally Posted by Gijzijtdood*:

 

hey Ty_ger,

 

I was trying to add some images for my BFH stats page.

I put them in de images map with the Map-code as name but they will not show in the webpage.

 

Do i have to change something else to make this work?

 

Greetz,

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

Originally Posted by ty_ger07*:

 

hey Ty_ger,

 

I was trying to add some images for my BFH stats page.

I put them in de images map with the Map-code as name but they will not show in the webpage.

 

Do i have to change something else to make this work?

 

Greetz,

I don't play BFH and I don't know the map names or map codes, but this is how it works:

 

constants.php:

...

 

// make an array of map names

// left value is name as it will appear on stats page

$map_array = array(

'Zavod 311' => 'MP_Abandoned',

'Lancang Dam' => 'MP_Damage',

'Flood Zone' => 'MP_Flooded',

...

Value on right in $map_array (MP_Abandoned for example) must exactly (upper case, lower case, underlines, spaces...) match the map code that is in the database. The image filename in /common/images/maps/ must exactly match that map code as well.

 

constants.php must be updated. Just placing the image in the images folder won't make any difference until constants.php has the new map information updated.

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

Originally Posted by Gijzijtdood*:

 

I don't play BFH and I don't know the map names or map codes, but this is how it works:

 

constants.php:

 

 

Value on right in $map_array (MP_Abandoned for example) must exactly (upper case, lower case, underlines, spaces...) match the map code that is in the database. The image filename in /common/images/maps/ must exactly match that map code as well.

 

constants.php must be updated. Just placing the image in the images folder won't make any difference until constants.php has the new map information updated.

Thx.

I have some work to do :biggrin:

Allot of new maps modes and weapons :tongue:

 

Greetz

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

Originally Posted by )RAG()N*:

 

No, the headshots graph is Google Charts API.

 

What version of PHP is running on your server? What version of GD is running on your server?

 

Here is mine for comparison:

ok this is mine

 

PHP Version 5.4.35

 

GD Support enabled

GD Version bundled (2.1.0 compatible)

GIF Read Support enabled

GIF Create Support enabled

JPEG Support enabled

libJPEG Version 6b

PNG Support enabled

libPNG Version 1.2.49

WBMP Support enabled

XPM Support enabled

libXpm Version 30411

XBM Support enabled

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

Originally Posted by ty_ger07*:

 

I don't know. I would ask your server host.

 

From Googling, I am coming up with answers such as GD needs to be recompiled, is improperly configured, or doesn't have swap space available.

 

Whatever the cause, it appears to be an issue with your server.

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

Originally Posted by ty_ger07*:

 

The stats are in the database, so none of that should change unless you mess with the database.

 

Which files are you going to upload to the server over again? The stats page files? Replacing the stats page files will not help your GD issue. You need to solve your GD configuration issue on your server which is a PHP environment issue.

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

Originally Posted by khalane*:

 

hello , with Hardline, i have this error :

 

[15:06:40 18] [AdKats] SUCCESS: Database connection open.

[15:06:40 37] [AdKats] ERROR: Game name BFHL not recognized.

[15:06:40 37] [AdKats] ERROR: Tables from XPKiller's Stat Logger not present in the database. Enable that plugin then re-run AdKats!

[15:06:40 39] [AdKats] INFO: Shutting down AdKats.

[15:06:40 81] [AdKats] SUCCESS: Database timing confirmed.

[15:06:45 89] [AdKats] AdKats 6.5.0.0 Disabled! =(

 

How fix it ? Thanks !

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

Originally Posted by ColColonCleaner*:

 

hello , with Hardline, i have this error :

 

[15:06:40 18] [AdKats] SUCCESS: Database connection open.

[15:06:40 37] [AdKats] ERROR: Game name BFHL not recognized.

[15:06:40 37] [AdKats] ERROR: Tables from XPKiller's Stat Logger not present in the database. Enable that plugin then re-run AdKats!

[15:06:40 39] [AdKats] INFO: Shutting down AdKats.

[15:06:40 81] [AdKats] SUCCESS: Database timing confirmed.

[15:06:45 89] [AdKats] AdKats 6.5.0.0 Disabled! =(

 

How fix it ? Thanks !

Double post? You already asked this in the correct thread.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ParadoxCAV*:

 

Hello , there is a stats page overview for Hardline Please ?

Temp fix would be going to Connect.php in the /Common/ folder and changing

 

Code:

WHERE `Name` = 'BF4'
to

 

Code:

WHERE `Name` = 'BFHL'
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Hello , there is a stats page overview for Hardline Please ?

I don't plan on creating a version for hardline. I don't have a server, resources for testing, or time.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by UKF_HHA*:

 

Hey,

Is there a way to add stats of 2 servers (I had an old server and now I got a new one and I forgot to restore and continue adding stats to it, so I wanna add the old server stats to the new one).

Is there a way to do it?

Thank you

Best regards

UKF

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

Originally Posted by ty_ger07*:

 

Hey,

Is there a way to add stats of 2 servers (I had an old server and now I got a new one and I forgot to restore and continue adding stats to it, so I wanna add the old server stats to the new one).

Is there a way to do it?

Thank you

Best regards

UKF

No, there is no easy way of merging servers together. That is what "combined server stats" is for.

"Combined stats from servers above"

* 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.