| 1 |
omega wizard's guide. |
| 2 |
|
| 3 |
OMEGA MAINTENANCE |
| 4 |
================= |
| 5 |
|
| 6 |
There should be little need for the wizard to actively maintain the |
| 7 |
game. But..... |
| 8 |
|
| 9 |
After years of play, the file omega.log may get unwieldy and overlarge. |
| 10 |
This file can simply be truncated as follows. Log records are now |
| 11 |
one line at a time, so just delete as many lines as you like, making |
| 12 |
sure there are no blank lines, and that the file ends on an end of |
| 13 |
line. |
| 14 |
|
| 15 |
You can even remove omega.log completely as long as you replace it |
| 16 |
with a null file of the same name. If you opt to make omega not setuid, |
| 17 |
omega.log must be publically writeable. |
| 18 |
|
| 19 |
The file omega.hi is a high score list. This file can't be truncated |
| 20 |
or removed, but you can edit it as you feel to be appropriate. If you |
| 21 |
look in file.c you can figure out what those numbers in the |
| 22 |
file actually mean; usually one is NPC level and one is NPC behavior, |
| 23 |
but some entries have another entry such as alignment. The |
| 24 |
distribution comes with a "safety" version of the original high |
| 25 |
score file; if anything happens to the original you can just |
| 26 |
copy omegahi.bak to omega.hi. Again, people running omega not setuid |
| 27 |
must make sure omega.hi has public write access. |
| 28 |
|
| 29 |
If you don't run omega suid, anyone can mung the log and hiscore files |
| 30 |
simply by writing to them. In my opinion, people who hack score files |
| 31 |
can very easily be taken care of by deleting their accounts; if that |
| 32 |
doesn't work, shoot them. |
| 33 |
|
| 34 |
WIZARD MODE |
| 35 |
=========== |
| 36 |
|
| 37 |
If you are the WIZARD as defined in defs.h, you can enter wizard mode |
| 38 |
by hitting ^g. If you ever set wizard mode, your high scores and npc |
| 39 |
will not be saved. |
| 40 |
|
| 41 |
In wizard mode, ^x gives you a wish. ^w draws the current level, ^k |
| 42 |
allows you to set an arbitrary game status bit, meanings of the bits |
| 43 |
are given in defs.h. The possible wishes are listed in scroll3.txt, |
| 44 |
and the code for them is in effect1.c I've added some additional |
| 45 |
utilities to the Wizard mode - ^w in the city also marks all locations |
| 46 |
as visited, so you can Move to them, and wishing for Location allows |
| 47 |
you to go to an arbitrary environment number - not very useful except |
| 48 |
for debugging, really... |