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.
User avatar
Dukasaur
Community Team
Community Team
Posts: 28213
Joined: Sat Nov 20, 2010 4:49 pm
Location: Beautiful Niagara

Re: CC Private Message Team 0.5

Post by Dukasaur »

I was coming here to report that CC Private Message Team 0.5 stopped working this morning, but I see others have been here already, so I'll just add my voice to the cacaphony.

Anyway, I presume this has something to do with the site updates last night.
“‎Life is a shipwreck, but we must not forget to sing in the lifeboats.”
― Voltaire
User avatar
dyrtydog
Posts: 438
Joined: Wed Oct 24, 2007 6:01 pm
Location: central Florida
Contact:

PM team in BoB

Post by dyrtydog »

this appears to be gone...what gives? :o
Image
codierose
Posts: 1561
Joined: Sun Jul 27, 2008 5:50 pm
Gender: Male
Location: RANDOMBULLSHIT.ORG
Contact:

PM team mates

Post by codierose »

Operating System: 7
Browser: foxy
Scripts/third party programs used: pm team mates



Concise description:
pm team mates script no longer working
http://userscripts.org/scripts/show/120340
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: PM team in BoB

Post by ender516 »

dyrtydog wrote:this appears to be gone...what gives? :o

This is not a feature of BOB, but a separate script: CC Private Message Team. I will merge this with the appropriate topic where the problem has already been noted.
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: PM team mates

Post by ender516 »

codierose wrote:Operating System: 7
Browser: foxy
Scripts/third party programs used: pm team mates



Concise description:
pm team mates script no longer working
http://userscripts.org/scripts/show/120340

I am merging your post with the script's topic where this has been noted. Watch for further info there.
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.5

Post by macbone »

I came to see if there was an update that restored PTM. I'll check back in to see if one gets released. It's such a simple add-on, but I love it. =)
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: CC Private Message Team 0.5

Post by ender516 »

The word from the admins is that the Conquer Club API used by many scripts has been disabled temporarily as it apparently was implicated in the problems that the site experienced this morning.
kuma32478
Posts: 1727
Joined: Sun Mar 08, 2009 11:55 am
Gender: Male
Location: North Carolina
Contact:

Re: CC Private Message Team 0.5

Post by kuma32478 »

ender516 wrote:temporarily


I like this word
User avatar
Fewnix
Posts: 1245
Joined: Sat Apr 25, 2009 2:15 am
Gender: Male
Contact:

Re: CC Private Message Team 0.5

Post by Fewnix »

TEAM PM back please. Please.
:cry: :cry:
Rule 1
show
User avatar
nicarus
Posts: 192
Joined: Wed Apr 23, 2008 11:09 am
Gender: Male
Location: Northeastern, Missouri

Re: CC Private Message Team 0.5

Post by nicarus »

didn't realize how often i used this until it was gone. its like leaving your mobile cellular device at home. please fix asafp.
queen victorious
Posts: 155
Joined: Thu Jun 03, 2010 4:29 am
Gender: Female
Location: Manhattan suburbs

Re: CC Private Message Team 0.5

Post by queen victorious »

still not working, is it? i miss it too. any idea when it will be back up? (i tried to reinstall it
several times and each time get a "successfully installed" message.)

just checking now because i thought i saw it used successfully by someone yesterday. or...
i was not in my right mind...whatever that is ;-)
User avatar
jetsetwilly
Posts: 515
Joined: Tue Aug 05, 2008 3:31 am
Gender: Male
Location: United Kingdom

Re: CC Private Message Team 0.5

Post by jetsetwilly »

It's been working fine for most people since the API fix went in.
Image
chapcrap
Posts: 9686
Joined: Sun Feb 03, 2008 12:46 am
Gender: Male
Location: Kansas City

Re: CC Private Message Team 0.5

Post by chapcrap »

This is messed up with the new 12 player update. I'm in a 12 player triples game and it put the wrong team mates into the message. I'm on team 3 and it used players from team 2.
The Voice
Posts: 681
Joined: Sat Sep 13, 2008 4:37 pm
Gender: Male
Location: Location, Location!

Re: CC Private Message Team 0.5

Post by The Voice »

chapcrap wrote:This is messed up with the new 12 player update. I'm in a 12 player triples game and it put the wrong team mates into the message. I'm on team 3 and it used players from team 2.


Here's what I did.

Go into manage user scripts. Click PM Team > Options > Edit. Scroll to line 75 and replace for(var i = 1; i <= 8; i++){ with for(var i = 1; i <= 12; i++){
User avatar
PaRKoN
Posts: 406
Joined: Fri Nov 18, 2011 9:21 am
Gender: Male
Location: Barcelona

Re: CC Private Message Team 0.5

Post by PaRKoN »

Edit the userscript like this:

Line 75:

Before:
for(var i = 1; i <= 8; i++){

After:
for(var i = 1; i <= 12; i++){

Line 101:

Before:
if( teamsize == 2 ){ //handle doubles
startindex = (Math.floor(myindex / 2) * 2);
}
else { //handle tripples and quads
startindex = myindex < teamsize ? 0 : teamsize;
}

After:
startindex = (Math.floor(myindex / teamsize) * teamsize);

That works for me.
User avatar
PaRKoN
Posts: 406
Joined: Fri Nov 18, 2011 9:21 am
Gender: Male
Location: Barcelona

Re: CC Private Message Team 0.5

Post by PaRKoN »

I've just edited my local PM Teammates script to make it work in 12 player games.

Edit the script like this:

Line 75:

Before:
for(var i = 1; i <= 8; i++){

After:
for(var i = 1; i <= 12; i++){

Line 101:

Before:
if( teamsize == 2 ){ //handle doubles
startindex = (Math.floor(myindex / 2) * 2);
}
else { //handle tripples and quads
startindex = myindex < teamsize ? 0 : teamsize;
}

After:
startindex = myindex < teamsize ? 0 : (Math.floor(myindex / teamsize) * teamsize);

That works for me.
User avatar
PaRKoN
Posts: 406
Joined: Fri Nov 18, 2011 9:21 am
Gender: Male
Location: Barcelona

Re: CC Private Message Team 0.5

Post by PaRKoN »

Until the official script gets fixed, you can find the fixed version for 12 players here http://userscripts.org/scripts/show/177902
User avatar
TaelS
Posts: 171
Joined: Sun Oct 23, 2011 4:40 pm
Gender: Male

Re: CC Private Message Team 0.5

Post by TaelS »

With this new design, the PM tool is not working anymore for me (using last version of Mozilla Firefox, 25.0.1).
I've tried to uninstall and install again (rebooting Firefox and even the computer), but it's not working :(
Image
Foxglove
Posts: 1308
Joined: Sun Dec 16, 2007 1:05 pm

Re: CC Private Message Team 0.5

Post by Foxglove »

Hey guys -

I just uploaded a working version of this script: http://userscripts.org/scripts/source/185265.user.js
User avatar
EBConquer
Posts: 973
Joined: Sun Dec 05, 2010 1:11 am
Gender: Male
Location: San Diego
Contact:

Re: CC Private Message Team 0.5

Post by EBConquer »

Foxglove wrote:Hey guys -

I just uploaded a working version of this script: http://userscripts.org/scripts/source/185265.user.js


Thanks Foxglove... much appreciated! :D
User avatar
TaelS
Posts: 171
Joined: Sun Oct 23, 2011 4:40 pm
Gender: Male

Re: CC Private Message Team 0.5

Post by TaelS »

Foxglove wrote:Hey guys -

I just uploaded a working version of this script: http://userscripts.org/scripts/source/185265.user.js

And thank you once again! =) This also fixes my problem (a problem my clan mates don't have, and I don't know why I did) and now it works.
Image
angola
Posts: 2076
Joined: Tue May 27, 2008 12:56 pm
Location: Washington state

Re: CC Private Message Team 0.5

Post by angola »

Nice. That fixed it for me as well. Thank you.
Highest rank: 48th. Highest score: 3,384. Feb. 9, 2014.
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.5

Post by macbone »

Foxglove, you're awesome! Thanks so much!
User avatar
Seamus76
Posts: 1574
Joined: Fri Feb 25, 2011 5:41 pm
Gender: Male
Location: Atlanta, GA

Re: CC Private Message Team 0.5

Post by Seamus76 »

Foxglove wrote:Hey guys -

I just uploaded a working version of this script: http://userscripts.org/scripts/source/185265.user.js

Thanks Foxglove, it's much appreciated.

Now to be a dick, can you make the PM open in a separate window? :lol:
ImageImageImage
chapcrap
Posts: 9686
Joined: Sun Feb 03, 2008 12:46 am
Gender: Male
Location: Kansas City

Re: CC Private Message Team 0.5

Post by chapcrap »

Seamus76 wrote:
Foxglove wrote:Hey guys -

I just uploaded a working version of this script: http://userscripts.org/scripts/source/185265.user.js

Thanks Foxglove, it's much appreciated.

Now to be a dick, can you make the PM open in a separate window? :lol:

That would actually be awesome so that you could still look at the map while you type.
Post Reply

Return to “Tool Archives”