Lift

585k Downloads

No useful information supplied to players when lifts do not work

mathuin opened this issue ยท 3 comments

commented

Sometimes a lift will just stop working. No obvious reason why.

Sometimes breaking all the glass, removing all the signs and buttons, and pulling all the iron blocks, then replacing everything works.

Sometimes it doesn't.

It would be very, very nice for players whose lifts are not working to get messages to help them debug these problems.

A command like "/lift test" while standing on the iron blocks could run a number of tests and report back to the user some useful information like:

  • base area (and whether it's larger than the server setting)
  • how many floors
  • floor info: y value, name if any on the lower sign
  • is the lift obstructed (if so, what block type and at what y level)

plus anything else you can think might go wrong that a player might not be able to figure out very quickly on their own.

Jack.

commented

This is a good idea, although it wont be possible until I rewrite some key parts of the code. Part of the problem is that there is no way to know what the lift should be so output will be limited to where the elevator generator stops. I will add a test command though that will output what point the generation stops at.

commented

Thanks so much! I recognize it won't likely be possible to explain why the generation stops (say the floor is missing a pane of glass on the third level, the generation will stop at the second level I imagine) but really, any help you can give here is appreciated. :-)

Jack.

commented

I added as much as I could think of for now, which isn't much