File: slashem.6

package info (click to toggle)
slashem 0.0.7E7F3-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 24,312 kB
  • ctags: 23,514
  • sloc: ansic: 263,201; cpp: 7,180; yacc: 2,154; sh: 739; lex: 440; awk: 97; makefile: 61; sed: 11
file content (348 lines) | stat: -rw-r--r-- 8,821 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
.TH SLASHEM 6 "24 March 2002"
.UC 4
.SH NAME
slashem \- Exploring The Mazes of Menace
.SH SYNOPSIS
.na
.hy 0
.B slashem
[
.B \-d
.I directory
]
[
.B \-n
]
[
.B \-p
.I profession (role)
]
[
.B \-r
.I race
]
[
.B \-g
.I gender
]
[
.B \-a
.I alignment
]
[
.B \-[DX]
]
[
.B \-u
.I playername
]
[
.B \-dec
]
[
.B \-ibm
]
.PP
.B slashem
[
.B \-d
.I directory
]
.B \-s
[
.B \-v
]
[
.B \-p
.I profession (role)
]
[
.B \-r
.I race
]
[
.B \-g
.I gender
]
[
.B \-a
.I alignment
]
[
.I maxrank
]
[
.I playernames
]
.ad
.hy 14
.SH DESCRIPTION
.PP
.I SLASH'EM
is a display oriented Dungeons & Dragons(tm) - like game.
The standard tty display and command structure resemble rogue.
It is an extension of SLASH which is an extension of NetHack.
.PP
Other, more graphical display options exist if you are using either a PC,
or an X11 interface.
.PP
To get started you really only need to know two commands.  The command
.B ?
will give you a list of the available commands (as well as other information)
and the command
.B /
will identify the things you see on the screen.
.PP
To win the game (as opposed to merely playing to beat other people's high
scores) you must locate the Amulet of Yendor which is somewhere below
the 20th level of the dungeon and get it out.
Nobody has achieved this yet; anybody who does will probably go down
in history as a hero among heros.
.PP
When the game ends, whether by your dying, quitting, or escaping
from the caves,
.I SLASH'EM
will give you (a fragment of) the list of top scorers.
The scoring is based on many aspects of your behavior, but a rough estimate
is obtained by taking the amount of gold you've found in the cave plus four
times your (real) experience.
Precious stones may be worth a lot of gold when brought to the exit.
There is a 10% penalty for getting yourself killed.
.PP
The environment variable SLASHEMOPTIONS can be used to initialize many
run-time options.
The ? command provides a description of these options and syntax.
(The
.B \-dec
and
.B \-ibm
command line options are equivalent to the
.B decgraphics
and
.B ibmgraphics
run-time options described there,
and are provided purely for convenience on systems
supporting multiple types of terminals.)
.PP
Because the option list can be very long (particularly when specifying
graphics characters), options may also be included in a configuration
file.
The default is located in your home directory and
named .slashemrc on Unix systems.  On other systems, the default may be
different, usually SLASHEM.cnf.  On DOS or Windows, the name is
defaults.nh, while on the Macintosh or BeOS, it is SlashEM Defaults.
The configuration file's location may be specified by setting SLASHEMOPTIONS
to a string consisting of an @ character followed by the filename.
.PP
The
.B \-u
.I playername
option supplies the answer to the question "Who are you?".
It overrides any name from the options or configuration file, USER, LOGNAME,
or getlogin(), which will otherwise be tried in order.
If none of these provides a useful name, the player will be asked for one.
Player names (in conjunction with uids) are used to identify save files,
so you can have several saved games under different names.
Conversely, you must use the appropriate player name to restore a saved game.
.PP
A
.I playername
suffix can be used to specify the profession, race, alignment and/or gender
of the character.  The full syntax of the playername that includes a
suffix is "name-ppp-rrr-aaa-ggg".  "ppp" are at least the first three letters
of the profession (this can also be specified using a separate 
.B \-p
.I profession
option).  "rrr" are at least the first three letters of the character's
race (this can also be specified using a separate 
.B \-r
.I race
option).  "aaa" are at last the first three letters of the character's
alignment, and "ggg" are at least the first three letters of the
character's gender.  Any of the parts of the suffix may be left out.
.PP
.B \-p
.I profession
can be used to determine the character role.  You can specify either the
male or female name for the character role, or the first three characters
of the role as an abbreviation.
.B "\-p \@"
has been retained to explicitly request that a random role be chosen.
It may need to be quoted with a backslash (\\@) if @
is the "kill" character (see "stty") for the terminal, in order
to prevent the current input line from being cleared.
.PP
Likewise,
.B \-r
.I race
can be used to explicitly request that a race be chosen, 
.B \-g
.I gender
the gender of the chareacter and finally
.B \-a
.I alignment
to chose the alignment of the character.
.PP
Leaving out any of these characteristics will result in you being prompted 
during the game startup for the information.
.PP
Instead of chosing the above separately you can add them as suffixes to
the playername:
.B \-u
.I playername\-race\-gender\-alignment
.PP
The
.B \-s
option alone will print out the list of your scores on the current version.
An immediately following
.B \-v
reports on all versions present in the score file.
The
.B \-s
may be also be followed by player type arguments (
.B \-p
,
.B \-r
,
.B \-g
and
.B \-a
) to print
the scores of particular types of players only.
It may also be followed by one or more player names to print the scores of the
players mentioned, by 'all' to print out all scores, or by a number to print
that many top scores.
.PP
The
.B \-n
option suppresses printing of any news from the game administrator.
.PP
The
.B \-D
or
.B \-X
option will start the game in a special non-scoring discovery mode.
.B \-D
will, if the player is the game administrator, start in debugging (wizard)
mode instead.
.PP
The
.B \-d
option, which must be the first argument if it appears,
supplies a directory which is to serve as the playground.
It overrides the value from NETHACKDIR, HACKDIR,
or the directory specified by the game administrator during compilation
(usually /usr/local/slashemdir).
This option is usually only useful to the game administrator.
The playground must contain several auxiliary files such as help files,
the list of top scorers, and a subdirectory
.I save
where games are saved.
.SH AUTHORS
.PP
Jay Fenlason (+ Kenny Woodland, Mike Thome and Jon Payne) wrote the
original hack, very much like rogue (but full of bugs).
.PP
Andries Brouwer continuously deformed their sources into an entirely
different game.
.PP
Mike Stephenson has continued the perversion of sources, adding various
warped character classes and sadistic traps with the help of many strange
people who reside in that place between the worlds, the Usenet Zone.
A number of these miscreants are immortalized in the historical
roll of dishonor and various other places.
.PP
The resulting mess is now called NetHack, to denote its
development by the Usenet.  Andries Brouwer has made this request for the
distinction, as he may eventually release a new version of his own.
.PP
Tom Proudfoot took NetHack and rendered it into SLASH -
SuperLotsaAddedStuffHack,  adding more character classes, levels 
monsters and all manner of changes.
.PP
Warren Cheung took SLASH and rendered it into SLASHEM
- SuperLotsaAddedStuffHack - Extended Magic,  with more
improvements to the bloated behemoth.
.SH FILES
.PP
All files are in the playground, normally /usr/local/slashemdir.
If DLB was defined during the compile, the data files and special levels
will be inside a larger file, normally nhdat, instead of being separate
files.
.br
.DT
.ta \w'cmdhelp, opthelp, wizhelp\ \ \ 'u
slashem	The program itself.
.br
data, oracles, rumors	Data files used by SLASH'EM.
.br
options, quest.dat	More data files.
.br
help, hh	Help data files.
.br
cmdhelp, opthelp, wizhelp	More help data files.
.br
*.lev	Predefined special levels.
.br
dungeon	Control file for special levels.
.br
history	A short history of SLASH'EM.
.br
license	Rules governing redistribution.
.br
record	The list of top scorers.
.br
logfile	An extended list of games
.br
	played.
.br
xlock.nnn	Description of a dungeon level.
.br
perm	Lock file for xlock.dd.
.br
bonesDD.nn	Descriptions of the ghost and
.br
	belongings of a deceased
.br
	adventurer.
.br
save	A subdirectory containing the
.br
	saved games.
.SH ENVIRONMENT
.DT
.ta \w'HACKPAGER or PAGER\ \ \ 'u
USER or LOGNAME	Your login name.
.br
HOME		Your home directory.
.br
SHELL		Your shell.
.br
TERM		The type of your terminal.
.br
HACKPAGER or PAGER	Replacement for default pager.
.br
MAIL	Mailbox file.
.br
MAILREADER	Replacement for default reader
.br
	(probably /bin/mail or /usr/ucb/mail).
.br
NETHACKDIR	Playground.
.br
SLASHEMOPTIONS	String predefining several SLASH'EM
.br
	options.
.br

In addition, SHOPTYPE is used in debugging (wizard) mode.
.SH "SEE ALSO"
.PP
dgn_comp(6), lev_comp(6), recover(6)
.SH BUGS
.PP
Probably infinite.


.PP
Dungeons & Dragons is a Trademark of Wizards of the Coast, Inc.