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 op Empire Overview

Vraag/Reactie

§
Geplaatst: 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;

germanoMaker
§
Geplaatst: 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.

germanoMaker
§
Geplaatst: 13-01-2017

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

§
Geplaatst: 13-01-2017
Bijgewerkt: 13-01-2017

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

germanoMaker
§
Geplaatst: 14-01-2017
Bijgewerkt: 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.

§
Geplaatst: 14-01-2017

thanks

germanoMaker
§
Geplaatst: 18-01-2017

@MickM: Is everything running?

@all: Which countries do I need to change?

§
Geplaatst: 20-01-2017

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

Reactie plaatsen

Log in om antwoord te geven.