Why can't I rebind the 'c' key?


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

Temple Termagant

Posts: 6

Joined: Monday, 7th November 2016, 02:09

Post Wednesday, 24th October 2018, 13:09

Why can't I rebind the 'c' key?

I added "bindkey = [c] CMD_EVOKE" to my RC file, but when I press it, it just says "OK, then."

I have evocable wands in my inventory and "Butcher" has been moved to "V" so that shouldn't interfere.

Anyone know what might be causing this issue?

Dungeon Master

Posts: 388

Joined: Monday, 18th August 2014, 20:04

Post Wednesday, 24th October 2018, 18:58

Re: Why can't I rebind the 'c' key?

Can you post or link to your whole rc file? Just `bindkey = [c] CMD_EVOKE` works as expected in my testing, so I think there's something else interfering in your configuration.

For this message the author advil has received thanks:
Kaiji

Temple Termagant

Posts: 6

Joined: Monday, 7th November 2016, 02:09

Post Thursday, 25th October 2018, 12:16

Re: Why can't I rebind the 'c' key?

ignore += grinding sound

bindkey = [v] CMD_CLOSE_DOOR
bindkey = [V] CMD_BUTCHER
bindkey = [C] CMD_EVOKE_WIELDED
bindkey = [c] CMD_EVOKE
bindkey = [e] CMD_CAST_SPELL
bindkey = [E] CMD_FORCE_CAST_SPELL
bindkey = [Z] CMD_WEAR_ARMOUR
bindkey = [z] CMD_EAT
bindkey = [x] CMD_PICKUP
bindkey = [g] CMD_DROP
bindkey = [f] CMD_REST
bindkey = [D] CMD_LOOK_AROUND
bindkey = [R] CMD_RESISTS_SCREEN
bindkey = [d] CMD_FIRE
bindkey = [d] CMD_TARGET_SELECT_ENDPOINT

item_slot ^= ration:z


explore_stop -= stairs

tile_font_crt_family = Lucida Console
tile_font_stat_family = Lucida Console
tile_font_msg_family = Lucida Console
tile_font_lbl_family = Lucida Console

tile_font_crt_size = 20
tile_font_stat_size = 18
tile_font_msg_size = 16
tile_font_tip_size = 15
tile_font_lbl_size = 14

show_more=false

hp_warning = 30

ai := autoinscribe
ai += of identify:@r1
ai += remove curse:@r2
ai += curing:@q1

travel_delay = 20

auto_butcher = true
easy_eat_chunks = true
auto_eat_chunks = true
easy_eat_gourmand = true

default_manual_training = true

autofight_stop = 50
confirm_butcher = never
auto_butcher = full

tile_filter_scaling = true
tile_force_overlay = true

automagic_enable = true
automagic_fight = false
automagic_slot = i

# Items disliked by your god.
menu += red:forbidden

equip_unequip = true

easy_confirm = all
easy_quit_item_prompts = true

ignore += pray


local function autopickup(it, name)
if it.is_useless then return end

local class = it.class(true)
if class ~= 'armour' then return end
st, _ = it.subtype()
local good_slots = {cloak='Cloak', helmet='Helmet',
gloves='Gloves', boots='Boots'}
local cur
if good_slots[st] ~= nil then
if it.branded or it.artifact then return true end
cur = items.equipped_at(good_slots[st])
if not cur then return true end
if cur.branded or cur.artefact then return end
elseif st == 'body' then
cur = items.equipped_at('armour')
if not (cur and cur.name('qual') == it.name('qual')) then return end
if it.branded then return true end
if cur.branded or cur.artefact then return end
else
return
end

if cur then
local xi = armour_plus(it)
local xc = armour_plus(cur)
if xi and xi > xc or xc < 0 then return true end
end
end

add_autopickup_func(autopickup)
}

# Bad things
stop += You fall through a shaft
stop += An alarm trap emits a blaring wail
stop += (blundered into a|invokes the power of) Zot
stop += A huge blade swings out and slices into you!
stop += sense of stasis
stop += flesh start
stop += (starving|devoid of blood)
stop += wrath finds you
stop += lose consciousness
stop += watched by something
stop += A sentinel's mark forms upon you

Dungeon Master

Posts: 388

Joined: Monday, 18th August 2014, 20:04

Post Friday, 26th October 2018, 01:37

Re: Why can't I rebind the 'c' key?

I still couldn't reproduce the behavior even with that entire rc, so something else must be going on. Do you have any macros as well? Maybe you should make a full bug post on mantis with some more detail about your setup? If this is an offline game, a save file might help, if it is specific to one character. (If it's an online game, you can make a save backup to similar effect.)

Temple Termagant

Posts: 6

Joined: Monday, 7th November 2016, 02:09

Post Friday, 26th October 2018, 12:08

Re: Why can't I rebind the 'c' key?

advil wrote:Do you have any macros as well


That was it. I completely forgot I'd saved a macro on the "c" key weeks ago. Thanks so much for your help!

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 7 guests

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