What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Updates.. do they backup the files they replace?

WhereIsMyMind

Member
Joined
Oct 12, 2013
Messages
848
Reaction score
5
Sup,

Just asking as I had spent a few hours working on a CR in C:\Exilebuddy 0.1.2854.75\Routines\ExampleRoutine\ExampleRoutine.cs
I logged a few days back, got informed of the EB update, went for it. Then quickly noted that ExampleRoutine.cs was replaced.

I had a search around for it, the modified ExampleRoutine.cs, but could not see it for all the tears.

WIMM
 
I guess not, I always had to manually save every edit I did on a separate folder and everytime an update hits replace the new file with the old
 
No, the Buddyupdater (which is used for all our bots) replaces the files included with the bot itself.

It is highly recommend you keep backup copies of the changes you make, or maintain your own renamed versions to avoid the issue.
 
It's all cool, as Pushedx knows, redoing code is always faster and tends to be cleaner.

WIMM
 
It's an issue I'd like to change, but there's no real solution for it. If we don't update files, things tend to break and users have to do work to fix them. If we do update files, you run into the case where modifications can be lost. Backing up files seems reasonable, but has to be done in a really specific way to avoid the case of the bot potentially loading the old backed up files, thinking they are new files. We'd have to change the extension and handle the case of multiple copies of existing backups.

I will talk to whoever manages the Buddyupdater to see if we can get backups made to prevent data loss. That's been an issue with the setup of all our bots.
 
updaters are evil things to work with. Leave them as simple as possible; fuck the user's files stored in stupid places.

WIMM


Sail
 
Back
Top