Conquer Club

Script: Team PM - Version 1.0.1

The home of third-party tools and utilities that can enhance your Conquer Club experience.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.

Re: CC Private Message Team 0.3

Postby Ickyketseddie on Wed Jan 04, 2012 9:32 am

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
Captain Ickyketseddie
 
Posts: 695
Joined: Sat Mar 27, 2010 5:00 pm
Location: Midlands UK

Re: CC Private Message Team 0.3

Postby Fewnix on Fri Jan 06, 2012 3:00 am

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
User avatar
Private Fewnix
 
Posts: 1245
Joined: Sat Apr 25, 2009 2:15 am
2

Re: CC Private Message Team 0.4

Postby ThrushAAX on Tue Jan 24, 2012 12:09 am

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

Re: CC Private Message Team 0.4

Postby Dukasaur on Tue Jan 24, 2012 1:34 pm

Yeah, doesn't seem to work in FF 3..:(
ā€œā€ŽLife is a shipwreck, but we must not forget to sing in the lifeboats.ā€
ā€• Voltaire
User avatar
Lieutenant Dukasaur
Community Coordinator
Community Coordinator
 
Posts: 27033
Joined: Sat Nov 20, 2010 4:49 pm
Location: Beautiful Niagara
32

Re: CC Private Message Team 0.4

Postby chapcrap on Thu Feb 02, 2012 11:39 pm

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?
Lieutenant chapcrap
 
Posts: 9686
Joined: Sun Feb 03, 2008 12:46 am
Location: Kansas City

Re: CC Private Message Team 0.4

Postby ThrushAAX on Fri Feb 03, 2012 8:38 am

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

Re: CC Private Message Team 0.4

Postby sherkaner on Fri Feb 03, 2012 9:52 am

Actually, just reinstalling should work fine, greasemonkey/chrome should pick up the changes automatically.
Colonel sherkaner
 
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle

Re: CC Private Message Team 0.4

Postby chapcrap on Fri Feb 03, 2012 1:43 pm

Thanks. It does work now.
Lieutenant chapcrap
 
Posts: 9686
Joined: Sun Feb 03, 2008 12:46 am
Location: Kansas City

Re: CC Private Message Team 0.4

Postby Swimmerdude99 on Fri Feb 03, 2012 5:42 pm

Mine doesn't work on Chrome :( is that changed in this version?
Image
Offsite to 12/31/2023. Reach out to TheSpaceCowboy to reach me
User avatar
Major Swimmerdude99
 
Posts: 2371
Joined: Mon Aug 09, 2010 6:07 pm
Location: North Carolina
2435

Re: CC Private Message Team 0.4

Postby ThrushAAX on Fri Feb 03, 2012 5:47 pm

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

Re: CC Private Message Team 0.4

Postby scottp on Fri Mar 09, 2012 9:01 pm

this does not work for me. the button is there, and the "push button" animation works when i click it, but it does nothing else.

FF 8.0 Windows 7
Image
Account sitters = MagnusGreeol, concrete, RKCVED
User avatar
Major scottp
 
Posts: 455
Joined: Tue May 13, 2008 2:05 pm
Location: Dead Zone, TX

Re: CC Private Message Team 0.4

Postby ThrushAAX on Sat Mar 10, 2012 11:17 am

scottp wrote:this does not work for me. the button is there, and the "push button" animation works when i click it, but it does nothing else.

FF 8.0 Windows 7


Any reason why you haven't upgraded to FF10?

In any case, I have changed the first post to state that only the latest versions of browsers are supported. Unfortunately I don't/can't keep old versions installed.
Colonel ThrushAAX
 
Posts: 161
Joined: Wed Aug 12, 2009 1:07 am

Re: CC Private Message Team 0.4

Postby jetsetwilly on Wed Mar 21, 2012 11:38 am

Could we consider changing the default title of the PM's ?

This gets used all the time now and sometimes we are drowning in PM's :) Given I don't memorise game numbers, a more useful PM title might include any tournament title and the map name. (appreciating this might need to be truncated). Doing that allows you to pick out and address the important ones.
Image
User avatar
Sergeant 1st Class jetsetwilly
 
Posts: 515
Joined: Tue Aug 05, 2008 3:31 am
Location: United Kingdom

Re: CC Private Message Team 0.4

Postby chapcrap on Wed Mar 21, 2012 1:40 pm

jetsetwilly wrote:Could we consider changing the default title of the PM's ?

This gets used all the time now and sometimes we are drowning in PM's :) Given I don't memorise game numbers, a more useful PM title might include any tournament title and the map name. (appreciating this might need to be truncated). Doing that allows you to pick out and address the important ones.

I would agree with this. I change the title to something like: "Our King's Court Triples Game"
Lieutenant chapcrap
 
Posts: 9686
Joined: Sun Feb 03, 2008 12:46 am
Location: Kansas City

Re: CC Private Message Team 0.4

Postby ThrushAAX on Wed Mar 21, 2012 9:44 pm

That's a great idea. It would be pretty easy to get the map name with FF... unsafeWindow.map.title

Chrome is a bit of a problem, going to have to dig deeper and maybe hack something together.

I considered grabbing the name from the image url but the names sometimes include what appears to be a version number which makes that impossible.
Colonel ThrushAAX
 
Posts: 161
Joined: Wed Aug 12, 2009 1:07 am

Re: CC Private Message Team 0.4

Postby ender516 on Wed Mar 21, 2012 10:31 pm

Given the game number, you can use the Conquer Club API to get information about a game, including the name of the map, and the tournament title, if any. No need for unsafeWindow accesses. There is a stickied topic about the API in the Tools Development forum.
User avatar
Sergeant 1st Class ender516
 
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario

Re: CC Private Message Team 0.4

Postby ThrushAAX on Thu Mar 22, 2012 4:15 pm

ender516 wrote:Given the game number, you can use the Conquer Club API to get information about a game, including the name of the map, and the tournament title, if any. No need for unsafeWindow accesses. There is a stickied topic about the API in the Tools Development forum.


Yeah, I really didn't want to hit the CC API. That may end up being the best route. The other option that I am considering is just grabbing the inline JS from the script tag and running some string searching on it.
Colonel ThrushAAX
 
Posts: 161
Joined: Wed Aug 12, 2009 1:07 am

Re: CC Private Message Team 0.4

Postby sherkaner on Thu Mar 22, 2012 4:24 pm

ThrushAAX wrote:
ender516 wrote:Given the game number, you can use the Conquer Club API to get information about a game, including the name of the map, and the tournament title, if any. No need for unsafeWindow accesses. There is a stickied topic about the API in the Tools Development forum.


Yeah, I really didn't want to hit the CC API. That may end up being the best route. The other option that I am considering is just grabbing the inline JS from the script tag and running some string searching on it.

BOB is using that other option for getting the map data, it might be the better choice in this case.
Colonel sherkaner
 
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle

Re: CC Private Message Team 0.4

Postby scottp on Thu Mar 22, 2012 11:16 pm

ThrushAAX wrote:
scottp wrote:this does not work for me. the button is there, and the "push button" animation works when i click it, but it does nothing else.

FF 8.0 Windows 7


Any reason why you haven't upgraded to FF10?

In any case, I have changed the first post to state that only the latest versions of browsers are supported. Unfortunately I don't/can't keep old versions installed.


LOL, I guess I wasn't even aware it was out... or I neglected to upgrade in the past because I read some of these add-ons/scripts weren't compatible and never revisited the issue.

Upgraded to FF10 and all is well! Thanks for the awesome script! =D>
Image
Account sitters = MagnusGreeol, concrete, RKCVED
User avatar
Major scottp
 
Posts: 455
Joined: Tue May 13, 2008 2:05 pm
Location: Dead Zone, TX

Re: CC Private Message Team 0.4

Postby ThrushAAX on Fri Mar 23, 2012 10:04 am

Ok, You've convinced me to use the CC API. :) It will sometimes take upwards of half a second for it to get data back but oh well...

For the new subject I like the format "Our <mapname> <quads, triples, doubles> for <tournament name>". So for me this would be "Our Flanders 1302 doubles for Davis Cup 2012 [TPA2]". The maximum character length for subjects is 60, so longer tournament names will be cut off. However, tournament names are unique enough that it should still be OK. (It could be shortened a bit by using trips and dubs. Any opinion?)

Any suggestions for adding anything more to the default message body or is the game number enough?
Colonel ThrushAAX
 
Posts: 161
Joined: Wed Aug 12, 2009 1:07 am

Re: CC Private Message Team 0.4

Postby ender516 on Fri Mar 23, 2012 11:43 am

Does the size of the team really add anything to the subject if there is a tournament involved? Do you find yourself in different size games in the same tourney? I would use "Our <mapname> game for <tournament>" or "Our <mapname> <doubles, triples, quadruples> game". You could leave out "game", especially in the tournament version to get more useful text.
User avatar
Sergeant 1st Class ender516
 
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario

Re: CC Private Message Team 0.4

Postby chapcrap on Fri Mar 23, 2012 4:29 pm

I'm agreeing with ender.

You could probably leave the word 'Our' off of the front as well. I'm not sure that the tournament names need in there either.
Lieutenant chapcrap
 
Posts: 9686
Joined: Sun Feb 03, 2008 12:46 am
Location: Kansas City

Re: CC Private Message Team 0.4

Postby jetsetwilly on Mon Mar 26, 2012 2:00 am

chapcrap wrote:I'm agreeing with ender.

You could probably leave the word 'Our' off of the front as well. I'm not sure that the tournament names need in there either.


Also agree, and thanks for picking up on the suggestion :)
Image
User avatar
Sergeant 1st Class jetsetwilly
 
Posts: 515
Joined: Tue Aug 05, 2008 3:31 am
Location: United Kingdom

Re: CC Private Message Team 0.4

Postby HardAttack on Tue Apr 17, 2012 8:49 am

are you planning to extend this beautiful tool with an additional property,
such as,
automatic wall message to the whole team players ?

btw, great work pal, nicely done, thank you.

Can you change the auto message "Our Team Game [game]xxxxxxxx[/game]" into "[game]xxxxx[/game]" ? No need to use "our team game" text part IMO. What do you think ?
LEGENDS of WAR
Colonel HardAttack
 
Posts: 1935
Joined: Fri Jul 11, 2008 12:15 pm

Re: CC Private Message Team 0.5

Postby ThrushAAX on Wed Apr 18, 2012 2:53 pm

OK, finally uploaded version 0.5. I actually had worked on it a few weeks ago but just finalized it now.

Game number is removed from subject as you can't really use it. Instead if shows the map name and the game type or the tournament name. No more "Our" ;)
Colonel ThrushAAX
 
Posts: 161
Joined: Wed Aug 12, 2009 1:07 am

Next

Return to Third-Party Tools & Enhancements

Who is online

Users browsing this forum: dwilhelmi, KKlemen