Difference between revisions of "Console"

From Wurmpedia
Jump to navigation Jump to search
m (→‎Key binds: note)
(Cleanup, along with Key bindings)
Line 1: Line 1:
[[Main Page]] :: [[Console]]
+
[[Main Page]] / '''{{PAGENAME}}'''
  
The '''console''' is a window for entering text commands to the [[Wurm]] [[client]]. It can be opened using {{key|F1}} in the default key bindings ({{key|F9}} in the current unstable client). Console commands are different from [[chat commands]], which are typed in the chat and sent directly to the [[server]].
+
The '''console''' is a window for entering text commands to the [[Wurm]] [[client]]. It can be opened using {{key|F1}} in the default key bindings ({{key|F9}} in the current unstable client). Console commands should not be confused with [[chat commands]] or [[action]]s.
  
 
== Commands ==
 
== Commands ==
Console commands are small commands to use in the console to change settings. These commands can also be used in [[Client Key Bindings|autorun.txt for defining key bindings]].
 
  
; bind <key> <action> : Binds the key to the specified action. See the [[#Key binds|key section]] for <key> and <action> values.
+
Legend: <name> is a mandatory argument, [name] is an optional argument, (name|other) is an argument which requires one of the listed values.
; bind <key> "<text>" : Binds the key to a console command. Pressing the key will act as if you had typed the text into the console.
+
 
 +
; bind <key> <action> : Binds the key to the specified action. See [[key bindings]] for more information on <key> and <action> values.
 +
; bind <key> "<text>" : Binds the key to a console command. Pressing the key will act as if you had typed the text into the console. See [[key bindings]] for more information.
 
; cmd <num> : Raw [[fight]] commands; use with care.
 
; cmd <num> : Raw [[fight]] commands; use with care.
 
; dump (debug | skills) : Saves the specified data to a file in the [[player]]'s dumps directory.
 
; dump (debug | skills) : Saves the specified data to a file in the [[player]]'s dumps directory.
Line 26: Line 27:
 
; toggle (console | fightspam | fps | gui | [[healthbar]] | [[improve]] | [[inventory]] | keyboard_hints | [[skills]] | [[spelleffects]] | [[stats]] | [[target]] | wikisearch* | [[compass]]* | [[toolbelt]]*) : Toggles the specified feature. Most control display of [[HUD]] components.
 
; toggle (console | fightspam | fps | gui | [[healthbar]] | [[improve]] | [[inventory]] | keyboard_hints | [[skills]] | [[spelleffects]] | [[stats]] | [[target]] | wikisearch* | [[compass]]* | [[toolbelt]]*) : Toggles the specified feature. Most control display of [[HUD]] components.
 
; wiki <title> : Opens a window with the specified wiki page.
 
; wiki <title> : Opens a window with the specified wiki page.
 
Legend: <name> is a mandatory argument, [name] is an optional argument, (name|other) is an argument which requires one of the listed values.
 
 
== Key binds ==
 
Key binds allow quick "hotkey" access to common [[command]]s. The bind commands require special values as input.
 
 
<key> is based on Java key constants. Letters and numbers represent themselves. For other keys, search [http://java.sun.com/j2se/1.5.0/docs/api/java/awt/event/KeyEvent.html the full KeyEvent list] if you can't guess the correct name. Meta keys can also be specified, e.g. <tt>shift-tab</tt> or <tt>ctrl-alt-w</tt>. Available meta keys are Ctrl, Shift, and Alt. The "Alt Gr" key is treated as Alt (if your keyboard has one). The non-meta key must always be the last key in the combination. It is not possible to bind only meta keys.
 
 
'''Note:''' Key binds are sensitive to the mouse cursor's hover location/position and object highlight. So, if the cursor is hovering over an item in an [[inventory]] or highlighting an item on the [[ground]] (or a [[tile]] itself for other binds), and the <tt>TAKE</tt> bind key is pressed, that item will be taken. It is not necessary to left-click the mouse button in order to select an item first either; just hovering the mouse over something will allow the key bind to affect it.
 
 
<table width=100%>
 
<tr valign=top><td width=50%>
 
===Category===
 
''(incomplete and needs cleaning up)''
 
 
'''* UI CONTROL:'''
 
<tt>NEXT_TAB, TOGGLE_CHAT, PREVIOUS_TAB, NEXT_WINDOW, PREVIOUS_WINDOW</tt>
 
 
'''* Movement/Control:'''
 
<tt>AUTORUN, CENTER_VIEW, TURN_DOWN, TURN_UP, TURN_LEFT, TURN_RIGHT, MOVE_FORWARD, MOVE_BACK, MOVE_LEFT, MOVE_RIGHT, STRAFE, GLANCE_LEFT, GLANCE_RIGHT</tt>
 
 
'''* FIGHTING/COMBAT:'''
 
<tt>FIGHT_DEFENSIVE, FIGHT_NORMAL, FIGHT_AGGRESSIVELY, TOGGLE_FIGHT_SPAM, NO_TARGET, TARGET</tt>
 
 
'''* STATUS TOGGLES:'''
 
<tt>TOGGLE_CLIMB, TOGGLE_FAITHFUL, TOGGLE_LAWFUL</tt>
 
 
'''* ITEM MOVEMENT/MANIPULATION:'''
 
<tt>DRAG, STOP_DRAGGING, PUSH, PULL, TURN_CLOCKWISE, TURN_COUNTERCLOCKWISE, ACTIVATE_TOOL1, ACTIVATE_TOOL2, ACTIVATE_TOOL3, ACTIVATE_TOOL4, ACTIVATE_TOOL5, TAKE, DROP, EXAMINE</tt>
 
 
'''* MINING/DIGGING:'''
 
<tt>DIG, FLATTEN, PACK, MINE_FORWARD, MINE_UP, MINE_DOWN, MINE_SURFACE, MINE_TUNNEL, PROSPECT, DREDGE</tt>
 
 
'''* NATURE/FARMING/GROOMING:'''
 
<tt>FORAGE, BOTANIZE, PICK_FLOWERS, PRUNE, CULTIVATE, PICK_SPROUT, FARM, HARVEST, BREED, GROOM, TAME, LEAD, STOP_LEADING, FEED</tt>
 
 
'''* RELIGION:'''
 
<tt>ABSORB</tt>
 
 
'''* ITEM CREATION/MISC ITEMS:'''
 
<tt>IMPROVE, REPAIR, CUT_DOWN, CHOP_UP</tt>
 
 
'''* MISC SKILLS:'''
 
TRACK
 
 
===Date added===
 
Pre November 2007: <tt>NEXT_TAB, TOGGLE_CHAT, AUTORUN, CENTER_VIEW, TURN_DOWN, TURN_UP, TURN_LEFT, TURN_RIGHT, MOVE_FORWARD, MOVE_BACK, MOVE_LEFT, MOVE_RIGHT, STRAFE</tt>
 
 
In November 2007, more "keys" were added: <tt>[[fight|FIGHT_DEFENSIVE, FIGHT_NORMAL, FIGHT_AGGRESSIVELY]], [[climb|TOGGLE_CLIMB]], [[faith|TOGGLE_FAITHFUL]], [[lawful|TOGGLE_LAWFUL]], [[Toolbelt|ACTIVATE_TOOL1]], [[Toolbelt|ACTIVATE_TOOL2]], [[Toolbelt|ACTIVATE_TOOL3]], [[Toolbelt|ACTIVATE_TOOL4]], [[Toolbelt|ACTIVATE_TOOL5]]</tt> (there was no key option for [[spam mode]])
 
 
In March 2008, more "keys" were added: <tt>[[Spam mode|TOGGLE_FIGHT_SPAM]], GLANCE_LEFT, GLANCE_RIGHT, NO_TARGET, PREVIOUS_TAB, NEXT_WINDOW, PREVIOUS_WINDOW, [[Examine|EXAMINE]], [[take|TAKE]], [[drop|DROP]]</tt>
 
 
In August 2009 (client version 2.6.8-1658 [unstable]), more "keys" were added to the unstable client: <tt>[[drag|DRAG, STOP_DRAGGING]], [[push|PUSH]], [[repair|REPAIR]], TURN_CLOCKWISE, TURN_COUNTERCLOCKWISE, [[pull|PULL]], [[improve|IMPROVE]], [[dig|DIG, FLATTEN, PACK]], [[harvest|HARVEST, FARM]], [[cultivate|CULTIVATE]], [[mine|MINE_FORWARD, MINE_UP, MINE_DOWN, MINE_SURFACE, MINE_TUNNEL]], [[prospect|PROSPECT]], [[pick|PICK_SPROUT]], [[prune|PRUNE]], [[cut|CUT_DOWN]], [[chop|CHOP_UP]]</tt>
 
 
In October 2009 (2.6.8-1735 [testing]): <tt>ACTIVATE, [[tame|TAME]], [[lead|LEAD, STOP_LEADING]], [[track|TRACK]], [[feed|FEED]], [[target|TARGET]], [[absorb|ABSORB]], [[breed|BREED]], [[groom|GROOM]], [[dredge|DREDGE]], [[forage|FORAGE]], [[botanize|BOTANIZE]], [[pick|PICK_FLOWERS]]</tt>
 
</td>
 
<td width=2% bgcolor=#797b86></td>
 
<td>
 
===Table===
 
''(date-sorted by default but doesn't manually sort correctly so reload page)''
 
{| cellpadding=2 cellspacing=4 class=sortable
 
!Bind !!Category !!Date added
 
|-
 
|<tt>NEXT_TAB</tt> || [[Interface]] || Pre-November 2007
 
|-
 
|<tt>TOGGLE_CHAT</tt> || [[Interface]] || Pre-November  2007
 
|-
 
|<tt>AUTORUN</tt> || [[Player]] movement || Pre-November  2007
 
|-
 
|<tt>CENTER_VIEW</tt> || Camera || Pre-November  2007
 
|-
 
|<tt>TURN_DOWN</tt> || Camera || Pre-November  2007
 
|-
 
|<tt>TURN_UP</tt> || Camera || Pre-November  2007
 
|-
 
|<tt>TURN_LEFT</tt> || [[Player]] movement || Pre-November  2007
 
|-
 
|<tt>TURN_RIGHT</tt> || [[Player]] movement || Pre-November  2007
 
|-
 
|<tt>MOVE_FORWARD</tt> || [[Player]] movement || Pre-November  2007
 
|-
 
|<tt>MOVE_BACK</tt> || [[Player]] movement || Pre-November  2007
 
|-
 
|<tt>MOVE_LEFT</tt> || [[Player]] movement || Pre-November  2007
 
|-
 
|<tt>MOVE_RIGHT</tt> || [[Player]] movement || Pre-November  2007
 
|-
 
|<tt>STRAFE</tt> || [[Player]] movement || Pre-November  2007
 
|-
 
|<tt>[[fight|FIGHT_DEFENSIVE]]</tt> || [[Fighting]] || November 2007
 
|-
 
|<tt>[[fight|FIGHT_NORMAL]]</tt> || [[Fighting]] || November 2007
 
|-
 
|<tt>[[fight|FIGHT_AGGRESSIVELY]]</tt> || [[Fighting]] || November 2007
 
|-
 
|<tt>[[climb|TOGGLE_CLIMB]]</tt> || [[Player]] movement || November 2007
 
|-
 
|<tt>[[faith|TOGGLE_FAITHFUL]]</tt> || [[Religion]] || November 2007
 
|-
 
|<tt>[[lawful|TOGGLE_LAWFUL]]</tt> || Morality || November 2007
 
|-
 
|<tt>[[Toolbelt|ACTIVATE_TOOL1]]</tt> || [[Item]] movement/manipulation || November 2007
 
|-
 
|<tt>[[Toolbelt|ACTIVATE_TOOL2]]</tt> || [[Item]] movement/manipulation || November 2007
 
|-
 
|<tt>[[Toolbelt|ACTIVATE_TOOL3]]</tt> || [[Item]] movement/manipulation || November 2007
 
|-
 
|<tt>[[Toolbelt|ACTIVATE_TOOL4]]</tt> || [[Item]] movement/manipulation || November 2007
 
|-
 
|<tt>[[Toolbelt|ACTIVATE_TOOL5]]</tt> || [[Item]] movement/manipulation || November 2007
 
|-
 
|<tt>[[Spam mode|TOGGLE_FIGHT_SPAM]]</tt> || [[Fighting]] || March 2008
 
|-
 
|<tt>GLANCE_LEFT</tt> || Camera || March 2008
 
|-
 
|<tt>GLANCE_RIGHT</tt> || Camera || March 2008
 
|-
 
|<tt>NO_TARGET</tt> || [[Fighting]] || March 2008
 
|-
 
|<tt>PREVIOUS_TAB</tt> || [[Interface]] || March 2008
 
|-
 
|<tt>NEXT_WINDOW</tt> || [[Interface]] || March 2008
 
|-
 
|<tt>PREVIOUS_WINDOW</tt> || [[Interface]] || March 2008
 
|-
 
|<tt>[[Examine|EXAMINE]]</tt> || [[Item]] movement/manipulation || March 2008
 
|-
 
|<tt>[[take|TAKE]]</tt> || [[Item]] movement/manipulation || March 2008
 
|-
 
|<tt>[[drop|DROP]]</tt> || [[Item]] movement/manipulation || March 2008
 
|-
 
|<tt>[[drag|DRAG]]</tt> || [[Item]] movement/manipulation || August 2009
 
|-
 
|<tt>[[drag|STOP_DRAGGING]]</tt> || [[Item]] movement/manipulation || August 2009
 
|-
 
|<tt>[[push|PUSH]]</tt> || [[Item]] movement/manipulation || August 2009
 
|-
 
|<tt>[[repair|REPAIR]]</tt> || [[Item]] movement/manipulation || August 2009
 
|-
 
|<tt>TURN_CLOCKWISE</tt> || [[Item]] movement/manipulation || August 2009
 
|-
 
|<tt>TURN_COUNTERCLOCKWISE</tt> || [[Item]] movement/manipulation || August 2009
 
|-
 
|<tt>[[pull|PULL]]</tt> || [[Item]] movement/manipulation || August 2009
 
|-
 
|<tt>[[improve|IMPROVE]]</tt> || [[Item]] movement/manipulation || August 2009
 
|-
 
|<tt>[[dig|DIG]]</tt> || [[Digging]] || August 2009
 
|-
 
|<tt>[[flatten|FLATTEN]]</tt> || [[Digging]] || August 2009
 
|-
 
|<tt>[[pack|PACK]]</tt> || [[Digging]] || August 2009
 
|-
 
|<tt>[[harvest|HARVEST]]</tt> || [[Farming]] || August 2009
 
|-
 
|<tt>[[farm|FARM]]</tt> || [[Farming]] || August 2009
 
|-
 
|<tt>[[cultivate|CULTIVATE]]</tt> || [[Digging]] || August 2009
 
|-
 
|<tt>[[mine|MINE_FORWARD]]</tt> || [[Mining]] || August 2009
 
|-
 
|<tt>[[mine|MINE_UP]]</tt> || [[Mining]] || August 2009
 
|-
 
|<tt>[[mine|MINE_DOWN]]</tt> || [[Mining]] || August 2009
 
|-
 
|<tt>[[mine|MINE_SURFACE]]</tt> || [[Mining]] || August 2009
 
|-
 
|<tt>[[mine|MINE_TUNNEL]]</tt> || [[Mining]] || August 2009
 
|-
 
|<tt>[[prospect|PROSPECT]]</tt> || [[Mining]] || August 2009
 
|-
 
|<tt>[[pick|PICK_SPROUT]]</tt> || [[Nature]] || August 2009
 
|-
 
|<tt>[[prune|PRUNE]]</tt> || [[Nature]] || August 2009
 
|-
 
|<tt>[[cut|CUT_DOWN]]</tt> || [[Woodcutting]] || August 2009
 
|-
 
|<tt>[[chop|CHOP_UP]]</tt> || [[Woodcutting]] || August 2009
 
|-
 
|<tt>[[activate|ACTIVATE]]</tt> || [[Item ]] manipulation || October 2009
 
|-
 
|<tt>[[tame|TAME]]</tt> || [[Animals]] || October 2009
 
|-
 
|<tt>[[lead|LEAD]]</tt> || [[Animals]] || October 2009
 
|-
 
|<tt>[[lead|STOP_LEADING]]</tt> || [[Animals]] || October 2009
 
|-
 
|<tt>[[track|TRACK]]</tt> || [[Nature]] || October 2009
 
|-
 
|<tt>[[feed|FEED]]</tt> || [[Animals]] || October 2009
 
|-
 
|<tt>[[target|TARGET]]</tt> || [[Fighting]] || October 2009
 
|-
 
|<tt>[[absorb|ABSORB]]</tt> || [[Healing]] || October 2009
 
|-
 
|<tt>[[breed|BREED]]</tt> || [[Animals]] || October 2009
 
|-
 
|<tt>[[groom|GROOM]]</tt> || [[Animals]] || October 2009
 
|-
 
|<tt>[[dredge|DREDGE]]</tt> || [[Digging]] || October 2009
 
|-
 
|<tt>[[forage|FORAGE]]</tt> || [[Nature]] || October 2009
 
|-
 
|<tt>[[botanize|BOTANIZE]]</tt> || [[Nature]] || October 2009
 
|-
 
|<tt>[[pick|PICK_FLOWERS]]</tt> || [[Nature]] || October 2009
 
|}
 
</td></tr>
 
</table>
 
  
 
[[Category:Technical Details]]
 
[[Category:Technical Details]]
 
[[Category:Babel/C]]
 
[[Category:Babel/C]]

Revision as of 16:31, 14 December 2009

Main Page / Console

The console is a window for entering text commands to the Wurm client. It can be opened using F1 in the default key bindings ( F9 in the current unstable client). Console commands should not be confused with chat commands or actions.

Commands

Legend: <name> is a mandatory argument, [name] is an optional argument, (name|other) is an argument which requires one of the listed values.

bind <key> <action> 
Binds the key to the specified action. See key bindings for more information on <key> and <action> values.
bind <key> "<text>" 
Binds the key to a console command. Pressing the key will act as if you had typed the text into the console. See key bindings for more information.
cmd <num> 
Raw fight commands; use with care.
dump (debug | skills) 
Saves the specified data to a file in the player's dumps directory.
dump (binds | options) 
Dumps the specified data to the console.
exec <filename> 
Executes each line in the file as a console command.
fightmove<1-5> 
Use fight special move 1-5. (No space in the command.)
irc [server] [port] 
Connects to the specified IRC network. Defaults are irc.heavenlyplace.net and 6667.
ircsay <text> 
Sends the text to the topmost IRC window.
quit 
Opens the quit dialog
reallyquit 
Quits the client without asking for confirmation
refresh
Reloads the game graphics
say <text> 
Sends the specified text to the local chat window. (Access other chat windows using /tell, /shout, /village)
screenshot 
Creates a screenshot (in the player's screenshot directory)
sensitivity <0-10> 
Changes mouse sensitivity to the given value. Note that this only changes the senstivity when looking around.
setoption <option_name> <option_value> 
Changes a game option without restarting. Not all options can be changed while playing. Look in gamesettings.txt for option names and value hints.
showbml <filename> 
Parses the file as BML and displays it
switchlight 
Toggles between old and new light code
toggle (console | fightspam | fps | gui | healthbar | improve | inventory | keyboard_hints | skills | spelleffects | stats | target | wikisearch* | compass* | toolbelt*) 
Toggles the specified feature. Most control display of HUD components.
wiki <title> 
Opens a window with the specified wiki page.