Conquer Club

AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

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.

Postby sanosuke on Sat Feb 09, 2008 3:14 pm

Hmm, question Yeti. Will I have to keep adjusting the HUD width for every game I play or is there a way to make 700 min width default across the entire board? As of right now, I have to make the adjustment every map >.<
Image
User avatar
Sergeant sanosuke
 
Posts: 102
Joined: Mon Jan 14, 2008 9:56 am
Location: Memphis, TN

Postby yeti_c on Sat Feb 09, 2008 3:15 pm

sanosuke wrote:Hmm, question Yeti. Will I have to keep adjusting the HUD width for every game I play or is there a way to make 700 min width default across the entire board? As of right now, I have to make the adjustment every map >.<


It's a "Per Map" setting... so once you've set it on each Map then you're sorted...

It should only affect a few of the thinner maps and/or maps with long territory names.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby sanosuke on Sat Feb 09, 2008 4:00 pm

yeti_c wrote:
sanosuke wrote:Hmm, question Yeti. Will I have to keep adjusting the HUD width for every game I play or is there a way to make 700 min width default across the entire board? As of right now, I have to make the adjustment every map >.<


It's a "Per Map" setting... so once you've set it on each Map then you're sorted...

It should only affect a few of the thinner maps and/or maps with long territory names.

C.


Per map meaning once I set it one time on Feudal War all future Feudal games I enter into will have the same width...erm right? ^_^ Essentially I would only have to set it 1 time per map (not game) and since I really only play 3 maps, I should only have to set it 3 times... I think I have it correct? 8)
Image
User avatar
Sergeant sanosuke
 
Posts: 102
Joined: Mon Jan 14, 2008 9:56 am
Location: Memphis, TN

Postby yeti_c on Sat Feb 09, 2008 4:33 pm

sanosuke wrote:
yeti_c wrote:
sanosuke wrote:Hmm, question Yeti. Will I have to keep adjusting the HUD width for every game I play or is there a way to make 700 min width default across the entire board? As of right now, I have to make the adjustment every map >.<


It's a "Per Map" setting... so once you've set it on each Map then you're sorted...

It should only affect a few of the thinner maps and/or maps with long territory names.

C.


Per map meaning once I set it one time on Feudal War all future Feudal games I enter into will have the same width...erm right? ^_^ Essentially I would only have to set it 1 time per map (not game) and since I really only play 3 maps, I should only have to set it 3 times... I think I have it correct? 8)


Bang on.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby yowzer14 on Sat Feb 09, 2008 6:54 pm

sanosuke wrote:Hmm, question Yeti. Will I have to keep adjusting the HUD width for every game I play or is there a way to make 700 min width default across the entire board? As of right now, I have to make the adjustment every map >.<


If you're not afraid of editing the about:config file (prefs.js) you can make that 700 default for all maps.
Private 1st Class yowzer14
 
Posts: 196
Joined: Sun Dec 24, 2006 10:20 pm
Location: Windsor, Ontario, Canada

Postby sanosuke on Sat Feb 09, 2008 7:33 pm

yeti_c wrote:
Bang on.

C.


Muah, even my twisted style of thinking can hit the mark sometimes! :roll:


yowzer14 wrote:
If you're not afriad of editing the about:config file (prefs.js) you can make that 700 default for all maps.


Meh, I'm not worried about messing something up, I'll just reinstall it ^_^ Where can I find that file by chance? (too lazy to do a file search, sorry!)
Image
User avatar
Sergeant sanosuke
 
Posts: 102
Joined: Mon Jan 14, 2008 9:56 am
Location: Memphis, TN

Postby yowzer14 on Sat Feb 09, 2008 8:30 pm

sanosuke wrote:
yeti_c wrote:
Bang on.

C.


Muah, even my twisted style of thinking can hit the mark sometimes! :roll:


yowzer14 wrote:
If you're not afriad of editing the about:config file (prefs.js) you can make that 700 default for all maps.


Meh, I'm not worried about messing something up, I'll just reinstall it ^_^ Where can I find that file by chance? (too lazy to do a file search, sorry!)


You can access it in one of two ways. You can make the changes by typing about:config in the address bar and then typing in Yeti for the filter. Then double clicking on the Conquer Club - BOB.OPTIONS line. This will bring up a string value message box. Scroll along in it to find the MinimumFormWidth:"600". Change that to 700 and then keep scrolling through and delete each occurrence of the MinimumFormWidth:"###" values that are tagged with each map.

(If you are going to use this second method you'll need to have Firefox closed to edit it or else Firefox will overwrite it when closing)
The alternate editing method is to edit the prefs.js file that is located under the C:\Documents and Settings\YOUR USERNAME\Application Data\Mozilla\Firefox\Profiles\3hsa7t4k.default\prefs.js Note that the 3hsa7t4k.default directory will be different on your system. Edit thie prefs.js file with your favourite editor, search for the yeti string and change the values as noted above.
Private 1st Class yowzer14
 
Posts: 196
Joined: Sun Dec 24, 2006 10:20 pm
Location: Windsor, Ontario, Canada

Postby pepperonibread on Sat Feb 09, 2008 9:13 pm

yeti_c wrote:Yeah - this will happen if your HUD isn't wide enough...

Increase the HUD min width for that Map and your buttons will align better - and the Map Inspect will goto the correct place!!

C.


Perfect, thanks :)
Image
User avatar
Corporal pepperonibread
 
Posts: 954
Joined: Sun Jan 28, 2007 4:33 pm
Location: The Former Confederacy

Postby sanosuke on Sat Feb 09, 2008 10:37 pm

yowzer14 wrote:
You can access it in one of two ways. You can make the changes by typing about:config in the address bar and then typing in Yeti for the filter. Then double clicking on the Conquer Club - BOB.OPTIONS line. This will bring up a string value message box. Scroll along in it to find the MinimumFormWidth:"600". Change that to 700 and then keep scrolling through and delete each occurrence of the MinimumFormWidth:"###" values that are tagged with each map.


Should I delete everything within the ' ' (ie. 'MinimumFormWidth:Alexanders_Empire':700) or what part of the string should I delete specifically?


Thanks!!!
Image
User avatar
Sergeant sanosuke
 
Posts: 102
Joined: Mon Jan 14, 2008 9:56 am
Location: Memphis, TN

New Version Trouble

Postby Baron Von Kalt on Sat Feb 09, 2008 11:23 pm

I'm having all kinds of trouble with your latest version. The clock on time remaining bounces around and most importantly the stats are highlighted in player colors and are illegible. Also, play control is somehow affected while BOB is on. Any suggestions, is there a problem on my end?
User avatar
Private Baron Von Kalt
 
Posts: 1
Joined: Fri Nov 16, 2007 12:38 pm
Location: Ohio

Postby FreeMan10 on Sun Feb 10, 2008 1:22 am

C-

Great update - I like the map inspect in the HUD, very handy. Interesting to note, though, it looks like you posted the update on the 7th, yet here it is the morning of the 10, and I just now got notified that it was available. Odd.

I noticed that there was some discussion about the width of the HUD. Is it possible for you to determine the width of the map and automatically set the HUD to match the map width?

Thanks for the great work on this! It's what finally convinced me to reinstall GM.
User avatar
Cadet FreeMan10
 
Posts: 152
Joined: Wed Jan 23, 2008 12:48 pm
Location: On The Road

Postby tryagain on Sun Feb 10, 2008 1:27 am

Hey Baron Van Kalt.

I had the identical problem to you. I went into Greasemonkey and found I had 2 BOB scripts. I deleted one and everything was fixed. It was really easy.
User avatar
Major tryagain
 
Posts: 27
Joined: Mon May 28, 2007 9:54 am
Location: Tier 2

Postby Stoney229 on Sun Feb 10, 2008 2:11 am

FreeMan10 wrote:it looks like you posted the update on the 7th, yet here it is the morning of the 10, and I just now got notified that it was available. Odd.
it's your browser's cache.

FreeMan10 wrote:I noticed that there was some discussion about the width of the HUD. Is it possible for you to determine the width of the map and automatically set the HUD to match the map width?

As I understand it, you can set the HUD width to 600, and the width will always be equal to the width of the map except in cases where the width of the map is less than 600 pixels, in which case the HUD would still be 600 wide... but I don't think you would want it any less than 600. If you do want it less than 600 for maps that may be less than 600 wide, then yeti_c would have to allow for the options to go below 600.
Score: 1739
Games: 88 Completed, 52 (59%) Won
#1302/21963
User avatar
Lieutenant Stoney229
 
Posts: 303
Joined: Fri Mar 03, 2006 10:46 am

Postby yeti_c on Sun Feb 10, 2008 2:54 am

Stoney229 wrote:
FreeMan10 wrote:it looks like you posted the update on the 7th, yet here it is the morning of the 10, and I just now got notified that it was available. Odd.
it's your browser's cache.

FreeMan10 wrote:I noticed that there was some discussion about the width of the HUD. Is it possible for you to determine the width of the map and automatically set the HUD to match the map width?

As I understand it, you can set the HUD width to 600, and the width will always be equal to the width of the map except in cases where the width of the map is less than 600 pixels, in which case the HUD would still be 600 wide... but I don't think you would want it any less than 600. If you do want it less than 600 for maps that may be less than 600 wide, then yeti_c would have to allow for the options to go below 600.


Exactly right - the min HUD width is the minimum for that map - in most cases the map width (esp on large) will be wider - thus the HUD grows to the size of the map...

But for thin maps - the HUD will hang over the edge to the minimum value you set it too - I've made this 600 as a default as it *usually* handles the maps - there are a few maps that have long territory names - that need this expanding.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby yowzer14 on Sun Feb 10, 2008 9:38 am

sanosuke wrote:
yowzer14 wrote:
You can access it in one of two ways. You can make the changes by typing about:config in the address bar and then typing in Yeti for the filter. Then double clicking on the Conquer Club - BOB.OPTIONS line. This will bring up a string value message box. Scroll along in it to find the MinimumFormWidth:"600". Change that to 700 and then keep scrolling through and delete each occurrence of the MinimumFormWidth:"###" values that are tagged with each map.


Should I delete everything within the ' ' (ie. 'MinimumFormWidth:Alexanders_Empire':700) or what part of the string should I delete specifically?


Thanks!!!

Here's an example for 3 maps. The default HUD is 600 and each map was set to 700.

Code: Select all
({jumptomap:false, textMapType:"Standard", fadeMap:0.5, MapLeft:0, MapTop:0, '24hourClockFormat':"24h", mapInspect:true, confirmEnds:true, confirmAutoAttack:true, confirmDeploy:true, statsMode:"Extended", floatActions:"On", hideMenu:"On", MinimumFormWidth:"600", 'MinimumFormWidth:Middle_Earth':700, 'MinimumFormWidth:Alexanders_Empire':700, 'MinimumFormWidth:Draknor_-_Level_1':700})



This shows the text after setting the default to 700 and removing all map specific HUD width settings.

Code: Select all
({jumptomap:false, textMapType:"Standard", fadeMap:0.5, MapLeft:0, MapTop:0, '24hourClockFormat':"24h", mapInspect:true, confirmEnds:true, confirmAutoAttack:true, confirmDeploy:true, statsMode:"Extended", floatActions:"On", hideMenu:"On", MinimumFormWidth:"700"})


So, change the MinimumFormWidth:"600" to MinimumFormWidth:"700" and then delete each occurrence of ,MinimumFormWidth:XXXX':700 where XXXX is the name of the map.

Code: Select all
({jumptomap:false, textMapType:"Standard", fadeMap:0.5, MapLeft:0, MapTop:0, '24hourClockFormat':"24h", mapInspect:true, confirmEnds:true, confirmAutoAttack:true, confirmDeploy:true, statsMode:"Extended", floatActions:"On", hideMenu:"On", MinimumFormWidth:"1000", 'MinimumFormWidth:Middle_Earth':700, 'MinimumFormWidth:Draknor_-_Level_1':700})


The above illustrates how to remove just one map setting and set all future maps to say 1000 and remove the HUD width for just the Alexanders Empire map.
Private 1st Class yowzer14
 
Posts: 196
Joined: Sun Dec 24, 2006 10:20 pm
Location: Windsor, Ontario, Canada

Postby sanosuke on Sun Feb 10, 2008 11:11 am

excellent Yowzer, thats what I thought you were meaning, but I just wanted to make sure I had it right before I did any major deleting. Much appreciated ^_^
Image
User avatar
Sergeant sanosuke
 
Posts: 102
Joined: Mon Jan 14, 2008 9:56 am
Location: Memphis, TN

Postby firth4eva on Sun Feb 10, 2008 12:24 pm

How about next to the attack and auto-attack button it shows the odds of winnig.
User avatar
Captain firth4eva
 
Posts: 6188
Joined: Sat Mar 03, 2007 7:20 am

Re: New Version Trouble

Postby newline on Sun Feb 10, 2008 12:26 pm

Baron Von Kalt wrote:I'm having all kinds of trouble with your latest version. The clock on time remaining bounces around and most importantly the stats are highlighted in player colors and are illegible. Also, play control is somehow affected while BOB is on. Any suggestions, is there a problem on my end?


then same thing happened to me do you have 2 versions of bob installed? you will need to uninstall the old one.
Image
User avatar
Sergeant 1st Class newline
 
Posts: 196
Joined: Fri Jun 08, 2007 9:25 pm
Location: lost in a rabbit hole!

Guide for installing AJAX BOB

Postby inflrc on Sun Feb 10, 2008 6:00 pm

I am an IE user, never used before FF, but I want to try this AJAX BOB. So I had installed FF and GreaseMonkey and downloaded the script from the link at the beginning of this thread.

What s next?
User avatar
Corporal 1st Class inflrc
 
Posts: 163
Joined: Sat Dec 15, 2007 9:09 pm

Postby Night Strike on Sun Feb 10, 2008 6:00 pm

In game 1732387, Pink did not show up in the elimination summary for losing points. I have 4.2.1 and nothing else.
Image
User avatar
Major Night Strike
 
Posts: 8512
Joined: Wed Apr 18, 2007 2:52 pm

Postby Stoney229 on Sun Feb 10, 2008 6:21 pm

Night Strike wrote:In game 1732387, Pink did not show up in the elimination summary for losing points. I have 4.2.1 and nothing else.
It works for me. try a ctrl+F5 ??
Score: 1739
Games: 88 Completed, 52 (59%) Won
#1302/21963
User avatar
Lieutenant Stoney229
 
Posts: 303
Joined: Fri Mar 03, 2006 10:46 am

Re: Guide for installing AJAX BOB

Postby Stoney229 on Sun Feb 10, 2008 6:25 pm

inflrc wrote:I am an IE user, never used before FF, but I want to try this AJAX BOB. So I had installed FF and GreaseMonkey and downloaded the script from the link at the beginning of this thread.

What s next?
You should be good. Do you see a monkey head icon in the lower right corner of the FF interface? If it is grey and frowning, it is off, so click on it. If it is brown and smiling, it is on, so you might try right-clicking in it, clicking "Manage User Scripts", highlight "Conquer Club - BOB" on the left, and make sure "enabled" is checked in the bottom-left of the "manage user scripts" window.
Score: 1739
Games: 88 Completed, 52 (59%) Won
#1302/21963
User avatar
Lieutenant Stoney229
 
Posts: 303
Joined: Fri Mar 03, 2006 10:46 am

Postby Night Strike on Sun Feb 10, 2008 6:26 pm

Stoney229 wrote:
Night Strike wrote:In game 1732387, Pink did not show up in the elimination summary for losing points. I have 4.2.1 and nothing else.
It works for me. try a ctrl+F5 ??


Still didn't work. You sure you checked under Elimination Summary and not the normal Game Log???
Image
User avatar
Major Night Strike
 
Posts: 8512
Joined: Wed Apr 18, 2007 2:52 pm

Postby Optimus Prime on Sun Feb 10, 2008 6:33 pm

Night Strike wrote:
Stoney229 wrote:
Night Strike wrote:In game 1732387, Pink did not show up in the elimination summary for losing points. I have 4.2.1 and nothing else.
It works for me. try a ctrl+F5 ??


Still didn't work. You sure you checked under Elimination Summary and not the normal Game Log???

He shows up in my elimination summary and the normal game log.
User avatar
Cadet Optimus Prime
 
Posts: 9665
Joined: Mon Mar 12, 2007 9:33 pm

Postby Stoney229 on Sun Feb 10, 2008 7:56 pm

Night Strike wrote:
Stoney229 wrote:
Night Strike wrote:In game 1732387, Pink did not show up in the elimination summary for losing points. I have 4.2.1 and nothing else.
It works for me. try a ctrl+F5 ??


Still didn't work. You sure you checked under Elimination Summary and not the normal Game Log???
You're right. I was looking at the game log, and he is missing from the my elim summary.
Score: 1739
Games: 88 Completed, 52 (59%) Won
#1302/21963
User avatar
Lieutenant Stoney229
 
Posts: 303
Joined: Fri Mar 03, 2006 10:46 am

PreviousNext

Return to Tool Archives

Who is online

Users browsing this forum: No registered users