BOB/CM improvements

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.

What improvements should I focus on for BOB

Make BOB/CM work in Chrome
10
17%
Combine BOB and Clickable Maps
7
12%
BOB: Replace the numbers on the map with self-generated numbers
2
3%
BOB: Make snapshots exchangable (previous option would make this easier)
9
15%
BOB: Create an auto-snapshot function
3
5%
BOB: Create a way to 'replay' a game (only displaying ownership)
12
20%
CM: Create a way to hand in a set with keys
4
7%
Just fix bugs, it is fine as it is
13
22%
 
Total votes: 60

sherkaner
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Gender: Male
Location: Zwolle

BOB/CM improvements

Post by sherkaner »

I'm trying to get some more experience with javascript, and improving either BOB or CM is a good way to improve that. But it seems that I get distracted with other things every time I try to improve something.
So I'd like to know what other people would like me to focus on. The poll below should give me a sense of direction.

I think combining BOB and CM would be a mistake at the moment, if only because of all the speed addicts. But there is a certain overlap which would make it pretty easy.
The replace number on the map is something that seems to be a bit strange, but it would allow me to really change a player's color, or change the font or size of the numbers if needed so this could be a real improvement. And it would mean that BOB doesn't have to save the whole image with the numbers any more in the snapshot, which would make exchanging them easier, and in case of a redesign of a map the old snapshot would probably still be valid. This will be the hardest option to implement though.

If you have any other options, just let me know.
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: BOB/CM improvements

Post by Dako »

BOB: Make snapshots exchangable
Yes, I would love that! I have PC at home and at work - the problems come at weekends because I don't have my snapshots from the previous week. A disaster indeed :-).

BOB: Create a way to 'replay' a game
Have thought about that myself. Really nice option to show how you've won some awesome game when you were at 2 territories only.

Pretty useless, but it will improve the coding level for sure.
Image
sherkaner
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Gender: Male
Location: Zwolle

Re: BOB/CM improvements

Post by sherkaner »

Because I asked the question, I should get back at it eventually. There weren't too many votes, so I decided most people don't care about new options. And I picked making CM work in Chrome as the best option for now, it improves the code of CM a bit, I can learn some new tricks from it and I just found a way to get started.

Currently it gives no more direct errors and some things are working, so I'll have to find out why the others aren't working.
User avatar
chipv
Head Tech
Head Tech
Posts: 3063
Joined: Mon Apr 28, 2008 5:30 pm

Re: BOB/CM improvements

Post by chipv »

I think people are meaning to say "Great Job" which I agree with.
Army of GOD
Posts: 7192
Joined: Tue Feb 24, 2009 4:30 pm
Gender: Male

Re: BOB/CM improvements

Post by Army of GOD »

Dako wrote:BOB: Create a way to 'replay' a game
Have thought about that myself. Really nice option to show how you've won some awesome game when you were at 2 territories only.

Pretty useless, but it will improve the coding level for sure.


That'd be cool.
mrswdk is a ho
sherkaner
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Gender: Male
Location: Zwolle

Re: BOB/CM improvements

Post by sherkaner »

Thanks for the extra votes, it gives me a sense of direction. For the record, I had a very rudimentary version working of the playback-function, but it needs quite some work to have some value. I chose 1 attack per 0.3 second to be displayed, but some games still took very long, and you couldn't really notice the attacks fast enough. So I have to come up with some way of controlling that.

sherkaner wrote:Currently it gives no more direct errors and some things are working, so I'll have to find out why the others aren't working.

Btw, if anyone is willing to test: http://userscripts.org/scripts/source/72599.user.js is the current script for both firefox and Chrome, but there could still be some bugs. What doesn't work: confirmations and updating (updating is uninstall/reinstall for now). And there could be some other effects, though just clicking seems to work (I used it a few turns, until I really missed BOB..).
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: BOB/CM improvements

Post by Dako »

One more option just came into my mind.

"Show initial map disposition". Should be useful at fog games with conquest type (or huge amount of coded neutrals). For example, you are playing feudal and pretty much pinpointed enemies location, but you do not know how many neutrals are between you (or could be, at least). This feature just shows the default coded neutral disposition on the map as if the game was sunny for a moment (of course, you can't see enemy anyway - but this way you know how many troops you need to pass). Also, all your allies troops overwrite "default neutrals".

How is that?
Image
sherkaner
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Gender: Male
Location: Zwolle

Re: BOB/CM improvements

Post by sherkaner »

Dako wrote:One more option just came into my mind.

"Show initial map disposition". Should be useful at fog games with conquest type (or huge amount of coded neutrals). For example, you are playing feudal and pretty much pinpointed enemies location, but you do not know how many neutrals are between you (or could be, at least). This feature just shows the default coded neutral disposition on the map as if the game was sunny for a moment (of course, you can't see enemy anyway - but this way you know how many troops you need to pass). Also, all your allies troops overwrite "default neutrals".

How is that?

That's actually the original reason for option 3. There is a chance the map xml has changed since the game started, then it would give the wrong numbers. But if that is accepted and I have a way to do option 3, this is quite easy.
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Re: BOB/CM improvements

Post by yeti_c »

Yeah - the reason I did the code for 3 to grab the images of the army numbers - is because you cannot create the numbers with HTML/Javascript alone (All to do with the black stroke) - so the numbers don't look nearly so nice... as you well know - we already store the armies array anyways - so if you *could* do away with the image save then you'd be saving a lot of effort...

Ideally what would be best if Lack provided a way of making an armies image with your own numbers... (This could also be used by the mapmaking tools as well)

C.
Image
Highest score : 2297
sherkaner
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Gender: Male
Location: Zwolle

Re: BOB/CM improvements

Post by sherkaner »

Main problem is that I can't get it to look exactly like CC's numbers at the moment.
User avatar
chipv
Head Tech
Head Tech
Posts: 3063
Joined: Mon Apr 28, 2008 5:30 pm

Re: BOB/CM improvements

Post by chipv »

sherkaner wrote:Main problem is that I can't get it to look exactly like CC's numbers at the moment.


Ok you can use my generator. The XML Wizard generates exact CC looking numbers because it uses the same php
as CC to draw them (lack gave me the font code).

At the moment you can ask it for individual numbers and colour but I could also do a single overlay like CC does if you want.

Catch me on MSN.
Chuuuuck
Posts: 1298
Joined: Thu May 31, 2007 11:09 am

Re: BOB/CM improvements

Post by Chuuuuck »

I think I am late joining this conversation but I think the most useful would be to make snapshots exchangeable. That would be incredible for me and many others I know.

Thanks for all of your hard work.
User avatar
clapper011
Posts: 7208
Joined: Mon Feb 20, 2006 10:25 am
Gender: Female
Location: Ontario, Canada

Re: BOB/CM improvements

Post by clapper011 »

the newest bob update not working... I click it and nothing happens..
TeeGee
Multi Hunter
Multi Hunter
Posts: 7244
Joined: Sat Nov 11, 2006 5:07 pm
Gender: Male
Location: Somewhere on Planet Earth for now
Contact:

Re: BOB/CM improvements

Post by TeeGee »

clapper011 wrote:the newest bob update not working... I click it and nothing happens..


i had to install it twice to make it work.. don't know why it didnt take the 1st time
Image

catstevens: you are now an honorary American TG...Congrats
User avatar
clapper011
Posts: 7208
Joined: Mon Feb 20, 2006 10:25 am
Gender: Female
Location: Ontario, Canada

Re: BOB/CM improvements

Post by clapper011 »

TeeGee wrote:
clapper011 wrote:the newest bob update not working... I click it and nothing happens..


i had to install it twice to make it work.. don't know why it didnt take the 1st time

I keep clicking on where it says update.. but nothing happens.. just the window like it always does but its blank and disappears right away!
User avatar
clapper011
Posts: 7208
Joined: Mon Feb 20, 2006 10:25 am
Gender: Female
Location: Ontario, Canada

Re: BOB/CM improvements

Post by clapper011 »

clapper011 wrote:
TeeGee wrote:
clapper011 wrote:the newest bob update not working... I click it and nothing happens..


i had to install it twice to make it work.. don't know why it didnt take the 1st time

I keep clicking on where it says update.. but nothing happens.. just the window like it always does but its blank and disappears right away!

fixed! thanks ender516!
Prow
Posts: 28
Joined: Sat Nov 25, 2006 5:24 am

Re: BOB/CM improvements

Post by Prow »

clapper, could you help others to solve this problem..?
User avatar
clapper011
Posts: 7208
Joined: Mon Feb 20, 2006 10:25 am
Gender: Female
Location: Ontario, Canada

Re: BOB/CM improvements

Post by clapper011 »

ender516 wrote:To know if you have an out-of-date BOB, ook at your BOB Menu. If the last item is blinking and says Update Available, then click it. The latest version available is 4.10.6, which you should be able to see in small print beside the BOB Menu title. (That's also a clicky which takes you to the main BOB forum topic mentioned above.)

BOB updates have been having minor problems lately, so if it doesn't seem to install, then try this link: http://www.mdn.fm/files/93673_idgpq/con ... ob.user.js.

Other quick fixes can include refreshing the page with F5, or with control-F5 (which, I believe, defeats cached information so old stuff gets swept out of the way), or disabling and reenabling BOB or all of GreaseMonkey (right-click the GreaseMonkey icon at the bottom right of your screen and click the appropriate menu item(s) to set and clear the checkmarks).
all right here :)
Prow
Posts: 28
Joined: Sat Nov 25, 2006 5:24 am

Re: BOB/CM improvements

Post by Prow »

Thanks!
Prow
Posts: 28
Joined: Sat Nov 25, 2006 5:24 am

Re: BOB/CM improvements

Post by Prow »

Well, it works only once..and after any refresh the problem is still there..
sherkaner
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Gender: Male
Location: Zwolle

Re: BOB/CM improvements

Post by sherkaner »

Check the main BOB-thread: viewtopic.php?f=527&p=2571872#p2571872
http://userscripts.org/scripts/source/52341.user.js should work now, afterwards it should be normal again.
User avatar
White Moose
Posts: 2015
Joined: Mon Sep 24, 2007 6:33 am
Location: Sweden

Re: BOB/CM improvements

Post by White Moose »

Clickable Maps Improvment

Remove the box which comes up when you try to attack a territory which you can't attack from the position you have marked.

It's seriously annoying if you happen to missclick in a speed game. Even though it doesnt happen so often.
Image
Highest Score: 3374
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: BOB/CM improvements

Post by Dako »

BOB idea.

Move objective summary right below the map or to the side bar (make it an option?). Right now it is hard to find what terrs are to win the game. For example, on Das Schloss map I still don't know what I need to hold for the win lol. It is so hard to find them without map inspect.

What do you think?
Image
sherkaner
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Gender: Male
Location: Zwolle

Re: BOB/CM improvements

Post by sherkaner »

I tend to have the continents on the side, maybe I could somehow merge it with that. I should already kill the display of continents without bonus anyway, that should create some room on a few maps.
Dako
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Gender: Male
Location: St. Petersburg, Russia
Contact:

Re: BOB/CM improvements

Post by Dako »

I have continents on the side as well. Maybe show them one after another? Killing no-bonus continents is a good idea - but sometimes I use that to see who is close to a bonus (on Supermax it is very handy). So maybe it should be an option, again (option for continent view?).
Image
Post Reply

Return to “Tool Archives”