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

[L4D & L4D2] Hats (1.50) [12-Mar-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 09-21-2019 , 08:16   Re: [L4D & L4D2] Hats (1.17) [10-Sep-2019]
Reply With Quote #161

Quote:
Originally Posted by oceanyss View Post
remove entities on the map to free up space.
It works but is really annoying to edit all maps.

About late precache he means to precache only after the first use. Like...if it's not precached then "precache".

But still can cause problems depending on how much different hats were selected or even can cause a temporary "lag".

Maybe one option is to search which models are precached on the map and then enable the hats related to then in the list.
__________________

Last edited by Marttt; 09-21-2019 at 08:16.
Marttt is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-21-2019 , 12:02   Re: [L4D & L4D2] Hats (1.17) [10-Sep-2019]
Reply With Quote #162

This is not something I'm going to support. Until Valve fix the issue (which will be never), the best I'm offering is the cvar to stop precache on maps. Feel free to edit your own versions to do whatever else.
__________________
Silvers is offline
foxhound27
AlliedModders Donor
Join Date: Sep 2019
Location: Argentina
Old 10-16-2019 , 00:42   Re: [L4D & L4D2] Hats (1.17) [10-Sep-2019]
Reply With Quote #163

i had to fix it line 501

if( StrContains(sCvar, sMap, false) != -1 ){g_hCvarAllow.BoolValue = false;}else{ g_hCvarAllow.BoolValue = true;}


because after map c1m3_mall & even next campaign was off forever haha omg i love it!! thank u so much Silvers .. im new and im learning a lot of u guys this plugin is so good so fun u rokz!

Last edited by foxhound27; 10-16-2019 at 00:49. Reason: fixing my weird typos a bit
foxhound27 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-16-2019 , 00:53   Re: [L4D & L4D2] Hats (1.17) [10-Sep-2019]
Reply With Quote #164

That whole method needs to change. If the plugin was already off before reaching that map then it should stay off depending on cvar config. Needs another global bool to track when the map is invalid instead of changing the allow cvar.
__________________
Silvers is offline
goliborda
New Member
Join Date: Oct 2019
Old 10-21-2019 , 00:57   Re: [L4D & L4D2] Hats (1.17) [10-Sep-2019]
Reply With Quote #165

Hello, is this possible to make something like hats shop, where you can buy hats for points you gaining somehow.
Or hat unlocking, you can wear only hat you have unlocked by completing realism expert campaign.

that would be great

Last edited by goliborda; 10-21-2019 at 00:57.
goliborda is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 10-23-2019 , 15:02   Re: [L4D & L4D2] Hats (1.18) [23-Oct-2019]
Reply With Quote #166

Quote:
1.18 (23-Oct-2019)
- Added commands "sm_hatshowon" and "sm_hatshowoff" to turn on/off personal hat visibility.
- Fixed cvar "l4d_hats_precache" from modifying the allow cvar. Now correctly disables on blocked maps.
__________________
Silvers is offline
iMragnarking
Junior Member
Join Date: Oct 2019
Old 10-23-2019 , 21:47   Re: [L4D & L4D2] Hats (1.18) [23-Oct-2019]
Reply With Quote #167

nice plugin :p
iMragnarking is offline
Alex101192
Senior Member
Join Date: Aug 2018
Old 11-16-2019 , 13:02   Re: [L4D & L4D2] Hats (1.18) [23-Oct-2019]
Reply With Quote #168

Is this plugin compatible with 4+ survivors servers? Does it crash the server if clones of the same survivors have hats?
Alex101192 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 11-16-2019 , 18:46   Re: [L4D & L4D2] Hats (1.18) [23-Oct-2019]
Reply With Quote #169

Quote:
Originally Posted by Alex101192 View Post
Is this plugin compatible with 4+ survivors servers?
Yes

Quote:
Originally Posted by Alex101192 View Post
Does it crash the server if clones of the same survivors have hats?
No, test it.
__________________
Silvers is offline
foxhound27
AlliedModders Donor
Join Date: Sep 2019
Location: Argentina
Old 12-14-2019 , 20:43   Re: [L4D & L4D2] Hats (1.18) [23-Oct-2019]
Reply With Quote #170

hello Silvers sorry to bother you but i have a request hehe could you add sm_hatclient <user> <hat> ?
thank you!
foxhound27 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 01:21.


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