Jump to content
Eternal Lands Official Forums
Mazur

Counters and Session shortcuts?

Recommended Posts

Are there any shortcuts to the counters and session tabs of the Statistics/Knowledge/Counters/Session window, like CTRL-A for the first window and CTRL-K for the second? And if so, can they be defined in el.ini and saved there?

 

With kind regards,

Mazur.

Share this post


Link to post
Share on other sites

Pardonnez moi, I meant to say key.ini, and I had researched the #K_ strings in the client, added definitions for the tabs, but they neither work nor get saved again.

Edited by Mazur

Share this post


Link to post
Share on other sites

K_COUNTERS is new to the client (its in the source since 30th Dec but not the current release version) and not allocated to a key by default. You can use it with the #keypress command or assigned a key to it in your key.ini file. Are you using recent development build of the client or the 1.9.3 release version for a year or so ago?

Edited by bluap
the key file is key.ini (no s)

Share this post


Link to post
Share on other sites

I'm using the april 11 testing binary version. I have included:

#K_COUNTERS = LCTRL l
#K_COUNTERS = RCTRL l
in my key.ini, yet neither ctrl+l does anything. They do however remain in the key.ini between sessions.

Share this post


Link to post
Share on other sites

Where are you writing your key.ini file? It should be in the data directory, your configuration root directory ($HOME/.elc/ on Linux) or your updates directory (currently $HOME/.elc/updates/1_9_3/ on Linux). Each named key can have only one key value assigned. Despite its use in the shipped key.ini file, the client does not distinguish between the left and right version on the keyboard, for named keys. If key values clash, which is used depends on the order they are compared by the client. This is pretty arbitary and no checks are made for clashing key usage. Hmmmm, lots to improve there......

Share this post


Link to post
Share on other sites

I had them in the per person data directory: $HOME/.elc/[character]

now I tried with

#K_COUNTERS = LCTRL y
#K_COUNTERS = RCTRL y
and put the file in $HOME/.elc
since CTRL-l is already bound to "look pointer".
Yes, it's tricky to find which keys are free and which not. Were it my job, I'd go for storing _all_ key bindings in key.ini, seperated in comment headed sections, but it's not mine to decide, luckily enough.

Share this post


Link to post
Share on other sites

Update: since putting key.ini in $HOME/.elc instead of $HOME/.elc/[playername] CTRL-K pops up K_COUNTERS instead of K_KNOWLEDGE, even though that is not the definition in the file.

Share this post


Link to post
Share on other sites

Final update: Today I discovered there was a second K_COUNTERS entry in my key.ini in the .elc directory, after deleting the double entry and only leavinf knowledge to CTRL-K and COUNTERS to CTRL-y, al was as one would expect.

 

So the stuff works as (not very loudly) advertised.

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×