AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [L4D2] Flare Gun (2.17) [21-Apr-2024] (https://forums.alliedmods.net/showthread.php?t=175241)

id5473 11-10-2012 21:01

Re: [L4D2] Flare Gun (2.5) [27-May-2012]
 
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

Polonius 12-27-2012 09:44

Re: [L4D2] Flare Gun (2.5) [27-May-2012]
 
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!

Silvers 12-28-2012 01:56

Re: [L4D2] Flare Gun (2.5) [27-May-2012]
 
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

Polonius 12-28-2012 06:00

Re: [L4D2] Flare Gun (2.5) [27-May-2012]
 
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:56:30: [SM] Plugin encountered error 4: Invalid parameter or parameter type
05:56:29 L 12/28/2012 - 05:56:30: [SM] Native "WriteFileLine" reported: String formatted incorrectly - parameter 3 (total 2)
05:56:29 L 12/28/2012 - 05:56:30: [SM] Displaying call stack trace for plugin "sm_configs.smx":
05:56:29 L 12/28/2012 - 05:56:30: [SM] [0] Line 333, /home/groups/alliedmodders/forums/files/8/5/7/7/8/106244.attach::ProcessConfigB()
05:56:29 L 12/28/2012 - 05:56:30: [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:56:30: [SM] [2] Line 144, /home/groups/alliedmodders/forums/files/8/5/7/7/8/106244.attach::CmdConfigsUpdate()

Polonius 12-28-2012 06:14

Re: [L4D2] Flare Gun (2.5) [27-May-2012]
 
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?

Silvers 12-28-2012 10:09

Re: [L4D2] Flare Gun (2.5) [27-May-2012]
 
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.

Polonius 12-31-2012 14:24

Re: [L4D2] Flare Gun (2.5) [27-May-2012]
 
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!

Silvers 12-31-2012 20:13

Re: [L4D2] Flare Gun (2.5) [27-May-2012]
 
Probably a bug in my plugin, sorry, no time atm. Will fix when I can.

Polonius 12-31-2012 20:29

Re: [L4D2] Flare Gun (2.5) [27-May-2012]
 
Good enough! Thank you!

Silvers 07-06-2013 08:34

Re: [L4D2] Flare Gun (2.5) [27-May-2012]
 
Updated gamedata signature file to work with L4D2 SteamPipe update, re-download and replace your gamedata file with the new one.


All times are GMT -4. The time now is 21:45.

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