Jump to content
Eternal Lands Official Forums
Sign in to follow this  
Guest

Typing the "@" shuts quits the client

Recommended Posts

Guest

Hi there!

 

When i type the @ to chat in a channel the client shuts down. I have a german keyboard with @ on ALTGR+Q.

 

Is there a hotkey ALT+Q to quit the game? Is there a way to change the hotkeys in the client or participating in the chat using another key?

 

Thanks in advance,

 

tanky

Share this post


Link to post
Share on other sites

The client is set to exit with alt+x and ctrl+q, but whe you press altgr sdl reports that ctrl and alt have been pressed...

if you can compile the client remove this:


|| (event->key.keysym.sym == SDLK_q && ctrl_on) 

from events.c line 101

Share this post


Link to post
Share on other sites

Why not change it to


|| (event->key.keysym.sym == SDLK_q && ctrl_on && !alt_on)

in cvs so that it's fixed once and for all?

Share this post


Link to post
Share on other sites

??

 

That was the whole point. This way, the client won't quit when SDL reports both Ctrl and Alt, but only when just Ctrl is detected.

Share this post


Link to post
Share on other sites

Sorry Cicero, couldn't tell since I can't reproduce the problem here. At least it doesn't hurt :P

Share this post


Link to post
Share on other sites

tip:

 

For as long as this isn't fix0red, copy '@' to your clipboard from any text editor or wherever, and paste (ctrl-v) it in EL every time you want to channel chat.

 

(I know, it's not a solution for the problem, but it's a workaround many Germans are using, I read somewhere...)

Share this post


Link to post
Share on other sites

Yes, we really need to fix this issue.

To respond to the original poster, there are two thing you can do until the next version (besids for compiling the client yuorself).

You can either change the keyboard settings to english, or copy the character @ in your clipboard, and paste it with ctrl+v

Share this post


Link to post
Share on other sites

Okay, I tried changing my keyboard layout to German, and after spending half an hour trying to find the forward slash back again, I got the following values for mod_key_status

Left Alt, US: 0x1100, De: 0x1100

Right Alt, US: 0x1200, De: 0x5000

These values would explain why the fix doesn't work, but not why the problem occurs at all. Sadez (or someone else who experiences this problem and runs cvs), could you add a


printf ("%#xn", mod_key_status);

in events.c and see what you get?

Share this post


Link to post
Share on other sites

When I press altgr I get 0x240 which means: KMOD_LCTRL | KMOD_RALT

We could make the exit keys configurable in key.ini so the german guys can change it to something else.

Share this post


Link to post
Share on other sites

If you get KMOD_RALT, I don't understand why the change I proposed earlier doesn't work.

 

<-- Dazed and confused

 

Perhaps your idea of making the exit keys configurable is the best.

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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×