Conquer Club

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.

Postby Tr0y on Tue Sep 19, 2006 10:01 pm

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.
User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC

Postby mingotta on Wed Sep 20, 2006 2:37 am

I'd die for an update too!
Corporal 1st Class mingotta
 
Posts: 8
Joined: Thu Jun 22, 2006 4:25 pm

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

Postby bmw on Wed Sep 20, 2006 2:56 am

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.
Sergeant 1st Class 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...)

Postby AK_iceman on Wed Sep 20, 2006 2:58 am

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

I would be willing to live with that. :lol:
User avatar
Sergeant 1st Class AK_iceman
 
Posts: 5704
Joined: Wed May 10, 2006 10:39 pm

Postby gavin_sidhu on Wed Sep 20, 2006 3:15 am

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
User avatar
Lieutenant gavin_sidhu
 
Posts: 1428
Joined: Mon May 22, 2006 6:16 am
Location: Brisbane, Australia

Postby zip_disk on Wed Sep 20, 2006 4:37 am

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.
Captain zip_disk
 
Posts: 216
Joined: Thu Mar 23, 2006 9:33 pm

Postby Tr0y on Wed Sep 20, 2006 4:42 am

User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC

Postby zip_disk on Wed Sep 20, 2006 4:49 am

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.
Captain zip_disk
 
Posts: 216
Joined: Thu Mar 23, 2006 9:33 pm

Postby gavin_sidhu on Wed Sep 20, 2006 4:55 am

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
Lieutenant gavin_sidhu
 
Posts: 1428
Joined: Mon May 22, 2006 6:16 am
Location: Brisbane, Australia

Postby Tr0y on Wed Sep 20, 2006 6:41 am

You can fix that by managing your scripts and
adding http://*conquerclub.com/player.php?mode=gabbly to your exclusions.
User avatar
Corporal Tr0y
 
Posts: 271
Joined: Mon Jan 23, 2006 1:26 pm
Location: Cary, NC

Previous

Return to Conquer Club Discussion

Who is online

Users browsing this forum: No registered users