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

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

stealing from other players?

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Flashattakjak   (20 posts)  [Biography] bio
Date Mon 05 Aug 2002 02:05 PM (UTC)  quote  ]
Message
I just noticed that in my mud that players can't steal from other players, how do I fix this?
[Go to top] top

Posted by Neves   USA  (75 posts)  [Biography] bio
Date Reply #1 on Wed 07 Aug 2002 03:44 AM (UTC)  quote  ]
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
[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.


1,814 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

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]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]