Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HOW TO FIX AMK SAVE CORRUPTION
- - Backup gamedata/scripts/bind_stalker.script
- - Open bind_stalker.script
- - Find the following in the script file:
- --[[local bad_object_names = {"wpn_lr30053522", "wpn_lr30058409" } --"wpn_lr30025601", "wpn_lr30028817","wpn_lr30033589"
- local i, se_name, se_obj
- for i, se_name in ipairs(bad_object_names) do
- se_obj = alife():object(se_name)
- if se_obj then
- news_manager.send_tip(db.actor,"Удалили глючный ствол:"..se_name,nil,nil,1000) alife():release(se_obj, true)
- end
- end]]
- - Remove --[[ and ]] at the beginning and end of this portion.
- - Replace the examples (wpn_lr30053522) with the object that is corrupting your save (which you can find in the log file in the logs folder next to your savegames folder, presumably in Documents/stalker-shoc, or in the console when you're running the game)
- It should look something like this, as an example:
- local bad_object_names = {"boar_normal59941" }
- local i, se_name, se_obj
- for i, se_name in ipairs(bad_object_names) do
- se_obj = alife():object(se_name)
- if se_obj then
- news_manager.send_tip(db.actor,"Удалили глючный ствол:"..se_name,nil,nil,1000) alife():release(se_obj, true)
- end
- end
- After you alter the script, load a save from a map before the corruption occured.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement