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

< Feedback on Empire Overview

Question/comment

§
Posted: 12 Januari 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;

germanoPembuat
§
Posted: 13 Januari 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.

germanoPembuat
§
Posted: 13 Januari 2017

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

§
Posted: 13 Januari 2017
Edited: 13 Januari 2017

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

germanoPembuat
§
Posted: 14 Januari 2017
Edited: 14 Januari 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.

§
Posted: 14 Januari 2017

thanks

germanoPembuat
§
Posted: 18 Januari 2017

@MickM: Is everything running?

@all: Which countries do I need to change?

§
Posted: 20 Januari 2017

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

Post reply

Sign in to post a reply.