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

[TF2] Server freezes during map change sometimes?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 12-01-2014 , 05:56   [TF2] Server freezes during map change sometimes?
Reply With Quote #1

Hi Guys,

I've got a specific kind of problem which is freeze of server during mapchange which happens sometimes. I'm kinda confused why does it happens tho

The only clue i have is incompatiblity of engine and sm map change perhaps?
Last message before freeze srcds console shows up is:
CHANGE LEVEL: ba_jail_downfall_b6_otaku
L 12/01/2014 — 11:46:17: [SM] Changed map to "dr_missing"

It types Change Level for different map yet changes to different one
Perhaps standard valve system tries to load map from mapcycle file and other from mapcycle yet choosen by vote.

Help would be great
- Thanks
__________________
...
Oshizu is offline
Michalplyoutube
Veteran Member
Join Date: Jan 2013
Location: Tank Carrier in Mannhatt
Old 12-01-2014 , 07:18   Re: [TF2] Server freezes during map change sometimes?
Reply With Quote #2

Use no mapcycle? or set it back to none?
__________________
The plugin developer of TF2BWR Reborn
And a TF2 Player
Michalplyoutube is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 12-01-2014 , 09:16   Re: [TF2] Server freezes during map change sometimes?
Reply With Quote #3

That'd be rather problematic since round end map vote uses mapcycle.
I could recode mapchooser tho to use seperate file perhaps...
__________________
...
Oshizu is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 12-01-2014 , 09:49   Re: [TF2] Server freezes during map change sometimes?
Reply With Quote #4

Quote:
Originally Posted by Oshizu View Post
That'd be rather problematic since round end map vote uses mapcycle.
I could recode mapchooser tho to use seperate file perhaps...
Do I need to remind you that addons/sourcemod/configs/maplists.cfg is a thing?
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 12-01-2014 , 14:18   Re: [TF2] Server freezes during map change sometimes?
Reply With Quote #5

Iv had a problem with maps since last halloween update in tf2...
The server hangs for a second or so when doing mapchooser votes and setting the next map, and then when the map ends and cycles to the next map, sometimes it will hang and drop most of the clients... Taking some while to cycl.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 12-01-2014 , 17:25   Re: [TF2] Server freezes during map change sometimes?
Reply With Quote #6

Quote:
Originally Posted by friagram View Post
Iv had a problem with maps since last halloween update in tf2...
The server hangs for a second or so when doing mapchooser votes and setting the next map, and then when the map ends and cycles to the next map, sometimes it will hang and drop most of the clients... Taking some while to cycl.
Can't say I've seen that on my servers, but then again I usually run NativeVotes and one of the mapchoosers that support it.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 12-01-2014 , 19:16   Re: [TF2] Server freezes during map change sometimes?
Reply With Quote #7

i am using nativevotes.

Looks like nativevotes may be the problem. This started around the time valve broke the previous version.
I updated it from .7 to .8, I'll see how it goes.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.

Last edited by friagram; 12-01-2014 at 22:22.
friagram is offline
Oshizu
Veteran Member
Join Date: Nov 2012
Location: Warsaw
Old 12-02-2014 , 08:26   Re: [TF2] Server freezes during map change sometimes?
Reply With Quote #8

Quote:
Originally Posted by Powerlord View Post
Do I need to remind you that addons/sourcemod/configs/maplists.cfg is a thing?
Thanks, i should pay attention more to default configs of SourceMod i guess?

Quote:
Originally Posted by friagram View Post
i am using nativevotes.

Looks like nativevotes may be the problem. This started around the time valve broke the previous version.
I updated it from .7 to .8, I'll see how it goes.
I belive this issue started when i've added on server voting system (Nativevotes with Nativevotes Map Chooser). I assumed that cause was nativevotes so i've switched to regular mapchooser and still crashes from time to time occured.

So far there's been no crash yet after changing convar 'mapcyclefile' to nothing and setting up maplists.cfg for mapchooser
__________________
...
Oshizu is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 12-04-2014 , 01:06   Re: [TF2] Server freezes during map change sometimes?
Reply With Quote #9

Guess i can give that a shot, umc keeps its own mapcycle, and if mapchooser extended can use thst config it may do, but
I don't see why blanking out the mapcyclefile would fix the vote lag...
Is valve's system doing something horrible now?
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 12-04-2014 , 11:00   Re: [TF2] Server freezes during map change sometimes?
Reply With Quote #10

Quote:
Originally Posted by friagram View Post
Guess i can give that a shot, umc keeps its own mapcycle, and if mapchooser extended can use thst config it may do, but
I don't see why blanking out the mapcyclefile would fix the vote lag...
Is valve's system doing something horrible now?
As far as I'm aware, TF2 uses the mapcyclefile for exactly 3 things:
  • Choosing the next map if nothing overrides it.
  • Populating the end of map nextlevel vote.
    • This vote wasn't working on my server the last time I was doing vote logging. It may have been because I had sv_allow_votes set to 0 at map start.
  • It can be fetched using the listmaps command. As far as I can tell, this is used by clients to populate the built-in ChangeLevel and NextLevel vote menus. I have yet to log the usage of this command when doing vote testing to find out exactly when its being run.

As for NativeVotes, anything below 0.8.3 won't work properly on TF2 thanks to Valve changing the "all teams" value from -1 (or 255 for bytes, which is the unsigned value of -1) to 0. This was a game-wide change and also affects other things, such as the teamplay_broadcast_audio event.

Also, I wouldn't recommend NativeVotes 1.0.x. Not only did it have issues I needed to find out (things that worked fine in 0.8.x were buggy in 1.0.x), but Valve killed the new feature it was adding by requiring VoteSetup to have a translation phrase from the TF2 phrases. A new 1.0.x will eventually appear after I replace the existing 1.0.x's features with a more limited version that will still work.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 12-04-2014 at 11:16.
Powerlord 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 11:37.


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