Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Running the server ➜ Exaustion - Sleep dosn't work

Exaustion - Sleep dosn't work

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by TaulTaan   (4 posts)  Bio
Date Mon 17 Jun 2002 02:04 AM (UTC)
Message
I'm having a problem with sleep not working. It's to the point where one of my imms is collapsing into a deep sleep every couple minuets, no matter how long he lets his char sleep it dosn't go away, HP, MP, and MV are maxed. Maybe I'm missing something very simple but so far I can't find a single reason why. Any help would be greatly appreciated.
Top

Posted by Chris L   USA  (57 posts)  Bio
Date Reply #1 on Mon 17 Jun 2002 05:41 AM (UTC)
Message
sounds like mentalstates low
try this
mset ____ mentalstate 0
work?
Top

Posted by TaulTaan   (4 posts)  Bio
Date Reply #2 on Mon 17 Jun 2002 11:20 PM (UTC)

Amended on Mon 17 Jun 2002 11:22 PM (UTC) by TaulTaan

Message
Yes that worked, thanks alot, but that posses a new problem now, should not sleep have restored his mentalstate to him without using an imm command? If these is a posible problem with the game I would need to know before we begin accepting players. Thanks again for the help, any additional would be great. =]
Top

Posted by TaulTaan   (4 posts)  Bio
Date Reply #3 on Mon 17 Jun 2002 11:45 PM (UTC)
Message
Well upon further examination this issue seems to only affect our imm characters. I tested it on a level 2 I keep just for that purpose and he quickly regained his mental state as I watched using mset from another connection. Any help would still be nice but at least this is no longer a "major" issue. And again thanks for the idea, a good command to know... I should realy study more.
Top

Posted by Vayl   (1 post)  Bio
Date Reply #4 on Tue 11 Jul 2006 07:30 PM (UTC)
Message
Anyone have a permanent fix to this problem? My character is doing the same thing.
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #5 on Tue 11 Jul 2006 07:38 PM (UTC)
Message
I think this happens when you eat stuff that sends your mental state so negative that it would take a very, very long sleep to bring it back to normal.

One thing you could do is find the place in the code where it forces people to sleep (try searching for the string it sends when it forces you asleep), and not do it if the character is an immortal. I'm not sure you could do a permanent fix without tweaking the code. Fortunately, it's not a hard change to make.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
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.


16,879 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.