However, this doesnt seem to be working.. My server still ha damn weather? I want it GONE FOREVER! ;)
However, this doesnt seem to be working.. My server still ha damn weather? I want it GONE FOREVER! ;)
you need to set all these
ConVar.Weather.clear_chance = 1f;
ConVar.Weather.rain_chance = 0f;
ConVar.Weather.fog_chance = 0f;
ConVar.Weather.storm_chance = 0f;
ConVar.Weather.dust_chance = 0f;
ConVar.Weather.overcast_chance = 0f; weather.clear_chance "1"
weather.rain_chance "0"
weather.fog_chance "0"
weather.storm_chance "0"
weather.dust_chance "0"
weather.overcast_chance "0"
Weather.overcast_chance "0" weather.clear_chance 1
weather.dust_chance 0
weather.fog_chance 0
weather.overcast_chance 0
weather.rain_chance 0
weather.storm_chance 0And i still have this infinite rain.
@Alistair, is this a bug? May be related to the use of Skip Night Vote?
Why don't you just add something like 'weather.enabled' so we could just disable it entirely, if we don't need it? Would make things much easier for many admins over there.
Ts3hostingI made a simple plugin that runs to disable it on server load.
rustynail3110@Ts3hosting is the plugin on here ?
I don't see why you'd need a special plugin for that, just run the commands on startup. Auto Commands would handle it, Timed Execute should as well. I don't see why using them in server.cfg wouldn't work either.
Wulf
I don't see why you'd need a special plugin for that, just run the commands on startup. Auto Commands would handle it, Timed Execute should as well. I don't see why using them in server.cfg wouldn't work either.
No did not add it on here did not think enuff needed it.
Ya not sure why when placed into server.cfg it does not alter ther settings but tested and does not for me aswell.
Ts3hostingNo you want me to upload it?
Ya not sure why when placed into server.cfg it does not alter ther settings but tested and does not for me aswell.
I mean, wouldn't it be the same as Auto Commands using the commands?
private void OnServerInitialized()
{
NextTick(() =>
{
PrintWarning("Disabling weather.");
Server.Command("weather.load clear");
Server.Command("weather.clear_chance 1");
Server.Command("weather.rain_chance 0");
Server.Command("weather.fog_chance 0");
Server.Command("weather.storm_chance 0");
Server.Command("weather.dust_chance 0");
Server.Command("Weather.overcast_chance 0");
});
}
private void Unload()
{
PrintWarning("Enabling weather.");
Server.Command("weather.clear_chance 0.7");
Server.Command("weather.rain_chance 0.3");
Server.Command("weather.fog_chance 0.1");
Server.Command("weather.storm_chance 0.1");
Server.Command("weather.dust_chance 0.2");
Server.Command("weather.overcast_chance 0.1");
}