[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Running the server
. . -> [Subject]  Questions from a complete beginner
Home  |  Users  |  Search  |  FAQ
Register forum user name
Forgotten password?

Questions from a complete beginner

It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page

Posted by Cullyn   (6 posts)  [Biography] bio
Date Sat 06 Sep 2003 04:40 PM (UTC)  quote  ]
Hi all, this is my first time onto this forum. I only started using SMAUG about a week ago, it is the first attempt at any sort of building i have done and seems to be going well though i have a couple of questions i wonder if anyone could help with.
After adding some greet_100 programs to a number of mobs i keep getting the message:
Log: [*****] BUG: Mpechoat - victim does not exist, Mob #2513.
as an example. Now i know the programs do what they are supposed to do when someone enters the room but i seem to get this bug message everytime the mob moves, which can scroll a screen very quickly with getting the message from 4-5 different mobs.
Is there any way to make it so i don't get this message show continuously?

second question, setting resets for mobs i set limit 1, yet after checking through the area again after a few days i seem to have 2 of the mob in the room. For ones who move this is fine but for the sentinel shopkeepers i really do only need the one. Could anyone help with ideas please?

Any help would be greatly appreciated.
[Go to top] top

Posted by Nick Gammon   Australia  (19,631 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Sun 07 Sep 2003 12:36 AM (UTC)  quote  ]
Not sure about the duplicate mobs, but for the mob program I would post the actual program that is giving the problem.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Cullyn   (6 posts)  [Biography] bio
Date Reply #2 on Sun 07 Sep 2003 09:39 AM (UTC)  quote  ]

Amended on Sun 07 Sep 2003 09:47 AM (UTC) by Cullyn

ok thanks. here is the programs one of them that has a problem has.. i think it must just be one thing i am missing from them all as all the programs are virtually just copies. It is also only mobs who can move that seem to do it, ones set as sentinel haven't given an error message yet.

>speech_prog p yes
if ispc($n)
mea $n She walks over to you her hips swaying
mea $n She grins cheekily and kisses you
mea $n You feel her fingers play over your thigh as she rubs against you
mea $n She gasps 'Thank y' darlin' will see you in your room later no doubt'
mea $n she winks.
, sways over to $I and slaps their behind playfully

>entry_prog 100
, sways in her hips rolling and gives a playful giggle as she looks around.

>speech_prog p no
if ispc($n)
mea $n She gives you a wide eyed look and pouts.
mea $n With a little sniff she looks you over
mea $n You see her move on to the next...victim.
, slaps $I on the behind and sways off cheerfully.

>rand_prog 1
mea $r She looks you up and down. 'You want to play with little me?'

>rand_prog 1
mea $r She fans herself with a hand. 'You looking for a good time cutie?'

It isn't a must be fixed thing but i would like to get it sorted just because the bug logs can scroll my window in the time it takes to copy and paste a block of description.
[Go to top] top

Posted by Meerclar   USA  (603 posts)  [Biography] bio
Date Reply #3 on Sun 07 Sep 2003 10:40 AM (UTC)  quote  ]
Based on the error message and the calls in the progs you opsted, Id say the random progs are probably firing on NPCs that are exiting the room as this mob is entering. For the split second the mobs are in the same room the random target is legal but when the prog attempts to fire after all mob movement is handled the previously legal target is nolonger valid. My suggestion is to add either mob remember with ishere checks or ispc checks to the random progs. I personally dont use random targets in mprogs because you can get very odd results with multiple randoms in a single prog.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
[Go to top] top

Posted by Cullyn   (6 posts)  [Biography] bio
Date Reply #4 on Sun 07 Sep 2003 12:14 PM (UTC)  quote  ]
Thanks so much, changing the random programs seems to have completely stopped the bug logs. Also as of this time (about 3 hours and counting) slaying all of the mobs then restarting seems to have cut them down to one of those that there should only be one of.
[Go to top] 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.


It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum

[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.


Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Web site powered by FutureQuest.Net]