//============================================================================= // saveini // // Author: }TCP{Wolf // Date: 2010-10-01 // Compliance: All Unreal Engines (hopefully) // // WHAT DOES THIS DO // So... you have installed this or that mod to your remote location server, // you are told to input THIS and THAT into the ini file, you are ready to // copy and paste a ton of text but then... the ini file is not there or... // the section the instructions were hinting at are non existent in the ini // file. // // This simple mod does nothing else than force all possible ini files and // entry sections to appear. This way, you will always be able to create // "initial" ini files which are clean and 100% correct. Ideal for those // mods which come without an ini file or to restor your "default" ini if // you deleted your old one :-) // // Also, servers which tend to not shut down correctly may lose their current // settings when they "hang" or "crash". Using this mod can help prevent the // loss of configuration data that was changed during runtime of the server // but not saved automatically by the server. // // INSTALLATION // Copy saveini.u into your system directory. // // USAGE // There are two methods of using it: You can add the line // ServerActors=saveini.saveini // to your Unreal.ini under the section // [Engine.GameEngine] // I DO NOT RECOMMEND THAT, this mod should not be running all the time, // only when you need it. So instead of running it as serveractor, just // login as admin to your server as player/spectator and type // summon saveini.saveini // Since the actor self-destructs when it is done, you can safely summon it // several times during the same map if you have changed settings in the // meantime you want forcefully saved. // // Inspired by oZ//Redrum // First implemented in UTeamFix 10H (c)}TCP{Wolf 2010 // NOTE: This mod does exactly the same as the UTF 10H+ command "saveallconfigs". // Created and published for the UScript CodeSchool project :-) //=============================================================================