I am looking for a server value that defines the pause time after finished mapvote and start loading the voted map, so people don't have to wait these 5-6 seconds where nothing is be done.
I looked already in nexgen-ini, mapvote-ini and server-ini but can't find a matching value for it, but I saw some other servers have shortened this waiting period.
First I thought ServerTravelPause in server-ini should be that what I am looking for but it seems not.
Server setting for time between mapvote and loading next map
Re: Server setting for time between mapvote and loading next
I have never noticed that there is a pause after a (means more than 50%) voting and loading the map.
Example of log:
What's the address of your server that we could have a look?
</EDIT>
Example of log:
<EDIT>ucc.init.log wrote:[ EVENT ] The game has ended after 1073 sec.
[MESSAGE] 50 seconds left to vote.
Barbie has voted for MH-Omni-[Rage]
[MESSAGE] Barbie voted for MH-Omni-[Rage]
STomper2008 has voted for MH-Omni-[Rage]
[MESSAGE] STomper2008 voted for MH-Omni-[Rage]
KillerGirl has voted for MH-Omni-[Rage]
[MESSAGE] KillerGirl voted for MH-Omni-[Rage]
[MESSAGE] MH-Omni-[Rage] has won.
(no pause detected here)
ProcessServerTravel: MH-Omni-[Rage].unr?game=BarbiesWorld.MonsterHunt
NotifyAcceptingConnection: Server MyLevel refused
NotifyAcceptingConnection: Server MyLevel refused
...
What's the address of your server that we could have a look?
</EDIT>
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
Re: Server setting for time between mapvote and loading next
Ok then something else happens in this time, perhaps this time period is greater if the map needs longer to load serverside.
Today I realized on a Bunnytrack server that this time after finished voting was very short before the screen gets black with the loading message, so I thought this could be configurable.
I tested it once more and the waiting time was only about 4 seconds, so it is not a big issue for me now... my fault
Perhaps I was too fast asking here.
Today I realized on a Bunnytrack server that this time after finished voting was very short before the screen gets black with the loading message, so I thought this could be configurable.
I tested it once more and the waiting time was only about 4 seconds, so it is not a big issue for me now... my fault
Perhaps I was too fast asking here.
Re: Server setting for time between mapvote and loading next
You might want to investigate NextSwitchCountdown in LevelInfo.uc. I tested this by setting it to 0 in my custom GameType, and it reduced the map switch time from around 17 seconds to about 7. But do so advisedly!
...so there could potentially be end-of-level clean-up issues here if the period is foreshortened drastically (I guess?).
I see (via a Google search for NextSwitchCountdown - with "Verbatim" turned on) that Wormbo has a UT2004 actor called "RandomMapSwitcher", which includes a class called InstantRandomMapSwitch, and inside of that class this script segment (see the note in the final line):
Code: Select all
float NextSwitchCountdown Amount of time to wait before traveling to next map, gives clients time to receive final RPCs
I see (via a Google search for NextSwitchCountdown - with "Verbatim" turned on) that Wormbo has a UT2004 actor called "RandomMapSwitcher", which includes a class called InstantRandomMapSwitch, and inside of that class this script segment (see the note in the final line):
Code: Select all
function PickRandomMapFromList(MapList List)
{
local array<string> Maps;
Maps = List.GetMaps();
log("Randomly picking from a list of " $ Maps.Length $ " maps.", 'CrashRecovery');
Level.ServerTravel(Maps[Rand(Maps.Length)], false);
Level.NextSwitchCountdown = 0; // instant map change
}
- Deepu
- Adept
- Posts: 353
- Joined: Mon Nov 11, 2013 7:56 am
- Personal rank: Average
- Location: India
- Contact:
Re: Server setting for time between mapvote and loading next
Try this server 89.163.253.19:7777, after vote completed it will switch faster..
Re: Server setting for time between mapvote and loading next
I think I know where this setting is as Ive seen some our old servers switch levels almost immediately after the vote etc.
Will post back.
Will post back.
- sektor2111
- Godlike
- Posts: 6412
- Joined: Sun May 09, 2010 6:15 pm
- Location: On the roof.
Re: Server setting for time between mapvote and loading next
Are you talking about ServerTravelPause ? That's an IpDrv setting and... I'm using 0.1 there.