- ComradeNitro 1m
- Stelpher 2m
- himble 8m youtu.be/og243Dom4Sw
- Kisaki 5m Don't Stop Music...
- MaxKombo 17m
- Ghostinthekeys 10s
- BenZeWizard 6s Hi
- Cyberpunker 2m
- SacredWest 2m
- Meoris 28s https://www.youtube.com/watch?v=Vn5OMaPiX2M
- Pizzaman 1h
- BCingyou 14s
- Jackserious 44s
- jsmith225 2h
- ZaCyril 2s https://youtu.be/9r4WD60uM18
- Newbs21 10m We're all crazy here!
- crashdown 1m
- Dawnshot 2h https://youtu.be/qg_7saEbnwE
- Napoleon 42s Bad bish is bad.
- Kanuin 3h
- Sabess 5h Seabass.
- FancyPenguin 2h
- MrJDucky2 29m
- Grey0 6s
- Ryuzaki4Days 7h Shoot your ace in the face.
j Johnny 7h New Code Written Nightly. Not a GM.
- coconut 9m Partially inactive during summer.
a Cerberus 7h Head Builder & GM when I need to
- Dorn 1s youtu.be/7OUqUiZQxs4
- Chrissl1983 39m working on my @history for too long...
- Azelle 7h
And 27 more hiding and/or disguised
Connect to Sindome @ moo.sindome.org:5555 or just Play Now

Elevator Improvements!
Going up?

We have multiple kinds of elevators and at their core they are some of our older legacy code. It worked, but there were some issues. I've (hopefully) resolved those issues as well as extended their abilities to support future code such as 'NPCs knowing how to take an elevator'.

Things added:

1. When someone calls the elevator from an elevator lobby, the button will light up in the elevator.

2. You can push multiple buttons (or say multiple floors in elevators that support speech) and the floors will queue up. Currently, it is not like a real elevator where if you push 3 and then 2 from floor 1, you get 2 first then 3. I did it like this on purpose so whomever pushes a button first, gets to their destination first.

3. I totally forgot about Xpress Heights and Arborian and those elevators have different code, so I had to scramble to fix them. They should be working now without much issue. If you find problems please let me know ASAP.

4. Numerous fixes that will make elevators work better. The doors won't open/close weirdly, and you shouldn't get the multiple movement messages that sometimes cropped up. We've moved from using forked tasks to close doors to using the scheduler, which is a big improvement.

5. It should be much harder to accidentally get locked in an elevator that is stuck. If it does happen, please xhelp. The code refactors I've done have been tested pretty thoroughly but you never know. If something weird happens you should be able to (unless it is SUPER broken) push open or push close to get it going again.

6. Better messaging. More verbose, more clear.

7. Better help for voice elevators: 'say help'

8. Cleaned up a lot of the code! It was kinda messy in there. Some of it was really old. So, now it's cleaner and more up to date with our current coding standards.

9. If you look in the elevator, you'll see which buttons are already pressed.

10. When you get to your floor, the elevator will tell you what floor it is!

Like I mentioned at the start, one of the main reasons for doing this was to better support things like NPCs taking the elevator. Previously, we could have made it work but it would have been hacky.

Now, we can hook in notifications for NPCs when they arrive at the floor they were looking for, instead of just hoping that they would get into an empty elevator that no other NPC or player were trying to use and get to the floor they pushed. Since, as you all know, elevators only supported one floor at a time, if a PC were to enter with the NPC and hit a different floor before the NPC could, the NPC would basically be stuck forever or it would get off at the wrong floor and not know what to do.

Now we can better plan NPCs using elevators and you guys get a (hopefully) less hassle when using the elevators!

Thanks to Johnny and Malice for helping me work through the refactor, reviewing the code and for testing!

Have fun. Feedback welcome. Bugs very welcome.

-- S

\o/ Eyyyy. This is excellent. I can't imagine what a pain that code must be.

Great job.

Great job, they work much more smoothly. Thanks <3

Elevating in style, good job.

Hello again -

I have finally finished and promoted to production, elevator pathing for NPCs! This means groups like the Jester Punks that need to move around via elevator, can, automatically.

This was quite a challenge. The way our pathing works is it finds the shortest distance between two rooms and gets the go string like go east east east up up up south south up south south.

If there was an elevator to get to a room, it would simply not find a path.

Now, our code can handle elevators being in the middle! It works like such:

Pathing algorithm has special verbs for elevators that look for floors that might lead to our destination, if it finds it, it includes the elevator in the path as an object.

If the path has an object the NPC breaks it into chunks.

Chunk: Path from start to elevator.

NPC arrives at Elevator

NPC pushes the button

Elevator arrives

NPC enters

NPC presses the correct button

NPC waits for correct floor

NPC exits elevator

NPC continues to the next chunk of it's path.

It doesn't currently support multiple elevators being in the path yet, but it's much more intuitive. All this is possible due to elevator improvements mentioned above, like having a queue for floors!

This code is not perfect and will need fixes and improvements. Be sure to xhelp and notify us if you see any weirdness or NPCs that seem to be standing around in elevators when they shouldn't be. You may be asked to @bug it, but it may also reach me quicker and then I can debug it. If you're reading this post in the future (IE not in the next two weeks) just @bug it.


-- S

Amazing work as always, Slither!