Ikariam CAT Indicator

By Toranaga Last update Jun 7, 2009 — Installed 80,720 times.

Needs to be updated

in
Subscribe to Needs to be updated 3 posts, 1 voice



SVSV User
Firefox

1st line to not have the (Town lvl) after the names:

FIND:
$.trim(($(".cityinfo .name:first", node).html()).replace(//g, "").replace(/<.*?>/g, "")) +

REPLACE:
$.trim(($(".cityinfo .name:first", node).html()).replace(//g, "").replace(/<.*?>/g, "").replace(/.[()].*/, "")) +

 
SVSV User
Firefox

got fast workaround

FIND:
this.pattern = /.*receiverId=([0-9]*).*/;

REPLACE:
this.pattern = /.*avatarId=([0-9]*).*/;

FIND:
var ownerId = self.getId($(".cityinfo .owner a.messageSend", this));

REPLACE:
var ownerId = self.getId($(".cityinfo .owner a.reportPlayer", this));

 
SVSV User
Firefox

quick and dirty selution add

FIND :
this.pattern = /.*avatarId=([0-9]*).*/;

ADD NEW LINE AFTER:
this.pattern2 = /.*receiverId=([0-9]*).*/;

FIND :
getId: function(node) {

Copy the whole Function and paste it again under it
CHANGE IN IT:
getId: function(node) {

TO:
getId2: function(node) {

CHANGE IN IT:
result = source.replace(this.pattern, "$1");

TO:
result = source.replace(this.pattern2, "$1");

FIND:
var allyId = self.getId($("td.action > div > " + (page == "embassy" ? "div > " : "") + "a.message", this));

REPLACE:
var allyId = self.getId2($("td.action > div > " + (page == "embassy" ? "div > " : "") + "a.message", this));

so now if u followed my message up , there wilnot seen CAT indicator in ambassy and diplo vieuw
now they will again.

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