Clickable Maps :: Version 3.21

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

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.
User avatar
Ocelote
Posts: 3
Joined: Fri Jun 13, 2008 11:14 am

Re: Clickable Maps :: Version 3.21

Post by Ocelote »

Yes thats right, when i want to deploy my forces at the beginning it doesn't matter what number i have selected, i always deposit one n one if i do it clicking over the map. Thx both, i hope this will be fixed.
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Re: Clickable Maps :: Version 3.21

Post by yeti_c »

Ocelote wrote:Yes thats right, when i want to deploy my forces at the beginning it doesn't matter what number i have selected, i always deposit one n one if i do it clicking over the map. Thx both, i hope this will be fixed.


Left click deploys 1 - right click deploys "many".

C.
Image
Highest score : 2297
User avatar
Bruceswar
Posts: 9713
Joined: Sun Dec 23, 2007 12:36 am
Location: Cow Pastures

Re: Clickable Maps :: Version 3.21

Post by Bruceswar »

New Oceania Map has a problem. Wallis and Futuna is broke. By Broke I mean it does not advance into or fort to. This is the same problem on British Isles 2 on a few spots. Which still has not been fixed. and yes I have cleared the cash f5'ed etc...
Highest Rank: 26 Highest Score: 3480
Image
User avatar
KLOBBER
Posts: 933
Joined: Sat Apr 14, 2007 4:57 pm
Location: ----- I have upped my rank -- NOW UP YOURS! -----
Contact:

Re: Clickable Maps :: Version 3.21

Post by KLOBBER »

I had a question, but I managed to answer it myself, so I edited it out so that you wouldn't have to bother answering it.

Just ignore this post, please.
KLOBBER's Highest Score: 3642 (General)

KLOBBER's Highest place on scoreboard: #15 (fifteen) out of 20,000+ players.

For info about winning, click here.
User avatar
karelpietertje
Posts: 801
Joined: Mon Sep 03, 2007 1:43 pm
Gender: Male
Contact:

Re: Clickable Maps :: Version 3.21

Post by karelpietertje »

couldn't the confirmations be auto-set to "N" when you download the script for the first time?
I hear a lot of people who get it for the first time and immediately delete it because of those.
Image
User avatar
clapper011
Posts: 7208
Joined: Mon Feb 20, 2006 10:25 am
Gender: Female
Location: Ontario, Canada

Re: Clickable Maps :: Version 3.21

Post by clapper011 »

i had to reinstall my firefox...and now my clickies arent working..i try to right click to deploy all...but it doesnt work..not even if i want to left click to deploy one at a time... its like my clickies are turned off..yet it is on.....not sure what i have done or not done to change the settings.....
User avatar
karelpietertje
Posts: 801
Joined: Mon Sep 03, 2007 1:43 pm
Gender: Male
Contact:

Re: Clickable Maps :: Version 3.21

Post by karelpietertje »

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:
Image
sherkaner
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Gender: Male
Location: Zwolle

Re: Clickable Maps :: Version 3.21

Post by sherkaner »

the 500 is the amount of time in milliseconds before the other part is executed (in this case, it showed a popup).
You could actually remove the 'setTimeout(500);'-part from the code, it does nothing in your code atm.
User avatar
karelpietertje
Posts: 801
Joined: Mon Sep 03, 2007 1:43 pm
Gender: Male
Contact:

Re: Clickable Maps :: Version 3.21

Post by karelpietertje »

sherkaner wrote:the 500 is the amount of time in milliseconds before the other part is executed (in this case, it showed a popup).
You could actually remove the 'setTimeout(500);'-part from the code, it does nothing in your code atm.

good, I knew that it probably wasn't the shortest way to do it anyway.
So I guess the reason it ignores a misclick now is because of the wait('off') and 'return' to before the click?
Image
nikola_milicki
Posts: 1015
Joined: Wed Apr 18, 2007 2:17 pm
Gender: Male
Location: CROATIA

Re: Clickable Maps :: Version 3.21

Post by nikola_milicki »

I hope this is the right place to post this then

so, clickies wont advance armies sometimes, must be on certain maps right? when is this going to be fixed, Im a speed 1on1 addict with a slow connection and when u add not-advancing clickies to that it really is a pain in the butt, thnx
User avatar
Theldin
Posts: 296
Joined: Wed May 14, 2008 12:32 am
Location: United States

Re: Clickable Maps :: Version 3.21

Post by Theldin »

Nobody has posted here in over 2 weeks....Is the clickable maps script still being worked on? I have tried uninstalling, clearing cache, and reinstalling several times, and can't get my clickable maps script to work at all. Love the script and appreciate everyone who has worked on it, just hope it has a future. :)
User avatar
clapper011
Posts: 7208
Joined: Mon Feb 20, 2006 10:25 am
Gender: Female
Location: Ontario, Canada

Re: Clickable Maps :: Version 3.21

Post by clapper011 »

on mine it doesnt even show that I have it..yet my grease monkey shows it.......
Darwins_Bane
Posts: 989
Joined: Tue Mar 04, 2008 7:09 pm
Gender: Male
Location: Ottawa, Ontario

Re: Clickable Maps :: Version 3.21

Post by Darwins_Bane »

clapper011 wrote:on mine it doesnt even show that I have it..yet my grease monkey shows it.......


i ahve the same problem...i dont know why. maybe it has to do with certain maps? or all of them....I'll have to experiment more.
Shino Tenshi
Posts: 166
Joined: Sat Sep 01, 2007 1:35 pm
Location: nostalgically reading the chat in game#14480932

Re: Clickable Maps :: Version 3.21

Post by Shino Tenshi »

Anyone have any idea whether the problems I'm having advancing armies with clickies in the new British Isles map a problem with clickies or a problem with the XML of the map?
User avatar
The Neon Peon
Posts: 2342
Joined: Sat Jun 14, 2008 12:49 pm
Gender: Male

Re: Clickable Maps :: Version 3.21

Post by The Neon Peon »

I have an idea, I am not sure how feasible it is though.

Have the "c" cash your cards/spoils for you.

Just thought it would be extremely useful.
Bikodog
Posts: 1
Joined: Tue Aug 11, 2009 10:36 pm

Re: Clickable Maps :: Version 3.21

Post by Bikodog »

Help
I downloaded the Mozilla and the greasemonkey, but then when I go to install the script if give me an error
any suggestions, I am a computer dummy. I followed Bob's instruction until I went under toos and there was nothing on manage.

Help

thanks

Bikodog
User avatar
paulk
Posts: 506
Joined: Thu Jun 07, 2007 1:14 am

Re: Clickable Maps :: Version 3.21

Post by paulk »

buggy script :(
I use latest FF, latest greasemonkey, latest CM script, and it's buggy on World 2.1
Last edited by paulk on Wed Sep 23, 2009 8:35 pm, edited 1 time in total.
User avatar
EckoJ
Posts: 21
Joined: Mon Feb 11, 2008 3:53 pm

Re: Clickable Maps :: Version 3.21

Post by EckoJ »

this script does not seem to be working if u have vista. worked just fine on my old xp computer, but when i got my new one with vista it just wount work what ever i do...
Anarchy.x
Posts: 7
Joined: Tue Sep 15, 2009 3:05 pm

Re: Clickable Maps :: Version 3.21

Post by Anarchy.x »

Just downloaded it all. I hope it works okay. will make my goes so much faster
Rank: Corporal
High: 1157
Low: 950

Position - score - date - played/won - percentage

12982 - 992 - 20/09/09 - 5/2 - 40%
10622 - 1038 - 21/09/09 - 7/4 - 57%
8448 - 1157 - 24/09/09 - 21/13 - 62%
User avatar
n00blet
Posts: 688
Joined: Sun Nov 18, 2007 7:09 pm

Re: Clickable Maps :: Version 3.21

Post by n00blet »

Wow. I just found out that this is the third-most-downloaded Greasemonkey script ever.

11,992,034 downloads

I am amazed. Carry on with the great work! :)
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Re: Clickable Maps :: Version 3.21

Post by yeti_c »

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.
Image
Highest score : 2297
User avatar
n00blet
Posts: 688
Joined: Sun Nov 18, 2007 7:09 pm

Re: Clickable Maps :: Version 3.21

Post by n00blet »

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
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Gender: Male
Location: Zwolle

Re: Clickable Maps :: Version 3.21

Post by sherkaner »

The reason is that you probably download the source code every time it checks for a new version (which can be quite a lot), and that counts as an install on userscripts.
User avatar
ask me2
Posts: 435
Joined: Sat Jan 17, 2009 11:50 pm
Gender: Male
Location: Texas

Re: Clickable Maps :: Version 3.21

Post by ask me2 »

does it not work on feudal or something
User avatar
ask me2
Posts: 435
Joined: Sat Jan 17, 2009 11:50 pm
Gender: Male
Location: Texas

clickies

Post by ask me2 »

my clickies arn't working does anyone know why my hot keys are though
Locked

Return to “Tool Archives”