Raised This Month: $51 Target: $400
 12% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Fora
Member
Join Date: Aug 2012
Old 12-24-2012 , 05:38   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1581

Quote:
Originally Posted by muukis View Post
Yes, but you need to do some queries to your DB: You need to transfer all the data from another player to the other. It is quite simple query string, but right now I cannot access the computer with my DB, so I cannot be sure what the query should be like. If you are not abel to do it on your own and no one here helps you first, I'll try to write the query for you next time I remember this and I'm at the spot I can access my DB.

It goes something like this:
UPDATE players SET (in here you will write all the fields in the players table like so: BOOMERS_KILLED = BOOMERS_KILLED + t2.BOOMERS_KILLED, HUNTERS_KILLED = HUNTERS_KILLED + t2.HUNTERS_KILLED, ...) FROM players AS t2 WHERE steam_id = 123 AND t2.steam_id = 456
In this case the steam id 123 is the old one and the steam id 456 is the combined one. This is pretty much pseudosyntax, so you'll need to dig up the correct one from Google or get help otherwise, if you are not familiar to the syntax yourself.
Thanks muukis! I've fount this in my DB.

Quote:
Originally Posted by skull_ View Post
Fora, yes. You need to update server's gamedata. Use the latest stable snapshot.
This plugin also uses gamedata file, which i think needs to be updated, because the plugin doesn't function right.
I've updated my servers' gamedata file(l4d_stats.txt) but anyway crashing( and no any errors log files..

sm plugins list:


sm ext list


logfile at the moment of crashing:

Last edited by Fora; 12-24-2012 at 05:45.
Fora is offline
kennyfong19931
New Member
Join Date: Apr 2010
Old 12-24-2012 , 08:15   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1582

Hi,muukis.
My server is host on a virtual lan (like Tunngle)
and the problem is each time I login to tunngle, I will get a different Lan IP, so the stats cannot continued.
Can you release a version with stats using Player name instead of Steam ID?
kennyfong19931 is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 12-30-2012 , 06:29   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1583

Quote:
Originally Posted by kennyfong19931 View Post
Hi,muukis.
My server is host on a virtual lan (like Tunngle)
and the problem is each time I login to tunngle, I will get a different Lan IP, so the stats cannot continued.
Can you release a version with stats using Player name instead of Steam ID?
Hi there! I'm sorry but I wont do an update to the stats plugin containing a player name identification. The reason is that the player name is VERY unreliable. If you're playing L4D(2) with custom player stats plugin on LAN, you should configure the LAN so that you all have static IPs.

Someone made a modification of the plugin earlier, that was identifying players by their names. Search for it and ask for the user kindly if he/she is willing to continue with it?
__________________
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
eric0279
AlliedModders Donor
Join Date: May 2007
Old 01-09-2013 , 05:11   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1584

If there are people interested in completing the translation of your plugin, he joins me here.

I'm having trouble to finish the translation, I'm not a real coder...
eric0279 is offline
Sidonicus
New Member
Join Date: Jan 2013
Old 01-11-2013 , 00:48   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1585

Help needed :

Plug in is superb & working well with slight exceptions. Player IPs are not being posted to my DB, thus flags for player country are all set to international. If I open my PHPadmin and look at the player tables ip is set to 0.0.0.0. If I manually enter an ip into the table the flag then shows ok. Noticed other player table fields are not populating as well: melee_kills, kill_jockey, kill_spitter, kill_charger. As most are working I can only presume the prob is in srcds and it's not feeding some stats through to the plugin ?????

Else everything else working perfectly !

Any ideas?
Sidonicus is offline
el_psycho
Member
Join Date: Feb 2012
Location: Vancouver, Canada
Old 02-05-2013 , 11:38   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1586

Ummmm... I just made a new copy of my old server and have the same problem as Sidonicus (old servers are working fine).

The console is spamming this:
Code:
L 02/05/2013 - 08:37:30: [SM] Native "GetClientIP" reported: Client index 0 is invalid
L 02/05/2013 - 08:37:30: [SM] Displaying call stack trace for plugin "l4d_stats.smx":
L 02/05/2013 - 08:37:30: [SM]   [0]  Line 2682, l4d_stats.sp::UpdatePlayerFull()
L 02/05/2013 - 08:37:30: [SM]   [1]  Line 2706, l4d_stats.sp::UpdatePlayerCallback()
The strange thing is this new server is just a copy of the old one.
I will come back and report when i know more.

edit:
I found the cause. In my case it was an incomplete database. i had added an extra column to store the last used server port to the database in the players table and changed the plugin accordingly. I forgot about this with my new copy of the server.
So i would suggest to Sidonicus to check if you have all nessesary columns in the players table since adding the missing column fixed the problem for me.

Last edited by el_psycho; 02-05-2013 at 12:32.
el_psycho is offline
minos
Junior Member
Join Date: Apr 2009
Old 03-13-2013 , 11:55   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1587

Hi! Thx for this plugin...

I'm lost with the google map feature :
- how to always show that map in the index page, with S for "server" as shown in your description ?
possible without players in server ?

Thx for help!
minos is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 03-28-2013 , 03:53   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1588

Quote:
Originally Posted by minos View Post
Hi! Thx for this plugin...

I'm lost with the google map feature :
- how to always show that map in the index page, with S for "server" as shown in your description ?
possible without players in server ?

Thx for help!
First of all, sorry for the late answer. It should work like that? It does not for you?? Works for me.
__________________
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
Evkval
Junior Member
Join Date: Jul 2010
Location: Russia
Old 04-20-2013 , 15:58   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1589

Help me pls. link does not work on Steam Profile

[IMG]http://img689.**************/img689/6051/screenshot20130420001q.jpg[/IMG]
Evkval is offline
RasterMan
Senior Member
Join Date: Mar 2004
Location: Luton, UK
Old 06-02-2013 , 05:14   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #1590

Tried to compile with the latest Linux SM Snapshot 1.5.0-hg3841

//// l4d_stats.sp
// l4d_stats.sp(3011) : warning 200: symbol "StatsPrintToChatAllPreFormatted" is
truncated to 31 characters
// l4d_stats.sp(3011) : error 035: argument type mismatch (argument 1)
// l4d_stats.sp(7883) : warning 200: symbol "StatsPrintToChatAllPreFormatted" is
truncated to 31 characters
// l4d_stats.sp(7883) : error 035: argument type mismatch (argument 1)
// l4d_stats.sp(7969) : warning 200: symbol "StatsPrintToChatAllPreFormatted" is
truncated to 31 characters
// l4d_stats.sp(7969) : error 035: argument type mismatch (argument 1)
// l4d_stats.sp(8007) : warning 200: symbol "StatsPrintToChatAllPreFormatted" is
truncated to 31 characters
// l4d_stats.sp(8007) : error 035: argument type mismatch (argument 1)
// l4d_stats.sp(8015) : warning 200: symbol "StatsPrintToChatAllPreFormatted" is
truncated to 31 characters
// l4d_stats.sp(8015) : error 035: argument type mismatch (argument 1)
// l4d_stats.sp(11277) : warning 200: symbol "StatsPrintToChatAllPreFormatted" i
s truncated to 31 characters
// l4d_stats.sp(11277) : error 035: argument type mismatch (argument 1)
// l4d_stats.sp(11417) : warning 200: symbol "StatsPrintToChatAllPreFormatted" i
s truncated to 31 characters
// l4d_stats.sp(11417) : error 035: argument type mismatch (argument 1)
// l4d_stats.sp(11433) : warning 200: symbol "StatsPrintToChatAllPreFormatted" i
s truncated to 31 characters
// l4d_stats.sp(11433) : error 025: function heading differs from prototype
// l4d_stats.sp(11433) : error 025: function heading differs from prototype
// l4d_stats.sp(11434) : error 021: symbol already defined: "StatsPrintToChatAll
PreFormatted"
//
// 10 Errors.
__________________
RasterMan is offline
Send a message via MSN to RasterMan
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 07:07.


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