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

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


Post New Thread Reply   
 
Thread Tools Display Modes
[GNC]James
Junior Member
Join Date: Jul 2010
Old 07-07-2010 , 11:47   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #901

Hi all ;)

I am a bit new to all this plugin issue, so i try to describe my problem ;)

I want to use this plugin on our server but without any web application. So i did the follow: I copied the l4d_stats.smx to the plugin folder and i entered a l4dstats entry in the database.cfg in the cfg folder. And i added the l4d_stats.txt in the gamedata folder, even not sure if thats important ;)

Problem is now, that it does not work, console is not knowing any sm_rank commands, neither sm_rankmenu or anything else. sm plugins info l4d_stats says its running and working, so what did i wrong? ;) Old version for l4d1 works, means i installed first the version l4d coop, als you recommended in the first sentence and than tried ur version.

Thanks for help

When trying the old version i get the console error massage:

Quote:
sm_rank
L 07/07/2010 - 22:49:15: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
L 07/07/2010 - 22:49:15: [SM] Displaying call stack trace for plugin "l4d_stats.smx":
L 07/07/2010 - 22:49:15: [SM] [0] Line 1538, /home/groups/alliedmodders/forums/files/3/7/5/2/1/41102.attach::cmd_ShowRank()
what does this mean? We where 2 players and he is saying Client index 0...

Last edited by [GNC]James; 07-07-2010 at 16:56.
[GNC]James is offline
Danny_l4d
Senior Member
Join Date: Feb 2010
Old 07-07-2010 , 13:11   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #902

@Muukis

of the IP loctation in database.. I do not know where too look....

only another thing I saw.... when I open sm_admin I see a option for deleting stats.... is this possible to delete it from other admins/flags?

Danny
__________________
Danny_l4d is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 07-08-2010 , 03:40   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #903

Quote:
Originally Posted by [GNC]James View Post
Hi all ;)

I am a bit new to all this plugin issue, so i try to describe my problem ;)

I want to use this plugin on our server but without any web application. So i did the follow: I copied the l4d_stats.smx to the plugin folder and i entered a l4dstats entry in the database.cfg in the cfg folder. And i added the l4d_stats.txt in the gamedata folder, even not sure if thats important ;)

Problem is now, that it does not work, console is not knowing any sm_rank commands, neither sm_rankmenu or anything else. sm plugins info l4d_stats says its running and working, so what did i wrong? ;) Old version for l4d1 works, means i installed first the version l4d coop, als you recommended in the first sentence and than tried ur version.

Thanks for help

When trying the old version i get the console error massage:



what does this mean? We where 2 players and he is saying Client index 0...
Most of the rank commands do not work from the server console. Client 0 is the server console.

You misunderstood me. I did no such thing that recommend installing the original plugin. I recommended reading the install instructions from the original plugin thread. Did you run install.php from the webstats? And did you actually install the Custom Player Stats plugin? What does your server say when you ask for a list of running plugins from it?

Quote:
Originally Posted by Danny_l4d View Post
@Muukis

of the IP loctation in database.. I do not know where too look....

only another thing I saw.... when I open sm_admin I see a option for deleting stats.... is this possible to delete it from other admins/flags?

Danny
If you installed the location info to the same database the stats tables are at, do a query:
Code:
select count(*) from ip2country;
My DB returns this: 120967 (Your DB should return something similar to that, but not necessarily the exact same value.)

About the admin thingie:
Quote:
Originally Posted by First Post
Admin panel "Player Stats" category

Game server administrators flagged with ADMFLAG_ROOT can use the Administrators panel (sm_admin) to clean or clear player stats. Using this feature will physically remove data from the database, so be careful. There are multiple options to choose from. Here are the descriptions for the options:
__________________
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
[GNC]James
Junior Member
Join Date: Jul 2010
Old 07-08-2010 , 07:09   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #904

ok my failure, didnt understand right, that i HAVE to install the web apllication altough i dont need it but it creats the mysql tables, that does make sense ;).

So plugin is running and working, rankmenu is going but still one problem: The game does not know any of your commands??

If i type plugins info i get:

Quote:
sm plugins info l4d_stats
Filename: l4d_stats.smx
Title: Custom Player Stats (Player Stats and Ranking for Left 4 Dead and Left 4 Dead 2.)
Author: Mikko Andersson (muukis)
Version: 1.4B101
URL: http://www.sourcemod.com/
Status: running
Reloads: Map Change if Updated
Timestamp: 06/02/2010 024:54
but if i type plugin reload:

Quote:
sm plugins reload l4d_stats
[SM] Plugin Custom Player Stats reloaded successfully.
Unknown command "sm_l4dstats_announcemode"
Unknown command "sm_l4dstats_boomer"
Unknown command "sm_l4dstats_boomermob"
Unknown command "sm_l4dstats_campaign"
Unknown command "sm_l4dstats_chokepounce"
Unknown command "sm_l4dstats_dbprefix"
Unknown command "sm_l4dstats_disabledmessages"
Unknown command "sm_l4dstats_enablecoop"
Unknown command "sm_l4dstats_enablesv"
Unknown command "sm_l4dstats_enableversus"
Unknown command "sm_l4dstats_ffire"
Unknown command "sm_l4dstats_fincap"
Unknown command "sm_l4dstats_fkill"
Unknown command "sm_l4dstats_hunter"
Unknown command "sm_l4dstats_infected"
Unknown command "sm_l4dstats_insaferoom"
Unknown command "sm_l4dstats_leaderboardtime"
Unknown command "sm_l4dstats_maxpoints"
Unknown command "sm_l4dstats_medkit"
Unknown command "sm_l4dstats_medkitmode"
Unknown command "sm_l4dstats_minhumans"
Unknown command "sm_l4dstats_panic"
Unknown command "sm_l4dstats_pills"
Unknown command "sm_l4dstats_protect"
Unknown command "sm_l4dstats_rankonjoin"
Unknown command "sm_l4dstats_rescue"
Unknown command "sm_l4dstats_restart"
Unknown command "sm_l4dstats_revive"
Unknown command "sm_l4dstats_safehouse"
Unknown command "sm_l4dstats_silencechat"
Unknown command "sm_l4dstats_siteurl"
Unknown command "sm_l4dstats_smoker"
Unknown command "sm_l4dstats_smokerdrag"
Unknown command "sm_l4dstats_tank"
Unknown command "sm_l4dstats_updaterate"
Unknown command "sm_l4dstats_witch"
So he does not know any of your commands? OO

I have installed the l4d_stats.txt in gamedata and there are no more files to install so i am again a bit confused ^^
[GNC]James is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 07-08-2010 , 11:02   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #905

Quote:
Originally Posted by [GNC]James View Post
ok my failure, didnt understand right, that i HAVE to install the web apllication altough i dont need it but it creats the mysql tables, that does make sense ;).

So plugin is running and working, rankmenu is going but still one problem: The game does not know any of your commands??

If i type plugins info i get:



but if i type plugin reload:



So he does not know any of your commands? OO

I have installed the l4d_stats.txt in gamedata and there are no more files to install so i am again a bit confused ^^
Delete l4dstats.cfg and reload the plugin. Those errors come from old convar names that were created by the original plugin.

There was a dump from an empty DB, which you could've used instead of executing the PHP installer.
__________________
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
[GNC]James
Junior Member
Join Date: Jul 2010
Old 07-08-2010 , 12:30   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #906

Thank you very much, everything is fine now ;)

Yeah, i didnt know what to do actually with this dump file, im sorry. So i took the long road. But everything is working now and i can only be grateful for the help.
[GNC]James is offline
Danny_l4d
Senior Member
Join Date: Feb 2010
Old 07-08-2010 , 17:14   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #907

@muukis,

when I install the install.php I see that number also on the bottom of the page... so that why i find it strange... but ok i will find out...

2: the admin_root I didnt see that thx...

3: everything work fine.. only when I wanna use the medkit penalty... so when a player useis it.. it goes to 90 percent and I want it to be 98 or 97 but for some reason I cannot get it to work :/
which I need to change... uploaded the .cfg file mabye you can have a look..

Danny
Attached Files
File Type: cfg l4d_stats.cfg (13.9 KB, 204 views)
__________________
Danny_l4d is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 07-09-2010 , 03:36   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #908

Quote:
Originally Posted by Danny_l4d View Post
@muukis,

when I install the install.php I see that number also on the bottom of the page... so that why i find it strange... but ok i will find out...

2: the admin_root I didnt see that thx...

3: everything work fine.. only when I wanna use the medkit penalty... so when a player useis it.. it goes to 90 percent and I want it to be 98 or 97 but for some reason I cannot get it to work :/
which I need to change... uploaded the .cfg file mabye you can have a look..

Danny
Search this at your cfg:
Code:
// Score reduction for all Survivor earned points for each used Medkit (Formula: Score = NormalPoints * (1 - MedkitsUsed * MedkitPenalty))
// -
// Default: "0.1"
// Minimum: "0.000000"
// Maximum: "0.500000"
l4d_stats_medkitpenalty "0.1"
If you want to change penalty to 1%, you have to change the l4d_stats_medkitpenalty value to "0.01". I don't know if it's a penalty at all? You see, getting 10 points score for something and reducing it by 1 percent, the score is lowered to 9.9 and usually the modified score is rounded to the closest -> in this case back to 10.

If you wan't you can disable the score reduction by setting l4d_stats_medkitpenalty "0".
__________________
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
ragnasin
Junior Member
Join Date: May 2010
Old 07-10-2010 , 00:20   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #909

Attention pls....valve updated something cause the add-on unable to run...
New version of sourcemod needded!!
but unfortunately the developer went to vacation~ any other solution?
ragnasin is offline
.=QUACK=.Major.pain
Senior Member
Join Date: Jan 2010
Old 07-10-2010 , 01:18   Re: [L4D & L4D2] Custom Player Stats v1.4B101
Reply With Quote #910

Take a vacation.
.=QUACK=.Major.pain 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 12:14.


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