COMMUNITY FORUM

Xml file deleted on Gamesave

Forum Overview >> Scripting

CategoryScripting
Created21.07.2024 02:01


Bruno Marley (brunomarley) 21.07.2024 02:01
Hello to anyone, so a week ago I started developing my first mod for Fs22 I don't have any experience in Lua or Game mod development.

I'm creating a login mod for my Roleplay server (dedicated server) and for this the mod saves the login data in a Xml file inside the save game folder, the problem is when I save the game apparently my xml files get deleted.

I saw other mods that's creates xml settings files inside save game folder and don't get deleted, so I'm wondering what I'm doing wrong

Thank you

M_k Mcd4 (MKMcD) 07.12.2024 22:04
You need to either recreate the file during a save or save the file outside of the savegame folder.


Note: Log in to post. Create a new account here.