Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
CFC_Jladanyi
Junior Member
Join Date: Jun 2011
Old 06-07-2011 , 10:22   Re: [L4D & L4D2] Custom Player Stats v1.4B105
Reply With Quote #1311

Ok, Now we are getting somewhere. :-)


I tried both of those while I was logged in as an admin. The one that worked was sm_cvar l4d_stats_minhumans 1

I am assuming I will need to do that each time I get on the server? Or could I just place that cvar into my server cfg file so it will autoload each time? Or maybe i could plac eit into the sourcemod cfg?


and thanks. I can finally get all my stats tracked!!
__________________
CFC_Jladanyi is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 06-07-2011 , 10:28   Re: [L4D & L4D2] Custom Player Stats v1.4B105
Reply With Quote #1312

Quote:
Originally Posted by CFC_Jladanyi View Post
Ok, Now we are getting somewhere. :-)


I tried both of those while I was logged in as an admin. The one that worked was sm_cvar l4d_stats_minhumans 1

I am assuming I will need to do that each time I get on the server? Or could I just place that cvar into my server cfg file so it will autoload each time? Or maybe i could plac eit into the sourcemod cfg?


and thanks. I can finally get all my stats tracked!!
By modifying your config, you should have your server properly configured at each load up. If your modifications do not have any effect, it is likely you are modifying the wrong configurations file.
__________________
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
CFC_Jladanyi
Junior Member
Join Date: Jun 2011
Old 06-07-2011 , 10:45   Re: [L4D & L4D2] Custom Player Stats v1.4B105
Reply With Quote #1313

Quote:
Originally Posted by muukis View Post
By modifying your config, you should have your server properly configured at each load up. If your modifications do not have any effect, it is likely you are modifying the wrong configurations file.

Gotcha. I am pretty good with the server.cfg I have well over 200 new lines of cvars added in and working already. Thank you again for this awesome plugin and your time Helping me with this issue.

You rock!
__________________
CFC_Jladanyi is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 06-07-2011 , 11:12   Re: [L4D & L4D2] Custom Player Stats v1.4B105
Reply With Quote #1314

Quote:
Originally Posted by CFC_Jladanyi View Post
Gotcha. I am pretty good with the server.cfg I have well over 200 new lines of cvars added in and working already. Thank you again for this awesome plugin and your time Helping me with this issue.

You rock!
It's not the server.cfg you need to modify. In fact, I don't think they apply when the plugin has its own set of configs. Search something like this: .\left4dead2\cfg\sourcemod\l4d_stats.cfg.
__________________
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
Chronic1
SourceMod Donor
Join Date: Jun 2011
Old 06-07-2011 , 13:56   Re: [L4D & L4D2] Custom Player Stats v1.4B105
Reply With Quote #1315

Ive removed the l4d_stats.smx but the stats are still working fine so far and so is the voting. Only admins can vote now. I have left4downtown and SDK 3.0 installed, along with all these plugins...
SM] Listing 43 plugins:
01 "Survivor Bot Takeover" (0. by Mikko Andersson (muukis)
02 "l4d_afkmanager.smx" (1.9)
03 "Admin File Reader" (1.4.0-dev) by AlliedModders LLC
04 "[L4D(2)] AFK and Join Team Commands" (1.1) by MasterMe
05 "Incapped Magnum" (1.4) by Oshroth
06 "[L4D2] PowerUps rush" (2.0.1) by Dusty1029 (a.k.a. {L.2.K} LOL)
07 "Basic Ban Commands" (1.4.0-dev) by AlliedModders LLC
08 "L4D SM Respawn" (1.9.3) by AtomicStryker & Ivailosp
09 "L4D Players" (0.0.1) by NiCo-op
10 "Automatic Campaign Switcher (ACS)" (v1.2.2) by Chris Pringle
11 "L4D Black and White Notifier" (1.31) by DarkNoghri, madcap
12 "Infected Suicide" (1.0)
13 "Basic Comm Control" (1.4.0-dev) by AlliedModders LLC
14 "RCON Lock" (0.6.7) by devicenull
15 "Melee In The Saferoom" (2.0.5) by N3wton
16 "[L4D2] Weapon Unlock" (0.8.1) by Crimson_Fox
17 "L4D2 Laser Sights" (1.0.2) by AtomicStryker
18 "[L4D2] Fireworks Party" (1.5) by SilverShot
19 "tank's burning rock" (1.0) by Pan Xiaohai
20 "L4D Infected HP" (1.0.2) by NiCo-op
21 "Basic Commands" (1.4.0-dev) by AlliedModders LLC
22 "L4D2 Gun Control" (1.1.3) by AtomicStryker
23 "Self Help " (1.0.1) by Pan Xiaohai
24 "Client Preferences" (1.4.0-dev) by AlliedModders LLC
25 "Admin Menu" (1.4.0-dev) by AlliedModders LLC
26 "Sound Commands" (1.4.0-dev) by AlliedModders LLC
27 "Spectator stays spectator" (1.0) by Die Teetasse
28 "Basic Info Triggers" (1.4.0-dev) by AlliedModders LLC
29 "Player Commands" (1.4.0-dev) by AlliedModders LLC
30 "Fun Votes" (1.4.0-dev) by AlliedModders LLC
31 "L4D2 Tank-on-fire Speed Booster" (1.1) by DarkNoghri && Dirka_Dirka
32 "Anti-Flood" (1.4.0-dev) by AlliedModders LLC
33 "L4D Vote Manager 2" (1.5.5) by Madcap
34 "Custom Player Stats" (1.4B105) by Mikko Andersson (muukis)
35 "Admin Help" (1.4.0-dev) by AlliedModders LLC
36 "Basic Chat" (1.4.0-dev) by AlliedModders LLC
37 "Round Start Bot Stop" (1. by EHG
38 "Incapped Grenade (Pipe, Molotov, Vomitjar)" (1.5) by DJ_WEST
39 "Fun Commands" (1.4.0-dev) by AlliedModders LLC
40 "Basic Votes" (1.4.0-dev) by AlliedModders LLC
41 "[L4D2] Infected Loot Drops" (2.3d) by Thraka
42 "L4D2 Score/Team Manager" (1.2.9) by Downtown1 & AtomicStryker
43 "Advertisements" (0.5.5) by Tsunami


This is my sourcemod.cfg...


sm_vote_progress_client_console 0
sm_cvar sb_all_bot_game 1
sm_cvar l4d_survivor_limit 8
sm_cvar l4d_infected_limit 8
sm_cvar l4d_players_kick 0.1
sm_cvar l4d_players_delay 13
sm_cvar l4d_players_timer 0.75
sm_cvar mp_gamemode mutation19
sm_cvar vs_max_team_switches 0
sm_cvar sv_visiblemaxplayers 16
sm_cvar sv_maxplayers 16
sm_cvar sv_removehumanlimit 1
sm_cvar sv_force_unreserved 1
sm_cvar survivor_revive_duration 1
sm_cvar survivor_revive_health 90
sm_cvar adrenaline_health_buffer 25
sm_cvar adrenaline_run_speed 315
sm_cvar adrenaline_duration 30
sm_cvar z_tank_speed_vs 265
sm_cvar z_tank_health 12000
sm_cvar survivor_friendly_fire_factor_easy 0
sm_cvar survivor_friendly_fire_factor_expert 0
sm_cvar survivor_friendly_fire_factor_hard 0
sm_cvar survivor_friendly_fire_factor_normal 0
sm_cvar ammo_assaultrifle_max 999
sm_cvar ammo_autoshotgun_max 999
sm_cvar ammo_grenadelauncher_max 200
sm_cvar ammo_huntingrifle_max 999
sm_cvar ammo_shotgun_max 999
sm_cvar ammo_smg_max 999
sm_cvar ammo_sniperrifle_max 999
sm_cvar ammo_chainsaw_max 99
sm_cvar survivor_allow_crawling 1
sm_cvar survivor_crawl_speed 75
sm_cvar z_lunge_reflect 1
sm_cvar l4d2_tankfire_boost_enable 1
sm_cvar l4d2_tankfire_damage_amount 5
sm_cvar l4d2_tankfire_boost_amount 1.27
sm_cvar l4d_bandw_notice 1
sm_cvar l4d_bandw_type 0
sm_cvar l4d_bandw_glow 0
sm_cvar sv_infinite_ammo 1
sm_cvar sm_tankhp_announce 1
sm_cvar l4d2_full_reset_on_empty 1
sm_cvar l4d2_scores_gamemodesactive mutation19
sm_cvar z_common_limit 30
sm_cvar sv_alltalk 1

And this is my server.cfg

//Host Name
hostname Zombie's Bean-8vs8-Taank~Island
// Rcon Cvars
rcon_password "zombie" //Set s remote control password

//versus
sv_allow_lobby_connect_only 0

sv_password ""

//Advertisements plugin. Displays popup messages
sm plugins load advertisements
sm_advertisements_enabled
sm_advertisements_interval 60


// Server Cvars
mp_disable_autokick 1 //Prevents a userid from being auto-kicked
sv_allow_wait_command 0 //Allow or disallow the wait command on clients connected to this server.
sv_alltalk 1 //Players can hear all other players, no team restrictions
sv_alternateticks 0 //If set, server only simulates entities on even numbered ticks.
sv_cheats 0 //Allow cheats on server
sv_clearhinthistory 0 //Clear memory of server side hints displayed to the player.
sv_consistency 1 //Whether the server enforces file consistency for critical files
sv_downloadurl //Location from which clients can download missing files


//Server Rates
sv_mincmdrate 20
sv_minrate 25000
sv_maxrate 30000

// Lan or internet play, Server region cvars
//sv_lan 0 //Server is a lan server ( no heartbeat, no authentication, no non-class C addresses )
sv_region 255 // Region Codes: 0 - US East coast, 1 - US West coast, 2 - South America, 3 - Europe, 4 - Asia, 5 - Australia, 6 - Middle East, 7 - Africa, 255 - world

// Server Logging
log off
sv_log_onefile 0 //Log server information to only one file.
sv_logbans 0 //Log server bans in the server logs.
sv_logecho 0 //Echo log information to the console.
sv_logfile 0 //Log server information in the log file.
sv_logflush 0 //Flush the log file to disk on each write (slow).
sv_logsdir logs //Folder in the game directory where server logs will be stored.

//Fix to get your server onto the master lists
setmaster add 68.142.72.250:27011
setmaster add 72.165.61.189:27011


//sv_steamgroup //this is your group s steam group id.. allows members to join from main menu add
sv_steamgroup_exclusive 1 //to make it exclusive and private
sv_steamgroup 191170,1580720,964095,554109,554111,883,14405 35,3483,554109,883,964095,31572,596657,4984,6 06267,1280631,1158579,1085761,31572,587695,90 4297,1282302,1148657,1106051,610951,1001012,1 302060,1221464,554111,2653,3582,1203524,60306 3,1363396,1340219,1191231,1310053,821874,1880 631,1882302,656115,572908,1044622,653463,1158 599,600445,10,1001018

// Difficulty of the current game (easy, normal, hard, impossible)
z_difficulty normal

exec banned_ip.cfg
exec banned_user.cfg
Chronic1 is offline
CFC_Jladanyi
Junior Member
Join Date: Jun 2011
Old 06-07-2011 , 15:13   Re: [L4D & L4D2] Custom Player Stats v1.4B105
Reply With Quote #1316

Quote:
Originally Posted by muukis View Post
It's not the server.cfg you need to modify. In fact, I don't think they apply when the plugin has its own set of configs. Search something like this: .\left4dead2\cfg\sourcemod\l4d_stats.cfg.

I understand where the cfg file is located for your plugin.

My problem with trying that is the settings changes never work. Also the sourcemod.cfg was not a good place to place them "I tried" It does not assign them either. Nor does the server.cfg. I have tested both..



The server.cfg settings always override any plugin specific settings (cvars) within plugin cfg's. "That's why I attempted it" But due to the fact that the server.cfg is loaded before any plugins it did not work. How do I know this? Because my server.cfg cvars always load and when I have conflicting ones within the individual plugins cfg's the server cfg always superseeds them.

The only way I have been able to get the settings to apply to your plugin have been when using the cvars in the console while connected to the server as an admin. The cfg that is created by your plugin might as well not exist right now as the best I can tell the plugin is not pulling any of those variables from the cfg.
__________________
CFC_Jladanyi is offline
CFC_Jladanyi
Junior Member
Join Date: Jun 2011
Old 06-07-2011 , 15:23   Re: [L4D & L4D2] Custom Player Stats v1.4B105
Reply With Quote #1317

No worries though. I am completely happy with the plugin. I just have to Make sure I bind a few keys to the commands I need so that I can quickly set the plugin for my needs.

These are the settings I have attempted to change with your plugins cfg.

sm_cvar l4d_stats_minhumans 1
sm_cvar l4d_stats_medkitbotmode 0
sm_cvar l4d_stats_medkitpenaltyfree 6
sm_cvar l4d_stats_ffire_cooldown 15.0
sm_cvar l4d_stats_ffire_multiplier 1.0
sm_cvar l4d_stats_fkill 150
sm_cvar l4d_stats_fincap 37
sm_cvar l4d_stats_medkit 40
sm_cvar l4d_stats_protect 6
sm_cvar l4d_stats_revive 25
sm_cvar l4d_stats_defib 50
sm_cvar l4d_stats_ffire 5

The only way these new variables above even work is within the console while connected to the server. I have listed them how I used them within the console. Obviously the bold type is the way they are listed within your plugins cfg "With my changes to the character numbers being the only difference"
__________________
CFC_Jladanyi is offline
CFC_Jladanyi
Junior Member
Join Date: Jun 2011
Old 06-07-2011 , 15:40   Re: [L4D & L4D2] Custom Player Stats v1.4B105
Reply With Quote #1318

Here is my altered cfg file That is now located in this directory on my server.

/left4dead2/left4dead2/cfg/sourcemod/

The changes I have made on lines

17
151
261
267
273
280
and so on.

Never get applied when the server is restarted. Yet I can remove the cfg file and restart the server and the plugin will create a new cfg file associated with your plugin. I can download the file. Change the variables and re-upload and restart the server. Still nothing changes when I jump back on my server.

I am editing the l4d_stats.cfg located at /left4dead2/left4dead2/cfg/sourcemod with notepad++


I hope I am not talking in circles here :-) Sorry If I created any confusion on what I was attempting..
__________________

Last edited by CFC_Jladanyi; 06-07-2011 at 15:44.
CFC_Jladanyi is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 06-08-2011 , 02:28   Re: [L4D & L4D2] Custom Player Stats v1.4B105
Reply With Quote #1319

Quote:
Originally Posted by Chronic1 View Post
...
I'm sorry, but I don't have a clue what the problem might be.

How does the voting get triggered in the votemanager2 plugin? I mean: by admin menu, console command, chat say, etc?
__________________
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 06-08-2011 , 02:30   Re: [L4D & L4D2] Custom Player Stats v1.4B105
Reply With Quote #1320

Quote:
Originally Posted by CFC_Jladanyi View Post
...
Try renaming/removing the l4d_stats.cfg file, and restarting the game server. The cfg-file should then get recreated. Does it?
__________________
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
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 08:52.


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