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.
Exaustion - Sleep dosn't work
Posted by TaulTaan on Mon 17 Jun 2002 02:04 AM — 6 posts, 21,770 views.
sounds like mentalstates low
try this
mset ____ mentalstate 0
work?
try this
mset ____ mentalstate 0
work?
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. =]
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.
Anyone have a permanent fix to this problem? My character is doing the same thing.
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.
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.