Page 7 of 7

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

Posted: Tue Dec 07, 2010 5:08 pm
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?

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

Posted: Tue Dec 07, 2010 5:10 pm
by Dako
Yeah, just wait for Foxy to update it or tell you how to fix it.

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

Posted: Tue Dec 07, 2010 5:12 pm
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.

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

Posted: Tue Dec 07, 2010 5:52 pm
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]

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

Posted: Tue Dec 07, 2010 6:02 pm
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

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

Posted: Tue Dec 07, 2010 6:08 pm
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!

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

Posted: Tue Dec 07, 2010 7:49 pm
by Squirly
detachable chat, I must have it!!

please!

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

Posted: Tue Dec 07, 2010 8:15 pm
by Commander62890
Need my detachable chat!!!

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

Posted: Tue Dec 07, 2010 10:22 pm
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.

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

Posted: Tue Dec 07, 2010 11:13 pm
by elfish_lad
OMG... say it ain't so!!!

~quickly enrols in a computer programming college thingy~

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

Posted: Wed Dec 08, 2010 2:00 am
by Incandenza
Yep, the copypasta doesn't work...

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

Posted: Wed Dec 08, 2010 2:06 am
by Eyestone
We want more! WE WANT MORE! ](*,)

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

Posted: Wed Dec 08, 2010 9:03 am
by silverking8
:cry: :cry: :cry: miss my loveliness gloveliness :cry: :cry: :cry:

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

Posted: Wed Dec 08, 2010 10:44 am
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!

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

Posted: Wed Dec 08, 2010 11:24 am
by Chuuuuck
I already liked [player]dwilhelmi[/player] and all, but now I really like him!

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

Posted: Wed Dec 08, 2010 11:31 am
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.

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

Posted: Wed Dec 08, 2010 11:46 am
by Nicky15
Thanks foxy, for all your hard work. :D

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

Posted: Wed Dec 08, 2010 11:50 am
by silverking8
Thanks for taking over dwilhelmi... my gloveliness is back to a lovely state! :-D Thanks for all your work Foxy ;)

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

Posted: Wed Dec 08, 2010 11:50 am
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>

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

Posted: Wed Dec 08, 2010 12:04 pm
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

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

Posted: Wed Dec 08, 2010 5:45 pm
by Dako
Locked. Please use new thread.

viewtopic.php?t=132761