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

[L4D2] Flare Gun (2.16) [05-Sep-2023]


Post New Thread Reply   
 
Thread Tools Display Modes
id5473
Member
Join Date: Mar 2012
Old 11-10-2012 , 21:01   Re: [L4D2] Flare Gun (2.5) [27-May-2012]
Reply With Quote #21

yeah disabled the menu already but was referring to the "ammotype announcement".

I commented out line 893: // CPrintToChat(client, sTemp);
and recompiled it.. did the trick.

thanks for your quick response.

id
id5473 is offline
Polonius
Junior Member
Join Date: Oct 2012
Old 12-27-2012 , 09:44   Re: [L4D2] Flare Gun (2.5) [27-May-2012]
Reply With Quote #22

On my servers, I have !csm (character select menu) so players can play as infected. I love this flaregun plugin and when I install it, it works perfectly but the option to play as infected disappears on my !csm menu. Something in the flaregun script is interfering with that plugin. Any ideas how I can fix this? I would like to keep the flaregun plugin!
Polonius is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-28-2012 , 01:56   Re: [L4D2] Flare Gun (2.5) [27-May-2012]
Reply With Quote #23

Hmm, maybe you have too many cvars and the cvar (I assume if it has one) to enable CSM is not being read correctly and sets to off? Not sure why else is wouldn't work, I also use the two plugins together.

Trying using the Cvar Configs Updater to clean and update your cvars folder: http://forums.alliedmods.net/showthread.php?t=188756
__________________
Silvers is offline
Polonius
Junior Member
Join Date: Oct 2012
Old 12-28-2012 , 06:00   Re: [L4D2] Flare Gun (2.5) [27-May-2012]
Reply With Quote #24

Thanks Silvers. I installed the plugin and sm_configs_backup and compare worked perfectly. But I got this message when I did sm_configs_update.

05:56:29 L 12/28/2012 - 05:560: [SM] Plugin encountered error 4: Invalid parameter or parameter type
05:56:29 L 12/28/2012 - 05:560: [SM] Native "WriteFileLine" reported: String formatted incorrectly - parameter 3 (total 2)
05:56:29 L 12/28/2012 - 05:560: [SM] Displaying call stack trace for plugin "sm_configs.smx":
05:56:29 L 12/28/2012 - 05:560: [SM] [0] Line 333, /home/groups/alliedmodders/forums/files/8/5/7/7/8/106244.attach:rocessConfigB()
05:56:29 L 12/28/2012 - 05:560: [SM] [1] Line 191, /home/groups/alliedmodders/forums/files/8/5/7/7/8/106244.attach::CompareConfigs()
05:56:29 L 12/28/2012 - 05:560: [SM] [2] Line 144, /home/groups/alliedmodders/forums/files/8/5/7/7/8/106244.attach::CmdConfigsUpdate()
Polonius is offline
Polonius
Junior Member
Join Date: Oct 2012
Old 12-28-2012 , 06:14   Re: [L4D2] Flare Gun (2.5) [27-May-2012]
Reply With Quote #25

And thanks to the cvar configs updater plugin I now see what is happening. When I install Flaregun and rerun sm_configs_compare, half of my cvars (for multiple plugins) I had changed from the default values are reflecting the default values even though the .cfg files themselves (for those plugins) still reflect my modified values. For example, l4d_csm_infected_access has a default of 0, but I have it at 1. When I install the flaregun files, the cfg for that csm cvar still reads 1 (though the csm menu on the server doesnt reflect "1"). But when I run the sm_configs_compare, it says my l4d_csm_infected_access is at the default value (meaning, it doesnt show up in the compare). When I remove the flaregun plugin and go back on the server, my modified plugin cvars are reflected again in the gameplay. But when I rerun sm_configs_compare, those cvars are still at the default values (meaning they still don't show up in the compare).

Any thoughts on how I can fix this?

Last edited by Polonius; 12-28-2012 at 07:27. Reason: More info
Polonius is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-28-2012 , 10:09   Re: [L4D2] Flare Gun (2.5) [27-May-2012]
Reply With Quote #26

Sounds like a bug with the cvars plugins, sorry I have no time to look into it atm. It does sound like you have too many cvars/configs but I don't know.
__________________

Last edited by Silvers; 12-28-2012 at 10:10.
Silvers is offline
Polonius
Junior Member
Join Date: Oct 2012
Old 12-31-2012 , 14:24   Re: [L4D2] Flare Gun (2.5) [27-May-2012]
Reply With Quote #27

Silvers, the good news is I fixed my problem with the CSM plugin and I now happily have Flaregun installed on my servers! The bad news is, i just cant get the plugin to limit it to admins only. Though the default flag is z, and I even checked while on the server that the cvar was set at z, I just can't get the plugin to limit to admins. I even tried other admin-only flags. Can you please advise? Thanks again!
Polonius is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 12-31-2012 , 20:13   Re: [L4D2] Flare Gun (2.5) [27-May-2012]
Reply With Quote #28

Probably a bug in my plugin, sorry, no time atm. Will fix when I can.
__________________
Silvers is offline
Polonius
Junior Member
Join Date: Oct 2012
Old 12-31-2012 , 20:29   Re: [L4D2] Flare Gun (2.5) [27-May-2012]
Reply With Quote #29

Good enough! Thank you!
Polonius is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 07-06-2013 , 08:34   Re: [L4D2] Flare Gun (2.5) [27-May-2012]
Reply With Quote #30

Updated gamedata signature file to work with L4D2 SteamPipe update, re-download and replace your gamedata file with the new one.
__________________
Silvers 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 13:37.


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