-start of major redesign of the bagsync database.
-start of major redesign of the bagsync database.
-found an enourmous bug on how the data is stored. Bags that are changed in size or content can falsely be stored and never removed.
(example a bag is 10 slots originally, but the bag is changed to 5 slots. Because of the current way the system is implemented, that missing 5 slots are never scanned, thus stay in the database and never get removed. This is a huge flaw and in order to rememedy this, I'm going to store each bag and then replace it each time in the database. This should eliminate missing child nodes.)
-The current database system does not allow me to efficiently scan and remove orphaned children. Which is why it's being redesigned.