Ikariam kChen Overview

By kchen Last update Feb 18, 2009 — Installed 346,343 times.

Where is kchen

in
Subscribe to Where is kchen 20 posts, 11 voices



hanoveel User

Where is kchen ??

It is a long time since he reply of update the script !!!

 
rfu Scriptwright

true..

 
hanoveel User

Script does not work for 0.31

I try it on the test server

 
Segwarg User

hope he can continue

 
oliezekat Scriptwright

Don't ask what he could do for his script. Ask how you can do it yourself ! ^^

 
Rincewind User

Ok what can I do??

All I see in the script is
var server = /\/\/([a-z._0-9]+)\//.exec(document.URL)[1];
var config = getConfig();
var players = getPlayers();
var _startTime = new Date().getTime();
var scriptversion = "v0.3.0.036";

kChenOverview();

Before there was a lot more code that I could reconfig

 
joshuad156 User

At the top of the script, in what looks like comments, there are REQUIRE commands. Those tell the Greasemonkey installer to download and install those other scripts too. You can find these files in your Firefox profile in a gm_scripts subfolder (details could be off, but that should get you started)

I found a few modifications that get the 'meat' of the script usable again.

First, turn off Show Scoreinfo. This function is broken right now and i haven't written a work-around yet.

3 changes are required to get the tables working again. Below are rough details of what to change to get it running:

File: tools.js
Function: GetCityID
Text to change: AvatarCities coords -> coords

File: tools.js
Function: getCityMainView
Text to change: AvatarCities coords -> coords

File: view.js
Function: updateIslandView
Text to change: [not(contains(@class, 'wood')) and not(@id)] -> [contains(@id,'tradegood')]

 
oliezekat Scriptwright

Tips to debug : GM_log(text) function add "text" into Firefox Errors Console. It's usefull to check variables values step by step ;o)

 
Rincewind User

Josh I've made those changes but don't get any change... Bummer :-(

 
oliezekat Scriptwright

I feel main problem is to detect your own cities ID (from dropdown menu) because class names has changed... I had this problem (which crash down all) on my own script ;o)

NB: occupied cities are added in dropdown menu but I don't known its class name (because I can't check this myself with my account).

 
GigeL Scriptwright

@joshuad156:

function getCityId() {
    ret = getIntValue(getNode_value("//select[@id='citySelect']//option[@selected='selected']"), 0);	
	return ret;
}

my script is for 0.3.1, check it out :)

 
joshuad156 User
@GigeL: I just installed your overview script and you just made my day. I was only trying to hack away at kChen because Ikariam isn't much fun to me without an overview tool. Yours appears to fill in as an equal replacement to kChen. I thank you for your hard work to get this up and running with 0.3.1. I just need to figure out how to change your table style so all my 'transport to' buttons fit on my 1920x1200 without scrolling down. kChen JUST fit so that moving stuff around didn't require any scrolling, which was really nice. Just need to tighten things up a bit.

@everyone else who reads this thread: If you liked kChen and you are bummed because your kChen is not working with the latest patch, please go check out GigeL's overview script. It will likely suit your needs.
 
GigeL Scriptwright

Options -> CSS -> width: 1000px
change it how long you want

 
tsewane User

I have installed the script but I can't find gm_scripts subfolder ! There is not in my Mozilla Firefox.
Where is kchen ??

 
oliezekat Scriptwright

@tsewane: search Mozilla/Firefox into "Documents & Settings" sub-folders

 
Vinniex User

Hi Guys,

I'm just a user & don't know all these coding.
What exactly needs to be change in order for KChen Overview to work w/ Ikariam 0.3.1?
Can you pls. post it here the things needed to be revised?
Thanx a bunch :)

 
rfu Scriptwright

Woohooo, its seems like he's back! :)

 
tsewane User

Thanks @oliezekat

 
noname21!! User

where is the new version????

 
moohomor User

GigeL it is great work You done. Bat I have one recuest. Can You give as the view under the arrows in ship movements and the column of spy?

BTW. Sorry for my English;)

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel