Clickable Maps :: Version 3.21

Archival storage to keep things organized and uncluttered. Can't find what you need? Search for old topics here.

Moderators: Tech Team, Global Moderators

Forum rules
Please read the Community Guidelines before posting.

Re: Clickable Maps :: Version 3.21

Postby yeti_c on Wed Oct 28, 2009 3:27 am

n00blet wrote:
yeti_c wrote:Those stats aren't accurate...

Read the code to find out why... but it was the reason why I got banned from userscripts for BOB!

C.
I dont see it...but it just got another 11,000 downloads since last night :?

Haha what did you do??


Sherkaner is right - Edthemaster coded the script so it downloads itself to see if it has the latest version...

Every time someone plays a game it gets another "install"...

I thought this was a great idea and I robbed it for BOB... but BOB was much more widely used... and within a weekend it was number 1 and I'd cained their bandwidth (BOB is a much bigger script too)

I got banned (although they don't realise that they've left a backdoor into their site - which I could still update my scripts with) and they didn't accept my apologies!

So I changed my mechanism to just download a simple text file with a number in - which is less bandwidth - but userscripts only accept .js files - so I had to host that elsewhere...

I beleive the old mechanism is still in place - but is hosted by Sherkaner instead now.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9670
Joined: Thu Jan 04, 2007 9:02 am
Medals: 46
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Cross-Map Achievement (3) Ratings Achievement (3)
General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Re: Clickable Maps :: Version 3.21

Postby ask me2 on Wed Oct 28, 2009 9:22 am

my clickies are not working at all
User avatar
Major ask me2
 
Posts: 435
Joined: Sat Jan 17, 2009 11:50 pm
Location: USA
Medals: 43
Standard Achievement (4) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (3) Freestyle Achievement (3) Nuclear Spoils Achievement (1) Fog of War Achievement (3)
Trench Warfare Achievement (1) Speed Achievement (3) Teammate Achievement (2) Cross-Map Achievement (2) Ratings Achievement (3)
General Achievement (3) Clan Achievement (1) Tournament Contribution (4)

Re: Clickable Maps :: Version 3.21

Postby ronc8649 on Fri Oct 30, 2009 12:36 pm

my clickies just stopped working???????????????
Image
User avatar
Sergeant 1st Class ronc8649
 
Posts: 2031
Joined: Mon Apr 09, 2007 8:30 pm
Location: by the trout pond
Medals: 57
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (4) Quadruples Achievement (4) Terminator Achievement (3)
Assassin Achievement (3) Manual Troops Achievement (4) Freestyle Achievement (4) Nuclear Spoils Achievement (3) Fog of War Achievement (4)
Speed Achievement (4) Teammate Achievement (3) Cross-Map Achievement (3) Ratings Achievement (3) Tournament Achievement (4)
General Achievement (1) Tournament Contribution (3)

Re: Clickable Maps :: Version 3.21

Postby darkangelsguy205 on Tue Nov 03, 2009 6:57 pm

6453 people have downloded clickable maps
User avatar
Sergeant darkangelsguy205
 
Posts: 606
Joined: Tue Mar 10, 2009 5:10 pm
Medals: 16
Standard Achievement (2) Doubles Achievement (1) Assassin Achievement (1) Manual Troops Achievement (1) Freestyle Achievement (2)
Fog of War Achievement (2) Speed Achievement (1) Ratings Achievement (1) General Achievement (1) Tournament Contribution (4)

Re: Clickable Maps :: Version 3.21

Postby Scott-Land on Sun Nov 08, 2009 2:22 pm

Does anyone know why CM doesnt work without BoB? I've tried to turn off bob to eliminate the lag factor but turning off Bob turns off CM as well.
User avatar
Major Scott-Land
 
Posts: 2420
Joined: Tue Jan 23, 2007 9:37 pm
Medals: 43
Conqueror Achievement (1) Standard Achievement (4) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (2)
Terminator Achievement (2) Assassin Achievement (2) Manual Troops Achievement (1) Freestyle Achievement (4) Fog of War Achievement (2)
Speed Achievement (4) Teammate Achievement (2) Cross-Map Achievement (3) Ratings Achievement (3) Tournament Achievement (1)
General Achievement (1) Clan Achievement (2) Map Contribution (1) Tournament Contribution (1) General Contribution (1)

Re: Clickable Maps :: Version 3.21

Postby the.killing.44 on Sun Nov 08, 2009 2:25 pm

Uh…no. But you have to be in a game to see it on the left sidebar.
User avatar
Major the.killing.44
 
Posts: 4737
Joined: Thu Oct 23, 2008 7:43 pm
Location: now tell me what got two gums and knows how to spit rhymes
Medals: 47
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (1)
Assassin Achievement (2) Manual Troops Achievement (2) Freestyle Achievement (3) Nuclear Spoils Achievement (1) Fog of War Achievement (2)
Speed Achievement (3) Cross-Map Achievement (3) Ratings Achievement (3) Tournament Achievement (3) General Achievement (3)
Clan Achievement (3) Map Contribution (2) Tournament Contribution (2) General Contribution (4)

Re: Clickable Maps :: Version 3.21

Postby jammyjames on Sun Nov 08, 2009 2:39 pm

karelpietertje wrote:Hello everybody,

I tried some stuff and failed some times but in the end, it was pretty easy to get rid of the error messages when misclicking, which irritated me.
So for anybody who wants to get rid of them as well, here's how to do it:

So right-click the monkey in the bottom right, and Manage User Scripts.
Select Clickable Maps and click Modify.

The error message system is in line 923 and 924:
Code: Select all
try{selectToCountry.value   = tIndex}catch(err){}
if ( selectToCountry.value != tIndex ) { wait('off'); setTimeout(function(){alert(tName+' is not accessible from '+fromTerritory)}, 500); return }

As far as I could understand it, this tries out if the territory you click is in the list of territories that connect to the territory from which you are attacking, and if it isn't, it pops up an error message and it sets a timeout of 500 (seconds i think, but I'm noob at this :lol:)

So basically what I did was I deleted the error message part and kept the timeout.
It looks like this:
Code: Select all
try{selectToCountry.value   = tIndex}catch(err){}
if ( selectToCountry.value != tIndex ) { wait('off'); setTimeout(500); return }

This way the script will just ignore a click to make an impossible attack, and you can just click the territory you actually meant to click next.

The forting goes the same way. You should alter lines 957 and 958 from this:
Code: Select all
try{selectToCountry.value   = tIndex}catch(err){}
if ( selectToCountry.value != tIndex ) { wait('off'); setTimeout(function(){alert(tName+' is not accessible from '+fromTerritory)}, 500); return }

To this:
Code: Select all
try{selectToCountry.value   = tIndex}catch(err){}
if ( selectToCountry.value != tIndex ) { wait('off'); setTimeout(500); return }


This worked for me :D!

NOTE:The script is very sensitive to deleting too much or too little. While trying to make it like this, I had to delete and reinstall thrice.
So if it doesn't work for you anymore, just delete the script and reinstall it again.

Have fun :)
KP


PS: If this script ever gets updated I hope that there will be the possibility of selecting if you want the error messages or not, but that is way too difficult for me to code myself, I'm a noob :lol:



KP some help with this. im struggling to locate the oeice of coding...
Image
Sergeant jammyjames
 
Posts: 1362
Joined: Tue May 06, 2008 3:17 am
Medals: 52
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (3) Manual Troops Achievement (3) Freestyle Achievement (4) Polymorphic Achievement (1) Nuclear Spoils Achievement (2)
Fog of War Achievement (4) Trench Warfare Achievement (1) Speed Achievement (3) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (3) Ratings Achievement (4) Tournament Achievement (2) General Achievement (1) Clan Achievement (4)

Re: Clickable Maps :: Version 3.21

Postby ender516 on Thu Nov 12, 2009 1:46 pm

For everyone who is having trouble with territories with an "&" in the name (like on British Isles 2 and Oceania), I have posted a bit of an analysis here. I intend to locate all the existing problem XML soon and will then post one or more bug reports accordingly.

EDIT:
BREAKING NEWS: My earlier analysis was flawed. See here for details. Suffice it to say, the XML is fine, so Clickable Maps needs to be more careful about handling text with an ampersand in it.
User avatar
Sergeant 1st Class ender516
 
Posts: 4452
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario
Medals: 37
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Teammate Achievement (1) Cross-Map Achievement (1) Ratings Achievement (3) General Achievement (9)
Map Contribution (5) General Contribution (11)

Re: Clickable Maps :: Version 3.21

Postby Grifter on Sun Nov 22, 2009 7:44 pm

I have a problem with the Clickable maps add-on. When I right click to deploy or advance troops the browser context menu appears. It never did this before. I am using Firefox 3.5.5 on Windows Vista. I have version 3.29 for the add-on.

I love this add-on along with the BOB one. Makes the site so much easier to use.
User avatar
Lieutenant Grifter
 
Posts: 224
Joined: Mon Jul 14, 2008 7:49 pm
Location: Ontario, Canada
Medals: 7
Standard Achievement (1) Doubles Achievement (1) Manual Troops Achievement (1) Ratings Achievement (1) General Achievement (2)
Training Achievement (1)

Re: Clickable Maps :: Version 3.21

Postby sherkaner on Mon Nov 23, 2009 5:01 pm

Hmm, is it possible to include the images in the outer-map in stead of in the map-cell? That would make more sense, outer-map is relative so position won't depend on whether it is a tournament any more (I made that change for BOB, seems to work).
And then it's possible to put the chat above the map in BOB too without having to mess with the CM-script.
Colonel sherkaner
 
Posts: 1606
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle
Medals: 42
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (3) Clan Achievement (3)
General Contribution (11)

Re: Clickable Maps :: Version 3.21

Postby Army of GOD on Sun Nov 29, 2009 8:30 pm

This seems rather interesting. Guess I'm going to have to wait for one of my 4 effings games to have it be my turn until I can use it!
penis
User avatar
Cook Army of GOD
 
Posts: 5656
Joined: Tue Feb 24, 2009 4:30 pm
Location: Over the river and through the woods
Medals: 26
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (2) Terminator Achievement (1)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Speed Achievement (2)
Teammate Achievement (1) Cross-Map Achievement (1) Ratings Achievement (1) Tournament Achievement (1) General Achievement (2)
Clan Achievement (2) Tournament Contribution (1) General Contribution (1)

Re: Clickable Maps :: Version 3.21

Postby Army of GOD on Mon Nov 30, 2009 7:03 pm

Ok, can someone like help me to use this? I have no idea how to get it to work...
penis
User avatar
Cook Army of GOD
 
Posts: 5656
Joined: Tue Feb 24, 2009 4:30 pm
Location: Over the river and through the woods
Medals: 26
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (2) Terminator Achievement (1)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Speed Achievement (2)
Teammate Achievement (1) Cross-Map Achievement (1) Ratings Achievement (1) Tournament Achievement (1) General Achievement (2)
Clan Achievement (2) Tournament Contribution (1) General Contribution (1)

Re: Clickable Maps :: Version 3.21

Postby jleonnn on Mon Dec 14, 2009 7:29 am

no idea why, but mine doesn't seem to work anymore. The only thing that works is the "b" hotkey and the "r" one. When i click on the screen, it refreshes, even the "e" doesn't work anymore!
User avatar
Major jleonnn
 
Posts: 1787
Joined: Tue Jan 06, 2009 5:11 am
Location: The communist republic of Aoria
Medals: 51
Standard Achievement (4) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (4) Freestyle Achievement (4) Nuclear Spoils Achievement (3) Fog of War Achievement (4)
Speed Achievement (4) Teammate Achievement (1) Cross-Map Achievement (3) Ratings Achievement (3) General Achievement (1)
Training Achievement (1) Tournament Contribution (10) General Contribution (1)

Re: Clickable Maps :: Version 3.21

Postby jleonnn on Mon Dec 14, 2009 8:31 am

nvm... i got the v3.21 :oops:
User avatar
Major jleonnn
 
Posts: 1787
Joined: Tue Jan 06, 2009 5:11 am
Location: The communist republic of Aoria
Medals: 51
Standard Achievement (4) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (1) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (4) Freestyle Achievement (4) Nuclear Spoils Achievement (3) Fog of War Achievement (4)
Speed Achievement (4) Teammate Achievement (1) Cross-Map Achievement (3) Ratings Achievement (3) General Achievement (1)
Training Achievement (1) Tournament Contribution (10) General Contribution (1)

Re: Clickable Maps :: Version 3.21

Postby sherkaner on Fri Dec 18, 2009 3:36 pm

Ok, lack is gonna change something that will break this script (the fix is easy btw). And I wanted to make it fully compatible with BOB again (chat on top working directly would be nice :p). So I now have a slightly altered version that works.

But I have one question: should those circles be exactly around the numbers, or should they be slightly off? I've never seen them perfectly around the numbers actually, but it seems logical.
Colonel sherkaner
 
Posts: 1606
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle
Medals: 42
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (3) Clan Achievement (3)
General Contribution (11)

Re: Clickable Maps :: Version 3.21

Postby yeti_c on Sat Dec 19, 2009 3:06 am

sherkaner wrote:Ok, lack is gonna change something that will break this script (the fix is easy btw). And I wanted to make it fully compatible with BOB again (chat on top working directly would be nice :p). So I now have a slightly altered version that works.

But I have one question: should those circles be exactly around the numbers, or should they be slightly off? I've never seen them perfectly around the numbers actually, but it seems logical.


I think they're meant to be round the numbers...

Good luck taking this forward Sherkaner - I suggest you ask one of the Mods to reassign this topic to you - so that you can change the first post.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9670
Joined: Thu Jan 04, 2007 9:02 am
Medals: 46
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Cross-Map Achievement (3) Ratings Achievement (3)
General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Re: Clickable Maps :: Version 3.21

Postby sherkaner on Sat Dec 19, 2009 5:19 am

Ok, I've created a version 3.30 for now, location: http://userscripts.org/scripts/source/64539.user.js

If someone would like to test it out, go ahead. It should still work after the update.
Colonel sherkaner
 
Posts: 1606
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle
Medals: 42
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (3) Clan Achievement (3)
General Contribution (11)

Re: Clickable Maps :: Version 3.21

Postby chipv on Sat Dec 19, 2009 8:08 am

sherkaner wrote:Ok, I've created a version 3.30 for now, location: http://userscripts.org/scripts/source/64539.user.js

If someone would like to test it out, go ahead. It should still work after the update.


Excellent work and thanks for taking this on, sherkaner.

Can you start a new thread please and I'll lock this one.

Thanks
User avatar
Colonel chipv
 
Posts: 2756
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

Re: Clickable Maps :: Version 3.21

Postby chipv on Tue Dec 22, 2009 2:20 pm

Thread locked.

Please use this thread from now for latest Clickable Maps information

viewtopic.php?f=59&t=104488
Last edited by Calidrmr on Tue Aug 16, 2011 11:37 am, edited 1 time in total.
Reason: moved the thread to archives
User avatar
Colonel chipv
 
Posts: 2756
Joined: Mon Apr 28, 2008 5:30 pm
Medals: 44
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (2) Tournament Achievement (5) General Achievement (2) Clan Achievement (5) Map Contribution (1)
General Contribution (10)

Previous

Return to Tool Archives

Who is online

Users browsing this forum: No registered users

Login