Jump to content

BfBC2 Chat GUID and Stats Logger Webstats v1.21 [BC2]


ImportBot

Recommended Posts

Originally Posted by BB-Insomnia*:

 

Hate to bother you on xfire again. So post it here. Same issue as before stats are being stored but giving a blank page. Procon is set for vietnam mode and stats are set to nam for default nothing happening. Using v1.01 now

 

http://www.teamfxgaming.com/private

 

Gonna try dropping all the tables and see if that helps

 

Show errors set to 1 here is my config minus rcon and database info

Try $bc2conn_enable="1";

Your DB connection is set up correctly

 

The signaturefailure should be fixed in todays new update

 

@Tesla: I explained in the first post how to update!

 

Lastupdate: read last edit date of this post :-)

Installation:

Upload all files to your Webspace and configure config.inc.cfg!

 

Update:

Delete oldversion but keep config.inc.php and add the new /changed variables:

 

Code:

$embedded="0"; // When "1" => width=558px,  when "0" => width=778px
	$defaultgame = "bc2"; // Set "bc2" for BC2 and "nam" for Vietnam stats
	$allowswitchgame = "1"; // Set "1" to allow viewers to switch between BC2 and Vietnam stats
	$top_killstreaks="1"; // to enable Top10-View of Killstreaks
* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 284
  • Created
  • Last Reply

Top Posters In This Topic

Originally Posted by maester*:

 

Hate to bother you on xfire again. So post it here. Same issue as before stats are being stored but giving a blank page. Procon is set for vietnam mode and stats are set to nam for default nothing happening. Using v1.01 now

 

http://www.teamfxgaming.com/private

 

Gonna try dropping all the tables and see if that helps

 

Show errors set to 1 here is my config minus rcon and database info

Try $bc2conn_enable="1";

Your DB connection is set up correctly

 

The signaturefailure should be fixed in todays new update

 

@Tesla: I explained in the first post how to update!

 

Lastupdate: read last edit date of this post :-)

Installation:

Upload all files to your Webspace and configure config.inc.cfg!

 

Update:

Delete oldversion but keep config.inc.php and add the new /changed variables:

 

Code:

$embedded="0"; // When "1" => width=558px,  when "0" => width=778px
	$defaultgame = "bc2"; // Set "bc2" for BC2 and "nam" for Vietnam stats
	$allowswitchgame = "1"; // Set "1" to allow viewers to switch between BC2 and Vietnam stats
	$top_killstreaks="1"; // to enable Top10-View of Killstreaks
[/quote:7h2jmtva]

 

 

Its already set to 1 "$bc2conn_enable="1"; // Set 0 to disable if your provider blocks outgoing connections!"

Im not sure what the issue is or what has changed other then switching from shared to vietnam. Tried dropping the db and redoing and still blank. Dont know what else to do.

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

Originally Posted by HelloKitty*:

 

I guess you have only one Vietnam server running. Procon stores stats to a database and the tables in it do NOT have a suffix? Then try:

 

$defaultgame = "bc2"; // Set "bc2" for BC2 and "nam" for Vietnam stats

$allowswitchgame = "0"; // Set "1" to allow viewers to switch between BC2 and Vietnam stats

$bc2conn_enable="1"; // Set 0 to disable if your provider blocks outgoing connections!

 

I f.e. have 2 bc2 servers and one vietnam server. All three in "shared" mode store their stats in the same tables.

So I disallow switch on the statspage and leave it as "bc2 default".

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

Originally Posted by BB-Insomnia*:

 

What tables are created if you set the gamemode to vietnam only in the Stats plugin ?

as we only play BC2 vanilla, i thought i uses playerstats_bfv anyway.

 

Its already set to 1 "$bc2conn_enable="1"; // Set 0 to disable if your provider blocks outgoing connections!"

Im not sure what the issue is or what has changed other then switching from shared to vietnam. Tried dropping the db and redoing and still blank. Dont know what else to do.

Oops :biggrin:

ofcourse i wanted you to set $bc2conn_enable="0" and test ^^

Did you set shared table on or only vietnam in the procon plugin?

 

I think v1.1 will be released friday.

Finally with Weaponstats (playerspecific and globally)

and some fixed issues (hope so)

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

Originally Posted by HelloKitty*:

 

My Plugin is set to "shared" and stores combined stats from vanilla and vietnam servers in one db WITHOUT tbl_suffixes. Webstatsv1.01 are working with: Code:

$defaultgame = "bc2"
$allowswitchgame = "1"
Clicking on Vietnam brings error:

Code:

Notice: Undefined variable: game in ....\bc2statstestnew - Kopie\index.php on line 35
Table 'sql01_4518test.tbl_playerstats_bfv' doesn't exist
and sig is not working.... :cry:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BB-Insomnia*:

 

Thanks you!

put it onto my todo list for the next release.

 

do you have a folder "fonts" in you webstats directory?

bzw: komm mal ins ts: ts3.blood-boys.de

wäre am besten wenn ich mir selber anschauen könnte was da schief geht!

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

Originally Posted by maester*:

 

I have multiple servers 2 vietnam 1 BC2

 

1 BC2 is running to BC2 db

2 Vietnam is running to vietnam db

 

They were running to shared db for all servers

 

when they were running shared they were working but wanted to seperate the stats.

 

Disabled the bc2conn still blank stats but getting the same error he was above

Notice: Undefined variable: game in /home/teamfxga/public_html/private/index.php on line 35

 

players stored in tbl_playerdata

 

everything else is

tbl_dogtags_bfv

tbl_mapstats_bfv

tbl_playerstats_bfv

tbl_weaponstats_bfv

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

Originally Posted by BB-Insomnia*:

 

Requires:

viewtopic.php_f=18&t=694* on Procon

outgoing connections allowed and Curl on your Webspace for fetching stats from bfbcs.com (ranks="1")

outgoing connections allowed for ($bc2conn_enable="1")

@terwax and

Ask your provider to allow outgoing connections to your BC2 Server

 

@rh_flame

Curl will be obsolete in 1.10

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

Originally Posted by NilsBov*:

 

With the new version i get this error:

Code:

Anfrage nicht erfolgreich
I guess it means that it desent get the right info from the DB but its strange since the last version worked :/

Using the same DB info as always :/

 

Code:

$mysqltable_suffix=""; // Same like in your Procon plugin!
I have left this one empty and its have always worked before. But i wonder if i should put something in there?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BB-Insomnia*:

 

With the new version i get this error:

Code:

Anfrage nicht erfolgreich
I guess it means that it desent get the right info from the DB but its strange since the last version worked :/

Using the same DB info as always :/

 

Code:

$mysqltable_suffix=""; // Same like in your Procon plugin!
I have left this one empty and its have always worked before. But i wonder if i should put something in there?
Where do you get this error?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by XpKiller*:

 

It looks like that webstats depends on that the plugin fetch stats from bfbcs.

I think you turned it of so the table wont created.

 

I will post some code to create the table:

 

Code:

CREATE TABLE IF NOT EXISTS `tbl_bfbcs` (
				  				`bfbcsID` INT NOT NULL ,
								 `Rank` INT NOT NULL DEFAULT 0 ,
								 `Kills` INT NOT NULL DEFAULT 0 ,
								 `Deaths` INT NOT NULL DEFAULT 0 ,
								 `Score` INT NOT NULL DEFAULT 0 ,
								  `Elo` DOUBLE NOT NULL DEFAULT 0 ,
								  `Level` DOUBLE NOT NULL DEFAULT 0 ,
							          `Time` DOUBLE NOT NULL DEFAULT 0 ,
								   `LastUpdate` DATETIME NULL DEFAULT NULL ,
								     PRIMARY KEY (`bfbcsID`) )
								     ENGINE = InnoDB;
This table will stay empty unless you turn on bfbcs stats fetching
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by NilsBov*:

 

Updated to the latest plugin. Was apparently running an older version. Activated the bfbcs so have to wait an hour untill it fetches info and creates the table i guess?

 

Edit:

Created the table as you instructed and it works now =) hope it will update later allso =) thanks!

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

Originally Posted by thedeathwish*:

 

ok here is a good one for ya. explain why it does this. i was having the same issue as the guy above and did that fix but when i click on the bad company 2 link on the top next to the bad company 2 vietnam link

 

click here and see what we get and post if u know how to fix it

 

http://www.thebrothersofanarchy.com/pro ... p_game=bc2

 

 

thanks in advance :twisted:

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

Originally Posted by BB-Insomnia*:

 

ok here is a good one for ya. explain why it does this. i was having the same issue as the guy above and did that fix but when i click on the bad company 2 link on the top next to the bad company 2 vietnam link

 

click here and see what we get and post if u know how to fix it

 

http://www.thebrothersofanarchy.com/pro ... p_game=bc2

 

 

thanks in advance :twisted:

Thank you for the feed back, there is a typo in index.php.

will fix it today.

 

But why do you set allowswitchgame="1" if you do not have a nam server?

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

Originally Posted by thedeathwish*:

 

ok here is a good one for ya. explain why it does this. i was having the same issue as the guy above and did that fix but when i click on the bad company 2 link on the top next to the bad company 2 vietnam link

 

click here and see what we get and post if u know how to fix it

 

http://www.thebrothersofanarchy.com/pro ... p_game=bc2

 

 

thanks in advance :twisted:

Thank you for the feed back, there is a typo in index.php.

will fix it today.

 

But why do you set allowswitchgame="1" if you do not have a nam server?

What do u mean by allowswitchgame="1" and what do u mean a nam server

 

wHAT DO

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

Originally Posted by thedeathwish*:

 

there is more people playing in the server that is not showing up in the db or the tables. we have memebers that are playing on this server but not showing up at all. any reason for this?

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

Originally Posted by BB-Insomnia*:

 

Hey guys,

I just updated BC2Conn to v1.06-RC2, maybe you want to use this instead of the old one. You can download it here: http://bc2conn.sourceforge.net/. Have a nice day,

JLNNN

Herzlichen Dank,

die MapNames hatte ich glaube ich schon alle eingetragen.

Gibts noch mehr Changes als die drei die im Changelog standen?

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

Originally Posted by JLNNN*:

 

Ein paar Funktionen sind noch dazugekommen, wenn du dir die Dateien im SVN-Browser ansiehst, siehst du den Unterschied. Ein paar neue werden auch noch dazukommen, wie z. B. der Moderation Mode auf den Gameservern o. ä. Aber das kann noch ein bisschen dauert, da demnächst meine Klausuren anliegen.

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




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