Re: IC Fleet Boss (Google Chrome)

Not Found

The requested URL /ic/scripts/ic_fleet_boss_chrome.user.js was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2 Server at www.sandervdwal.nl Port 80



D:

Maar doodslaan deed hij niet, want tussen droom en daad,
Staan wetten in de weg en praktische bezwaren,
En ook weemoedigheid, die niemand kan verklaren,
En die des avonds komt, wanneer men slapen gaat.

Re: IC Fleet Boss (Google Chrome)

Where did you found that link tongue
That is soooo old-fashioned.

[HoaD][Toadies] luv zeh mushr|o_0|ms! big_smile
Statistics/IC Monitor: IC Monitor By HoaD/Toadies
Tools: Toadies Tools
IC-wiki: Toadies IC-wiki

Re: IC Fleet Boss (Google Chrome)

Script    Description    Last Modified    Size
ic_fleet_boss_chrome.user.js    Ic Fleet Boss Chrome    2012-Jul-10 20:55:35    8.54 KB
ic_map_links_chrome.user.js    Ic Map Links Chrome    2012-Jul-10 20:55:35    8.08 KB


both those links don't seem to work, give me the 404 error.

Maar doodslaan deed hij niet, want tussen droom en daad,
Staan wetten in de weg en praktische bezwaren,
En ook weemoedigheid, die niemand kan verklaren,
En die des avonds komt, wanneer men slapen gaat.

Re: IC Fleet Boss (Google Chrome)

Aaah yes, I am an expert in screwing up last changes on software/scripts :-)

It should work now, sorry.

[HoaD][Toadies] luv zeh mushr|o_0|ms! big_smile
Statistics/IC Monitor: IC Monitor By HoaD/Toadies
Tools: Toadies Tools
IC-wiki: Toadies IC-wiki

Re: IC Fleet Boss (Google Chrome)

So, I noticed these 2 were on your page as well:

ic_planet_page_+.user.js    Ic Planet Page +    2011-Mar-28 21:10:42    8.86 KB

vip_map_page_transformat.user.js    Vip Map Page Transformat    2009-Jul-21 16:45:54    2.94 KB


What are they? tongue

Maar doodslaan deed hij niet, want tussen droom en daad,
Staan wetten in de weg en praktische bezwaren,
En ook weemoedigheid, die niemand kan verklaren,
En die des avonds komt, wanneer men slapen gaat.

Re: IC Fleet Boss (Google Chrome)

Oh and I noticed a bug...

Map links now removes the planet icons on the map pages as well tongue Very annoying when you're making yamas and can't see the systems!

Maar doodslaan deed hij niet, want tussen droom en daad,
Staan wetten in de weg en praktische bezwaren,
En ook weemoedigheid, die niemand kan verklaren,
En die des avonds komt, wanneer men slapen gaat.

57 (edited by HoaD 11-Jul-2012 22:34:25)

Re: IC Fleet Boss (Google Chrome)

Planet page +: this will add functionality to the planet page so you can sort planets by bonus.
VIP transformat: based on an old script (Momentum too?) to make yamas. An extra field on the galaxy sector page will be added inwhich the yama is visible. People said the old script was bugged I made some changes, I never found bugs in that. Never released it public though, so it can still be bugged. Not sure if they will work in Chrome.

Tomorrow I will look to the bug you posted.

[HoaD][Toadies] luv zeh mushr|o_0|ms! big_smile
Statistics/IC Monitor: IC Monitor By HoaD/Toadies
Tools: Toadies Tools
IC-wiki: Toadies IC-wiki

Re: IC Fleet Boss (Google Chrome)

I hope ths current version is bug free now.....

[HoaD][Toadies] luv zeh mushr|o_0|ms! big_smile
Statistics/IC Monitor: IC Monitor By HoaD/Toadies
Tools: Toadies Tools
IC-wiki: Toadies IC-wiki

Re: IC Fleet Boss (Google Chrome)

With the new versions, I am getting the warning messages of fleet boss again to "make sure map links is installed and ran before fleet boss" on the messages page and the fleet page. On these pages the Fleet boss addon doesn't work either (no boxes for fleet input popping up and no coords turning red)

So I think you added a few exceptions to the addon?


Linkifier is working perfectly in forums however, which is nice!

Maar doodslaan deed hij niet, want tussen droom en daad,
Staan wetten in de weg en praktische bezwaren,
En ook weemoedigheid, die niemand kan verklaren,
En die des avonds komt, wanneer men slapen gaat.

Re: IC Fleet Boss (Google Chrome)

I am getting the same, also the on the Family page where it should say Family name etc it reads "undefined".

~*✠ ]PW[ Forever ✠*~

Re: IC Fleet Boss (Google Chrome)

All these recent changes ruined a perfectly good addon.

Stupid mods and stupid developers, I hate you! >:(

Maar doodslaan deed hij niet, want tussen droom en daad,
Staan wetten in de weg en praktische bezwaren,
En ook weemoedigheid, die niemand kan verklaren,
En die des avonds komt, wanneer men slapen gaat.

Re: IC Fleet Boss (Google Chrome)

what is the IC fleet boss?

63 (edited by HoaD 15-Jul-2012 10:30:42)

Re: IC Fleet Boss (Google Chrome)

AARGH, dammit!

The thing with the mail page is that the mails can have countless markups (its just the way someone types his message) and the worst of the auto linkified coords is that it seems the source code isn't on 1 line (this is Chrome only I am talking about). "Planet [n] in the" is on a seperate line. "[xx],[yy] system" is on a new line. The text "Planet [n] in the [xx],[yy] system" isn't surrounded by an tag. Which means I have to do nasty tricks to get the text on 1 line, so the convert script can find the textual representation of the the coords. I did test only with 1 message in the *best practice* conditions, this worked well so I was positive it would work overall.

On the family page however I do not get the error (just like the error RisingDown had on the map page).

I will give it another chance (down side is, only PW is open and has only 6 spots left. I prefer to keep those open so fams can get active player(s)).

@RisingDown: I did add exceptions on the IC Map Links addon, I did not made changes of the IC Fleet Boss (although the page suggest else, but that are the times I uploaded the script).

@Magni: IC Fleet Boss is a script that will bring up a popup when you hit the 'A' button. In this popup you can insert the amount of units you want to send. The planet numbers will turn red and if you click on the planet number it will get you to the attack page with the amount of units already inserted. You only have to click on the attack button. This is especially easy for sending retakes fleets, or raid fleets.

[HoaD][Toadies] luv zeh mushr|o_0|ms! big_smile
Statistics/IC Monitor: IC Monitor By HoaD/Toadies
Tools: Toadies Tools
IC-wiki: Toadies IC-wiki

64 (edited by RisingDown 16-Aug-2012 23:44:46)

Re: IC Fleet Boss (Google Chrome)

Toadies, when I try to install the vip_map_page_transformation.user.js, it just gives me a page full of code without actually installing:


//
//    Copyright (c) 2008 Mathew Schofield <[email protected]>
//
//    Description:
//        Alters the map page for VIP users.
//
//    Transformations:
//        - Adds a 'generate list' button.
//            This button creates a list of currently highlighted
//            (outlined) systems.
//        - Adds a 'change family' button.
//            This button appears when you have selected to view the
//            systems of a specific family. If you click this button,
//            you will be prompted to enter a new family number.
//
//    ================================================================
//
// ==UserScript==
// @name          VIP Map Page transformation
// @namespace     http://www.imperialconflict.com
// @description   Please see the script file for a description.
// @match http://*.imperialconflict.com/map.php?*
// @version    1.1
// ==/UserScript==
//


//
//    Generates a list of currently highlighted (outlined)
//    systems.
//
function generateList()
{
    var table    = document.getElementsByTagName("table")[0];
    var form    = document.getElementById("form");
    var html    = "<p id=poo><p><span class=title>System List</span><p><textarea cols=50 rows=7>";
    var type    = "";
    var seltype    = form.elements[3].value;
   
    if (seltype == "0") {
        type = "images/Systems/owner.jpg";
    } else if (seltype == "6") {
        type = "images/Systems/enemy.jpg";
    } else if (seltype == "1") {
        type = "images/Systems/empty.jpg";
    } else if (seltype ==  "4") {
        type = "images/Systems/friendly.jpg";
    } else {
        /* Huh? =P */
        return;
    }
   
    var tds = table.getElementsByTagName("td");
   
    for (i = 0; i < tds.length; ++i) {
        var temp = tds[i].innerHTML.toString();
       
        if (temp.indexOf(type) != -1) {
            /* <img src="images/Systems/enemy.jpg" onmousedown="w(13,25)" border="0"> */
            /* Add a system to the list... */
            html += temp.substring(temp.indexOf("onmousedown=\"w(")+15, temp.indexOf(","));
            html += ",";
            html += temp.substring(temp.indexOf(",")+1, temp.indexOf(")"));
            html += ":99 - ";
        }
    }
   
    html += "</textarea>";
    form.innerHTML = form.innerHTML + html;
}


//
//    Runs when the page is loaded. Duh.
//
function loader()
{
    var form = document.getElementById("form");
   
    if (form == null) {
        /* You do not have VIP... */
        return;
    }
   
    if (form.innerHTML.toString().indexOf("value=\"6\" select") != -1) {
        form.innerHTML = form.innerHTML + " <input type=button value=\"Select another fam\" onclick=\"showFam();\">";
    }
   
    form.innerHTML = form.innerHTML + " <input type=button id=generator value=\"Generate System List\">";
   
    if (window.addEventListener) {
        //document.getElementById("generator").addEventListener('click', generateList, true);
        document.getElementById("generator").addEventListener('click', generateList, false);
    } else {
        document.getElementById("generator").attachEvent('onclick', generateList);
    }
}


/* Attach the loader depending on our browser... */
if (window.opera) {
    loader();
} else if (window.addEventListener) {
    window.addEventListener('load', loader, true);
} else {
    window.attachEvent('onload', loader);
}

Maar doodslaan deed hij niet, want tussen droom en daad,
Staan wetten in de weg en praktische bezwaren,
En ook weemoedigheid, die niemand kan verklaren,
En die des avonds komt, wanneer men slapen gaat.

65 (edited by RisingDown 17-Aug-2012 00:10:03)

Re: IC Fleet Boss (Google Chrome)

Also, while you did add exceptions to the Map Links addon, you seemingly have not added these to the Fleet Boss addon. Due to this, I get the "Make sure you have IC Map Links installed" message when I try to access my ingame messages, and the a-button feature of Fleet Boss (where the bar on the bottom of the window pops up, in which you can input fleet numbers, as well as the ability to directly go to the attack page) does not work.


Could you please add the same exceptions to Fleet Boss as you did to IC Map Links, or at least remove the "Make sure you have IC Map Links installed" message?

Thanks in advance Toadies, you the best wink


EDIT: The Fleet page gives the same message.

Maar doodslaan deed hij niet, want tussen droom en daad,
Staan wetten in de weg en praktische bezwaren,
En ook weemoedigheid, die niemand kan verklaren,
En die des avonds komt, wanneer men slapen gaat.

Re: IC Fleet Boss (Google Chrome)

Yes I get what RD is getting aswell.

@RD, It does work, you have to bring up the links with it all turned on then once you've got the planets red for attack or green for station, then you need to turn it off again and open planet links in different TABs etc, if not then play around with turning it off and on and trying.

~*✠ ]PW[ Forever ✠*~

67 (edited by RisingDown 17-Aug-2012 01:08:53)

Re: IC Fleet Boss (Google Chrome)

yes that is what I used to do, but I find it too much trouble to turn it off/on every time I go to the fleet page to trigger a fleet...

EDIT: council page as well, due to the planet links

Maar doodslaan deed hij niet, want tussen droom en daad,
Staan wetten in de weg en praktische bezwaren,
En ook weemoedigheid, die niemand kan verklaren,
En die des avonds komt, wanneer men slapen gaat.

Re: IC Fleet Boss (Google Chrome)

yeah, it sucks lol, but is quicker than typing it in everytime hmm

~*✠ ]PW[ Forever ✠*~

Re: IC Fleet Boss (Google Chrome)

I haven`t worked on the scripts anymore after my last post.
I am not able to edit the scripts atm, next week I can give some attention to the scripts again.

Sorry for the inconvenience.

[HoaD][Toadies] luv zeh mushr|o_0|ms! big_smile
Statistics/IC Monitor: IC Monitor By HoaD/Toadies
Tools: Toadies Tools
IC-wiki: Toadies IC-wiki

Re: IC Fleet Boss (Google Chrome)

No worries mate, thank you for your time smile

~*✠ ]PW[ Forever ✠*~

71 (edited by RisingDown 17-Aug-2012 11:25:35)

Re: IC Fleet Boss (Google Chrome)

Yeah any time you put into these is awesome big_smile

Maar doodslaan deed hij niet, want tussen droom en daad,
Staan wetten in de weg en praktische bezwaren,
En ook weemoedigheid, die niemand kan verklaren,
En die des avonds komt, wanneer men slapen gaat.

72 (edited by HoaD 19-Aug-2012 19:49:08)

Re: IC Fleet Boss (Google Chrome)

Google changed the policy for userscripts since v21+, that is why you see the code nowadays when you try to install the userscripts.
See here for more info/workarounds: http://userscripts.org/topics/115329

For now I won't officially put the scripts in the Chrome Store, as I need to pay $5 first + I need to do a lot more then just upload the file.
The workarounds aren't hard.

[HoaD][Toadies] luv zeh mushr|o_0|ms! big_smile
Statistics/IC Monitor: IC Monitor By HoaD/Toadies
Tools: Toadies Tools
IC-wiki: Toadies IC-wiki

73 (edited by HoaD 20-Aug-2012 07:52:32)

Re: IC Fleet Boss (Google Chrome)

I adjusted the scripts.
The IC Map Linkifier won't do anything with the mail page, so if you want to mass attack just copy it to your log and save (or wherever).

In the fleetboss script I took out the IC Map Link error.

Don't expect the IC Map Link work on the mail page anytime, the source (of the mail page) is just to messy.
I will look into the fleet page, as the coords are atleast on one source code line (but it is way to hot outside for that now tongue).

Atleast you are all gotten rid of that nasty error popup.

[HoaD][Toadies] luv zeh mushr|o_0|ms! big_smile
Statistics/IC Monitor: IC Monitor By HoaD/Toadies
Tools: Toadies Tools
IC-wiki: Toadies IC-wiki

Re: IC Fleet Boss (Google Chrome)

Thank you, thank you, thank you wink

~*✠ ]PW[ Forever ✠*~

Re: IC Fleet Boss (Google Chrome)

I use firefox for ic boss fleet and ic map links. However, they don't work anymore because they do not show up inside Greasemonkey. ("No installed scripts run on this page.") However, if I click on "Manage user scripts" button, the scripts are there and enabled, but greasemonkey do not detect under greasemonkey icon in firefox. I think it is possible that new version of firefox don't recognize greasemonkey anymore?????

I tried to install in Chrome and I ended up getting the error. Here is the picture: http://i45.tinypic.com/dnmvxx.jpg

Errmmm, help   :-(

Proverbs 11:14 "Where there is no guidance the people fall,
But in abundance of counselors there is a victory."