Gammon Forum
Entire forum
SMAUG
SMAUG coding
Mount with hotboot
It is now over 60 days since the last post. This thread is closed.
  Refresh page
Posted by
| Zeno
USA (2,871 posts) bio
|
Date
| Fri 18 Feb 2005 02:45 AM (UTC) |
Message
| It seems that a person mounted on a mob does not persist through a hotboot, and becomes messed up because they are no longer mounted but the mounted flag is still on the mob. Why is this being reset? Should I just force players to dismount pre-hotboot? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | top |
|
Posted by
| Greven
Canada (835 posts) bio
|
Date
| Reply #1 on Fri 18 Feb 2005 02:49 AM (UTC) |
Message
| Its because the mounted variable isn't saved to the pfile. Depending on what version of hotboot your using, you could modify it to save it the mobs name/vnum and check during recovery if it should be setting the mount variable. |
Nobody ever expects the spanish inquisition!
darkwarriors.net:4848
http://darkwarriors.net | top |
|
Posted by
| Zeno
USA (2,871 posts) bio
|
Date
| Reply #2 on Fri 18 Feb 2005 03:52 PM (UTC) |
Message
| Well I'm using Samson's hotboot, but I don't know how to check the version. I'd have to write mounts status to files in the hotboot dir right? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | top |
|
Posted by
| Greven
Canada (835 posts) bio
|
Date
| Reply #3 on Sat 19 Feb 2005 01:04 AM (UTC) |
Message
| You can, yes, or have the check specific to hotboots in save_char_obj write the name of the mount and re-mount them. |
Nobody ever expects the spanish inquisition!
darkwarriors.net:4848
http://darkwarriors.net | top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
9,812 views.
It is now over 60 days since the last post. This thread is closed.
  Refresh page
top
Quick links:
MUSHclient.
MUSHclient help.
Forum shortcuts.
Posting templates.
Lua modules.
Lua documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.