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 ➜ A few questions for you, from a non coder

A few questions for you, from a non coder

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


Posted by Psg   United Kingdom  (3 posts)  Bio
Date Wed 31 Jan 2007 04:45 PM (UTC)
Message
Ok this is my first post; been writting a Mud mainly for fun using Smaug codebase. Tried to work this all out for myself, but wasn't able to, so I am gonna ask you guys :)

1. Is there anyway (without coding in new code and recompiling, as I don't really want to do that if possible at this stage - same goes for all questions) that I can award expirience points via a mud program?

2. Is there anyway I can award quest/glory points via a mud program?

3. Can I make it so you don't need notes/quills to post on boards. If so, how (I have one board which can do this, but cannot find what's so different about it! - I left this project for a while... and have forgotten).

4. How do you allow player stealing? ie. stealing from other player characters?

That's it.

Hope you can help :)

psg.
psg@cdc-nsf.com
Bow To The CoW! Oom.

psg
psg@cdc-nsf.com
"First of the last, forgiver of sins, keeper of secrets and teacher of tricks. You cannot tame the Sidhe inside me."
-
www.thegreatone.me.uk
www.whitedust.net
www.soljo.org
www.cultdeadcow.com
www.ninjastrikeforce.com
Top

Posted by Tzaro   USA  (41 posts)  Bio
Date Reply #1 on Wed 31 Jan 2007 04:59 PM (UTC)
Message
1. No
-------
2. No
-------
3. If you have a board that can already do it, copy it...
ocreate <new vnum> <old vnum> keywords

That should copy the board exactly and allow you to do what you're looking for.
-------
4. Not 100% sure on this one... it's been a while since I've looked at Smaug1.4a and SmaugFUSS.... I'm pretty sure it's hard-coded so players can't steal from other players. check skills.c... search for "disabled stealing among players because"...
If you see that line, you need to uncomment out the following ifcheck. It should be something like:

   if( check_illegal_psteal( ch, victim ) )
      {
         send_to_char "You can't ....
         ch_printf( victim, "%s ....
         return;
      }


comment that out by putting a /* before the 'if' and a */ after the }
make, compile... (I know... you didn't wanna compile... :\)


Implementer of Lost Prophecy,
Tzaro
Top

Posted by Tzaro   USA  (41 posts)  Bio
Date Reply #2 on Wed 31 Jan 2007 05:12 PM (UTC)
Message
hmm... I should also add that 1. and 2. aren't too difficult to make happen. If you'd like help with it, lemme know :)

Implementer of Lost Prophecy,
Tzaro
Top

Posted by Psg   United Kingdom  (3 posts)  Bio
Date Reply #3 on Wed 31 Jan 2007 05:13 PM (UTC)

Amended on Wed 31 Jan 2007 05:16 PM (UTC) by Psg

Message
Thanks very much for your amazingly prompt help!

I will copy the board info, that did occur to me. If that's the easiest way so be it :)


With regard to the xp awarding etc, any idea how I would code that in... I basically want programs to be able to award xp on tiggers, ie:

YOU FOUND THE DRAGON
Prog awards 2000 xp.

Likewise for Glory/Quest points.

Are there any snippets, precompiled Smaug binary's to do this, if not, where would you start to code this in? Is it a big job (I assume not as it's basically just editing a player file, numbers within on a trigger?).


Look like I am going to have to recompile anyway ;)


psg
psg@cdc-nsf.com
"First of the last, forgiver of sins, keeper of secrets and teacher of tricks. You cannot tame the Sidhe inside me."
-
www.thegreatone.me.uk
www.whitedust.net
www.soljo.org
www.cultdeadcow.com
www.ninjastrikeforce.com
Top

Posted by Psg   United Kingdom  (3 posts)  Bio
Date Reply #4 on Wed 31 Jan 2007 05:16 PM (UTC)
Message
Any help you are willing to give greatly appriciated... email me you can have an irc channel/msn address to talk about it :)

Or just post here.

Thanks again.

psg
psg@cdc-nsf.com
"First of the last, forgiver of sins, keeper of secrets and teacher of tricks. You cannot tame the Sidhe inside me."
-
www.thegreatone.me.uk
www.whitedust.net
www.soljo.org
www.cultdeadcow.com
www.ninjastrikeforce.com
Top

Posted by Tzaro   USA  (41 posts)  Bio
Date Reply #5 on Wed 31 Jan 2007 05:20 PM (UTC)
Message
email sent... though after we come up with a good solution, we should still post it here so future people that run into the same problem can find the solution easier :).

(email sent to psg@cdc-nsf.com)

Implementer of Lost Prophecy,
Tzaro
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.


17,171 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.