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 ➜ Wear prog, no obj?

Wear prog, no obj?

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 Sun 28 Aug 2005 06:40 PM (UTC)

Amended on Sun 28 Aug 2005 07:33 PM (UTC) by Zeno

Message
>wear_prog 100
if armshards($n) > 0
mea $n You graft the water dragon's arm onto your own, gaining it's power!
break
endif
mposet 'dragon arm' flags noremove
mpforce $n remove arm
mposet 'dragon arm' flags noremove


When this prog is called (the prog is on the dragon arm), this bug appears:
Log: [*****] BUG: MpOset: no object, Object #2853.


Anyone know what's wrong or how to fix this? I've tried the vnum, short name, etc.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Sun 28 Aug 2005 08:21 PM (UTC)
Message
Isn't mposet performed by the supermob? (I hate that thing, even if I understand why it's necessary given SMAUG's setup) In that case, if the player is holding the object, I'm not sure that the supermob will be able to see it.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #2 on Sun 28 Aug 2005 09:59 PM (UTC)
Message
Hmm any suggestions then? I'm not sure I want to change the check, in case it screws up other progs.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #3 on Sun 28 Aug 2005 11:29 PM (UTC)
Message
You could make a new mudprog command, mposet_ch or something, that takes $n as a first argument and otherwise behaves as mposet. It then looks up the object in $n's inventory, instead of $n's room.

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.


10,173 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.