BOB comments (old thread)

Archival storage to keep things organized and uncluttered. Can't find what you need? Search for old topics here.

Moderators: Global Moderators, Tech Team

Forum rules
Please read the Community Guidelines before posting.

Re: BOB 4.10.4

Postby cspare on Wed Mar 24, 2010 6:15 am

BOB currently prevents other scripts to subscribe to the refreshGMScript function. this is currently breaking the refresh of ConquerStats' data+charts.
In the code you change the implementation of unsafeWindow.refreshGMScript by assigning a new function to it. But you still need to call the original implementation of the function, like this:
Code: Select all
// upgrade refreshGMScript with new version.
originalRefreshGMScript = unsafeWindow.refreshGMScript;
unsafeWindow.refreshGMScript = function(armiesArray, date) {
(...)
   cc_log($('#middleColumn script').html());
   originalRefreshGMScript();
   return true;
};
Sergeant 1st Class cspare
 
Posts: 101
Joined: Sun Apr 08, 2007 12:56 pm
Medals: 8
Standard Achievement (1) Doubles Achievement (1) General Contribution (6)

Re: BOB 4.10.4

Postby sherkaner on Wed Mar 24, 2010 7:29 am

cspare wrote:BOB currently prevents other scripts to subscribe to the refreshGMScript function. this is currently breaking the refresh of ConquerStats' data+charts.
In the code you change the implementation of unsafeWindow.refreshGMScript by assigning a new function to it. But you still need to call the original implementation of the function, like this:
Code: Select all
// upgrade refreshGMScript with new version.
originalRefreshGMScript = unsafeWindow.refreshGMScript;
unsafeWindow.refreshGMScript = function(armiesArray, date) {
(...)
   cc_log($('#middleColumn script').html());
   originalRefreshGMScript();
   return true;
};

Yep, I see your point (never looked at this in detail). I'll update it within a day.
Colonel sherkaner
 
Posts: 1606
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle
Medals: 42
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (3) Clan Achievement (3)
General Contribution (11)

Re: BOB 4.10.4

Postby yeti_c on Thu Apr 01, 2010 1:42 pm

Yeah - in the past we just made sure that BOB was run first in the order of GM.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9670
Joined: Thu Jan 04, 2007 9:02 am
Medals: 46
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Cross-Map Achievement (3) Ratings Achievement (3)
General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Re: BOB 4.10.4

Postby Chuuuuck on Fri Apr 02, 2010 11:18 am

I thought of a suggestion that might make BOB a little better (it would for me).

I am not sure if anyone ever said this before and I don't want to read 30 pages to find out so I will just say it again.

Instead of showing the number of territories that you can SEE in BOB when playing in the fog. Why not show it as a fraction of # of territories you can compared to the total number of territories that player has.

Say a player has 8 total territories (obvious from the game log) and you can see 5 of them. Then BOB would read 5/8 under the territories column.

I know this is kind of lazy, but when you really think about it that is all BOB is for is to make things more convenient and easy since anything that is shown on BOB can be reasonably figured out by any player just looking at the board. This is the same sort of thing, would just make it a little easier.
Brigadier Chuuuuck
 
Posts: 1299
Joined: Thu May 31, 2007 11:09 am
Medals: 65
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (1) Freestyle Achievement (3) Nuclear Spoils Achievement (1) Fog of War Achievement (3)
Trench Warfare Achievement (1) Speed Achievement (3) Teammate Achievement (3) Random Map Achievement (1) Cross-Map Achievement (3)
Ratings Achievement (3) Tournament Achievement (7) General Achievement (6) Clan Achievement (13) General Contribution (1)

Re: BOB 4.10.4

Postby yeti_c on Fri Apr 02, 2010 12:29 pm

FYI - I've a feeling I coded Continents to work in Objectives when I originally coded Objectives...

Of course - I may have also not done it properly!!

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9670
Joined: Thu Jan 04, 2007 9:02 am
Medals: 46
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Assassin Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Cross-Map Achievement (3) Ratings Achievement (3)
General Achievement (1) Map Contribution (13) Tournament Contribution (1) General Contribution (10)

Re: BOB 4.10.4

Postby josko.ri on Mon Apr 05, 2010 9:47 am

Does Bob support possibility of automatic starting turn immediately after your opponent in freestyle games? for example, I was last playing player in last turn. can I make sure that my bonus troops will be received in full number when I come next time? or I must camping near my computer to catch my opponent to begin his turn?
Image
User avatar
General josko.ri
 
Posts: 1726
Joined: Sun Nov 15, 2009 5:18 pm
Medals: 98
Conqueror Achievement (1) Monthly Leader Silver (1) Monthly Leader Bronze (2) Standard Achievement (3) Doubles Achievement (2)
Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1) Assassin Achievement (1) Manual Troops Achievement (1)
Freestyle Achievement (1) Polymorphic Achievement (2) Nuclear Spoils Achievement (2) Fog of War Achievement (3) Trench Warfare Achievement (1)
Speed Achievement (1) Teammate Achievement (2) Random Map Achievement (2) Cross-Map Achievement (3) Beta Map Achievement (1)
Ratings Achievement (3) Tournament Achievement (26) General Achievement (16) Clan Achievement (17) Tournament Contribution (1)

Re: BOB 4.10.4

Postby drunkmonkey on Mon Apr 05, 2010 9:48 am

josko.ri wrote:Does Bob support possibility of automatic starting turn immediately after your opponent in freestyle games? for example, I was last playing player in last turn. can I make sure that my bonus troops will be received in full number when I come next time? or I must camping near my computer to catch my opponent to begin his turn?


No, BOB doesn't play the game for you. :roll:
Image
User avatar
Major drunkmonkey
 
Posts: 1703
Joined: Thu May 14, 2009 4:00 pm
Medals: 88
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (1) Polymorphic Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (3)
Trench Warfare Achievement (1) Speed Achievement (1) Teammate Achievement (1) Random Map Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (3) Tournament Achievement (23) General Achievement (11) Clan Achievement (12) Tournament Contribution (9)

Re: BOB 4.10.4

Postby sherkaner on Mon Apr 05, 2010 10:11 am

drunkmonkey wrote:
josko.ri wrote:Does Bob support possibility of automatic starting turn immediately after your opponent in freestyle games? for example, I was last playing player in last turn. can I make sure that my bonus troops will be received in full number when I come next time? or I must camping near my computer to catch my opponent to begin his turn?


No, BOB doesn't play the game for you. :roll:

He's right. Wouldn't be terribly hard to do though if you left a browser window open.

yeti_c wrote:FYI - I've a feeling I coded Continents to work in Objectives when I originally coded Objectives...

Of course - I may have also not done it properly!!

C.

Hmm, you're talking about the new xml objectives I guess. Yeah, I'll check it soon (but for now there is no map having that afaik, so I can't test anyway).

Chuuuuck wrote:I thought of a suggestion that might make BOB a little better (it would for me).

I am not sure if anyone ever said this before and I don't want to read 30 pages to find out so I will just say it again.

Instead of showing the number of territories that you can SEE in BOB when playing in the fog. Why not show it as a fraction of # of territories you can compared to the total number of territories that player has.

Say a player has 8 total territories (obvious from the game log) and you can see 5 of them. Then BOB would read 5/8 under the territories column.

I know this is kind of lazy, but when you really think about it that is all BOB is for is to make things more convenient and easy since anything that is shown on BOB can be reasonably figured out by any player just looking at the board. This is the same sort of thing, would just make it a little easier.

I'm not sure what you're talking about. There are standard and extended stats.
In basic it's 0 [ 4 ], which doesn't differ a lot from 0/4. For extended it's 0 ( 0% ) [ 4 (5%) ]-, which I think is a bit long. Do you mean the extended, and would you like it changed to 0/4 (5%)-? I agree that would be a small improvement.
Colonel sherkaner
 
Posts: 1606
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle
Medals: 42
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (3) Clan Achievement (3)
General Contribution (11)

Re: BOB 4.10.4

Postby josko.ri on Mon Apr 05, 2010 11:45 am

drunkmonkey wrote:
josko.ri wrote:Does Bob support possibility of automatic starting turn immediately after your opponent in freestyle games? for example, I was last playing player in last turn. can I make sure that my bonus troops will be received in full number when I come next time? or I must camping near my computer to catch my opponent to begin his turn?


No, BOB doesn't play the game for you. :roll:


but maybe BOB can only BEGIN turn for me, not play, if possible. (that s my suggestion)
so, maybe it is good to have possibility "immediately start turn". after my opponent starts his turn, then BOB start it for me if that option is turned on. when turn is started then I have 1 hour to finish it. it is not hard to check a game every 45 minutes, but it is hard to camping near computer in waiting for my opponent to begin.
Image
User avatar
General josko.ri
 
Posts: 1726
Joined: Sun Nov 15, 2009 5:18 pm
Medals: 98
Conqueror Achievement (1) Monthly Leader Silver (1) Monthly Leader Bronze (2) Standard Achievement (3) Doubles Achievement (2)
Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1) Assassin Achievement (1) Manual Troops Achievement (1)
Freestyle Achievement (1) Polymorphic Achievement (2) Nuclear Spoils Achievement (2) Fog of War Achievement (3) Trench Warfare Achievement (1)
Speed Achievement (1) Teammate Achievement (2) Random Map Achievement (2) Cross-Map Achievement (3) Beta Map Achievement (1)
Ratings Achievement (3) Tournament Achievement (26) General Achievement (16) Clan Achievement (17) Tournament Contribution (1)

Re: BOB 4.10.4

Postby Namor on Mon Apr 05, 2010 1:22 pm

josko.ri wrote:
drunkmonkey wrote:
josko.ri wrote:Does Bob support possibility of automatic starting turn immediately after your opponent in freestyle games? for example, I was last playing player in last turn. can I make sure that my bonus troops will be received in full number when I come next time? or I must camping near my computer to catch my opponent to begin his turn?


No, BOB doesn't play the game for you. :roll:


but maybe BOB can only BEGIN turn for me, not play, if possible. (that s my suggestion)
so, maybe it is good to have possibility "immediately start turn". after my opponent starts his turn, then BOB start it for me if that option is turned on. when turn is started then I have 1 hour to finish it. it is not hard to check a game every 45 minutes, but it is hard to camping near computer in waiting for my opponent to begin.


BOB is designed to take the drudgery out of counting terits etc. in the game log... once you start adding something like that (that can give you an advantage over your opponent), then it's a slippery slope towards a script that could play the whole game for you.
User avatar
Colonel Namor
 
Posts: 329
Joined: Sun Dec 07, 2008 11:36 am
Location: Isle of Wight
Medals: 30
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (1)
Manual Troops Achievement (1) Freestyle Achievement (1) Fog of War Achievement (3) Teammate Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (3) General Achievement (3) Clan Achievement (3)

Re: BOB 4.10.4

Postby Foxglove on Mon Apr 05, 2010 9:22 pm

viewtopic.php?f=506&t=113964

I'm also having this issue: BOB won't finish "processing the log" on any of my Third Crusade games.
Brigadier Foxglove
Beta Team Member
Beta Team Member
 
Posts: 1196
Joined: Sun Dec 16, 2007 1:05 pm
Medals: 57
Standard Achievement (2) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1)
Freestyle Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (3) Trench Warfare Achievement (1) Speed Achievement (1)
Teammate Achievement (2) Random Map Achievement (1) Cross-Map Achievement (3) Beta Map Achievement (1) Ratings Achievement (1)
Tournament Achievement (7) General Achievement (6) Clan Achievement (11) Tournament Contribution (1) General Contribution (6)

Re: BOB 4.10.4

Postby sherkaner on Tue Apr 06, 2010 2:19 am

Yep, I'm at work so I won't be able to do something about it for the next 8 hours at least. But it probably has something to do with the new xml for objectives. I guess they adapted the XML for crusaders already.
Colonel sherkaner
 
Posts: 1606
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle
Medals: 42
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (3) Clan Achievement (3)
General Contribution (11)

Re: BOB 4.10.4

Postby josko.ri on Tue Apr 06, 2010 6:57 am

Namor wrote:
josko.ri wrote:
drunkmonkey wrote:
josko.ri wrote:Does Bob support possibility of automatic starting turn immediately after your opponent in freestyle games? for example, I was last playing player in last turn. can I make sure that my bonus troops will be received in full number when I come next time? or I must camping near my computer to catch my opponent to begin his turn?


No, BOB doesn't play the game for you. :roll:


but maybe BOB can only BEGIN turn for me, not play, if possible. (that s my suggestion)
so, maybe it is good to have possibility "immediately start turn". after my opponent starts his turn, then BOB start it for me if that option is turned on. when turn is started then I have 1 hour to finish it. it is not hard to check a game every 45 minutes, but it is hard to camping near computer in waiting for my opponent to begin.


BOB is designed to take the drudgery out of counting terits etc. in the game log... once you start adding something like that (that can give you an advantage over your opponent), then it's a slippery slope towards a script that could play the whole game for you.


I dont agree. it will not give advantage to anybody, it will make game more fair because both players will get bonus that they deserve at the end of last round. without that option great advantage is present to the one who plays the first. first playing player will always have full bonus and steal other player his full bonus. i think it is real advantage, and my suggestion is to reduce that advantage and make game more fair. players with slower computers are very handicapped in situation like now in freestyle games, my suggestion would allow the players with slower computers to play freestyle games with equal chances for winning.
Image
User avatar
General josko.ri
 
Posts: 1726
Joined: Sun Nov 15, 2009 5:18 pm
Medals: 98
Conqueror Achievement (1) Monthly Leader Silver (1) Monthly Leader Bronze (2) Standard Achievement (3) Doubles Achievement (2)
Triples Achievement (2) Quadruples Achievement (3) Terminator Achievement (1) Assassin Achievement (1) Manual Troops Achievement (1)
Freestyle Achievement (1) Polymorphic Achievement (2) Nuclear Spoils Achievement (2) Fog of War Achievement (3) Trench Warfare Achievement (1)
Speed Achievement (1) Teammate Achievement (2) Random Map Achievement (2) Cross-Map Achievement (3) Beta Map Achievement (1)
Ratings Achievement (3) Tournament Achievement (26) General Achievement (16) Clan Achievement (17) Tournament Contribution (1)

Re: BOB 4.10.4

Postby drunkmonkey on Tue Apr 06, 2010 9:43 am

Keeping the bonus you had at the end of the turn without giving another player a chance to break it is not strategy. It's exploiting a loophole. If you want that crap added to the game, find another script to put it in. It won't be added to BOB.
Image
User avatar
Major drunkmonkey
 
Posts: 1703
Joined: Thu May 14, 2009 4:00 pm
Medals: 88
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (1) Polymorphic Achievement (1) Nuclear Spoils Achievement (2) Fog of War Achievement (3)
Trench Warfare Achievement (1) Speed Achievement (1) Teammate Achievement (1) Random Map Achievement (2) Cross-Map Achievement (3)
Ratings Achievement (3) Tournament Achievement (23) General Achievement (11) Clan Achievement (12) Tournament Contribution (9)

Re: BOB 4.10.4

Postby AndrewB on Tue Apr 06, 2010 11:11 am

sherkaner wrote:Yep, I'm at work so I won't be able to do something about it for the next 8 hours at least. But it probably has something to do with the new xml for objectives. I guess they adapted the XML for crusaders already.


You are right, the XML was updated to include the Continents. I am an xml author for that map, and I was not aware of the change... :S
Image
User avatar
Lieutenant AndrewB
 
Posts: 1814
Joined: Mon Jun 12, 2006 5:02 pm
Location: Edmonton, Canada, MST
Medals: 72
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (2) Terminator Achievement (2)
Assassin Achievement (2) Manual Troops Achievement (1) Freestyle Achievement (2) Fog of War Achievement (3) Speed Achievement (2)
Cross-Map Achievement (3) Ratings Achievement (3) Tournament Achievement (22) General Achievement (1) Clan Achievement (8)
Map Contribution (3) Tournament Contribution (7) General Contribution (2)

PreviousNext

Return to Tool Archives

Who is online

Users browsing this forum: No registered users and 1 guest

Login