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 ➜ stealing from other players?

stealing from other players?

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


Posted by Flashattakjak   (20 posts)  Bio
Date Mon 05 Aug 2002 02:05 PM (UTC)
Message
I just noticed that in my mud that players can't steal from other players, how do I fix this?
Top

Posted by Neves   USA  (78 posts)  Bio
Date Reply #1 on Wed 07 Aug 2002 03:44 AM (UTC)
Message
In skills.c, locate the function do_steal, a little into it is a commented out piece of code starting with if ( check_illegal_psteal( ch, victim ) ), and the comment over it that stealing from other players was removed. Uncomment out that piece of code, and then the if check right below it [if ( !IS_NPC( ch ) && !IS_NPC( victim ) )] you should remove, because that is the piece of code that is preventing players from stealing from other players. That should do it, good luck :)

-Jay
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.


11,186 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.