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

[CS:S] RankMe (Version 2.8.3 - 19 Jul 12)


Post New Thread Reply   
 
Thread Tools Display Modes
lokizito
Veteran Member
Join Date: Dec 2010
Location: Brazil
Old 10-09-2011 , 14:04   Re: [CS:S] RankMe (Version 2.5.8 - 09 Oct 11)
Reply With Quote #511

Quote:
Originally Posted by war100ck View Post
All worth it, here is the config:

The error does not disappear and the file rank.sql not. (
Unload the plug-in, no error.
What is cstrike folder CHMOD?
Because it looks like the plugin isn't being able to write.
__________________
[CS:S] RankMe - Why pay for a rank plugin if you can have one for free?
[CS:S] RankMe Connect Announcer - Announce when a player connect
Translation Project - Let's make the plugins to be international
lokizito is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 10-09-2011 , 17:02   Re: [CS:S] RankMe (Version 2.5.8 - 09 Oct 11)
Reply With Quote #512

New error (those clients are BOTs) with v2.5.8:

Code:
L 10/09/2011 - 22:53:29: SourceMod error session started
L 10/09/2011 - 22:53:29: Info (map "de_losttemple_pro") (file "errors_20111009.log")
L 10/09/2011 - 22:53:29: [SM] Native "SQL_EscapeString" reported: Invalid database Handle 0 (error: 4)
L 10/09/2011 - 22:53:29: [SM] Displaying call stack trace for plugin "rankme.smx":
L 10/09/2011 - 22:53:29: [SM]   [0]  Line 1345, C:\Users\***\Desktop\sourcemod-1.3.8-windows\addons\sourcemod\scripting\rankme.sp::OnClientPutInServer()
L 10/09/2011 - 22:53:29: [SM] Native "SQL_EscapeString" reported: Invalid database Handle 0 (error: 4)
L 10/09/2011 - 22:53:29: [SM] Displaying call stack trace for plugin "rankme.smx":
L 10/09/2011 - 22:53:29: [SM]   [0]  Line 1345, C:\Users\***\Desktop\sourcemod-1.3.8-windows\addons\sourcemod\scripting\rankme.sp::OnClientPutInServer()
L 10/09/2011 - 22:53:29: [SM] Native "SQL_EscapeString" reported: Invalid database Handle 0 (error: 4)
L 10/09/2011 - 22:53:29: [SM] Displaying call stack trace for plugin "rankme.smx":
L 10/09/2011 - 22:53:29: [SM]   [0]  Line 1345, C:\Users\***\Desktop\sourcemod-1.3.8-windows\addons\sourcemod\scripting\rankme.sp::OnClientPutInServer()
L 10/09/2011 - 22:53:29: [SM] Native "SQL_EscapeString" reported: Invalid database Handle 0 (error: 4)
L 10/09/2011 - 22:53:29: [SM] Displaying call stack trace for plugin "rankme.smx":
L 10/09/2011 - 22:53:29: [SM]   [0]  Line 1345, C:\Users\***\Desktop\sourcemod-1.3.8-windows\addons\sourcemod\scripting\rankme.sp::OnClientPutInServer()
GrO is offline
lokizito
Veteran Member
Join Date: Dec 2010
Location: Brazil
Old 10-09-2011 , 19:33   Re: [CS:S] RankMe (Version 2.5.9 - 09 Oct 11)
Reply With Quote #513

New version posted. (Fix)
Changelog:
Code:
= V.2.5.9 (10/09/11):
     => Fix:
          = Fixed calling SQL_EscpaeString before the connection to the database was made. (thanks GrO)
@All
Thanks for the report GrO. The problem was that i was trying to escape the bot names before your connection to the database was made.
__________________
[CS:S] RankMe - Why pay for a rank plugin if you can have one for free?
[CS:S] RankMe Connect Announcer - Announce when a player connect
Translation Project - Let's make the plugins to be international
lokizito is offline
banania
Member
Join Date: Feb 2011
Old 10-09-2011 , 19:59   Re: [CS:S] RankMe (Version 2.5.9 - 09 Oct 11)
Reply With Quote #514

Here are the contents of rankme.debug

Code:
L 10/10/2011 - 01:47:00: [rankme.smx] "sm_rank" command called by client 1.
L 10/10/2011 - 01:47:00: [rankme.smx] Rank SQL callback called by client 1.
L 10/10/2011 - 01:47:10: [rankme.smx] "rank" chat hook called by client 1.
L 10/10/2011 - 01:47:10: [rankme.smx] "sm_rank" command called by client 1.
L 10/10/2011 - 01:47:10: [rankme.smx] "rank" chat hook called by client 1.
L 10/10/2011 - 01:47:10: [rankme.smx] "sm_rank" command called by client 1.
L 10/10/2011 - 01:47:10: [rankme.smx] Rank SQL callback called by client 1.
L 10/10/2011 - 01:47:10: [rankme.smx] Rank SQL callback called by client 1.
L 10/10/2011 - 01:47:25: [rankme.smx] "rank" chat hook called by client 1.
L 10/10/2011 - 01:47:25: [rankme.smx] "sm_rank" command called by client 1.
L 10/10/2011 - 01:47:25: [rankme.smx] "rank" chat hook called by client 1.
L 10/10/2011 - 01:47:25: [rankme.smx] "sm_rank" command called by client 1.
L 10/10/2011 - 01:47:25: [rankme.smx] Rank SQL callback called by client 1.
L 10/10/2011 - 01:47:25: [rankme.smx] Rank SQL callback called by client 1.
L 10/10/2011 - 01:47:31: [rankme.smx] "sm_rank" command called by client 1.
L 10/10/2011 - 01:47:31: [rankme.smx] Rank SQL callback called by client 1.

For cons, I just noticed something odd when I write "rank" the bug is present, but when I write "!rank" it works well and displayed a rank only once.
banania is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 10-09-2011 , 21:33   Re: [CS:S] RankMe (Version 2.5.9 - 09 Oct 11)
Reply With Quote #515

Quote:
Originally Posted by lokizito View Post
Thanks for the report GrO. The problem was that i was trying to escape the bot names before your connection to the database was made.
I see, thanks for a fixed version, nice work.
GrO is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 10-09-2011 , 23:55   Re: [CS:S] RankMe (Version 2.5.9 - 09 Oct 11)
Reply With Quote #516

Another one:

Code:
L 10/10/2011 - 05:33:18: SourceMod error session started
L 10/10/2011 - 05:33:18: Info (map "cs_office") (file "errors_20111010.log")
L 10/10/2011 - 05:33:18: [SM] Plugin "rankme.smx" encountered error 23: Native detected error
L 10/10/2011 - 05:33:18: [SM] Invalid timer handle 49603a2 (error 3) during timer end, displayed function is timer callback, not the stack trace
L 10/10/2011 - 05:33:18: [SM] Unable to call function "Timer_LoadPlayer" due to above error(s).
L 10/10/2011 - 05:33:18: [SM] Plugin "rankme.smx" encountered error 23: Native detected error
L 10/10/2011 - 05:33:18: [SM] Invalid timer handle 4a903ab (error 3) during timer end, displayed function is timer callback, not the stack trace
L 10/10/2011 - 05:33:18: [SM] Unable to call function "Timer_LoadPlayer" due to above error(s).
L 10/10/2011 - 05:33:18: [SM] Plugin "rankme.smx" encountered error 23: Native detected error
L 10/10/2011 - 05:33:18: [SM] Invalid timer handle 4bd03b2 (error 3) during timer end, displayed function is timer callback, not the stack trace
L 10/10/2011 - 05:33:18: [SM] Unable to call function "Timer_LoadPlayer" due to above error(s).
L 10/10/2011 - 05:33:18: [SM] Plugin "rankme.smx" encountered error 23: Native detected error
L 10/10/2011 - 05:33:18: [SM] Invalid timer handle 4c903b8 (error 3) during timer end, displayed function is timer callback, not the stack trace
L 10/10/2011 - 05:33:18: [SM] Unable to call function "Timer_LoadPlayer" due to above error(s).
BTW, why window of next players trigger is vanishing so quickly? Is it so on purpose?

Last edited by GrO; 10-10-2011 at 00:03.
GrO is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 10-10-2011 , 10:09   Re: [CS:S] RankMe (Version 2.5.9 - 09 Oct 11)
Reply With Quote #517

Quote:
Originally Posted by banania View Post
For cons, I just noticed something odd when I write "rank" the bug is present, but when I write "!rank" it works well and displayed a rank only once.
Then don't type rank... and type !rank
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
wtfaatp
Senior Member
Join Date: Jul 2010
Old 10-10-2011 , 20:10   Re: [CS:S] RankMe (Version 2.5.9 - 09 Oct 11)
Reply With Quote #518

I'm looking for a Stats system to use for my PUG server.
Basically it would need to only monitor players stats when sm_cvar 1.
Also have a stats reset so I could restart the stats each match.
Would be even better if it was possible to still show stats even sm_cvar 0.

I hope someone understands what I mean.. I really hope this can do what I'm asking.
__________________
SourceMod : 1.10.0 (Official) | MetaMod : 1.10.7 (Official)
Server : NFOservers - Windows
wtfaatp is offline
hasjduden
Member
Join Date: Jun 2011
Old 10-11-2011 , 03:30   Re: [CS:S] RankMe (Version 2.5.9 - 09 Oct 11)
Reply With Quote #519

Hi agian..

Whats wrong with the "hits"?

Look at ex. this guy: http://nbgaming.com/rank/surf/info.php?ID=6197

Bullets fired 6



Total hits 0
Head 3534
Chest 5170
Stomach 2297
Left arm 2912
Right arm 1433
Left leg 950
Right leg 835

Whats wrong? :/
hasjduden is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 10-11-2011 , 06:18   Re: [CS:S] RankMe (Version 2.5.9 - 09 Oct 11)
Reply With Quote #520

Quote:
Originally Posted by hasjduden View Post
Hi agian..

Whats wrong with the "hits"?
Quote:
Originally Posted by lokizito View Post
New version posted. (Fixes)
Changelog:
Code:
= V.2.5.7 (10/07/11):
     => Fix:
          = Now using SQL_EscapeString for preventing SQL Injection insted of ReplaceString. (thanks Antithasys)
          = When using rankme_enabled 0 it will not show commands as unknown. (thanks Antithasys)
          = Fixed tops queries being able to use LIMIT -1. (thanks 4erkess)
          = Fixed RankMe_GetHitBox native.
          = Fixed hits and shots not being properly counted. (thanks GrO)
Fixed the problem. Actually your hits will be shown like that as it is on the Database. If you want, what you can do is reset the rank to get them properly. (don't know if it is viable though)
GrO 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 17:20.


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