ARKStatsExtractor icon indicating copy to clipboard operation
ARKStatsExtractor copied to clipboard

Smart Breeding keeps refreshing

Open Quaylie opened this issue 3 years ago • 11 comments

A mate and I are using the same save for our library of creatures - but when we are both using the program at the same time it keeps refreshing and therefore becomes very hard to use, is that normal? I haven't been able to find anything about it.

For example when I delete a dino from the library it refreshes and it is back there again.

The save file is accessed via the cloud.

Quaylie avatar Sep 30 '20 10:09 Quaylie

What version do you use? The latest is 0.42.

cadon avatar Sep 30 '20 22:09 cadon

We are both using the newest version. and have these enabled: https://gyazo.com/8933bc1bf4a660ef0b6e8f8929cc5ea0

Quaylie avatar Oct 01 '20 12:10 Quaylie

With keeps refreshing do you mean it will reload the file again and again without the other users change something? It will reload the library-file as soon there was a change and the file is synchronized to your computer. Of course that should ideally not affect you. What are the issues you experience when the library is reloaded, are you experience lags, is the app resetting something?

cadon avatar Oct 01 '20 20:10 cadon

With refreshing I mean as if you update a webpage. The program does that every few seconds when both of us have it opened at the same time.

Imagine typing something on a webpage or filling out some kind of formula and it updates/refreshes. You’d have to do it again only it keeps updating so practically you can’t do anything unless you do it within a couple of seconds.

Also if I delete an imported Dino from the Library it does not register the deletion on my mates computer, and 10 seconds after the deleted Dino pops up on my screen again.

When under breeding plan I select a breeding pair to look at different outcomes and probabilities- then the program updates/refreshes and removes my selection so I have to select the pair again - refresh select again- refresh select again. I’ll do that until I read what I need.

Quaylie avatar Oct 03 '20 11:10 Quaylie

The question was if it keeps refreshing, despite the other user does not change something. It sounds like that. ASB should only reload the file if there was a change. So if multiple user have opened it and don't change anything, it should not refresh for anyone. Deleting a creature will mark it as deleted and it will be not shown anymore until it's deleted definitively from the file. Also the selected breeding pair should be kept, you may see a flickering when it updates that selection, but it should not cancel the selection. All the issues sound like there's a problem with the synchronizing of the file, i.e. the file is not synchronized fast enough, then there are conflicts of different files and ASB reloads outdated info which then are resynchronized again back. According to feedback we got, DropBox is the most reliable for syncing and GoogleDrive had some issues in the past. What filesharing service do you use for ASB?

cadon avatar Oct 03 '20 12:10 cadon

We are using Dropbox.

Quaylie avatar Oct 03 '20 17:10 Quaylie

Then I'm out of ideas. Dropbox was always the most reliable in our experience.

Is that issue a new one, i.e. did it work better previously, or did you just start to use a synchronized library?

cadon avatar Oct 04 '20 21:10 cadon

We just started using a synchronized library a couple of weeks ago.

Captured on screen what it does here and here

Quaylie avatar Oct 06 '20 22:10 Quaylie

That is definitely unexpected behavior. By chance, are you sharing anything other than the library file (.asb)? Last I checked, even the library, or any files for that matter, being updated shouldn't cause a refresh of the UI like that.

VolatilePulse avatar Oct 06 '20 22:10 VolatilePulse

Thanks for the videos, that makes it clearer. I think loading a library at some point calls a clear-method for the extractor, which of course should not happen. Also although the selected breeding mode and species are maintained, the currently selected breeding pair is obviously not selected again. I'll look in both these issues.

In general, after a reload these controls need to update themselves, e.g. if someone deletes a creature, it should not appear in the breeding plan anymore, so some kind of refreshing on a library-change is needed. But as said, that should only happen if the other user has changed something in the library, e.g. added or removed a creature, changed the name of a creature or adjusted a library-multiplier.

Regarding the deleted creatures reappearing, that sounds like an issue with synchronizing.

cadon avatar Oct 07 '20 14:10 cadon

Yes - the synchronization seems to be a bit off.

Btw - here is an example of me deleting from the library and here 2 of them appears again after a refresh.

Thanks for looking into this. EDIT: Just wanted to add a picture of our dropbox folder as well - there seem to be some conflicting copies. Let me know if we are doing something wrong.

Quaylie avatar Oct 07 '20 22:10 Quaylie