Page 1 of 1

BOB needs help on map align

PostPosted: Tue Sep 01, 2009 12:15 pm
by megarman1
On every map I need to make it Map Align Left: 1 px and Map Align Top: 1 px to fit properly. But I can only do it individually, is there a way I can do it on all of them?

Re: BOB needs help on map align

PostPosted: Tue Sep 01, 2009 12:32 pm
by sherkaner
Not really..
If it really bothers you atm, you could change the function in the file itself (right click monkey, manage user scripts, click Conquer Club - BOB, click Edit):

Code: Select all
   function shiftMagicMap(){
      left = 12 + getMapleft();
      top = 22 + getMaptop();
      if (gameSettings.tournament)
         top += 20;
      magicmap.css('top', top + 'px').css('left', left + 'px');
   }

to (only added 1 to the numbers..)
Code: Select all
   function shiftMagicMap(){
      left = 13 + getMapleft();
      top = 23 + getMaptop();
      if (gameSettings.tournament)
         top += 20;
      magicmap.css('top', top + 'px').css('left', left + 'px');
   }

This would be undone by a new version of BOB though..
But I'm kinda curious, what version of firefox are you using?

Re: BOB needs help on map align

PostPosted: Tue Sep 01, 2009 1:53 pm
by megarman1
Thank you it works fine now. I was using 3.0.13 but I updated it to 3.5.2 and it remained the same problem

Re: BOB needs help on map align

PostPosted: Wed Sep 02, 2009 3:28 am
by yeti_c
Yep - I could never find the cause of this one...

95% of people were fine - the other 5% needed this...

C.