[Crossfire-wiki] [Crossfire DokuWiki] page added: player_commands

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Fri Nov 24 12:50:12 CST 2006


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2006/11/24 12:50
User        : techolous
Edit Summary: created

====== Player Commands ======
Copied from the server files (server/lib/help).

==== apply ====
Apply applies an object.

If no options are given, it applies
an object you are standing on.

If an object name is given, it
will apply/unapply that object (toggle)

Extra options to apply:
-a: Always applies the object
-u: Always unapplies the object.

 These two options disable the
toggling feature.

==== applymode ====
Applymode controls what happens when you are equipping something that would require something
else to be unequipped.

The options are:

nochoice:  In this case, if there is no choice for the item(s) being removed in order
to equip your new item.  An example of this is a wand - there can only be one other item
needed to be unequipped for the new item to be equipped.  Note that in the case of two handed
objects, like bows, it can result in two (or more) items being unequipped to equip your new
item.

never: In this case, it will never unequip something for you.  It will instead tell you
want you need to unequip - this can be a list of many objects.

always: This will unequip whatever is needed to equip your new item.

An example of how the above works:

If your character currently has two rings, and tries to equip a third, the nochoice
mode will print the two rings you currently have equipped.  The always mode will unequip
one of the rings in your inventory.  The ring unequipped is fairly indeterminate - it
depends on how the server has ordered your inventory (which is not the same as the
order your window displays).

If your character is currently wearing a suit of armor, and you try to equip another
suit, both nochoice and always will cause the new suit to get equipped.

See Also: apply

==== bind ====
Syntax:
 bind [-nfreg] <command>
Flags (default -nrf):
 n - used in normal-mode
 f - used in fire-mode
 r - used in run-mode
 e - leave command in line edit
 g - global key (not recommended)

Multiple commands can be bound to
the same key be seperating them
with semicolons.

Special bind's:
 bind commandkey - sets commandkey
 bind firekey1 - sets first firekey
 bind firekey2 - sets second firekey
 bind runkey1 - sets first runkey
 bind runkey2 - sets second runkey

Examples:
bind -f cast paralyzed (F3)
  will typically mean that Shift-F3
  is used to select that spell (Shift
  being the fire key)

bind use_skill sense curse; 
   use_skill sense magic (S)
will bind those two commands to the
S key.

==== bowmode ====
Bowmode controls how you will fire arrows and bolts.

The options are:

Normal: As you would expect.

Threewide: Fires three arrows in parallel.

Spreadshot: Fires three arrows which spread out over distance.

Fire<direction>:  Locks in the direction the missiles will fire, 
specify by compas position: 
firenorth, firene, fireeast, firese, firesouth, firesw, firewest, firenw

Bestarrow: Selects and fires the probable best arrow for from your inventory.

==== brace ====
Brace:

When you enter the 'brace' command to brace your character, your character
will no longer move.  It can still attack adjoining spaces.  Bracing can
be useful to hold a location.

When you are braced, you lose your dex bonus and incur a 2 point
ac penalty beyond that (if you have a negative dex bonus, you may in
fact come out ahead.  You also only get 20% of the normal experience
for killing creatures, and incure a 4 point wc (to hit) penalty.  

==== cast ====
You use the cast command to
set your range-weapon to the
spell you want.  Example:
'cast burning hands

sets your RANGE weapon to
'spell: burning hands'

If you don't know the spell,
shows which spells you do 
know.

It is helpful to bind strings
like 'cast burning hands'
to keys.  see 'help bind'

'help range 
for more information on
range weapons.

==== drop ====
Drop usage:

drop [number] name

name is the name of the item(s) to drop.  It may match multiple items.
The name is matched against the start of the objects in your inventory.
The name matching is case insensitive.

There are a few special name values:
all - matches any item.
unpaid - matches unpaid items
cursed - drops items known to be cursed or damned.
unlocked - drops items not locked in your inventory

number is optional.  This acts as the number of the object to drop.
The objects number must be at least the number for it to be dropped.
For example, if you do 'drop 10 scroll', only groupings of 10 or more
scrolsl will be dropped.  A collection of 5 scrolls will not be dropped.

See also 'dropall' and mouse button control within client for dropping
objects.

==== dropall ====
DROPALL help:

dropall [type]

dropall drops all items in your inventory to the ground, excepting
locked items.  The type parameter will also control what is dropped:

'empty' (eg, nothing speciified) - drops all objects except food, money, keys,
  and containers.
weapons - drops weapons, bows, and arrows.
armor (armour) - drops armor, shield, and helmets.
misc - drops horns, books, girdles, amulets, rings, cloaks, boots, gloves,
   bracers, scrolls, wands, rods, and potions.

See also 'drop' and mouse button control for dropping objects.

==== golem ====
Golems are creatures that the player
has some control over.  Note that
many summoned creatures are considered
golems, even if they are not called
golems.

If you have a golem in control your
spell type will be listed
as golem, with the creature name
in parantheses.

To control your golem, just press the 
fire key in the direction you want your
golem to move.  Your golem will then
start moving in that direction, and
keep moving in that direction until
you change its direction.

Note that once you leave the map that
the golem is on, the golem will 
disappear.  Also, once you select
another spell to cast, or change
your range type, your golem will
disappear.

==== invoke ====
The invoke command is used 
to cast a spell immediately,
or when it is necessary to give
a parameter to the spell.  Invoke
will not set the range weapon.

Examples:
'invoke restoration
'invoke magic rune of large fireball
'invoke reincarnation of Iamdead
'invoke create food of waybread

It is very helpful to bind healing 
spells to keys like this:

'bind invoke medium healing
c

the c key now casts medium healing
instantly

==== keys ====
These are the basic movement
keys:
    yku
    h l
    bjn

Running is done by holding
control and move.  Running
is recommended.

Firing the range weapon (help range)
is done by holding shift and
move.  

'help mouse  for help on what the
mouse buttons do.

'help melee for advice on how to
fight

'help traps for help with finding
and disarming traps

==== killpets ====
The killpets command is a quick and convenient way
to get rid of all your pets when they are no longer
useful or are getting in the way.  Any equipment
they had will be left behind, but you will get no
experience for their death.  However, it kills them
instantaneously.

If a name is specified then only pets with that 
name will be killed, eg killpets bat will kill bats
but not bees. If a number is specified, the pet 
corresponding to that number is killed.
==== listen ====
Listen, sets the level of messages you will hear.

==== mark ====
mark is used to mark items for items
that apply other items.  Examples
of these are flint & steel marked for
apply torches, a weapon marked
for improve weapon scrolls.

mark without options shows your
currently marked item.

usage is as follows:
mark sword +3
mark three torches
mark sword

mark will look for best match first, and
then look for matches based on shortened
name, object name, archetype name.
It prints the match it finds.

==== melee ====
You fight to kill monsters.  You
can either use magic or weapons.

To use weapons, simply wield a
weapon (and armour!) and move into
the monster you want to attack.

To use magic or bows, read 
'help spells
and
'help range 
and
'help cast
and
'help invoke

==== mode ====
The mode commands are as follows:

Applymode, adjusts how items are applied
Bowmode, adjusts the way bows work
Peaceful, sets how you react to other players
Petmode, adjusts how your pets behave

==== motd ====
motd displays the Message Of The Day file.

==== mouse ====
The mouse isn't a great way
to move your character.  It'll
work, but you'll be handicapped
unless you use the keyboard for
this.  However, the mouse has
the following inventory uses:

Middle button on item:  apply
or equip

Right button:  drop or pickup
item on ground

Left button: info on item

==== move ====
These are the basic movement
keys:
    yku
    h l
    bjn

Running is done by holding
control and move.  Running
is recommended.

Firing the range weapon (help range)
is done by holding shift and
move.  

'help mouse  for help on what the
mouse buttons do.

'help melee for advice on how to
fight

'help traps for help with finding
and disarming traps

==== news ====
rules displays the server news.

==== output ====
 As of version 0.91.7, new output handling
was added.  The behaviour is controlled
with the output-sync and output-count
commands.

output-sync controls how often information
is sent to the screen.  Each buffer has its
own time value, and will be flushed
independantly.  The default value is 16 ticks
(about 2 seconds).

output-count sets after how many messages
of the same type, they are then printed out.
If the value was 10, then after killing
ten orcs, the message '10 times you kill orc'
would be printed out.  The default value is 1 -
this means that all messages get printed out
as they are requested - buffering is disabled
in this regard.

==== output-count ====
 As of version 0.91.7, new output handling
was added.  The behaviour is controlled
with the output-sync and output-count
commands.

output-sync controls how often information
is sent to the screen.  Each buffer has its
own time value, and will be flushed
independantly.  The default value is 16 ticks
(about 2 seconds).

output-count sets after how many messages
of the same type, they are then printed out.
If the value was 10, then after killing
ten orcs, the message '10 times you kill orc'
would be printed out.  The default value is 1 -
this means that all messages get printed out
as they are requested - buffering is disabled
in this regard.

==== output-sync ====
 As of version 0.91.7, new output handling
was added.  The behaviour is controlled
with the output-sync and output-count
commands.

output-sync controls how often information
is sent to the screen.  Each buffer has its
own time value, and will be flushed
independantly.  The default value is 16 ticks
(about 2 seconds).

output-count sets after how many messages
of the same type, they are then printed out.
If the value was 10, then after killing
ten orcs, the message '10 times you kill orc'
would be printed out.  The default value is 1 -
this means that all messages get printed out
as they are requested - buffering is disabled
in this regard.

==== party ====
party join partyname
        Puts you in a party, prompts you for a passwd if there is
one

party form partyname
        Forms a party and puts you as leader, 32 character max.
At the moment, being party leader does nothing.  May be used in
the future.

party list
        Lists currently formed parties and their 'leader'

party passwd <password>
        Changes the passwd for the party you are in, 8 character max.

party who
        lists the members of the party you are in

party say <msg>
        sends messsage to party members 

party leave
        takes you out of current party



==== peaceful ====
The 'peaceful' command will switch you between peaceful and hostile attack modes.

When peaceful is on you will not automatically attack other player when bumping into them and will do reduced damage against other players if you do attack them (friendly fire).
Having peaceful mode on only lowers damage against other players, it has no effect on damage done to monsters or other NPCs, so it is generally advisable to remain in peaceful mode unless you are looking for trouble.
It is still entirely possible to kill other players when in peaceful mode so you should still be careful when interacting with other players.
Hostile mode (peaceful off) will enable melee combat when bumping into other players and does normal damage for other attacks as well.

Damage done by area effect attacks like cone spells, explosive detonations, fireballs, poisons, cloud or swarm attacks, runes or disease are not modified by peaceful/hostile mode.

==== petmode ====
Petmode controls how your pets (charmed monsters) will behave.

The options are:

Normal: As you would expect.

SAD (Search and Destroy): Pets will roam and seek out things to attack.

Defend:  Pets will try to stay close and defend you.

Arena: As normal, except that pets will attack other players in the arena.

==== pickup ====
'pickup' changes how you pick up items when you step on them.
to pickup an item manually, use the ',' key.

Mode 0: Don't pick up items.
Mode 1: Pick up one item 
Mode 2: Pickup up one item and stop
Mode 3: Stop before picking up items
Mode 4: Pick up all items
Mode 5: Pick up all items and stop
Mode 6: Pick up all magical items
Mode 7: Pick up all coins and gems

Modes above 7: Pickup items with
a value density greater than the pickup mode.

Value density is value in gold/weight in kilograms.

The value in gold is what the item is worth if you
sold it in the shop.

Goldcoins have a value density of 66,

Density 10 will pickup silver, gold,
rings, wands, books, and scrolls.
Artifacts are also picked up.


==== quests ====
The quests command lists the
quests you are doing or have completed.

Parameters are:
* nothing: displays current quests.
* finished: displays finished quests;
* xxx: displays details for quests (finished
 or not) with name containing xxx

==== quit ====
If you want to quit without
deleting your character, you must
use a 'Bed to Reality'.  Find
a bed (probably in a building close
to where you entered the game),
get on top of it, and Apply it
using shift-A (capital A).

==== range ====
Your range weapon can be one
of several weapons, a spell
you cast, a bow-and-arrow,
a rod, or a wand, to name a
few.

Your range weapon is fired when
you press SHIFT-direction,
and will be fired in that direction.


==== rename ====
Changes the custom name of an item.
Syntax:
 rename <item name> to <new name>

(Note: <> are mandatory)

If '<item name>' is omitted,
 defaults to marked item.

If 'to <new name>' is omitted,
 clears the custom name.

Note: maximum allowed name length
 is 127 characters.


==== rules ====
rules displays the rules in effect on this server.

==== save ====
No parameters.
Updates players status to disk.
This can be useful for making
backup copies if you fear the
server is about to crash.

WARNING--if you want to leave the
game without destroying your player,
you must find a 'Bed to Reality' 
and hit A on
the bed to apply it.  Doing 'save
and then quitting will still
delete your character.

==== shout ====
Usage: shout <something>
Sends a message to all players 
on the server.  

==== showpets ====
Usage: showpets <number>
Shows a numbered list of the pets owned by the player. 
If a number is specified, instead shows a detailed printout about that pet  

==== sort_inventory ====
If sort_inventory is set, items will be
inserted into your inventory in
order by type than alphabetical.  This,
all scrolls will be grouped together,
but in alphabetical order. Same for
all weapons.  This only applies
to new items you pick up - items that 
you are already holding will not be
sorted.

If sort_inventory is not set (default),
items will be inserted via type,
subtype and magic.  This, all axes
will be grouped together in magic
order, all daggers by magic order,
etc.  Unforunately, for scrolls and
rings, new ones just get inserted
last.

If you have a lot of stuff that is not
in alphabetical order but you would
like it to be, the best method is to
drop all of it and then pick it up.

==== statistics ====
statistics shows various useful
information about your character.
None of the information it shows
is stuff that is not contained
in the documentation.

As of now, it shows how much
experience you need for your next
level.  It also shows
natural, real, and maximum
statistic values.

Your natural stat is the stat
without any items/spells applied.

Real is what the current value is
(same as in the stat window.)

Maximum is the maximum value
for your natural stat.

==== take ====
The take commands take object(s) on the
space the player is standing on, and inserts
them into the players inventory.

If no parameter is given, take will get the
top object that can be taken and put it in
the players inventory.  If no object can
be taken, that will be stated.

A parameter can be given to take.  In this
case, all object that have names that match
the parameter will be picked up.  Thus,
if there is a 'sword of WOE', and 'sword +1'
and a 'sword -3' on the ground, 'take sword'
will pick all of them up.

By default, take is bound to the comma
key, with no parameters.  To change this,
look at the bind command.

==== traps ====
I recommend the following
keybindings
'bind search
s
'bind disarm
d
Then you can use the 's' and
'd' keys for searching for and
disarming traps.  

Traps appear at random in doors
and in chests.  Search those
before you open them up.  Search
by going near where you suspect
a trap, and type 's'

==== unbind ====
Syntax:
 unbind [-g] [#]
 unbind reset
Without -g command uses user's binding,
with -g global binding.
Without number it displays current bindings,
with # it unbinds it.
'reset' resets default bindings.

==== usekeys ====
The usekeys option determines the behaviour
of using keys.

Values are:

inventory: Only keys in the top level
inventory are used (default)

keyrings: Only keys in active keyrings
are used.

containers: Only keys in active containers
 are used.

Note that keyrings are just a specialized
container, so the containers will also 
find keys in keyrings.

Only active containers are used - keys will
not jump out of closed containers, but hints
will be given if you have keys in such containers.



==== whereabouts ====
The whereabouts command gives a summary about the
regions in which players are currently staying.


IP-Address  : 72.88.35.213
Old Revision: none
New Revision: http://wiki.metalforge.net/doku.php/player_commands

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/




More information about the crossfire-wiki mailing list