Ikariam Search - Indexing Worlds

The biggest World wide index of Ikariam players, alliances and islands.

Skip to content

[bug] army not showing in city view when friends are on def.

Please post problems or bugs here.

[bug] army not showing in city view when friends are on def.

Postby Mujo on Sat Nov 14, 2009 12:16 pm

this bug happens when you have friends defending your city.

i already fixed that, changing the line 4292 from:
if (cellshead[k].childNodes[0]){

to:
if (cellshead[k].childNodes[0] && cellshead[k].childNodes[0].src){

on the method maptroopdata.

my fix just shows your own army and ignores friends armies.

[]'s
Mujo
Small Fish
 
Posts: 1
Joined: Sat Nov 14, 2009 11:59 am

Re: [bug] army not showing in city view when friends are on def.

Postby Kaboom on Thu Jul 15, 2010 10:10 pm

I'm going to need a little help here. Where do I need to make those changes in order to keep seeing my troops in that town?

It would be nice knowing where the file is hiding and maybe what's the name of the file. I would also like to know what program you guys use to be able to read/modify those lines.

I'm assuming I can't just go search for "ika-core" file and open it up in notepad and modify it. :D

ty
Kaboom
Small Fish
 
Posts: 2
Joined: Thu Jul 15, 2010 10:05 pm

Re: [bug] army not showing in city view when friends are on def.

Postby Caladbolg on Fri Jul 16, 2010 2:46 am

notepad/wordpad, open greasemonkey "manage user scripts", select ika-core then click edit
Anyone who says he can see through women is missing a lot.
-Groucho Marx

I own.
-Caladbolg
User avatar
Caladbolg
Small Fish
 
Posts: 44
Joined: Thu Apr 22, 2010 5:15 am
Location: Canada, QC

Re: [bug] army not showing in city view when friends are on def.

Postby Gousgounis on Fri Jul 16, 2010 8:53 am

Caladbolg by using the "manage user scripts" menu, you don't have direct access to ika-core.js

ika-core.js on a Vista system can be found:
C:\Users\User\AppData\Roaming\Mozilla\Firefox\Profiles\[random string].default\gm_scripts\the_corsairs_tools

XP:
C:\Documents and Settings\User\Application Data\Mozilla\Firefox\Profiles\[random string].default\gm_scripts\the_corsairs_tools


Kaboom wrote:I'm assuming I can't just go search for "ika-core" file and open it up in notepad and modify it. :D


If you include system - hidden files and folders to your search, Yes you can!
ImageImageImage
User avatar
Gousgounis
Good Fellas
 
Posts: 129
Joined: Wed Oct 08, 2008 9:57 am
Location: Her place

Re: [bug] army not showing in city view when friends are on def.

Postby Caladbolg on Fri Jul 16, 2010 9:13 pm

Gousgounis wrote:Caladbolg by using the "manage user scripts" menu, you don't have direct access to ika-core.js

ika-core.js on a Vista system can be found:
C:\Users\User\AppData\Roaming\Mozilla\Firefox\Profiles\[random string].default\gm_scripts\the_corsairs_tools

XP:
C:\Documents and Settings\User\Application Data\Mozilla\Firefox\Profiles\[random string].default\gm_scripts\the_corsairs_tools


Kaboom wrote:I'm assuming I can't just go search for "ika-core" file and open it up in notepad and modify it. :D


If you include system - hidden files and folders to your search, Yes you can!


Thanks for the corrections , just show how much I don't know about scripting >< :lol:
Anyone who says he can see through women is missing a lot.
-Groucho Marx

I own.
-Caladbolg
User avatar
Caladbolg
Small Fish
 
Posts: 44
Joined: Thu Apr 22, 2010 5:15 am
Location: Canada, QC

Re: [bug] army not showing in city view when friends are on def.

Postby Kaboom on Sat Jul 17, 2010 9:06 pm

Gousgounis wrote:ika-core.js on a Vista system can be found:
C:\Users\User\AppData\Roaming\Mozilla\Firefox\Profiles\[random string].default\gm_scripts\the_corsairs_tools

If you include system - hidden files and folders to your search, Yes you can!


thank you for your help
I found the file, opened it with Wordpad, I found the string and modified it. Then I panicked for about 30 min, cause it wouldn't get fixed. I turned greasemonkey on/off, I closed Mozilla an reopened it, then I even restarted the computer and the problem persisted. So I gave up and 5 min later it was fized on it's own. :D ... yes I did save the file after I modified it...
Kaboom
Small Fish
 
Posts: 2
Joined: Thu Jul 15, 2010 10:05 pm

Re: [bug] army not showing in city view when friends are on def.

Postby Gousgounis on Tue Jul 20, 2010 7:13 pm

Kaboom wrote: 5 min later it was fized on it's own. :D

I forgot to mention that army data are updated hourly.
No need to panic, just patience.
ImageImageImage
User avatar
Gousgounis
Good Fellas
 
Posts: 129
Joined: Wed Oct 08, 2008 9:57 am
Location: Her place




Return to Tickets (bugs or stuff that need to be fixed)

Who is online

Users browsing this forum: No registered users and 1 guest