Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Users Online
CommonCrawl, DotBot, Google, Yahoo!, Majestic-12

Members: 0
Guests: 9
Stats
Files
Topics
Posts
Members
Newest Member
477
3,706
19,240
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » Editing help files
Forum Rules | Mark all | Recent Posts

Editing help files
< Newer Topic :: Older Topic > how do I edit in game help files

Pages:<< prev 1 next >>
Post is unread #1 Jun 7, 2003, 7:51 am   Last edited Nov 24, 2007, 12:49 am by Samson
Go to the top of the page
Go to the bottom of the page

Amalric

GroupMembers
Posts48
JoinedMay 15, 2003

I would like to know what I need to do in order to edit the in-game help files. I have noticed that some of the help files have "Alsherok" embedded in them.
help overland
Help level: 0
Alsherok now features an ANSI map which represents the
terrain features of the area between zones. There are 3 maps, one
for each of the 3 continents of the planet. Travelling on them is much
the same as wandering through an area, except that you can see several
spaces around you as you travel.

I would like to either replace the referenced to Alsherok with AFKMud or the name of my world.
       
Post is unread #2 Jun 7, 2003, 3:17 pm
Go to the top of the page
Go to the bottom of the page

Dwip
Dementius Rabbitus
GroupAdministrators
Posts55
JoinedJan 1, 2002

The fast way is probably to open up help.are and do a search and replace for Alsherok with your favorite text editor. The OLC way is the hedit command.
       
Post is unread #3 Jun 7, 2003, 8:41 pm
Go to the top of the page
Go to the bottom of the page

Xorith
The Null Value
GroupAFKMud Team
Posts254
JoinedFeb 23, 2003

I'll go further...

hedit will open it up.
To list lines: /L
If you see a line with Alsherok, type /G ## (where ## is the line number)
then type: /R Alsherok MUDNAME (where MUDNAME is the name you'd rather be there in place of Alsherok).

For more info on in-game editing, type /? while in the editor.

You also have to save the helpfile via: HSET SAVE

Lastly, HSET is what you'd use to modify everything else in a helpfile, but it has a rather weird syntax. For example, to change the level of the helpfile IMOTD to 102 (usually 101), you'd type: HSET LEVEL 102 IMOTD. For more info, type HELP HSET, and also HELP HEDIT.

-- X
       
Post is unread #4 Jun 9, 2003, 7:08 am
Go to the top of the page
Go to the bottom of the page

Amalric

GroupMembers
Posts48
JoinedMay 15, 2003

The OLC way seems a little more complicated than a text editor (although I probably should get somewhat comfortable with hedit just in case I need to use it).

Can I use a regular text editor to change the level of the help commands instead of using HSET or does HSET do something other than change the level in the help text? I don't think that I will be changing the levels of the help files but one never knows.
       
Post is unread #5 Jun 9, 2003, 7:33 am
Go to the top of the page
Go to the bottom of the page

Xorith
The Null Value
GroupAFKMud Team
Posts254
JoinedFeb 23, 2003

You can, but I'll say this - Changes made in a textfile require a hotboot of the MUD. You also MUST make sure the format stays the same. What I mean is that if you see a little ~, don't remove it!

Go to ~/dist/area/ and open up help.are. I can't do it right now, but you should see how it goes The number in the 'header' of the helpfile is the level.

I recommend you get used to the OLC way though, because it'll be the easiest way at times.

-- X
       
Post is unread #6 Jun 9, 2003, 10:58 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002


Changes made in a textfile require a hotboot of the MUD


With one notable exception: Help files. These can safely be reloaded without booting the mud in any way as of 1.5.

Just type 'hset reload' and you'll be all done. And yes, making mass changes to any of the *.are files is a great deal faster using a text editor, but at least with helps you don't need a reboot :P
       
Pages:<< prev 1 next >>