Empire Overview

Script for Ikariam 0.7.x, Overview tables for resources, buildings and military inspired by Ikariam Empire Board

< Feedback em Empire Overview

Pergunta/comentário

§
Publicado: 12/01/2017

small fix

I was having trouble getting the - and = keys to access my 11th and 12th towns until I made the following change to lines 2866-2888:

case 'us':
keycodes = [49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 189, 187]; //EN - =
break;

germanoAutor
§
Publicado: 13/01/2017

The problem is with Chrome. The codes are all intended for browsers, which also take over the respective language of the country. Chrome prefers English and it comes to a conflicts. But maybe I can find a solution later.

germanoAutor
§
Publicado: 13/01/2017

Maybe you could send me the key codes.
https://abload.de/img/tastaturpoqzs.png

§
Publicado: 13/01/2017
Editado: 13/01/2017

for US keyboard:
11th town: - is 189
12th town: = is 187

germanoAutor
§
Publicado: 14/01/2017
Editado: 14/01/2017

OK. I have solved it now.

...
case 'tw':
case 'us':
keycodes = [49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 173, 61]; //EN - = for Firefox
if (isChrome)
keycodes = [49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 189, 187]; //US - =
break;

Comes with the next update.

§
Publicado: 14/01/2017

thanks

germanoAutor
§
Publicado: 18/01/2017

@MickM: Is everything running?

@all: Which countries do I need to change?

§
Publicado: 20/01/2017

I'm using the latest version of the script, and the keycodes are working for me on Chrome with Tampermonkey. Thanks!

Publicar resposta

Faça o login para publicar uma resposta.