Quote:
Originally Posted by Bittersweet
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.