Script: Team PM - Version 1.0.1

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.
ThrushAAX
Posts: 161
Joined: Wed Aug 12, 2009 1:07 am

Script: Team PM - Version 1.0.1

Post by ThrushAAX »

Greasemonkey script which adds a button in team games to private message entire team. Automatically adds game number to PM message and subject.

Where do I get it?
Install the userscript from here: http://tools.conquerclub.com/teampm/
Should work on all browsers supporting Tampermonkey

Changes in version 1.0.1: by [player]judge_reinhold[/player]
now gets tournament names properly


[spoiler=Version History]
Changes in version 1.0.0: by [player]dgz345[/player]
fixed so its working long ago. just forgot write this

Changes in version 0.5:
  • Uses CC API to get game info.
  • Shows map name instead of game number in PM subject.
  • Shows game type OR tournament name in PM subject.


Changes in version 0.4:
  • Added https support.
  • jQuery is now included in the script.
  • Script now works in Chrome.
Special thanks to dwilhelmi for chrome support


Changes in version 0.3:
  • You are no longer included in the send to list.


Changes in version 0.2:
  • Should no longer interfere with any other forms.
[/spoiler]
Last edited by dgz345 on Fri Jul 27, 2018 1:39 pm, edited 16 times in total.
Reason: updated first page
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: CC Private Message Team 0.3

Post by ender516 »

Very nice. I hope to study the source to see what is worth stealing improvements I can suggest. :D
Nicky15
Posts: 923
Joined: Tue Oct 23, 2007 6:15 pm
Location: England

Re: CC Private Message Team 0.3

Post by Nicky15 »

Thats awesome, thanks :)
Hook2
Posts: 90
Joined: Sun Jan 24, 2010 1:30 am

Re: CC Private Message Team 0.3

Post by Hook2 »

ThrushAAX wrote:Greasemonkey script which adds a button in team games to private message entire team. Automatically adds game number to PM message and subject.

Download from http://userscripts.org/scripts/show/120340

Only really tested in FF 8.0. It may have issues in the FF 3.x versions.

Changes in version 0.3:
  • You are no longer included in the send to list.


Changes in version 0.2:
  • Should no longer interfere with any other forms.



Thank you for making my idea come to life. It is awesome. My clan is enjoying it. What a time saver. Wish I had those skills.
Image
User avatar
macbone
Posts: 6217
Joined: Wed Jun 03, 2009 7:12 pm
Gender: Male
Location: Running from a cliff racer
Contact:

Re: CC Private Message Team 0.3

Post by macbone »

Brilliant!
User avatar
L M S
SoC Training Adviser
Posts: 2103
Joined: Fri Dec 01, 2006 5:00 pm
Gender: Male
Location: Denver, Colorado USA

Re: CC Private Message Team 0.3

Post by L M S »

Even though this will only further perpetrate [player]Deli[/player]'s crazy pm obsession, nice work, great add-on!
“One of God's own prototypes.....never even considered for mass production.
Too weird to live, and too rare to die.”
User avatar
mcshanester29
Posts: 8662
Joined: Tue Sep 07, 2010 3:09 pm
Gender: Male
Location: ID, USA

Re: CC Private Message Team 0.3

Post by mcshanester29 »

Thanks for doing this tool, this is a great add-on!!!
show

I am away from CC for a long break! John 3:16-17
User avatar
ckyrias
Posts: 1177
Joined: Mon Sep 06, 2010 3:27 pm
Gender: Male

Re: CC Private Message Team 0.3

Post by ckyrias »

thanks a lot for this great script!
Image

Image
User avatar
Deli
SoC Training Adviser
Posts: 281
Joined: Wed Mar 04, 2009 6:13 am
Gender: Male
Location: Wirral, England

Re: CC Private Message Team 0.3

Post by Deli »

L M S wrote:Even though this will only further perpetrate [player]Deli[/player]'s crazy pm obsession, nice work, great add-on!


:oops:

Great tool.

(Make your own minds up about whether I mean CCPM or LMS! ) ;)

Although since install, BOB has gone a bit crazy! Hopefully not linked.
Favourite Game 6093298
ThrushAAX
Posts: 161
Joined: Wed Aug 12, 2009 1:07 am

Re: CC Private Message Team 0.3

Post by ThrushAAX »

Deli wrote:Although since install, BOB has gone a bit crazy! Hopefully not linked.


What is going on with BOB? I did have to fix some conflicts BOB, so any more issues; while surprising; would not actually be that surprising.

I'm glad that you all like it, let me know if you would like anything new or changed. Although I don't have an auto update thing so not sure how anyone would update it...
User avatar
Victor Sullivan
Posts: 6010
Joined: Mon Feb 08, 2010 8:17 pm
Gender: Male
Location: Columbus, OH
Contact:

Re: CC Private Message Team 0.3

Post by Victor Sullivan »

How come this is only three-tenths of a tool? I think it's at least half of one.... :P :mrgreen:

-Sully
[player]Beckytheblondie[/player]: "Don't give us the dispatch, give us a mustache ride."

Scaling back on my CC involvement...
User avatar
Deli
SoC Training Adviser
Posts: 281
Joined: Wed Mar 04, 2009 6:13 am
Gender: Male
Location: Wirral, England

Re: CC Private Message Team 0.3

Post by Deli »

ThrushAAX wrote:
Deli wrote:Although since install, BOB has gone a bit crazy! Hopefully not linked.


What is going on with BOB? I did have to fix some conflicts BOB, so any more issues; while surprising; would not actually be that surprising.

I'm glad that you all like it, let me know if you would like anything new or changed. Although I don't have an auto update thing so not sure how anyone would update it...


Problems that I've only noticed since downloading this add on:

BOB not colour coding or telling me number of troops on the drop down box for each region on deployment.

Once deployed, not taking into account the number of troops deployed for what is available on a particular tert. (Eg, deploy 3 on Sydney, already 3 on it, so have 6, as per BOB it would still be 3)

If you take a region, BOB thinks that you only have 1 troop to attack with.

Then on forts, it is a similar confusing time.

Also it isn't updating the game box, to take into account bonuses etc, again if changed during the turn.

All quite odd. Could be completely unrelated though.
Favourite Game 6093298
User avatar
Calidrmr
Posts: 643
Joined: Wed Sep 12, 2007 5:00 pm
Location: the corner bar...
Contact:

Re: CC Private Message Team 0.3

Post by Calidrmr »

this is awesome!! Thanks!
Image
<Juan_Bottom>You're like the Barry Bonds of drinking. You don't need the practice you just do it because you like it.
User avatar
Ickyketseddie
Posts: 695
Joined: Sat Mar 27, 2010 5:00 pm
Gender: Male
Location: Midlands UK

Re: CC Private Message Team 0.3

Post by Ickyketseddie »

Maybe i'm being stupid and can't see the button but it doesn't seem to work for me? It appears fine in the manage script greasemonkey menu, but not in the pull down menu (next to the monkeys head top right).

Any ideas?
Image
sherkaner
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Gender: Male
Location: Zwolle

Re: CC Private Message Team 0.3

Post by sherkaner »

Ickyketseddie wrote:Maybe i'm being stupid and can't see the button but it doesn't seem to work for me? It appears fine in the manage script greasemonkey menu, but not in the pull down menu (next to the monkeys head top right).

Any ideas?


Hmm, it should only show up there if the URL matches 'http://www.conquerclub.com/game.php?game=*', so are you on a game page and not using https?
User avatar
Ickyketseddie
Posts: 695
Joined: Sat Mar 27, 2010 5:00 pm
Gender: Male
Location: Midlands UK

Re: CC Private Message Team 0.3

Post by Ickyketseddie »

Hmm interesting. Not on https no.. i was trying a couple on new scripts from here and also had the watch game script. But since that puts way too much stuff everywhere i just switched it off and presto i have the pm teammates button! :D

Thanks for a quick reply anyhow!
Image
User avatar
Fewnix
Posts: 1245
Joined: Sat Apr 25, 2009 2:15 am
Gender: Male
Contact:

Re: CC Private Message Team 0.3

Post by Fewnix »

Love this tool. Thank you very much. =D> =D> =D>


One way I and a number of us in the UserGroup Whom or What use it is to post our planned moves in Team Chat, then copy and paste into Team PM, hit send, Voila!! The team mates get the PM with the planned move so they can think about it, can quickly go to the game and there in the chat is the planned move, with the map, all for easy reference. Put your input into team chat or hit reply on the Team PM with a response, Voila!.the team is communicating, having fun. learning and bonding and winning.

I suspect this will become the required standard for team games, and take them to a new level. Thank you again.
Rule 1
show
ThrushAAX
Posts: 161
Joined: Wed Aug 12, 2009 1:07 am

Re: CC Private Message Team 0.4

Post by ThrushAAX »

Glad everyone likes this and that it's useful!

I just updated the script now. I don't have an auto update system so please go to the userscripts page to install again. From my own testing it appears to work fine in Chrome but I would appreciate more testing of that.

It's now up on github but that url may change eventually, not sure of the best collaborative workflow yet.

Thanks!
User avatar
Dukasaur
Community Team
Community Team
Posts: 28214
Joined: Sat Nov 20, 2010 4:49 pm
Location: Beautiful Niagara

Re: CC Private Message Team 0.4

Post by Dukasaur »

Yeah, doesn't seem to work in FF 3..:(
“‎Life is a shipwreck, but we must not forget to sing in the lifeboats.”
― Voltaire
chapcrap
Posts: 9686
Joined: Sun Feb 03, 2008 12:46 am
Gender: Male
Location: Kansas City

Re: CC Private Message Team 0.4

Post by chapcrap »

So, I have this script and it hasn't been working most of the time and I was trying to figure out why. I just realized why.

I use https always unless I get accidentlly redirected to http.

Is there a way to make the script work on both for me? Is this a problem with other scripts?
ThrushAAX
Posts: 161
Joined: Wed Aug 12, 2009 1:07 am

Re: CC Private Message Team 0.4

Post by ThrushAAX »

chapcrap wrote:So, I have this script and it hasn't been working most of the time and I was trying to figure out why. I just realized why.

I use https always unless I get accidentlly redirected to http.

Is there a way to make the script work on both for me? Is this a problem with other scripts?


Try removing then reinstalling it. I added https support in the last version.
sherkaner
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Gender: Male
Location: Zwolle

Re: CC Private Message Team 0.4

Post by sherkaner »

Actually, just reinstalling should work fine, greasemonkey/chrome should pick up the changes automatically.
chapcrap
Posts: 9686
Joined: Sun Feb 03, 2008 12:46 am
Gender: Male
Location: Kansas City

Re: CC Private Message Team 0.4

Post by chapcrap »

Thanks. It does work now.
User avatar
Swimmerdude99
Posts: 2581
Joined: Mon Aug 09, 2010 6:07 pm
Gender: Male
Location: North Carolina

Re: CC Private Message Team 0.4

Post by Swimmerdude99 »

Mine doesn't work on Chrome :( is that changed in this version?
Image
ThrushAAX
Posts: 161
Joined: Wed Aug 12, 2009 1:07 am

Re: CC Private Message Team 0.4

Post by ThrushAAX »

swimmerdude99 wrote:Mine doesn't work on Chrome :( is that changed in this version?


Yes, version 0.4 should work in Chrome. You can check that it is enabled and installed by going to chrome://settings/extensions
Post Reply

Return to “Tool Archives”