[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]  Compiling the server
. . -> [Subject]  A few changes, newbie changes..

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: A few changes, newbie changes..
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by Meerclar   USA  (554 posts)  [Biography] bio
Date Tue 11 Feb 2003 11:52 PM (UTC)  quote  ]
Message
Battle damage messages are done in fight.c, theyre kinda burried and rather difficult to search for given the usually odd colorations and extra chars involved to screw up the search pattern.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
[Go to top] top

Posted by Mozzy   (19 posts)  [Biography] bio
Date Tue 11 Feb 2003 09:15 AM (UTC)  quote  ]
Message
Ahh okay, cool. What about custom battle mesgaes and stuff?

- Mozzy
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Mon 10 Feb 2003 10:50 PM (UTC)  quote  ]

Amended on Mon 10 Feb 2003 10:51 PM (UTC) by Nick Gammon

Message
"Use the Source, Luke" ...



You can answer questions like that by doing a "grep" in the source directory for SMAUG (or a Find In Files if you are using some sort of Windows GUI editor). eg.


$ grep -n Supreme *.c
act_info.c:2640:        case MAX_LEVEL -  0: class = "Supreme Entity";  break;
db.c:4285:      case MAX_LEVEL -  0: towizfile( " Supreme Entity" );    break;
player.c:351:       case  10:  send_to_pager( "You are a Supreme Entity.\n\r", ch );    break;
player.c:770:       case  10:  send_to_pager( "You are a Supreme Entity.\n\r", ch );    break;
player.c:1150:        case  10:  send_to_pager( "You are a Supreme Entity.\n\r", ch ); break;
update.c:1908:      case 21: t = "Ahh... the power of a Supreme Entity... what to do...\n\r";   break;


That shows what files to edit (and what line numbers), then do a "make" if you are using Cygwin.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Poromenos   Greece  (1,037 posts)  [Biography] bio
Date Mon 10 Feb 2003 02:34 PM (UTC)  quote  ]
Message
What pretitle? You mean the rank?

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
[Go to top] top

Posted by Mozzy   (19 posts)  [Biography] bio
Date Mon 10 Feb 2003 08:58 AM (UTC)  quote  ]
Message
Hey guys, I got in all compiling, changed a few of the things round..

Okay, I have looked on a few diffrenet tutorials, but I cant seem to find out how I edit the battle messages? How do I go about it? At the start, when you first start a battle I want a message, then custom messages all through that. How do I go about it?

Also - how do I set my pretitle? I cant figure it out! 'Supreme Entity' is starting to annoy me >.<

- Mozzy
[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,661 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]