User scripts/programs to make your CC addiction easier

Talk about all things related to Conquer Club

Moderators: Global Moderators, Discussions Team

Forum rules
Please read the community guidelines before posting.

User scripts/programs to make your CC addiction easier

Postby Twill on Sun Jul 02, 2006 1:08 am

A couple of users have posted scripts which exist to make everyone's CC lives easier. I would like to thank them very much, we love your sexy coding skills guys!!!
This is my Homage to you.

The infamous "greasemonky" script (beta .5 codename "band-aid") by Tr0Y
http://www.conquerclub.com/forum/viewtopic.php?t=6672
(a must have)

The game listing sorter by Tr0Y
http://www.conquerclub.com/forum/viewtopic.php?t=2364

The "Notifier" by kevinc
http://www.conquerclub.com/forum/viewtopic.php?t=2017
(a very usefull tool to let you know exactly when you can feed your addiction)

Have a great day, may your conquering be conkie.
Twill
Last edited by Twill on Wed Sep 20, 2006 7:11 am, edited 1 time in total.
User avatar
Corporal 1st Class Twill
Retired Administrator
 
Posts: 3694
Joined: Fri Jan 20, 2006 10:54 pm
Medals: 11
Standard Achievement (3) Freestyle Achievement (2) Fog of War Achievement (1) Speed Achievement (1) Random Map Achievement (1)
Cross-Map Achievement (1) General Achievement (1) General Contribution (1)

Sticky Notes FireFox Extension - good for remembering strats

Postby Tr0y on Wed Jul 26, 2006 2:15 am

https://addons.mozilla.org/firefox/2011/
Internote 2.0.5, by Tim Horton, released on Jun 22, 2006

Persistent sticky notes for Firefox. Internote allows you to create notes on a web page which will be there once you return. Notes are very customizable, and come with many small, useful features. A manager is available, in which you can see all of your saved notes, edit them, print them, and delete them.


I got it for web development, however I found it handy for remembering what I wanted to do next turn. I've had it for a while, and figured I'd share.

Maybe Lack can use it for a more in your face todo. :wink:
User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC
Medals: 1
General Contribution (1)

Put your game listing on Google Homepage

Postby Tr0y on Sat Jul 29, 2006 12:13 pm

Put your game listing on Google Homepage

More info found here.
http://www.conquerclub.com/forum/viewtopic.php?t=4078
User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC
Medals: 1
General Contribution (1)

Auto Login Greasemonkey Script

Postby Tr0y on Sat Aug 05, 2006 6:28 am

http://labs.beffa.org/greasemonkey/AutoLogin.user.js
found on http://labs.beffa.org/greasemonkey/

Description:
Auto-Login on forms where you have saved the password in firefox.

NOTE:
You may want to change the included pages to
http://*conquerclub.com*
instead of all http://* and https://*
User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC
Medals: 1
General Contribution (1)

So it doesn't get lost on page 8...

Postby Rob Roy on Wed Aug 16, 2006 9:37 pm

I took Tr0y's game sorter greasemonkey script and made some modifications to it.

This new script allows you to filter out game settings that you don't like right on the "Join Game" screen, so that you only see the game types that you like.

http://www.ualberta.ca/~andrewl/ccgamel ... er.user.js

Disclaimer: I've only tested this on Firefox 1.5 for Mac, so if you try it on something else and it doesn't work, let me know and I will do my best to fix it.

Disclaimer 2: This is my first ever attempt at a greasemonkey script. JS is not my language of choice, if anyone wants to take a stab at optimizing it (*cough*Tr0y*cough*), go for it :D

--Rob
User avatar
Corporal Rob Roy
 
Posts: 3
Joined: Sun Jul 16, 2006 10:48 am
Location: Edmonton, Canada

Postby dussle on Sat Aug 19, 2006 3:29 pm

Here's something rather useful I found at the dead Lord of the Rings Risk website that has become Ham's playground and mine.

http://drpetrov.com/games/shuffler.zip
The above is a shuffler program that is in a zipped file. It'll be useful for tourney organizers, as long as everyone is numbered somehow, which would beeasy if you did it by signups. Just run the second file called shuffler, to do it put in the number of players and the output will be the order they're in.
User avatar
Sergeant dussle
 
Posts: 904
Joined: Fri Jun 09, 2006 4:00 pm
Location: Indiana, USA
Medals: 5
Standard Achievement (2) Doubles Achievement (1) Terminator Achievement (1) Freestyle Achievement (1)

Postby Ishiro on Wed Sep 13, 2006 1:24 pm

I was bored today and made a script to add confirmation dialogs to the End Attacks and End Fortification buttons.

http://www.probablynot.com/greasemonkey ... ds.user.js
User avatar
Corporal 1st Class Ishiro
 
Posts: 324
Joined: Mon Jul 17, 2006 5:53 pm
Location: Under the Rainbow
Medals: 10
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Terminator Achievement (1) Assassin Achievement (1)
Cross-Map Achievement (1) Ratings Achievement (1) General Contribution (2)

Postby kc-jake on Wed Sep 13, 2006 5:57 pm

Ishiro wrote:I was bored today and made a script to add confirmation dialogs to the End Attacks and End Fortification buttons.

http://www.probablynot.com/greasemonkey ... ds.user.js

My hero.
I was a major back when 1600 was major. Now that I'm back, I get to easily win a bunch of games to get my rank. Thank the 'tards here who suck at this game.
imhot4jesus wrote:Literacy never hurt anybody.

Highest Rank: #154 (Oct 05 '06)
Highest Score: 1725 (Jul 18 '08)
User avatar
Sergeant 1st Class kc-jake
 
Posts: 149
Joined: Mon Sep 04, 2006 4:29 pm
Medals: 4
Standard Achievement (2) Freestyle Achievement (1) Tournament Achievement (1)

Postby reverend_kyle on Wed Sep 13, 2006 7:04 pm

kc-jake wrote:
Ishiro wrote:I was bored today and made a script to add confirmation dialogs to the End Attacks and End Fortification buttons.

http://www.probablynot.com/greasemonkey ... ds.user.js

My hero.


mine too.. now lack doesnt have to cave in and do it.
DANCING MUSTARD FOR POOP IN '08!
User avatar
Sergeant reverend_kyle
 
Posts: 9268
Joined: Tue Mar 21, 2006 4:08 pm
Location: 1000 post club
Medals: 13
Standard Achievement (2) Doubles Achievement (3) Triples Achievement (2) Freestyle Achievement (1) Teammate Achievement (2)
Cross-Map Achievement (1) Map Contribution (1) Tournament Contribution (1)

Postby horizon on Fri Sep 15, 2006 11:38 pm

Ishiro wrote:I was bored today and made a script to add confirmation dialogs to the End Attacks and End Fortification buttons.

http://www.probablynot.com/greasemonkey ... ds.user.js


Way cool!! Is a confirmation dialog possible for deployment? Just a few minutes ago I dumped 13 armies on the wrong country.
User avatar
Major horizon
 
Posts: 53
Joined: Tue Sep 05, 2006 7:47 pm
Location: Great State of Texas
Medals: 4
Standard Achievement (1) Doubles Achievement (1) Terminator Achievement (1) Tournament Achievement (1)

Postby Ishiro on Sat Sep 16, 2006 4:29 am

Confirmation is possible for any button, just right click the link, choose "Save Link as..." save it on your computer, open it with notepad (or any text editor). The code for each button is exactly the same, so just make a copy of one and modify the name of the button it is looking for:

Code: Select all
      if (inputs[a].value == "Fortify")
      {
         inputs[a].setAttribute("onclick", "javascript:return confirm('Are you sure?');" );
      }


This would add confirmation to the Fortify... make one that looks for "Attack" to put a confirm on attack, "Deploy" (?) for deployment. Save it, then open the file with Firefox. Greasemonkey should ask if you want to install it.

Done.

Go crazy and put confirmations for any button you want... though I suggest not putting confirmation on the Login button. :)
User avatar
Corporal 1st Class Ishiro
 
Posts: 324
Joined: Mon Jul 17, 2006 5:53 pm
Location: Under the Rainbow
Medals: 10
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Terminator Achievement (1) Assassin Achievement (1)
Cross-Map Achievement (1) Ratings Achievement (1) General Contribution (2)

Postby matteo11 on Tue Sep 19, 2006 5:03 pm

How much of a pages DOM do you need to know to make non-trivial greasemonkey scripts?
Private 1st Class matteo11
 
Posts: 27
Joined: Fri Sep 01, 2006 7:16 pm

Postby resitnecdan on Wed Sep 20, 2006 2:37 am

What happened with all those things the greasemonkey offered? Most of them are gone after the update of the site. Like the statistics in-game and seeing who's turn it is out of game.
Proud member of The Imperial Dragoons

Highest place 30
Highest score: 2136
Most points in a game: 121
User avatar
Lieutenant resitnecdan
 
Posts: 339
Joined: Mon Mar 27, 2006 1:23 pm
Location: Timisoara
Medals: 8
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Terminator Achievement (1) Freestyle Achievement (2)
Cross-Map Achievement (1)

Postby Tr0y on Wed Sep 20, 2006 4:43 am

User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC
Medals: 1
General Contribution (1)

Postby eddymush on Wed Sep 20, 2006 5:21 am

troy i just tried and it stillo does not show all the cool stuff like how many armies etc.....
Image
User avatar
Corporal 1st Class eddymush
 
Posts: 127
Joined: Mon Apr 24, 2006 9:58 am
Location: columbus, ohio
Medals: 34
Standard Achievement (4) Doubles Achievement (4) Triples Achievement (3) Quadruples Achievement (2) Terminator Achievement (2)
Manual Troops Achievement (3) Freestyle Achievement (3) Nuclear Spoils Achievement (1) Trench Warfare Achievement (1) Speed Achievement (3)
Teammate Achievement (2) Cross-Map Achievement (2) Ratings Achievement (3) Tournament Achievement (1)

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

Login