CC Private Message Team 0.5

The storehouse of handy and helpful plugins/addons and webpages.

Moderators: Global Moderators, Tech Team

Forum rules
Please read the Community Guidelines before posting.

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
Tech Contributor
Tech Contributor
 
Posts: 4451
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: 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: 158
Joined: Wed Aug 12, 2009 1:07 am
Medals: 51
Conquer Cup Bronze Achievement (1) Standard Achievement (3) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (2)
Terminator Achievement (2) Assassin Achievement (1) Manual Troops Achievement (1) Freestyle Achievement (1) Fog of War Achievement (2)
Trench Warfare Achievement (1) Speed Achievement (1) Teammate Achievement (1) Random Map Achievement (2) Cross-Map Achievement (3)
Battle Royale Achievement (1) Ratings Achievement (2) Tournament Achievement (7) General Achievement (12) Clan Achievement (2)
General Contribution (3)

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: 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: 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>
ImageImage
User avatar
Captain scottp
 
Posts: 447
Joined: Tue May 13, 2008 2:05 pm
Location: Dead Zone, TX
Medals: 69
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (2) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (4)
Trench Warfare Achievement (2) Speed Achievement (3) Teammate Achievement (2) Random Map Achievement (2) Cross-Map Achievement (3)
Bot Achievement (3) Ratings Achievement (4) Tournament Achievement (13) Clan Achievement (10) Tournament Contribution (2)

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: 158
Joined: Wed Aug 12, 2009 1:07 am
Medals: 51
Conquer Cup Bronze Achievement (1) Standard Achievement (3) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (2)
Terminator Achievement (2) Assassin Achievement (1) Manual Troops Achievement (1) Freestyle Achievement (1) Fog of War Achievement (2)
Trench Warfare Achievement (1) Speed Achievement (1) Teammate Achievement (1) Random Map Achievement (2) Cross-Map Achievement (3)
Battle Royale Achievement (1) Ratings Achievement (2) Tournament Achievement (7) General Achievement (12) Clan Achievement (2)
General Contribution (3)

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
Tech Contributor
Tech Contributor
 
Posts: 4451
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: 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.
Image
User avatar
Major chapcrap
Tournament Director
Tournament Director
 
Posts: 9576
Joined: Sun Feb 03, 2008 12:46 am
Location: Kansas City
Medals: 167
Standard Achievement (4) Doubles Achievement (4) Triples Achievement (3) Quadruples Achievement (4) Terminator Achievement (3)
Assassin Achievement (3) Manual Troops Achievement (3) Freestyle Achievement (3) Polymorphic Achievement (1) Nuclear Spoils Achievement (3)
Fog of War Achievement (4) Trench Warfare Achievement (3) Speed Achievement (3) Teammate Achievement (2) Random Map Achievement (3)
Cross-Map Achievement (4) Beta Map Achievement (1) Battle Royale Achievement (1) Ratings Achievement (4) Tournament Achievement (31)
General Achievement (16) Clan Achievement (16) Training Achievement (6) Challenge Achievement (1) Tournament Contribution (34)

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
Colonel jetsetwilly
 
Posts: 493
Joined: Tue Aug 05, 2008 3:31 am
Location: United Kingdom
Medals: 46
Standard Achievement (2) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Manual Troops Achievement (1)
Nuclear Spoils Achievement (1) Fog of War Achievement (3) Trench Warfare Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (2) Cross-Map Achievement (3) Beta Map Achievement (1) Ratings Achievement (2) General Achievement (3)
Clan Achievement (12) General Contribution (2)

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 ?
Image
2014-04-01 18:07:50 - Clive has won 1 Auburn Conquer Star
User avatar
Colonel HardAttack
 
Posts: 1520
Joined: Fri Jul 11, 2008 12:15 pm
Medals: 77
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (3)
Assassin Achievement (3) Manual Troops Achievement (4) Freestyle Achievement (3) Polymorphic Achievement (1) Nuclear Spoils Achievement (4)
Fog of War Achievement (4) Trench Warfare Achievement (4) Speed Achievement (4) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (3) Beta Map Achievement (1) Ratings Achievement (4) Tournament Achievement (6) General Achievement (2)
Clan Achievement (11) Tournament Contribution (2) General Contribution (1)

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: 158
Joined: Wed Aug 12, 2009 1:07 am
Medals: 51
Conquer Cup Bronze Achievement (1) Standard Achievement (3) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (2)
Terminator Achievement (2) Assassin Achievement (1) Manual Troops Achievement (1) Freestyle Achievement (1) Fog of War Achievement (2)
Trench Warfare Achievement (1) Speed Achievement (1) Teammate Achievement (1) Random Map Achievement (2) Cross-Map Achievement (3)
Battle Royale Achievement (1) Ratings Achievement (2) Tournament Achievement (7) General Achievement (12) Clan Achievement (2)
General Contribution (3)

Re: CC Private Message Team 0.5

Postby jetsetwilly on Thu Apr 19, 2012 6:32 pm

Many thanks :)
Image
User avatar
Colonel jetsetwilly
 
Posts: 493
Joined: Tue Aug 05, 2008 3:31 am
Location: United Kingdom
Medals: 46
Standard Achievement (2) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Manual Troops Achievement (1)
Nuclear Spoils Achievement (1) Fog of War Achievement (3) Trench Warfare Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (2) Cross-Map Achievement (3) Beta Map Achievement (1) Ratings Achievement (2) General Achievement (3)
Clan Achievement (12) General Contribution (2)

Re: CC Private Message Team 0.5

Postby macbone on Fri Apr 20, 2012 3:04 am

Awesome update, thrush!
User avatar
Major macbone
SoC Training Instructor
SoC Training Instructor
 
Posts: 5273
Joined: Wed Jun 03, 2009 7:12 pm
Location: Looking out over Victoria Harbor, thinking about Middle Earth and how good my wife looks
Medals: 75
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (3)
Assassin Achievement (1) Manual Troops Achievement (1) Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (3)
Trench Warfare Achievement (2) Speed Achievement (1) Teammate Achievement (2) Random Map Achievement (3) Cross-Map Achievement (3)
Beta Map Achievement (1) Ratings Achievement (4) Tournament Achievement (8) General Achievement (8) Clan Achievement (9)
Training Achievement (2) Tournament Contribution (2) General Contribution (7)

Re: CC Private Message Team 0.5

Postby HardAttack on Sat Apr 21, 2012 7:36 am

Nice work pal =D>
Image
2014-04-01 18:07:50 - Clive has won 1 Auburn Conquer Star
User avatar
Colonel HardAttack
 
Posts: 1520
Joined: Fri Jul 11, 2008 12:15 pm
Medals: 77
Standard Achievement (4) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (3)
Assassin Achievement (3) Manual Troops Achievement (4) Freestyle Achievement (3) Polymorphic Achievement (1) Nuclear Spoils Achievement (4)
Fog of War Achievement (4) Trench Warfare Achievement (4) Speed Achievement (4) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (3) Beta Map Achievement (1) Ratings Achievement (4) Tournament Achievement (6) General Achievement (2)
Clan Achievement (11) Tournament Contribution (2) General Contribution (1)

Re: CC Private Message Team 0.5

Postby chapcrap on Sun Apr 22, 2012 2:59 pm

Can the next update make the script work on https://www.conquerclub.com ?
Image
User avatar
Major chapcrap
Tournament Director
Tournament Director
 
Posts: 9576
Joined: Sun Feb 03, 2008 12:46 am
Location: Kansas City
Medals: 167
Standard Achievement (4) Doubles Achievement (4) Triples Achievement (3) Quadruples Achievement (4) Terminator Achievement (3)
Assassin Achievement (3) Manual Troops Achievement (3) Freestyle Achievement (3) Polymorphic Achievement (1) Nuclear Spoils Achievement (3)
Fog of War Achievement (4) Trench Warfare Achievement (3) Speed Achievement (3) Teammate Achievement (2) Random Map Achievement (3)
Cross-Map Achievement (4) Beta Map Achievement (1) Battle Royale Achievement (1) Ratings Achievement (4) Tournament Achievement (31)
General Achievement (16) Clan Achievement (16) Training Achievement (6) Challenge Achievement (1) Tournament Contribution (34)

Re: CC Private Message Team 0.5

Postby ender516 on Sun Apr 22, 2012 3:21 pm

You can test drive a fix like that yourself, chapcrap. Go to the Greasemonkey drop down menu and select Manage User Scripts. Then click on the Options button next to the name of this script. You should see a dialog box with the User Settings tab showing. The top half is for included pages. Click the Add.. button and type in https://www.conquerclub.com/game.php?game=*, which corresponds to the Script Setting string, but with the https protocol.
User avatar
Sergeant 1st Class ender516
Tech Contributor
Tech Contributor
 
Posts: 4451
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)

PreviousNext

Return to Available Tools/Enhancements

Who is online

Users browsing this forum: agentcom, LukeHR, Woltato and 1 guest

Login