Raised This Month: $ Target: $400
 0% 

[UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
alerad
Junior Member
Join Date: Mar 2016
Plugin ID:
1847
Plugin Version:
3.4.5
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    193 
    Plugin Description:
    Provides advanced control over map selection for the server.
    Old 09-28-2016 , 14:40   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
    Reply With Quote #1

    Quote:
    Originally Posted by Bittersweet View Post
    This definitely has come up before, so you might want to check a few posts back or search the thread. It seems like I had a similar issue once. There might be a sweet spot for the number of maps you can have in a UMC mapcycle file before you start getting lag during a vote. It sounds like some recoding may be in order - the maps should only be loaded once at plugin startup in my opinion. The ability to add maps on the fly is great, but that value doesn't outweigh how much this kind of lag sucks. I also think that it should be a configurable option of whether or not you even want UMC to validate that map files exist. I'm assuming it does all that, but it just might be the size of the text alone that is lagging. I'm 99.9% sure that UMC uses the keyvalues system for that.

    The only thing I can suggest is using more than one UMC mapcycle file (2 or more smaller ones) and specifying one of the smaller files depending on time of day or even randomizing them.
    So the only way to deal with this (And keep everything in just one mapcycle) is optimizing the code?
    alerad is offline
    Bittersweet
    Veteran Member
    Join Date: May 2012
    Old 09-28-2016 , 17:54   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
    Reply With Quote #2

    Quote:
    Originally Posted by alerad View Post
    So the only way to deal with this (And keep everything in just one mapcycle) is optimizing the code?
    I can't say for sure that optimizing the code would do it either. It may be that Valve's built in menu system is what is lagging, unable to handle the amount of options. Is this just a straight map vote with pages and pages of maps? If so, you could try having groups or tiers and see if that helps. Another thing you can try is changing sm_umc_votemanager_core_menu_esc to 1.
    __________________
    Thank you in advance for your help

    My plugins:
    [CS:S] BOT Swat | [ANY] CVAR Randomizer | [CS:S] SM CS:S Tag Beta | [CS:S] Bot2Player
    Awesome & Crucial plugins by other people:
    [CS:S/CS:GO] GunGame | [UMC3] Ultimate Mapchooser | [ANY] Server Crontab | [ANY] SM ForceCamera
    Bittersweet is offline
    alerad
    Junior Member
    Join Date: Mar 2016
    Old 09-29-2016 , 10:04   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
    Reply With Quote #3

    Quote:
    Originally Posted by Bittersweet View Post
    I can't say for sure that optimizing the code would do it either. It may be that Valve's built in menu system is what is lagging, unable to handle the amount of options. Is this just a straight map vote with pages and pages of maps? If so, you could try having groups or tiers and see if that helps. Another thing you can try is changing sm_umc_votemanager_core_menu_esc to 1.
    I'm pretty sure it's just the for i to 400 that kills it, i've seen servers with nominates bigger/same size than mine, and my server lags on endvote too (Endvote selects only 4 maps total).

    I think a way to deal with this will be recoding it to either load the KeyValue list at start and save it as a global variable, would still lag but at the start of the map when everyone is connecting. Probably there are a few more workarrounds that i'll think of if i do code this.
    alerad is offline
    Bittersweet
    Veteran Member
    Join Date: May 2012
    Old 09-30-2016 , 15:04   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
    Reply With Quote #4

    Quote:
    Originally Posted by alerad View Post
    I'm pretty sure it's just the for i to 400 that kills it, i've seen servers with nominates bigger/same size than mine, and my server lags on endvote too (Endvote selects only 4 maps total).

    I think a way to deal with this will be recoding it to either load the KeyValue list at start and save it as a global variable, would still lag but at the start of the map when everyone is connecting. Probably there are a few more workarrounds that i'll think of if i do code this.
    Powerlord was working on a new version (he is the one that provided 3.4.6 and 3.4.7) but the last time I looked he had that project marked as a low priority. If you are going to recode, I'd pull his latest version from his repository. The link is buried somewhere in this thread, just search by author to find it.
    __________________
    Thank you in advance for your help

    My plugins:
    [CS:S] BOT Swat | [ANY] CVAR Randomizer | [CS:S] SM CS:S Tag Beta | [CS:S] Bot2Player
    Awesome & Crucial plugins by other people:
    [CS:S/CS:GO] GunGame | [UMC3] Ultimate Mapchooser | [ANY] Server Crontab | [ANY] SM ForceCamera
    Bittersweet is offline
    alerad
    Junior Member
    Join Date: Mar 2016
    Old 09-30-2016 , 22:07   Re: [UMC3] Ultimate Mapchooser 3.4.5 (Updated 10/7/2012)
    Reply With Quote #5

    Quote:
    Originally Posted by Bittersweet View Post
    Powerlord was working on a new version (he is the one that provided 3.4.6 and 3.4.7) but the last time I looked he had that project marked as a low priority. If you are going to recode, I'd pull his latest version from his repository. The link is buried somewhere in this thread, just search by author to find it.

    Thanks for the help! Will probably do it at some point, not on my highest priority at the moment.
    alerad 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 23:23.


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