Greasy Fork is available in English.

Empire Overview

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

< Обсуждения Empire Overview

Вопрос/комментарий

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;

germanoАвтор
§
Создано: 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.

germanoАвтор
§
Создано: 13.01.2017

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

§
Создано: 13.01.2017
Отредактировано: 13.01.2017

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

germanoАвтор
§
Создано: 14.01.2017
Отредактировано: 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.

germanoАвтор
§
Создано: 18.01.2017

@MickM: Is everything running?

@all: Which countries do I need to change?

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

Ответить

Войдите, чтобы ответить.