Conquer Club Greasemonkey Script (beta .4)

Talk about all things related to Conquer Club

Moderator: Community Team

Forum rules
Please read the community guidelines before posting.
User avatar
Tr0y
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC
Contact:

Post by Tr0y »

Yea, sorry kbchilla. :?
I'm going to update when I can.

I want to talk to lack and figure out when the log update will be released.
mingotta
Posts: 8
Joined: Thu Jun 22, 2006 4:25 pm
Gender: Male

Post by mingotta »

I'd die for an update too!
bmw
Posts: 15
Joined: Mon Mar 13, 2006 2:44 am
Location: Silicon Valley, CA (They're initials, not a car; though, admittedly, rather convenient initials...)

*** GreaseMonkey -- Patch For Recent Site Updates ***

Post by bmw »

Just posted this in a different thread; probably more useful here.

---

PREFACE: Before you try anything in this post, you should make sure Tr0y hasn't made an updated script available first. That would make much more sense to use.

---

I too can't live without Tr0y's excellent script, so I went to see what needed changed to get it working. I'm way overdue for sleep, but I was desperate. ;-)

Since I don't want to step on Tr0y's toes, I'm not posting a fully-updated script, but rather minor instructions for patching. Use at your own risk, and hopefully this will be useful to Tr0y as well. (Tr0y: see note at bottom.)

- This assumes you already have GreaseMonkey and Tr0y's script installed.
- In FireFox, go to Tools > Manage User Scripts...
- Click on the script named "Conquer Club"
- Click "Edit"; this should open the script in a text editor. Tread carefully.

- Find a line that says:

Code: Select all

tmp = tmp.split(/class="player[^d]">|<\/a>/m);

Change the single letter "a" near the end of the line to "span" instead (without the quotes).

- A couple of lines down you'll find a line that starts with:

Code: Select all

for( i = 1; i < tmp.length; i+=2 )

Change the numeral 1 near the front of the line to a 2 instead.

- SAVE THE TEXT FILE in-place.

- Go back to FireFox, hit reload, all should be well.

Disclaimer: I did this under OS X with my favorite text editor; your mileage may vary under Windows.

---

Tr0y: it's just mismatching in the username-parsing code, creating Player objects with dict keys that don't match user names, so the log parsing aborts when it tries to set an attribute on a Player object that doesn't exist.
Last edited by bmw on Wed Sep 20, 2006 3:45 am, edited 1 time in total.
User avatar
AK_iceman
Posts: 5704
Joined: Wed May 10, 2006 10:39 pm

Post by AK_iceman »

mingotta wrote:I'd die for an update too!

I would be willing to live with that. :lol:
User avatar
gavin_sidhu
Posts: 1428
Joined: Mon May 22, 2006 6:16 am
Location: Brisbane, Australia

Post by gavin_sidhu »

Are you giong to incorporate Rob Roys game sorter? if you are can you get it off the chat page plz.
Highest Score: 1843 Ranking (Australians): 3
zip_disk
Posts: 216
Joined: Thu Mar 23, 2006 9:33 pm

Post by zip_disk »

bmw's fix seems to have partially fixed the problem for me. :D Rob Roy's game sorter seems to work too. Don't know if the dice analyzer works now but we'll see.
Last edited by zip_disk on Wed Sep 20, 2006 4:54 am, edited 2 times in total.
User avatar
Tr0y
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC
Contact:

Post by Tr0y »

zip_disk
Posts: 216
Joined: Thu Mar 23, 2006 9:33 pm

Post by zip_disk »

Ahh, that's good. I took a closer look at the games and it seems that while bmw's fix works for new games, when players get eliminated the script stop working again.
User avatar
gavin_sidhu
Posts: 1428
Joined: Mon May 22, 2006 6:16 am
Location: Brisbane, Australia

Post by gavin_sidhu »

zip_disk wrote:bmw's fix seems to have partially fixed the problem for me. :D Rob Roy's game sorter seems to work too. Don't know if the dice analyzer works now but we'll see.
The game sorter works but it appears on the Live Chat page which is kinda annoying.
Highest Score: 1843 Ranking (Australians): 3
User avatar
Tr0y
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC
Contact:

Post by Tr0y »

You can fix that by managing your scripts and
adding http://*conquerclub.com/player.php?mode=gabbly to your exclusions.
Post Reply

Return to “Conquer Club Discussion”