opencj-dev / server-gsc

OpenCJ serverside GSC files
GNU Affero General Public License v3.0
3 stars 1 forks source link

Implement !loadbeforeele (with alias !eleload) #136

Open Yocairo opened 2 years ago

Yocairo commented 2 years ago
iznogod commented 2 years ago
iznogod commented 2 years ago

Save amount of elevators in player save. Should not be able to !eleload when any elevates (with !ignoreele on) have been done. Otherwise we can just load back to the previous save since that should be safe. Previous save in this case is the last LOADED save, not the last MADE save.

Yocairo commented 2 years ago

"Should not be able to !eleload when any elevates (with !ignoreele on) have been done." The point of !eleload is that you can load back to a save that didn't have an ele, so I disagree with this part.

iznogod commented 2 years ago

have been done = excluding the current one. If a player bypassed the !eleload earlier, he should not be able to enable !eleload now since the script will have to search quite a few saves to find a non-elevated one.

Yocairo commented 2 years ago

Yeah that's the point of eleload, to find the latest save where no ele had been done. If we don't implement that, !eleload is pointless