Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Custom Player Stats v1.4B121


Post New Thread Reply   
 
Thread Tools Display Modes
kwski43
Senior Member
Join Date: Mar 2009
Old 04-30-2010 , 15:20   Re: [L4D & L4D2] Custom Player Stats v1.4B76
Reply With Quote #691

I think seperated ip2country doesn't work, did you used my method or made own? Basically it looks like: http://stats.l4d2.jacklul.tk now.
Also clear install with createtable.php doesnt work, need to run updatetable.php, wouldn't be easier to split this two files in one? like setup? I can do it for you if you want. Also you should think about what when more mutations will come, watch the onmouse boxes, you can't write there all gamemode's stats, wouldn't be this easier to make all mutations count as one or make a Mutations subpage with categoried mutations, but in mouse boxes leave overall mutations stats for the player?
__________________

Last edited by kwski43; 04-30-2010 at 15:29.
kwski43 is offline
eargosedown
Member
Join Date: Jan 2010
Old 04-30-2010 , 15:52   Re: [L4D & L4D2] Custom Player Stats v1.4B76
Reply With Quote #692

Updating the tables, I get the following:

Quote:

Warning: fgetcsv() expects parameter 1 to be resource, boolean given in /home1/trudyand/public_html/Alay/l4d_stats_web/updatetable.php on line 1256
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ',), (,,), (,,), (,,), (,,), (,,), (,,), (,,), (,,), (,,), (,,), (,,), (,,), (,,)' at line 1
eargosedown is offline
Slyke
Junior Member
Join Date: Apr 2010
Old 04-30-2010 , 16:57   Re: [L4D & L4D2] Custom Player Stats v1.4B76
Reply With Quote #693

Quick reply box is small as.

Any way, I've noticed that when sb_all_bot_team is set to 1 on L4D2 servers that the L4D_Stats plugin stops working after all players leave.

The server just sits there doing nothing (It doesn't idle), the bots still attack and everything, but yeah.

It brings up the rankmenu menu, but, say if I select "Show my rank" it will do nothing. This is after we've started a new game of course.

The only way to fix this is to restart the server.

It's like it looses it's ability to communicate with the database, because it doesn't say "You've earned X points for killing X infected" either.

Here's the error log:
Quote:
L 05/01/2010 - 01:26:27: SourceMod error session started
L 05/01/2010 - 01:26:27: Info (map "c5m4_quarter") (file "errors_20100501.log")
L 05/01/2010 - 01:26:27: [SM] Native "GetConVarInt" reported: Invalid convar handle 0 (error 4)
L 05/01/2010 - 01:26:27: [SM] Displaying call stack trace for plugin "specialspawn.smx":
L 05/01/2010 - 01:26:27: [SM] [0] Line 26, /home/groups/alliedmodders/forums/files/5/6/7/4/5/48475.attach::OnPluginStart()
L 05/01/2010 - 01:41:27: [SM] Native "PrintToChat" reported: Client 1 is not in game
L 05/01/2010 - 01:41:27: [SM] Displaying call stack trace for plugin "l4d_stats.smx":
L 05/01/2010 - 01:41:27: [SM] [0] Line 1184, /home/groups/alliedmodders/forums/files/5/2/0/8/2/59013.attach::AnnounceConnect()
L 05/01/2010 - 01:52:20: Error log file session closed.
Slyke is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 04-30-2010 , 18:18   Re: [L4D & L4D2] Custom Player Stats v1.4B76
Reply With Quote #694

I will look in to these matters this weekend. I am currently visiting my parents and far away from proper testing environment. I have not been able to test things properly and the upload is based on my personal subjective testing. All seem to work fine on my system.

I'll post back within his weekend.
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.
muukis is offline
Slyke
Junior Member
Join Date: Apr 2010
Old 04-30-2010 , 23:40   Re: [L4D & L4D2] Custom Player Stats v1.4B76
Reply With Quote #695

Quote:
Originally Posted by muukis View Post
I will look in to these matters this weekend. I am currently visiting my parents and far away from proper testing environment. I have not been able to test things properly and the upload is based on my personal subjective testing. All seem to work fine on my system.

I'll post back within his weekend.
Alright sweet dude. Have fun!
Slyke is offline
RasterMan
Senior Member
Join Date: Mar 2004
Location: Luton, UK
Old 05-01-2010 , 03:11   Re: [L4D & L4D2] Custom Player Stats v1.4B76
Reply With Quote #696

New error message for v1.4B76 I did a clean full install.

L 05/01/2010 - 08:06:53: SourceMod error session started
L 05/01/2010 - 08:06:53: Info (map "c1m1_hotel") (file "errors_20100501.log")
L 05/01/2010 - 08:06:53: [l4d_stats.smx] DisplayRank Query failed: Unknown column 'realism_kills_survivors' in 'field list'


Also same as one of the post before no l4d_stats.cfg is being created!
__________________
RasterMan is offline
Send a message via MSN to RasterMan
muukis
Veteran Member
Join Date: Apr 2009
Old 05-01-2010 , 04:41   Re: [L4D & L4D2] Custom Player Stats v1.4B76
Reply With Quote #697

Quote:
Originally Posted by RasterMan View Post
New error message for v1.4B76 I did a clean full install.

L 05/01/2010 - 08:06:53: SourceMod error session started
L 05/01/2010 - 08:06:53: Info (map "c1m1_hotel") (file "errors_20100501.log")
L 05/01/2010 - 08:06:53: [l4d_stats.smx] DisplayRank Query failed: Unknown column 'realism_kills_survivors' in 'field list'


Also same as one of the post before no l4d_stats.cfg is being created!
It seems I forgot to add 'realism_kills_survivors' in the createtables.php. Running updatetables.php should fix that. I'll upload something up today.

What do you mean with "Also same as one of the post before no l4d_stats.cfg is being created"?
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.
muukis is offline
RasterMan
Senior Member
Join Date: Mar 2004
Location: Luton, UK
Old 05-01-2010 , 05:05   Re: [L4D & L4D2] Custom Player Stats v1.4B66
Reply With Quote #698

Quote:
Originally Posted by .=QUACK=.Major.pain View Post
Thanks

I have both plugins, but notice this test plugin doesn't create a .cfg file?
__________________
RasterMan is offline
Send a message via MSN to RasterMan
Somesite
Junior Member
Join Date: Feb 2010
Old 05-01-2010 , 10:12   Re: [L4D & L4D2] Custom Player Stats v1.4B76
Reply With Quote #699

Suggestion for the web page, at this point instead of adding a paragraph of links on the top of the ranking page, you could implement a drop-down box. It's also unfortunate that the day you come out with your realism versus implementation they changed the mutation to something new.
Somesite is offline
Woonan
Junior Member
Join Date: Dec 2009
Old 05-01-2010 , 10:36   Re: [L4D & L4D2] Custom Player Stats v1.4B76
Reply With Quote #700

name modification
last version, tracks by name not steamid
working fine on my server over 9k players
someone asked, grab it
Attached Files
File Type: sp Get Plugin or Get Source (l4d_stats.sp - 270 views - 318.0 KB)
Woonan is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode