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 ➜ Player Killing - immortals only?

Player Killing - immortals only?

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


Pages: 1 2  3  

Posted by Reshad   (61 posts)  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?
Top

Posted by Zeno   USA  (2,871 posts)  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
Top

Posted by Reshad   (61 posts)  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?
Top

Posted by Zeno   USA  (2,871 posts)  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
Top

Posted by Reshad   (61 posts)  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?
Top

Posted by Zeno   USA  (2,871 posts)  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
Top

Posted by Reshad   (61 posts)  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++...
Top

Posted by Zeno   USA  (2,871 posts)  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
Top

Posted by Reshad   (61 posts)  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?
Top

Posted by Zeno   USA  (2,871 posts)  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
Top

Posted by Reshad   (61 posts)  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
Top

Posted by Reshad   (61 posts)  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
Top

Posted by David Haley   USA  (3,881 posts)  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
Top

Posted by Reshad   (61 posts)  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...
Top

Posted by David Haley   USA  (3,881 posts)  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
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.


108,065 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 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.