Caroby Posted 5 hours ago Share Posted 5 hours ago Hi guy me and my friend was trying 0.A.D over network (LAN) but we run out some problems due to losing connection from clients(poor wifi signal from one of the clients). ChatGPT suggested that if we save it we may restore and continue our gameplay without problem, but it is not easy to remember to keep saving just in case, then I asked GPT to create a mod to autosave and it did and it works very well and I would like to share. I don't know it already exists but GPT said there is not such native function. The default autosave time is 300s, but I changed mine to 60s and it doesn't freeze the game while saving. More instructions at github. https://github.com/tiekookeit/0ad_mod_autosave 2 Link to comment Share on other sites More sharing options...
Asher Posted 3 hours ago Share Posted 3 hours ago 1 hour ago, Caroby said: Hi guy me and my friend was trying 0.A.D over network (LAN) but we run out some problems due to losing connection from clients(poor wifi signal from one of the clients). ChatGPT suggested that if we save it we may restore and continue our gameplay without problem, but it is not easy to remember to keep saving just in case, then I asked GPT to create a mod to autosave and it did and it works very well and I would like to share. I don't know it already exists but GPT said there is not such native function. The default autosave time is 300s, but I changed mine to 60s and it doesn't freeze the game while saving. More instructions at github. https://github.com/tiekookeit/0ad_mod_autosave Great idea! So i just tried it out, and I got these warnings: Maybe you already did this, but if you could add a setting in the settings page that allows you to change the interval, I think that would be helpful Link to comment Share on other sites More sharing options...
guerringuerrin Posted 3 hours ago Share Posted 3 hours ago (edited) Hi @Caroby! Thanks for your work on this mod!! This is definitely a great feature to add to the game. I wanted to mention, just in case, that if a player disconnects, you can still save the game and rehost it to resume from where they left off. The player doesn't need to be online at that moment. Aside from that detail, thanks again for this work. I haven't been able to test it yet, but autosave isn't a bad thing for anyone. Edited 3 hours ago by guerringuerrin Link to comment Share on other sites More sharing options...
Caroby Posted 1 hour ago Author Share Posted 1 hour ago 2 hours ago, Asher said: Great idea! So i just tried it out, and I got these warnings: Maybe you already did this, but if you could add a setting in the settings page that allows you to change the interval, I think that would be helpful Yes, just add to the user.cfg the config: host.autosave.interval = "60" the value is set in seconds. Link to comment Share on other sites More sharing options...
Caroby Posted 1 hour ago Author Share Posted 1 hour ago 2 hours ago, guerringuerrin said: Hi @Caroby! Thanks for your work on this mod!! This is definitely a great feature to add to the game. I wanted to mention, just in case, that if a player disconnects, you can still save the game and rehost it to resume from where they left off. The player doesn't need to be online at that moment. Aside from that detail, thanks again for this work. I haven't been able to test it yet, but autosave isn't a bad thing for anyone. The first time it happened we didn't understand that the game went out sync and my brother ran another instance of the game, just at the end we realised we were not at the same game for a while, because we were playing at the same time against the AI. But I will try that if it happens again. Another importante thing for me is that here where I'am, when I'm playing at my PC that has a much better graphic card, it is not rare to have a short power loss. And as I have a public IP address usually I'm the host for the match and if there is a power loss we lose the match. It happened twice last week and that was frustrating. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now