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

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


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

RANKMENU doesn not, rankmenu does.
__________________
kwski43 is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 01-30-2010 , 15:40   Re: [L4D & L4D2] Custom Player Stats v1.4B61
Reply With Quote #122

Quote:
Originally Posted by kwski43 View Post
RANKMENU doesn not, rankmenu does.
Oh it's case sensitive? Damned.

EDIT: Works for me, again?
__________________
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.

Last edited by muukis; 01-31-2010 at 03:24.
muukis is offline
eargosedown
Member
Join Date: Jan 2010
Old 01-30-2010 , 15:54   Re: [L4D & L4D2] Custom Player Stats v1.4B61
Reply With Quote #123

Quote:
Originally Posted by muukis View Post
I have to check this out... it should work? There is no easier way out but to edit the sourcecode.

EDIT: Gave it a spin and it works for me. Though I was a spectator when I said rankvote (lower case). What versions of SourceMod and MetaMod do you have?
Latest on both.

Every other command works without ! or /, but for some reason rankmenu doesn't like to work
eargosedown is offline
kwski43
Senior Member
Join Date: Mar 2009
Old 01-30-2010 , 16:23   Re: [L4D & L4D2] Custom Player Stats v1.4B61
Reply With Quote #124

Quote:
Originally Posted by muukis View Post
Oh it's case sensitive? Damned. I'll put a fix coming.

EDIT: Works for me, again?
Then I don't know why but, after I restarted my server RANKMENU worked...
__________________
kwski43 is offline
iNFiNiTeX
Senior Member
Join Date: Dec 2009
Old 01-30-2010 , 16:39   Re: [L4D & L4D2] Custom Player Stats v1.4B61
Reply With Quote #125

Quote:
Originally Posted by muukis View Post
When using the original version of the plugin, what do you have in the steamid field on the bot rows?
Code:
IsClientBot(client)
{
    if (client == 0 || !IsClientConnected(client))
        return true;

    decl String:SteamID[MAX_LINE_WIDTH];
    GetClientRankAuthString(client, SteamID, sizeof(SteamID));

    if (StrEqual(SteamID, "BOT", false))
        return true;

    return false;
}
This? I didn't change it.

By original, do you mean the previously posted version which was modified to use names?
iNFiNiTeX is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 01-31-2010 , 03:22   Re: [L4D & L4D2] Custom Player Stats v1.4B61
Reply With Quote #126

Quote:
Originally Posted by iNFiNiTeX View Post
By original, do you mean the previously posted version which was modified to use names?
I mean the version that you can download from the first post right now. I wasn't sure if you had modified the original version.

I'd like to know what kind of response are you getting from GetClientAuthString when on LAN. If it returns BOT like in WAN, it should work just like that. I also would like to know what values are in the steamid field when the player is BOT, with the IPs getting stored. Can you post me you webstats link and I'll take a look. If not, can you save the player.php page (in HTML format) from your browser when you are viewing a BOT.

I've attached an example of the file I am looking for.
Attached Files
File Type: zip view.zip (6.8 KB, 168 views)
__________________
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
muukis
Veteran Member
Join Date: Apr 2009
Old 01-31-2010 , 03:33   Re: [L4D & L4D2] Custom Player Stats v1.4B61
Reply With Quote #127

Quote:
Originally Posted by eargosedown View Post
Latest on both.

Every other command works without ! or /, but for some reason rankmenu doesn't like to work
I'm out of ideas. I will have to install all the latest versions myself and test it again. My versions are somewhat the latest, but not the latest.

Code:
meta version
Metamod:Source version 1.8.0
Build ID: 691:92ea98d22d75
Loaded As: GameDLL (gameinfo.txt)
Compiled on: Dec 19 2009
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/
Code:
sm version
 SourceMod Version Information:
    SourceMod Version: 1.3.0-dev
    SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.3.0-dev)
    SourcePawn API: v1 = 4, v2 = 3
    Compiled on: Dec 19 2009 23:47:45
    Build ID: 2881:f663527a715c-dev
    http://www.sourcemod.net/
__________________
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.

Last edited by muukis; 01-31-2010 at 03:36.
muukis is offline
eargosedown
Member
Join Date: Jan 2010
Old 01-31-2010 , 04:08   Re: [L4D & L4D2] Custom Player Stats v1.4B61
Reply With Quote #128

Okay, it's the Simple Chat Colors Plugin conflicting with "Rankmenu", I assume it adds something to the start of text messages to color them (Thus why !rankmenu and /rankmenu still work.)

Nothing on your end then xD
eargosedown is offline
PeterFreimann
Member
Join Date: Dec 2009
Old 01-31-2010 , 04:34   Re: [L4D & L4D2] Custom Player Stats v1.4B61
Reply With Quote #129

What does this mean?
[SM] Native "GetClientAuthString" reported: Client 10 is not connected
[SM] Displaying call stack trace for plugin "l4d_stats.smx":

the Client number changes
PeterFreimann is offline
iNFiNiTeX
Senior Member
Join Date: Dec 2009
Old 01-31-2010 , 05:39   Re: [L4D & L4D2] Custom Player Stats v1.4B61
Reply With Quote #130

Quote:
Originally Posted by muukis View Post
I mean the version that you can download from the first post right now. I wasn't sure if you had modified the original version.

I'd like to know what kind of response are you getting from GetClientAuthString when on LAN. If it returns BOT like in WAN, it should work just like that. I also would like to know what values are in the steamid field when the player is BOT, with the IPs getting stored. Can you post me you webstats link and I'll take a look. If not, can you save the player.php page (in HTML format) from your browser when you are viewing a BOT.

I've attached an example of the file I am looking for.
Actually I've been using the one Woonan was kind enough to post, as the new version does not work with my database, as you can imagine. I've tried adapting his modifications to the new one but I could not get the code to compile. Other then the fact that it will record bots stats, it works perfectly.

Here is the source
Attached Files
File Type: sp Get Plugin or Get Source (l4d_stats.sp - 536 views - 274.9 KB)

Last edited by iNFiNiTeX; 01-31-2010 at 19:08.
iNFiNiTeX is offline
Reply


Thread Tools
Display Modes

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 21:39.


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