Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
banania
Member
Join Date: Feb 2011
Old 10-07-2011 , 13:17   Re: [CS:S] RankMe (Version 2.5.6 - 04 Oct 11)
Reply With Quote #491

oup's I'm sorry

19:16:40 [SM] Displaying 10 extensions:
[01] Automatic Updater (1.3.8): Updates SourceMod gamedata files
[02] Webternet (1.3.8): Extension for interacting with URLs
[03] CS:S Tools (1.3.8): CS:S extended functionality
[04] BinTools (1.3.8): Low-level C/C++ Calling API
[05] Top Menus (1.3.8): Creates sorted nested menus
[06] GeoIP (1.3.8): Geographical IP information
[07] SDK Tools (1.3.8): Source SDK Tools
[08] Client Preferences (1.3.8): Saves client preference settings
[09] SQLite (1.3.8): SQLite Driver
[10] MySQL-DBI (1.3.8): MySQL driver implementation for DBI

Last edited by Antithasys; 10-07-2011 at 13:54. Reason: disabled smilies
banania is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 10-07-2011 , 16:48   Re: [CS:S] RankMe (Version 2.5.5 - 03 Oct 11)
Reply With Quote #492

Quote:
Originally Posted by lokizito View Post
The problem i know. What i'm saying is: I can't find the reason of the hits in HitBox and in Statsme being different because they are counted at the same event.
The problem corrected, actually, wasn't correct. What i changed was the total. It was getting the Hits from array g_aStats[client][HITS], now, it is getting the sum of g_aHitBox[client][1~7] (sum of the hits of each body part). They should be equal, but in your case, it isn't. Do you understand me now?
It looks like it counts all fired shots, not just succesful hits only. I'm using SQLite, disabled rank.sql dump, rank by SteamIDs.
GrO is offline
lokizito
Veteran Member
Join Date: Dec 2010
Location: Brazil
Old 10-07-2011 , 16:54   Re: [CS:S] RankMe (Version 2.5.5 - 03 Oct 11)
Reply With Quote #493

Quote:
Originally Posted by banania View Post
oup's I'm sorry

19:16:40 [SM] Displaying 10 extensions:
[01] Automatic Updater (1.3.8): Updates SourceMod gamedata files
[02] Webternet (1.3.8): Extension for interacting with URLs
[03] CS:S Tools (1.3.8): CS:S extended functionality
[04] BinTools (1.3.8): Low-level C/C++ Calling API
[05] Top Menus (1.3.8): Creates sorted nested menus
[06] GeoIP (1.3.8): Geographical IP information
[07] SDK Tools (1.3.8): Source SDK Tools
[08] Client Preferences (1.3.8): Saves client preference settings
[09] SQLite (1.3.8): SQLite Driver
[10] MySQL-DBI (1.3.8): MySQL driver implementation for DBI
I really don't know. Will add version full of debug messages and post it for you so we can check it.

Quote:
Originally Posted by GrO View Post
It looks like it counts all fired shots, not just succesful hits only. I'm using SQLite, disabled rank.sql dump, rank by SteamIDs.
Will test that but, not possible as, fired shots trigger weapon_fire, and hits trigger player_hurt and the plugin only change the hits count at player_hurt event callback.
__________________
[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

Last edited by lokizito; 10-07-2011 at 17:03.
lokizito is offline
lokizito
Veteran Member
Join Date: Dec 2010
Location: Brazil
Old 10-07-2011 , 17:37   Re: [CS:S] RankMe (Version 2.5.7 - 07 Oct 11)
Reply With Quote #494

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)
@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)

@banania
Will post the version with debug messages soon.
EDIT: Posted below. What it does is write to file "rankme.debug.log" at your cstrike when the rank chat hook, the sm_rank command/CMD_Rank and the Rank SQL callback are called. I want to see where the problem is happening. When you load it, first use !rank at the chat, then just rank. After that you can unload it and post me the content of "rankme.debug.log".
I've posted the source code so everyone can see that the difference between this version and the official are just the messages. And as it won't compile at the forum, the smx is attached.

@all
Do not use the version posted below. It's a debug version for banania's problem, if you use it, your server may get full of log messages.
Attached Files
File Type: sp Get Plugin or Get Source (rankme.sp - 124 views - 63.9 KB)
File Type: inc cmds.inc (32.7 KB, 151 views)
File Type: smx rankme.smx (45.3 KB, 147 views)
__________________
[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

Last edited by lokizito; 10-07-2011 at 17:45.
lokizito is offline
banania
Member
Join Date: Feb 2011
Old 10-07-2011 , 18:00   Re: [CS:S] RankMe (Version 2.5.7 - 07 Oct 11)
Reply With Quote #495

I understand I have to replace my files with those you gave me and I must write !rank
By cons, should I disable just after, or you want me to let him shoot some time?
banania is offline
lokizito
Veteran Member
Join Date: Dec 2010
Location: Brazil
Old 10-07-2011 , 18:04   Re: [CS:S] RankMe (Version 2.5.7 - 07 Oct 11)
Reply With Quote #496

Quote:
Originally Posted by banania View Post
I understand I have to replace my files with those you gave me and I must write !rank
By cons, should I disable just after, or you want me to let him shoot some time?
Just put the smx at your plugins folder replacing the old one. Then write !rank and after that rank. Because they call different functions. You can let it run, the only thing is that it will keep logging to the file. If you want, just put the first post version on top of this one after doing the typing.
Remember to post the rankme.debug.log.
__________________
[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
hasjduden
Member
Join Date: Jun 2011
Old 10-07-2011 , 18:43   Re: [CS:S] RankMe (Version 2.5.7 - 07 Oct 11)
Reply With Quote #497

I absolutely love your plugin. It's working perfectly!

I just wanted to share with you one way to organize the rankings at your homepage. Ive spent alot of time coding this (layout+nubish at php, etc).

Click here to have a look.

What do you think?

Note:
- The data is the same on both because my servers is down and I used an old backup on both.

-Xenon
hasjduden is offline
lokizito
Veteran Member
Join Date: Dec 2010
Location: Brazil
Old 10-07-2011 , 20:15   Re: [CS:S] RankMe (Version 2.5.7 - 07 Oct 11)
Reply With Quote #498

Quote:
Originally Posted by hasjduden View Post
I absolutely love your plugin. It's working perfectly!

I just wanted to share with you one way to organize the rankings at your homepage. Ive spent alot of time coding this (layout+nubish at php, etc).

Click here to have a look.

What do you think?

Note:
- The data is the same on both because my servers is down and I used an old backup on both.

-Xenon
Good to know. Is pretty good. I just think you could add a white border around the table. But that is on design. Will add it to examples of webinterface ok?
__________________
[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-07-2011 , 21:57   Re: [CS:S] RankMe (Version 2.5.7 - 07 Oct 11)
Reply With Quote #499

Quote:
Originally Posted by lokizito View Post
@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)
I see, thanks for a new version.
GrO is offline
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 10-07-2011 , 23:01   Re: [CS:S] RankMe (Version 2.5.7 - 07 Oct 11)
Reply With Quote #500

i got 1 problem

when i type rank, it show's up 2 times. is there any way to fix this?

there is a screenshot here so you can see what i mean
http://img708.**************/img708/9...luster0000.jpg
DoPe^ 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 10:52.


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