Sythen
Sorceror
Just a little fix on a nice system that someone wrote years ago and posted to the forum. I'm not sure how popular this was/is, but I've enjoyed this script a lot. This package is completely plug and play..
All I did was restructure 3 files into a base script and renamed some of the methods to make a little better sense. I also regioned the scripts out so that everyone can make new beds easily. None of the work in this package is my work or idea - I just restructured it and fixed some of the body positions; the body on the large bed now positions correctly!... Finally I also added public beds for those that didn't have them before. What this does is allows you to add them to inns so people can use the bed to go afk or (if you tweak the way RunUO allows players to securely login and log out) you can possibly make the public beds effectively act like a bedroll thus allowing players to secure logout on sleep.
As per requested I give you an image of 3 of the beds... but they all work the same way: when you double click the beds your body turns invisible, only staff can see you, you are muted, can't walk, and so all you can really do is go afk or log out. At that point when you come back in game, double click the bed again and your body comes back to life.
Besides the bugs mentioned below, I found 1 other that happens when you log off and you log back on your character can walk again. Not sure how to fix that. Also if you go onto your front steps while invisible and your body is in the bed... you'll get stuck on the steps and need a gm to help.
All I did was restructure 3 files into a base script and renamed some of the methods to make a little better sense. I also regioned the scripts out so that everyone can make new beds easily. None of the work in this package is my work or idea - I just restructured it and fixed some of the body positions; the body on the large bed now positions correctly!... Finally I also added public beds for those that didn't have them before. What this does is allows you to add them to inns so people can use the bed to go afk or (if you tweak the way RunUO allows players to securely login and log out) you can possibly make the public beds effectively act like a bedroll thus allowing players to secure logout on sleep.
As per requested I give you an image of 3 of the beds... but they all work the same way: when you double click the beds your body turns invisible, only staff can see you, you are muted, can't walk, and so all you can really do is go afk or log out. At that point when you come back in game, double click the bed again and your body comes back to life.
Besides the bugs mentioned below, I found 1 other that happens when you log off and you log back on your character can walk again. Not sure how to fix that. Also if you go onto your front steps while invisible and your body is in the bed... you'll get stuck on the steps and need a gm to help.