GM Script: chatglove - a floating game chat - v 1.6.4

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.
Locked
User avatar
Leehar
Posts: 5492
Joined: Fri Mar 06, 2009 12:12 pm
Gender: Male
Location: Johannesburg
Contact:

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by Leehar »

Sorry, Lack did an update recently, it seems to have impacted negatively on some scripts tho, so until Fox is able to fix this, or the Tech dudes are able to translate all the update benefits to normal tongue, may I suggest disabling Chatglove temporarily if it's errors out-way it's usefulness for the time-being?
show
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by Dako »

Yeah, just wait for Foxy to update it or tell you how to fix it.
Image
sherkaner
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Gender: Male
Location: Zwolle

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by sherkaner »

And for fox: I know of 1 change that could have a little impact. The structure around the game options has changed, so this won't succeed any more:

var gameType = (/Game\sType\:\s<b>(\w+)<\/b>/(document.getElementById("dashboard").innerHTML))[1];

Not sure why that breaks the script, but at least it's worth fixing.
Foxglove
Posts: 1308
Joined: Sun Dec 16, 2007 1:05 pm

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by Foxglove »

Hey everyone - sorry for the broken chatbug. It did break because of the site change.

I'm glad that so many people appreciate chatglove! Unfortunately, I will no longer have time to keep in updated and compatible with the current site code. :(

If anyone else would like to take it over, feel free! I hope that the CC community won't have to remain cold and gloveness without me.

[spoiler=If you are technically inclined and want to change your code, here is what you need to do]REPLACE THIS:

Code: Select all

function isTeamGame() {
    var gameType = (/Game\sType\:\s<b>(\w+)<\/b>/(document.getElementById("dashboard").innerHTML))[1];
   
    if(gameType == "Doubles" || gameType == "Triples" || gameType == "Quadruples")
        return true;
    else   
        return false;
}


WITH THIS:

Code: Select all

function isTeamGame() {
    try {
        var gameType = document.getElementsByTagName("dd")[0].innerHTML;
       
        if(gameType == "Doubles" || gameType == "Triples" || gameType == "Quadruples")
            return true;
        else   
            return false;
    }
    catch(e)
    {
        return false;
    }
}
[/spoiler]
User avatar
Lindax
Tournament Director
Tournament Director
Posts: 11207
Joined: Sun Jan 20, 2008 12:58 pm
Location: Paradise Rediscovered

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by Lindax »

Foxglove wrote:Hey everyone - sorry for the broken chatbug. It did break because of the site change.

I'm glad that so many people appreciate chatglove! Unfortunately, I will no longer have time to keep in updated and compatible with the current site code. :(

If anyone else would like to take it over, feel free! I hope that the CC community won't have to remain cold and gloveness without me.

[spoiler=If you are technically inclined and want to change your code, here is what you need to do]REPLACE THIS:

Code: Select all

function isTeamGame() {
    var gameType = (/Game\sType\:\s<b>(\w+)<\/b>/(document.getElementById("dashboard").innerHTML))[1];
   
    if(gameType == "Doubles" || gameType == "Triples" || gameType == "Quadruples")
        return true;
    else   
        return false;
}


WITH THIS:

Code: Select all

function isTeamGame() {
    try {
        var gameType = document.getElementsByTagName("dd")[0].innerHTML;
       
        if(gameType == "Doubles" || gameType == "Triples" || gameType == "Quadruples")
            return true;
        else   
            return false;
    }
    catch(e)
    {
        return false;
    }
}
[/spoiler]


Nooooo! I want my floating chat! Nothing nicer than playing a speed game while having a chat floating next to the map....

Lx
"Winning Solves Everything" - Graeko
Chuuuuck
Posts: 1298
Joined: Thu May 31, 2007 11:09 am

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by Chuuuuck »

Any of you people who are far smarter than me wanting to pick up this project for the rest of us? I would love to have my floating chat back!
User avatar
Squirly
Posts: 345
Joined: Fri Feb 09, 2007 2:51 pm
Gender: Male
Location: over here

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by Squirly »

detachable chat, I must have it!!

please!
User avatar
Commander62890
Posts: 1415
Joined: Sat Jun 07, 2008 1:52 pm
Gender: Male
Contact:

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by Commander62890 »

Need my detachable chat!!!
wisemanpsemc
Posts: 1362
Joined: Thu Dec 31, 2009 8:59 pm

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by wisemanpsemc »

Foxglove wrote:[spoiler=If you are technically inclined and want to change your code, here is what you need to do]REPLACE THIS:

Code: Select all

function isTeamGame() {
    var gameType = (/Game\sType\:\s<b>(\w+)<\/b>/(document.getElementById("dashboard").innerHTML))[1];
   
    if(gameType == "Doubles" || gameType == "Triples" || gameType == "Quadruples")
        return true;
    else   
        return false;
}


WITH THIS:

Code: Select all

function isTeamGame() {
    try {
        var gameType = document.getElementsByTagName("dd")[0].innerHTML;
       
        if(gameType == "Doubles" || gameType == "Triples" || gameType == "Quadruples")
            return true;
        else   
            return false;
    }
    catch(e)
    {
        return false;
    }
}
[/spoiler]

I tried this but it didn't seem to work. Maybe I am not smart enough, lol.
User avatar
elfish_lad
Posts: 1155
Joined: Sat Jul 18, 2009 7:49 pm

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by elfish_lad »

OMG... say it ain't so!!!

~quickly enrols in a computer programming college thingy~
User avatar
Incandenza
Posts: 4949
Joined: Thu Oct 19, 2006 5:34 pm
Gender: Male
Location: Playing Eschaton with a bucket of old tennis balls

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by Incandenza »

Yep, the copypasta doesn't work...
THOTA: dingdingdingdingdingdingBOOM

Te Occidere Possunt Sed Te Edere Non Possunt Nefas Est
User avatar
Eyestone
Posts: 280
Joined: Thu Mar 16, 2006 10:45 am
Gender: Male
Location: Trondheim - Norway

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by Eyestone »

We want more! WE WANT MORE! ](*,)
User avatar
silverking8
Posts: 9
Joined: Tue Mar 23, 2010 1:01 pm
Location: FL

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by silverking8 »

:cry: :cry: :cry: miss my loveliness gloveliness :cry: :cry: :cry:
Image
Foxglove
Posts: 1308
Joined: Sun Dec 16, 2007 1:05 pm

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by Foxglove »

Hello glovers,

[player]dwilhelmi[/player] has offered to take over this script. :) Yay!

I will work with him get a new version going soon!
Chuuuuck
Posts: 1298
Joined: Thu May 31, 2007 11:09 am

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by Chuuuuck »

I already liked [player]dwilhelmi[/player] and all, but now I really like him!
User avatar
dwilhelmi
Posts: 173
Joined: Tue Apr 06, 2010 10:05 am
Gender: Male

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by dwilhelmi »

Alright guys, new script is hosted. I will be working with Foxy to get the update to notify for everyone, but for now you can head over to http://www.conquerclub.com/forum/viewtopic.php?f=527&t=132761 to get the latest version.
Nicky15
Posts: 923
Joined: Tue Oct 23, 2007 6:15 pm
Location: England

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by Nicky15 »

Thanks foxy, for all your hard work. :D
User avatar
silverking8
Posts: 9
Joined: Tue Mar 23, 2010 1:01 pm
Location: FL

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by silverking8 »

Thanks for taking over dwilhelmi... my gloveliness is back to a lovely state! :-D Thanks for all your work Foxy ;)
Image
User avatar
fumandomuerte
Posts: 620
Joined: Sat Dec 29, 2007 1:27 am
Gender: Male
Location: The Cinderella of the Pacific

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by fumandomuerte »

dwilhelmi wrote:Alright guys, new script is hosted. I will be working with Foxy to get the update to notify for everyone, but for now you can head over to http://www.conquerclub.com/forum/viewtopic.php?f=527&t=132761 to get the latest version.

You're my hero =D>
Image
Thanks to the CC staff for the perma-ban on [player]۩░▒▓₪№™℮₪▓▒░۩[/player]!
User avatar
Lindax
Tournament Director
Tournament Director
Posts: 11207
Joined: Sun Jan 20, 2008 12:58 pm
Location: Paradise Rediscovered

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by Lindax »

fumandomuerte wrote:
dwilhelmi wrote:Alright guys, new script is hosted. I will be working with Foxy to get the update to notify for everyone, but for now you can head over to http://www.conquerclub.com/forum/viewtopic.php?f=527&t=132761 to get the latest version.

You're my hero =D>


And mine!

Lx
"Winning Solves Everything" - Graeko
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: GM Script: chatglove - a floating game chat - v 1.6.4

Post by Dako »

Locked. Please use new thread.

viewtopic.php?t=132761
Image
Locked

Return to “Tool Archives”