I have been coding SMAUG (and C for that matter), for a relatively short time, so if my subject is an old one excuse me.
I had put MPSLEEP V 1.00 by Rasmus Brosboel snippet onto the mud sometime back and am now fighting to figure out why mob progs that have the mpsleep command in them skip ELSE statements entirely. This is not the case when the same program is run as an ENTRY on a room, rather than a GREET on a mob.
I understand from chatting with some folks on I3 that MPSLEEP is notoriously buggy in behavior, so I am posting to ask if anyone has already fought this same fight I'm having, and if so if they could save me some time and frustration by sharing the wealth, or at least point me in the right direction on this. The odd use of arrays and BOOLs and such makes it really difficult for someone at my current level of coding to make much sense at all of mud_prog_driver, much less fix anything in it. LOL
Thanks
I had put MPSLEEP V 1.00 by Rasmus Brosboel snippet onto the mud sometime back and am now fighting to figure out why mob progs that have the mpsleep command in them skip ELSE statements entirely. This is not the case when the same program is run as an ENTRY on a room, rather than a GREET on a mob.
I understand from chatting with some folks on I3 that MPSLEEP is notoriously buggy in behavior, so I am posting to ask if anyone has already fought this same fight I'm having, and if so if they could save me some time and frustration by sharing the wealth, or at least point me in the right direction on this. The odd use of arrays and BOOLs and such makes it really difficult for someone at my current level of coding to make much sense at all of mud_prog_driver, much less fix anything in it. LOL
Thanks