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

Gammon 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?

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


Posted by Flashattakjak   (20 posts)  [Biography] 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?
[Go to top] top

Posted by Neves   USA  (78 posts)  [Biography] 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
[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.


3,209 views.

It is now over 60 days since the last post. This thread is closed.     [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.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

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

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]