Auto Explore not behaving correctly


Problems running or configuring the software, commands & options, compiling, different platforms, using the interface, documentation, etc.

Halls Hopper

Posts: 74

Joined: Saturday, 11th June 2011, 13:10

Post Wednesday, 21st November 2012, 17:22

Auto Explore not behaving correctly

This has been driving me nuts for several years, I've posted about this before. Whenever i use the downloadable version, I would like when I auto explore for it to show me the path he takes a move at a time, as opposed to just appearing at the space it ends at. Ive tried re installing multiple times, and with each new update i hope this issue is resolved, but this dream eludes me, please help me figure this out once and for all. here are what my options look like

  Code:
# Crawl Init file
#
# On Unix systems (such as Mac OS X, Linux and the BSDs), you must copy
# init.txt to ~/.crawlrc or ~/.crawl/init.txt as:
#   cp init.txt ~/.crawlrc
#
# Lines beginning with '#' are comments.  The basic syntax is:
#
# field = value         or      field.subfield = value
#
# Only one specification is allowed per line.
#
# The terms are typically case-insensitive except in the fairly obvious
# cases (the character's name and specifying files or directories when
# on a system that has case-sensitive filenames).
#
# White space is stripped from the beginning and end of the line, as
# well as immediately before and after the '='. If the option allows
# multiple comma/semicolon-separated terms (such as
# autopickup_exceptions), all whitespace around the separator is also
# trimmed. All other whitespace is left intact.
#
# For descriptions concerning an option consult the file
#    options_guide.txt
# in your /docs directory. Also note that the ordering of the options
# is taken from that file; this is for presentational reasons only.
#
# Note that all boolean options (i.e. values of 'true' or 'false') have
# their non-default value commented out. You can toggle these by just
# uncommenting.
# Options with several values, e.g. drop_mode = (multi | single),
# usually have the first value as default.
#
# The options for monster glyphs and item colours don't matter for Tiles.
# Similarily, tile options are ignored in console games.

##### Ancient versions ##############################################
# If you're used to the interface of ancient versions of Crawl, you may
# get back parts of it by uncommenting the following options:

# include                 = 034_command_keys.txt
# target_unshifted_dirs   = true
# clear_messages          = true
#
# And to revert monster glyph and colouring changes:
# include                 = 034_monster_glyphs.txt
# include                 = 052_monster_glyphs.txt
# include                 = 060_monster_glyphs.txt
# include                 = 071_monster_glyphs.txt
# include                 = 080_monster_glyphs.txt
# include                 = 0.9_monster_glyphs.txt

##### 1- Starting Screen ############################################
#
# name = Delilah
# remember_name = false
# weapon = (short sword | falchion | quarterstaff | hand axe | spear | mace
#           | trident | unarmed | random)
# species = (Human |...| Vampire | random)
# job     = (Fighter |...| Wanderer | random)
# random_pick = true
# good_random = false
# restart_after_game = true
# default_manual_training = true

##### 2-  File System ###############################################
#
# crawl_dir  = <path>
# morgue_dir = morgue
# save_dir   = saves
# macro_dir  = settings/
# sound = <regex>:<path to sound file>

##### 3-  Lua Files #################################################
#

##### 4-  Interface #################################################
#
##### 4-a       Picking up and Dropping ###############
#
# Rods are \ here.
# autopickup = $?!:"/%

# drop_filter += useless_item

# default_autopickup = false
# autopickup_no_burden = false
# pickup_thrown = false
# chunks_autopickup = false
# assign_item_slot = (forward | backward)
#
# drop_mode = (multi | single)
# pickup_mode = (single | multi | auto:5)
# drop_filter += skeleton, corpse, useless_item
# default_friendly_pickup = (none | friend | player | all)

##### 4-b       Targetting ############################
#
# default_target = false
# target_unshifted_dirs = true
# darken_beyond_range = false

##### 4-c       Passive Sightings #####################
#
# detected_monster_colour = lightred
# detected_item_colour = green
# remembered_monster_colour = darkgrey
# clean_map = true

##### 4-d       Branding ##############################
#
# friend_brand       = hi:green
# neutral_brand      = hi:lightgrey
# stab_brand         = hi:blue
# may_stab_brand     = hi:yellow
# heap_brand         = reverse
# feature_item_brand = reverse
# trap_item_brand    = reverse

##### 4-e       Level Map Functions ###################
#
# level_map_cursor_step = 7
# level_map_title = false
# show_waypoints = false

##### 4-f       Viewport Options  ###################
#
# view_max_width   = 33
# view_max_height  = 21
# view_lock_x      = false
# view_lock_y      = false
# view_lock        = false
# center_on_scroll = true
# symmetric_scroll = false
# scroll_margin_x  = 2
# scroll_margin_y  = 2
# scroll_margin    = 2

##### 4-g       Travel and Exploration #################
#
# travel_delay = 20
# explore_delay = -1
# travel_avoid_terrain = shallow water
#
# explore_greedy   = false
# explore_stop     = items,stairs,shops,altars,portals,branches
# explore_stop    += greedy_pickup_smart,greedy_visited_item_stack
# sacrifice_before_explore = true
# explore_improved = true
# explore_wall_bias = 0
# travel_key_stop = false
#
# explore_stop_pickup_ignore += curare
# auto_exclude += oklob,statue,curse skull,roxanne,hyperactive,lightning spire
# auto_exclude += mimic

# tc_reachable      = blue
# tc_dangerous      = cyan
# tc_disconnected   = darkgrey
# tc_excluded       = lightmagenta
# tc_exclude_circle = red

# Interrupting run and rest compound commands:
# runrest_ignore_poison  = 2:30
# runrest_ignore_monster += butterfly:1
# runrest_ignore_monster += swamp worm:3
# runrest_stop_message += You hear a.* slurping noise
# runrest_ignore_message += Jiyva's power touches on your attributes

# A good number of runrest_messages is defined by default; you may want to
# clear them or override some.

# trapwalk_safe_hp = dart:20,needle:15,arrow:35,bolt:45,spear:40,blade:95

#rest_wait_both = true

##### 4-h       Stashes ###############################
#

# annotate_item_class = true
# annotate_item_dropped = true

##### 4-i       Command Enhancements ##################
#
# auto_list     = false
# auto_switch   = true
# easy_open     = false
# easy_unequip  = false
# equip_unequip = true
# easy_confirm  = (none | safe | all)
# allow_self_target      = (yes | no | prompt)
# confirm_butcher        = (auto | always | never)
# prefer_safe_chunks     = false
# easy_eat_chunks        = true
# easy_eat_gourmand      = true
# easy_eat_contaminated  = true
# auto_eat_chunks        = true
# prompt_for_swap        = false
# easy_quit_item_prompts = false
# easy_exit_menu         = true
# sort_menus += pickup: true : art, ego, basename, qualname, curse, qty
# sort_menus += inv: true : equipped, freshness, charged

# autofight_stop = 30

##### 4-j       Messages and Display Enhancements #####
#
# hp_warning = 30
# mp_warning = 0
# hp_colour = 50:yellow, 25:red
# mp_colour = 50:yellow, 25:red
# stat_colour = 1:lightred, 3:red

# status_caption_colour        = yellow
# mlist_min_height             = 4
# msg_min_height               = 7
# msg_max_height               = 10
# mlist_allow_alternate_layout = true
# messages_at_top              = true
# mlist_targetting             = true
# show_gold_turns              = false
# show_game_turns              = false
# show_newturn_mark            = false
# clear_messages             = true
# small_more                 = true
# show_more                  = false
# show_inventory_weights     = true
# item_stack_summary_minimum = 5
# list_rotten                = false
# auto_drop_chunks           = (never | rotten | yes)
# msg_condense_repeats   = false
# msg_condense_short     = false
# show_no_ctele          = false
# skill_focus            = false
# show_travel_trail       = true

#####          Colours (messages and menus) #####
#
# menu_colour_prefix_class = false
# menu_colour_shops = false

# Food is colour coded by default as follows:
#
#   yellow     = preferred food                    ($preferred)
#   darkgrey   = cannot be eaten at all            ($inedible)
#   lightred   = causes rot                        ($rot-inducing)
#   magenta    = dangerous to use, mutagenic       ($dangerous, $mutagenic)
#   red        = considered "evil" by your deity   ($evil)
#   lightgreen = poisonous                         ($poisonous)
#   brown      = contaminated, may cause nausea    ($contaminated)
#
# You can change colours by using something like
# $contaminated := magenta

# You can redefine inventory items like this:
# menu_colour += inventory:magenta:shillelagh
# or ones in pick-up dialogs:
# menu_colour += pickup:green:god gift

# Colouring of messages
# Messages are colour coded as follows:
#
#   lightred   = really important messages  ($danger)
#   yellow     = significant messages       ($warning)
#   lightred   = item damaged/destroyed     ($item_dmg [same as $danger])
#   darkgrey   = boring, message clutter    ($boring)
#

# Notes also use, quite misnamed, menu_colour:
# menu_colour += notes:white:Reached XP level

# These lines will suppress extra feedback messages from travel/shift-running.
#
# message_colour += mute:warning:comes into view
# message_colour += mute:You start (searching|resting)
# message_colour += mute:Done searching
# message_colour += mute:(HP|Magic) restored
# message_colour += mute:warning:Not with.*(in view|monsters around)

# You can also enforce a --more-- prompt for messages

## Avoid wasting turns with aborted actions:
# force_more_message += There are no visible monsters within range
# force_more_message += This wand has no charges

##### 4-k       Firing Commands #######################
#
# fire_items_start = a
# fire_order = launcher, return
# fire_order += javelin / dart / stone / rock / spear / net / handaxe / dagger / club
# fire_order += inscribed

##### 4-l       Channels ##############################
#
# channel.multiturn = mute

##### 4-m       Inscriptions ##########################
#
# autoinscribe += bad_item.*potion:!q
# autoinscribe += potion.*mutation:!q
# autoinscribe += royal jell:=g
# autoinscribe_artefacts = false
# autoinscribe_cursed = false
# autoinscribe += fruit:!e

##### 4-n       Macro related Options #################
#
# flush.failure = false
# flush.command = true
# flush.message = true

##### 4-t       Tile related Options ##################
#
# tile_show_items = !?/%=([)x}:|\

# tile_skip_title = true
# tile_menu_icons = false

### The following lines define the colours of various objects within the
### tiles minimap. See options_guide.txt for more details.

# tile_player_col      = white
# tile_monster_col     = red
# tile_neutral_col     = red
# tile_peaceful_col    = lightred
# tile_friendly_col    = lightred
# tile_plant_col       = darkgreen
# tile_item_col        = green
# tile_unseen_col      = black
# tile_floor_col       = lightgrey
# tile_wall_col        = darkgrey
# tile_mapped_wall_col = blue
# tile_door_col        = brown
# tile_downstairs_col  = magenta
# tile_upstairs_col    = blue
# tile_feature_col     = cyan
# tile_trap_col        = yellow
# tile_water_col       = grey
# tile_lava_col        = grey
# tile_excluded_col    = darkcyan
# tile_excl_centre     = darkblue
# tile_window_col      = yellow

# If Crawl's response rate is too slow, try increasing the update rate.
# tile_update_rate      = 1000

# If Crawl is lagging when running or resting, try increasing this number.
# tile_runrest_rate = 100

# tile_key_repeat_delay = 200
# tile_tooltip_ms       = 500

# tile_tag_pref = enemy

### Note: setting window, map or font sizes to '0' implies auto-sizing.

# tile_full_screen      = true
# tile_window_width     = 1024
# tile_window_height    = 768
# tile_map_pixels       = 3
# tile_force_overlay    = true
# tile_layout_priority  = minimap, inventory, gold_turn, command, spell
# tile_layout_priority += ability, monster

# tile_font_crt_file  = VeraMono.ttf
# tile_font_crt_size  = 15
# tile_font_stat_file = VeraMono.ttf
# tile_font_stat_size = 16
# tile_font_msg_file  = VeraMono.ttf
# tile_font_msg_size  = 14
# tile_font_tip_file  = VeraMono.ttf
# tile_font_tip_size  = 15
# tile_font_lbl_file  = Vera.ttf
# tile_font_lbl_size  = 14
# tile_font_ft_light  = false

# tile_show_minihealthbar = false
# tile_show_minimagicbar  = false


##### 5-  Dump File #################################################
#
##### 5-a       Items and Kill List ###################
#
# kill_map = friend:you, other:you
# dump_kill_places = (single | all | none)
# dump_kill_breakdowns = true
# dump_item_origins = all,artifacts,ego_arm,ego_weap,jewellery,runes
# dump_item_origin_price = -1
# dump_message_count = 20
# dump_order  = header, hiscore, stats, misc, notes, inventory,
# dump_order += turns_by_place, skills, spells, overview, mutations,
# dump_order += messages, screenshot, monlist, kills_by_place, kills
# dump_order += action_counts
# dump_book_spells = false

##### 5-b       Notes #################################
#
# user_note_prefix=@@@
# note_hp_percent = 5
# note_skill_levels = 1,5,10,15,27
# note_all_skill_levels = true
# note_skill_max  = false
# note_xom_effects = false
# note_chat_messages = false
# note_items    += rod of, acquirement, preservation, running, of Zot
# note_monsters += orb of fire, ancient lich, Sigmund

##### 6-  Miscellaneous #############################################
#
##### 6-a       All OS ################################
#
# mouse_input      = true
# wiz_mode         = no
# char_set         = ascii
# use_fake_player_cursor = false
#
# Translation to use (in 0.11, only badly incomplete descriptions; Polish
# has god messages and a few misc, Greek has sheep).
# language = pl|fr|zh|ko|fi|ru|el|da|li|pt|de|lv|cs|hu
#
# Joke translations (complete!).
# language = dwarven|jagerkin|kraut|wide
#
# colour.lightgray = black
# colour.lightcyan = cyan
# colour.yellow    = brown
#
# show_player_species = true

# See options_guide.txt for the options
# cset, feature, mon_glyph

## Highlight the edge of unexplored terrain.
# feature = explore horizon {',,green}

##### 6-b   Windows console #######################
#
# dos_use_background_intensity = true
# background = black

##### 6-c   Unix console ##########################
#
# use_fake_cursor = false

##### 6-d   Alternative keybinding files ##########
#
# Alternative vi bindings for Dvorak users.
# include = dvorak_command_keys.txt
#
# Override the vi movement keys with a non-command.
# include = no_vi_command_keys.txt


If anyone can help me you will be a hero of mine and my next character to play with my new working copy will be named after you. :D

Vestibule Violator

Posts: 1567

Joined: Friday, 21st January 2011, 22:56

Post Wednesday, 21st November 2012, 17:28

Re: Auto Explore not behaving correctly

Autoexplore should behave like you want with the default options (the init file you posted). Maybe a different init file is used? This is why I never use the installed version, it puts important things into folders I don't even know about. An easy way to test this is to change some other option and see if that does something. I suggest "show_travel_trail = true" to make instant travel less jarring. "show_game_turns = false" is another one that is easy to notice, but probably not something you want to enable permanently.

The options you need are explore_delay and travel_delay, setting them to anything other than -1 will make crawl do what you want. However, you will first have to find the init file that is actually being used.
Last edited by Galefury on Wednesday, 21st November 2012, 17:33, edited 1 time in total.

Halls Hopper

Posts: 74

Joined: Saturday, 11th June 2011, 13:10

Post Wednesday, 21st November 2012, 17:32

Re: Auto Explore not behaving correctly

What would be a good way to see if a different init file is being used? I have searched my computer (im on a new os mac) using the little search glass on the top, i can only find init files for dwarf fortress, i could try deleting those? Is there a more efficient way to figure this out? Thanks Galefury!

Vestibule Violator

Posts: 1567

Joined: Friday, 21st January 2011, 22:56

Post Wednesday, 21st November 2012, 17:34

Re: Auto Explore not behaving correctly

Sorry, I edited my post about 5 times after posting (before your reply), reread it for some suggestions.

Ziggurat Zagger

Posts: 3163

Joined: Friday, 6th January 2012, 18:45

Post Wednesday, 21st November 2012, 17:44

Re: Auto Explore not behaving correctly

I don't think the mac download has an installer version, so the files should all be in the same place.

Make sure that you remove the # from the beginning of any line that you want to change. (A # denotes a "comment" and will cause the line to be ignored.)

Halls Hopper

Posts: 74

Joined: Saturday, 11th June 2011, 13:10

Post Wednesday, 21st November 2012, 17:52

Re: Auto Explore not behaving correctly

Ok so I am pretty sure that it is not reading the init file that is in the package, I have no idea what to do from here though. I have searched my computer for init.txt and I cant find it. This is starting to boggle my mind.

Ziggurat Zagger

Posts: 3163

Joined: Friday, 6th January 2012, 18:45

Post Wednesday, 21st November 2012, 17:56

Re: Auto Explore not behaving correctly

Without access to my wife's laptop, I can't take a look at the exact steps needed to open a package on a Mac, but I think you have to right-click (or ctrl-click or option-click, or whatever it is) on the icon and choose Show Package Contents.

Vestibule Violator

Posts: 1567

Joined: Friday, 21st January 2011, 22:56

Post Wednesday, 21st November 2012, 18:02

Re: Auto Explore not behaving correctly

Maybe this snippet from init.txt helps?

# On Unix systems (such as Mac OS X, Linux and the BSDs), you must copy
# init.txt to ~/.crawlrc or ~/.crawl/init.txt as:
# cp init.txt ~/.crawlrc

Halls Hopper

Posts: 74

Joined: Saturday, 11th June 2011, 13:10

Post Wednesday, 21st November 2012, 18:07

Re: Auto Explore not behaving correctly

BlackSheep wrote:Without access to my wife's laptop, I can't take a look at the exact steps needed to open a package on a Mac, but I think you have to right-click (or ctrl-click or option-click, or whatever it is) on the icon and choose Show Package Contents.


I can open my package with the newest version installed, but that init.txt looks fine.

Galefury wrote:Maybe this snippet from init.txt helps?

# On Unix systems (such as Mac OS X, Linux and the BSDs), you must copy
# init.txt to ~/.crawlrc or ~/.crawl/init.txt as:
# cp init.txt ~/.crawlrc


So what does this basically mean? should i copy and paste the init file somewhere?

Vestibule Violator

Posts: 1567

Joined: Friday, 21st January 2011, 22:56

Post Wednesday, 21st November 2012, 18:11

Re: Auto Explore not behaving correctly

Yes. Into one of the mentioned folders. The leading period means they are hidden, maybe one of the folders already exists and contains a non-default init file that sets explore delay to -1.

For this message the author Galefury has received thanks:
lerugray

Halls Hopper

Posts: 74

Joined: Saturday, 11th June 2011, 13:10

Post Wednesday, 21st November 2012, 18:13

Re: Auto Explore not behaving correctly

I should have rephrased that, so how do i go about finding his folder, im not very code savy and cant really read the clue from the init file.

thanks for bearing with me here, i feel like i can almost taste playing dcss comfortably.

Vestibule Violator

Posts: 1567

Joined: Friday, 21st January 2011, 22:56

Post Wednesday, 21st November 2012, 18:51

Re: Auto Explore not behaving correctly

One of the .crawl and .crawlrc folders should be in your home folder. I have no idea where that is on a mac. You will probably have to enable showing hidden files and folders to see it.

If none of these folders is in your home folder you can create it (including the leading period!) and put init.txt in there, then try and change options to see if it's working.

Abyss Ambulator

Posts: 1196

Joined: Friday, 17th December 2010, 13:59

Location: Maryland, USA

Post Wednesday, 21st November 2012, 20:38

Re: Auto Explore not behaving correctly

Open a Finder window. There should be an entry in the left sidebar with your username and a house icon. Click on this to navigate to your home directory. You can then look for the .crawlrc folder in there and create it if necessary.
You fall off the wall. You have a feeling of ineptitude.

Slime Squisher

Posts: 341

Joined: Wednesday, 14th September 2011, 10:10

Post Wednesday, 21st November 2012, 20:39

Re: Auto Explore not behaving correctly

Last time I used a mac, you had to look for some directory named crawl (or containing the word crawl) in the Library directory located in the user space (usually /Users/<username>), mind that it's different from /Library.

I was able to mount my mac volume under linux, and the path is /Users/<username>/Library/Application Support/Dungeon Crawl Stone Soup/settings. Here comes init.txt
If there's no init.txt, you can create one.
My wins so far - FeBe, KoBe, DsCo, MDFi, DsBe
User avatar

Dungeon Master

Posts: 4031

Joined: Thursday, 16th December 2010, 20:37

Location: France

Post Thursday, 22nd November 2012, 15:39

Re: Auto Explore not behaving correctly

Galefury wrote:One of the .crawl and .crawlrc folders should be in your home folder.

Look closer

  Code:
# On Unix systems (such as Mac OS X, Linux and the BSDs), you must copy
# init.txt to ~/.crawlrc or ~/.crawl/init.txt as:
# cp init.txt ~/.crawlrc

.crawlrc is a file, not a folder. So either put init.txt in the ~/.crawl folder or rename it .crawlrc and put it directly in the home folder.

Also, lerugray, if your playing trunk, you can just delete this file instead of copying the default version over it. Crawl now runs fine without a config file.
<+Grunt> You dereference an invalid pointer! Ouch! That really hurt! The game dies...

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 18 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.