[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]  Player Killing - immortals only?
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Player Killing - immortals only?

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


Pages: 1 2  3  

Posted by Reshad   (61 posts)  [Biography] bio
Date Tue 25 Jan 2005 02:11 PM (UTC)
Message
Is pking only possible to Immortals?
How can I make it so that other players also can PK?
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #1 on Tue 25 Jan 2005 02:35 PM (UTC)
Message
Stock Smaug has it so only deadlies can PK. Set the deadly flag on players, so they can PK.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Reshad   (61 posts)  [Biography] bio
Date Reply #2 on Tue 25 Jan 2005 02:44 PM (UTC)
Message
So, each new player that signs up, I must edit his account and add the deadly flag?
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #3 on Tue 25 Jan 2005 02:46 PM (UTC)
Message
Well no, the stock area in Smaug lets you choose what you want to be. So you could make a prog to handle that.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Reshad   (61 posts)  [Biography] bio
Date Reply #4 on Tue 25 Jan 2005 02:49 PM (UTC)
Message
Can you please post a few steps to change that? And does it require compiling?
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #5 on Tue 25 Jan 2005 02:54 PM (UTC)
Message
No it doesn't require compiling. Basically, all you need to do is make a prog with this string in it:
mppkset $n yes


This is the stock prog to make someone deadly:
> speech_prog p shadowy path~
if level($n) == 1
mpforce 0.$n config -nice
mpforce 0.$n config -flee
mppkset $n yes
mpechoat $n You are now a Deadly Character... you will be listed under
mpechoat $n 'who deadly' once you reach level 5 and 18 years of age.
mpechoat $n You will now be transferred to your chosen path...
mpechoaround $n $n choses the path of shadows, disappearing into the darkness.
mptransfer 0.$n 107
mpat 107 mpforce 0.$n look
mpat 107 mpforce 0.$n config +autoloot
mpat 107 mpforce 0.$n config +autogold
else
mpechoat $n You have already chosen your path...
mptransfer $n 21001
endif

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Reshad   (61 posts)  [Biography] bio
Date Reply #6 on Tue 25 Jan 2005 02:58 PM (UTC)
Message
Thanks, but where do I place that? Sorry, but I dont have any experience with C++...
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #7 on Tue 25 Jan 2005 03:01 PM (UTC)
Message
This isn't C++ or anything, it's Smaug OLC. Just building. You can put it in a mob obj or room prog. For example, see HELP MPEDIT in Smaug.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Reshad   (61 posts)  [Biography] bio
Date Reply #8 on Tue 25 Jan 2005 04:28 PM (UTC)
Message
So, I must make a object, and place in the ''Action desc'' that, and then put it in a room?
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #9 on Tue 25 Jan 2005 04:42 PM (UTC)
Message
No, the action desc has nothing to do with it. It's all Smaug mob/obj/room programs. If you don't know how to do Smaug progs, you'll have to learn. Related commands are mpedit, mpstat, rpedit, rpstat, opedit, opstat.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Reshad   (61 posts)  [Biography] bio
Date Reply #10 on Tue 25 Jan 2005 07:49 PM (UTC)
Message
Huh... Oh, well, I'll pay someone to create it, lol :P
[Go to top] top

Posted by Reshad   (61 posts)  [Biography] bio
Date Reply #11 on Thu 27 Jan 2005 06:58 PM (UTC)
Message
I think I understand it...
Though, I tried it out, didn't work...

I did this:

I opened Area Editor,

Click on the room

pressed Ctrl+A (add new thing)

then it comes up with a pop-up

I chosed Program

Did the program type: fight_prog

And arguments: 100

And typed this in MUD commands:

mppkset $n yes




Are those the right steps? If not, tell me please
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #12 on Fri 28 Jan 2005 05:59 PM (UTC)
Message
Well, that'll make somebody deadly if they ever start a fight. But you don't quite want that. You want them to be deadly when they attack a player. And furthermore, I'm not sure if non-deadlies can attack deadlies to begin with although I could be wrong.

I guess what to do depends on what exactly you're trying to do. :)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Reshad   (61 posts)  [Biography] bio
Date Reply #13 on Fri 28 Jan 2005 06:08 PM (UTC)
Message
Well, I want that pking is possibile in the entire game...
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #14 on Fri 28 Jan 2005 06:10 PM (UTC)
Message
Then you'll want to have people mppkset to yes as soon as they enter. I think there's a program at the very beginning that moves people to the academy and all that; you'll want to add the mppkset there.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[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.


25,974 views.

This is page 1, subject is 3 pages long: 1 2  3  [Next page]

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]