Raised This Month: $120 Target: $400
 30% 

Fixing UMC


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cytrus224
AlliedModders Donor
Join Date: Apr 2017
Location: Poland
Old 09-11-2018 , 16:42   Fixing UMC
Reply With Quote #1

So UMC is crashing on player connect after todays csgo update. Plugin needs fixing. Help greatly appreciated! Heres most up-to-date fork afaik https://github.com/Silenci0/UMC
https://imgur.com/a/7TPVftf

Last edited by cytrus224; 09-11-2018 at 16:42.
cytrus224 is online now
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 09-11-2018 , 18:38   Re: Fixing UMC
Reply With Quote #2

Let's see, here's some (if not all) precaching/downloads happening: https://github.com/Silenci0/UMC/blob....inc#L554-L557

The parent stock is CacheSound.

A quick search of that on the github repo: https://github.com/Silenci0/UMC/sear...d_q=CacheSound

In most .sp files you'll find CacheSound is in the SetupVoteSounds function, which is located inside OnConfigsExecuted. Move that to OnMapStart in every offending file.

I see that umc-endvote-warnings.sp has it done a bit more complicated, but it's essentially the same process here.
__________________

Last edited by sneaK; 09-11-2018 at 18:39.
sneaK is offline
cytrus224
AlliedModders Donor
Join Date: Apr 2017
Location: Poland
Old 09-12-2018 , 16:02   Re: Fixing UMC
Reply With Quote #3

Well, that was easy, thanks for help!
cytrus224 is online now
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 18:48.


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