Raised This Month: $ Target: $400
 0% 

[LOCKED] Stats plugin


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 03-25-2012 , 08:01   Re: [BIG REQ] Stats plugin
#31

Now write this in chat:

Code:
* You are not ranket.
* Could not display the top.
* Could not display the top
In console:

Code:
L 03/25/2012 - 14:57:11: [stats_custom.amxx] Error selecting rank: no such column: kills
L 03/25/2012 - 14:57:13: [stats_custom.amxx] Error selecting rank: no such column: kills
L 03/25/2012 - 14:57:14: [stats_custom.amxx] Error selecting rank: no such column: deaths
L 03/25/2012 - 14:57:17: [stats_custom.amxx] Error saving player data: table stats_custom has no column named kills
L 03/25/2012 - 14:57:17: [stats_custom.amxx] Error saving player weapon data: table stats_custom_weapons has no column named
And I have killss and deaths?
Lolz0r is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-25-2012 , 13:56   Re: [BIG REQ] Stats plugin
#32

Probably because I updated the table structure.

Use this version, and run the "csstats_reset_custom" command from the server's console.
Attached Files
File Type: sma Get Plugin or Get Source (stats_custom.sma - 345 views - 28.4 KB)

Last edited by Exolent[jNr]; 03-28-2012 at 15:18.
Exolent[jNr] is offline
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 03-25-2012 , 14:18   Re: [BIG REQ] Stats plugin
#33

When the write a command "csstats_reset_custom" in console a showed this - "near "," : syntax error"

And when a write /top15 and /bot15 server crashed. Also in console a showed this:

Code:
L 03/25/2012 - 21:06:47: [stats_custom.amxx] Error saving player weapon data: near ",": syntax error
L 03/25/2012 - 21:06:47: [stats_custom.amxx] Error saving player weapon data: near ",": syntax error
Lolz0r is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-25-2012 , 14:59   Re: [BIG REQ] Stats plugin
#34

SQLite has weird query restrictions. Try it now.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 03-25-2012 , 15:18   Re: [BIG REQ] Stats plugin
#35

Now after write /top15 and /bot15 in console a write this:

Code:
L 03/25/2012 - 22:15:18: [stats_custom.amxx] Error selecting rank: ambiguous column name: deaths
L 03/25/2012 - 22:15:41: [stats_custom.amxx] Error selecting rank: ambiguous column name: deaths
And not display MOTD.
Lolz0r is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-25-2012 , 16:42   Re: [BIG REQ] Stats plugin
#36

Fixed.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 03-25-2012 , 16:48   Re: [BIG REQ] Stats plugin
#37

The server again crash, after writes a commands - /top15 and /bot15, no errors in console, just crashes.
Lolz0r is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-25-2012 , 19:27   Re: [BIG REQ] Stats plugin
#38

Fixed that.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
lqlqlq
Senior Member
Join Date: Jan 2008
Old 03-26-2012 , 04:59   Re: [BIG REQ] Stats plugin
#39

server is freeze for seconds when kill someone. (this is bug)
lqlqlq is offline
Lolz0r
Veteran Member
Join Date: Nov 2010
Location: Balgaria
Old 03-26-2012 , 06:17   Re: [BIG REQ] Stats plugin
#40

Quote:
Originally Posted by Exolent[jNr] View Post
Fixed that.
Okay, top statistic it work, but bot statistic no(you can remove it right in the new version). I found one problem:

Any value that i type for "cstats_rank" in the code, in the server when i type "amx_cvar csstats_rank" it is allways 0.


Quote:
Originally Posted by lqlqlq View Post
server is freeze for seconds when kill someone. (this is bug)
+1


Quote:
Originally Posted by Exolent[jNr] View Post
If everything works, I'll change the top from console to MOTD page.
Now when a top opens, could add MOTD page, here's one - photo + .txt file:
Attached Files
File Type: zip motd_desgin.zip (20.2 KB, 102 views)

Last edited by Lolz0r; 03-26-2012 at 06:18.
Lolz0r is offline
Closed Thread



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 10:23.


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