OwnLevels solving and separate database

4 posts / 0 new
Last post
Razorflame
Razorflame's picture
Offline
Joined: 2013-11-28
OwnLevels solving and separate database

Right now, Sokoban 3 is unable to test levels while also registering the completion of the level and enabling you to save the score and solution gotten for the level when solving it in the OwnLevels level.

Currently, the only way around this is the copy it to the levels folder and solve it there.

However, when doing this, when you go to make additional levels and copy the level file to the levels folder again, it invalidates all the older levels that you solve and makes it impossible for you to upload scores for the levels without completely removing all scores from your database.

What I suggest is that there is either a separate database for level collections not found in the level sets downloaded from the site, or for there to be an ability to solve levels in the OwnLevels collections, while also allowing for the completion and saving of scores and solutions of these levels in the Own Levels folder, without having any impact on the Level folder database.

While some people might say, just create all the levels you want to for that set and THEN go through and copy to levels folder and solve them, for a prolific level creator, that isn't really the ideal solution because you need to test every level, and sometimes, after you solve a level, you want to tweak the level to make it more difficult, etc. etc.

Thanks in advance!

bjorn
Offline
Joined: 2013-04-18

There is some misunderstanding here, I will try to clear it up.

Levels in the OwnLevels folder is often under construction. This means that a solution will be invalidated as soon as you make a change to the level. These invalid solutions will be orfaned and clutter up the database. That's the reason for saving solutions only for the levels in the Levels folder. You can always use the "Export selected moves" function to copy and save your solution outside the game.

However, when doing this, when you go to make additional levels and copy the level file to the levels folder again, it invalidates all the older levels that you solve and makes it impossible for you to upload scores for the levels without completely removing all scores from your database.

That is not true. Solutions for all unchanged levels will still be valid when you do a new "Copy to Levels" operation. Even if you have inserted new levels or moved the levels around in the file. The link between a level and its solution is a unique identity, it's not the level name or position in the collection file.

after you solve a level, you want to tweak the level to make it more difficult, etc. etc.

Which obviously will make the previous solution invalid.

Razorflame
Razorflame's picture
Offline
Joined: 2013-11-28

Yeah, I think I'll just go and use the export moves function after I solve the levels in the OwnLevels to use on other sites. Sorry for the confusion.

baileyshaw437
Offline
Joined: 2017-08-19

A few years ago many people faced this problem because i had been doing web development in dubai for about 6 years and i have seen many changes in the trend.