Use this patch for the SelectWeather Lua crash:
Use this patch for the SelectWeather Lua crash:
After a quick look at this, the error:
"Arguments : LUA error: ... - lost alpha\gamedata\scripts\level_weathers.script:631: attempt to call method 'SelectWeather' (a nil value)" is a bug in that script.
Only the dynamic weather manager has a SelectWeather function, but the infringing line 631 in the level_weathers.script -- "get_weather_manager():SelectWeather()" -- does not test, whether the weather manager is static or dynamic, therefore failing in case of a static weather manager (call to nil).
Until the devs fix this, I recommend fixing this like so, replacing the start_preblow helper function in that script:
"--/ -----------------------------------------------------------------
--/ Helper Functions
--/ -----------------------------------------------------------------
function start_preblow(t)
log("for tests: start preblow")
restart_weather_manager()
get_weather_manager():StartPreblow()
if bDynamicWeather then
get_weather_manager():SelectWeather()
start_quick_timer(5, this.get_weather_manager():SelectWeather())
end
end
"
This will fix this crash. Here is a patch:
Mediafire.com
Traz56
Trant joined
This member has provided no bio about themself...