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.
Locked
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Re: Future BOB feature request

Post by yeti_c »

FreeMan10 wrote:Here's a thought for the future requests pile:

Could you make the stats background for they yellow player darker? It's really hard to see yellow against light greenish/gray. I have to highlight the text so I get white on blue most of the time to make it readable.


(like you've got nothing else going on right now... ;))


Well we did make the yellow murkier than the army yellow for that very reason.

C.
Image
Highest score : 2297
User avatar
Fluffums
Posts: 9
Joined: Wed Jun 20, 2007 1:44 pm

Post by Fluffums »

And now for something completely different:

yeti_c, you rock! Thank you so much for BOB. Your work is greatly appreciated by me, at the very least, and I'm sure uncounted more are also grateful for the work you've done, especially in keeping the BOB script up to date.

Keep on being awesome!
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

Fluffums wrote:And now for something completely different:

yeti_c, you rock! Thank you so much for BOB. Your work is greatly appreciated by me, at the very least, and I'm sure uncounted more are also grateful for the work you've done, especially in keeping the BOB script up to date.

Keep on being awesome!


Cheers!!

Today I will attempt to write in some speed ups...

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

Post by yeti_c »

VERSION : 4.3.6

FIXED :

A few speed ups for the log truncation stuff.
New Menu Option = Full Log - Turn this on for all game links to load Full logs on load... Doesn't work for "Click here to goto next game link"

C.
Image
Highest score : 2297
User avatar
wicked
Posts: 15787
Joined: Thu Jan 26, 2006 1:23 pm

Post by wicked »

yeti_c wrote:New Menu Option = Full Log - Turn this on for all game links to load Full logs on load...
C.


Uhh, the partial game logs were done for a reason, to ease the database strain. Why are you putting in something to circumvent this when it was put in for a specific reason?
User avatar
General Mayhem
Posts: 197
Joined: Fri Mar 17, 2006 6:29 am
Location: Leeds, England, UK

Post by General Mayhem »

wicked wrote:
yeti_c wrote:New Menu Option = Full Log - Turn this on for all game links to load Full logs on load...
C.


Uhh, the partial game logs were done for a reason, to ease the database strain. Why are you putting in something to circumvent this when it was put in for a specific reason?


im no expert on th is stuff but isnt it good for people to have an option to see the full game history? perhaps as long as its turned off once viewed?
"There is a forgotten, nay almost forbidden word, which means more to me than any other. That word is ENGLAND."
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

General Mayhem wrote:
wicked wrote:
yeti_c wrote:New Menu Option = Full Log - Turn this on for all game links to load Full logs on load...
C.


Uhh, the partial game logs were done for a reason, to ease the database strain. Why are you putting in something to circumvent this when it was put in for a specific reason?


im no expert on th is stuff but isnt it good for people to have an option to see the full game history? perhaps as long as its turned off once viewed?


BOB downloads the full Log anyway - thus already cicumventing the "reduced log" thing...

Also - this method does in fact save the server - as it then only downloads the full log once - at the moment the server gives BOB 50 - then BOB asks for the full log - then chucks away the 50... this method only ever uses the log once.

C.
Image
Highest score : 2297
User avatar
wicked
Posts: 15787
Joined: Thu Jan 26, 2006 1:23 pm

Post by wicked »

General Mayhem wrote:
wicked wrote:
yeti_c wrote:New Menu Option = Full Log - Turn this on for all game links to load Full logs on load...
C.


Uhh, the partial game logs were done for a reason, to ease the database strain. Why are you putting in something to circumvent this when it was put in for a specific reason?


im no expert on th is stuff but isnt it good for people to have an option to see the full game history? perhaps as long as its turned off once viewed?


Of course the full log is available at any time. I was asking about something different. I won't try to understand it now, but it seems to defeat the purpose of having partial logs in the first place if people can opt out of it.
User avatar
jpliberty
Posts: 229
Joined: Sun Dec 31, 2006 2:21 pm
Location: United States

understood

Post by jpliberty »

thanks, sounds like BOB cells multiply rapidly...
User avatar
FreeMan10
Posts: 152
Joined: Wed Jan 23, 2008 12:48 pm
Location: On The Road

Post by FreeMan10 »

Amazing how fast you've worked on these changes and fixes, C. Thanks for the hard work, and keep it up!

I'm still getting my head wrapped around the snapshots, but I'd have a really hard time playing w/o BOB.
User avatar
Stoney229
Posts: 303
Joined: Fri Mar 03, 2006 10:46 am
Contact:

Post by Stoney229 »

LLLUUUKKKEEE wrote:
yeti_c wrote:
Kemmler wrote:yeti, it still doesn't work for me.


Do you have
a) the latest version (4.3.6)
b) more than one version installed?
c) Firefox 3

C.


I didn't think FF3 was out yet,
its not on their page.
How do I get it?
still in beta
Score: 1739
Games: 88 Completed, 52 (59%) Won
#1302/21963
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

Anyone with FireFox 3 (BETA) will be having issues - FF3 has a bug in it that is known and hopefully will be fixed soon...

In the meantime - I suggest getting FF2 again.

FWIW - FF3 will not work with Snapshots either. (As it uses the same code as the log stuff)

I will attempt to run up a fix for this sometime next week.

Also - for peoples "browsers locking up" - On inital load of a game - the Script now has to download the Log to process it - depending on your game - this may take some time... some logs may fail (If this happens you will receive an error message)

If you want to change this you can turn on "Full Log" (menu option available when in a game) - and then make sure you load all of your games from the "My Games" page -> Note that this will also circumvent the FF3 bug too.

If anyone posts after this comment with something that is covered here - then I will be annoyed that I just wasted a few minutes typing something that everyone is going to ignore (Note all that I have typed here is available in past pages of this topic too)

C.
Image
Highest score : 2297
User avatar
xmaveric
Posts: 43
Joined: Wed Jun 20, 2007 6:46 am

Post by xmaveric »

Suggestion:

Misc Awards section

Horde (territory with the largest army): Greenland (42)
Holeshot (First player to get a continent bonus): Soandso, N.America (Round 2)
Bulwark (continent held the longest): Soandso (N.America, 8 rounds)
Bully (most attacks): Soandso (23 attacks)
Pacifist (least attacks): Billybob (1 attack)
Rich (most armies received): Harryjoe (324, avg of 23/round)
Poor (least armies received): Sammysue (23 avg of 3/round)
Slowpoke (longest turn): Soandso (59:23, round 7)
Speedster (shortest turn): Harryjoe (00:46, round 4)
Strategist (most fortifications): Billybob (23)
Traitor (most attacks against a team member): Timmy (3)

The idea is more "fun" than functional. It reminds me of FPS games at the end where medals are awarded, sometimes for good stuff (head shots) and sometimes for bad stuff (suicides/team kills.)

I'm sure many more odd facts could be added to the list. If this is too big, perhaps BoB randomly selects 3 facts to display on load. Or perhaps these appear only after the game is over (like a FPS), although some of these figures would be handy to have during the match.

One possible display option would be to have tabs above the stats pane, one for stats, and one for Awards, so players can flip back and forth between them.

Your thoughts?
User avatar
Stoney229
Posts: 303
Joined: Fri Mar 03, 2006 10:46 am
Contact:

Post by Stoney229 »

xmaveric wrote:Suggestion:

Misc Awards section

Horde (territory with the largest army): Greenland (42)
Holeshot (First player to get a continent bonus): Soandso, N.America (Round 2)
Bulwark (continent held the longest): Soandso (N.America, 8 rounds)
Bully (most attacks): Soandso (23 attacks)
Pacifist (least attacks): Billybob (1 attack)
Rich (most armies received): Harryjoe (324, avg of 23/round)
Poor (least armies received): Sammysue (23 avg of 3/round)
Slowpoke (longest turn): Soandso (59:23, round 7)
Speedster (shortest turn): Harryjoe (00:46, round 4)
Strategist (most fortifications): Billybob (23)
Traitor (most attacks against a team member): Timmy (3)

The idea is more "fun" than functional. It reminds me of FPS games at the end where medals are awarded, sometimes for good stuff (head shots) and sometimes for bad stuff (suicides/team kills.)

I'm sure many more odd facts could be added to the list. If this is too big, perhaps BoB randomly selects 3 facts to display on load. Or perhaps these appear only after the game is over (like a FPS), although some of these figures would be handy to have during the match.

One possible display option would be to have tabs above the stats pane, one for stats, and one for Awards, so players can flip back and forth between them.

Your thoughts?
IMHO it sounds like a good idea for another script.
Score: 1739
Games: 88 Completed, 52 (59%) Won
#1302/21963
User avatar
hulmey
Posts: 3742
Joined: Fri Nov 03, 2006 7:33 am
Location: Las Vegas

Post by hulmey »

Stoney229 wrote:new feature suggestion:

An end attacks confirmation window that tells me if I did not take any territories in a cards game.

Why it is needed:
Sometimes I deploy all my armies on one territory and use them to attack a territory that I need to take and expect to take... but I get really unlucky and do not take the territory. Then I end my attacks because I did not have any other attacks planned, but I forget that I never really took a territory... when, if I wouuld have realized that, I would have tried a 1v1 or 2v1 just to get my card (esp on a flat rate game). I usually don't realize that I did this until I end forts and see that I did not get a new card... so the existing end attacks confirmation does not help me in this matter.


Fantastic idea for an end attack feature. Espically if your used to playing NO CARDS like me!! Sometimes you have over 20 games on the go and 1 or 2 maybe with cards!! Is this feature at all possible to add?
[img]http://img801.imageshack.us/img801/9761/41922610151374166770386.jpg[/mg]
Skiman
Posts: 61
Joined: Mon Aug 14, 2006 10:41 pm
Location: Oz

how do I get AJAX BOB?

Post by Skiman »

All I can seem to find are discussions of AJAX BOB - where can I get it?
User avatar
The1exile
Posts: 7140
Joined: Tue Aug 15, 2006 7:01 pm
Location: Devastation
Contact:

Re: how do I get AJAX BOB?

Post by The1exile »

Skiman wrote:All I can seem to find are discussions of AJAX BOB - where can I get it?


See the link in yeti's sig.
Image
User avatar
cairnswk
Posts: 11510
Joined: Sat Feb 03, 2007 8:32 pm
Gender: Male
Location: Australia

Post by cairnswk »

C....I downloaded Firefox and Bob, and it all worked first go.

Fab tool, and analyser, now i know what everyone has been raving on about.

Respect C...great job, you can be justly proud. =D> =D> =D> =D> =D> =D>


Simply awesome!!!
Image
* Pearl Harbour * Waterloo * Forbidden City * Jamaica * Pot Mosbi
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

cairnswk wrote:C....I downloaded Firefox and Bob, and it all worked first go.

Fab tool, and analyser, now i know what everyone has been raving on about.

Respect C...great job, you can be justly proud. =D> =D> =D> =D> =D> =D>


Simply awesome!!!


Thanks Cairns.

Much appreciated!

C.
Image
Highest score : 2297
lancehoch
Posts: 4183
Joined: Wed Dec 05, 2007 4:13 pm

Post by lancehoch »

I have been looking at the card set estimate and I have come up with some ideas to update it.
Yeti has mentioned that he would like to see separate code for the "Chance of a +2 bonus" but with a better name and the "Chance of a set"

The probability of having a set is: (# of cards-2)/3*(# of cards>2)
where (# of cards>2) is a boolean statement, 1 if true and 0 if false. This is a strict probability calculation: if you have 5 cards the probability is 1 since you must turn in, if you have 8 the probability is 2 since you must turn in twice. For 3 cards, you have a 1/3 chance of having a set since based on the first 2 cards, the third card must be a specific color. For 4 cards, the probability is 2/3 since only one color for the fourth card will not give you a set (it will give you two pairs).

For the "Chance of a +2 bonus", the code should be 3*(integer of probability+1)*(countries owned/total countries)*(# of cards >2). This takes no calculation of whether or not you can turn in a set, only if you turn in, what are the odds that you will turn in a card of a country that you own. The 3 is the number of cards being turned in. The integer of probability+1 looks at how many sets will be turned in. As shown above, any value greater than 1 means that more than 1 set can be turned in (mid turn). For any fractional value, this is strictly looking at if the set is turned in. The (countries owned/total countries) calculates the chance that the card is an owned territory. The (# of cards>2) is a boolean statement, 1 if true and 0 if false, to make sure that there is a chance of a set.

For a flat rate game, the probability of having a set should be multiplied by the average redemption value [(4+6+8+10)/4=7]. This gives you:
Card Set Estimate=7*(# of cards-2)/3*(# of cards>2)

For an escalating, standard game you must count how many sets will be turned in between now and your turn.
Example: 6 player, sequential, escalating; you have just taken the last turn in round 5, no one has turned in a set yet
A has 5 cards, B has 4 cards, C has 4 cards, D has 3 cards, E has 5 cards, F (you) has 5 cards
Probability that each will have a set: A 1, B 2/3, C 2/3, D 1/3, E 1, F 1
Since anyone who has 5 cards must turn in, you cannot redeem for those values. The code should call and disregard next x redemption values where x= the sum of the integers of the probabilities of the other people from the active player through the player before you (n players), here x=2. Take the remainder modulo 1 of the probabilities of all these players having a set and calculate the probability that none of them redeem cards, then that 1 redeems, …, they all redeem; multiply the probability that none redeem times the x+1 redemption value, the probability that 1 redeems by the x+2 redemption value, …, that they all redeem by the x+n redemption value. Take the sum of these products and multiply the quantity by the probability that you have a set. The code for this will be long an complicated, but will give a more true representation of the value that you will likely turn in at, if you were to turn in on this turn.

For an escalating, freestyle game the values are not based on the other players, because you cannot be sure who will start their turn first. Using similar notation to the above example, x is based strictly on the integer of your cards (a max of 1 to start a turn, but could be higher if you eliminate people). However, instead of disregarding the redemption values, they are added to the following: remainder of probability modulo 1 (fractional value) times redemption value of the x+1 set.

If anyone has any suggestions for this or questions because it is too confusing, let me know. Hopefully this will clear up some of the questions that people have with the card set estimate.
User avatar
wicked
Posts: 15787
Joined: Thu Jan 26, 2006 1:23 pm

Post by wicked »

*** THIS BOB THREAD HAS NOW BEEN SPLIT INTO TWO. THIS THREAD IS FOR THE DISCUSSION OF THE DEVELOPMENT OF FUTURE BOB VERSIONS. FROM NOW ON, PLEASE POST ALL BOB-RELATED BUGS/ISSUES IN THE STICKIED "BOB BUGS" THREAD AT THE TOP OF THIS SUBFORUM. THANKS!! ***
User avatar
xmaveric
Posts: 43
Joined: Wed Jun 20, 2007 6:46 am

Post by xmaveric »

Stoney229 wrote:
xmaveric wrote:Suggestion:

Misc Awards section

Horde (territory with the largest army): Greenland (42)
Holeshot (First player to get a continent bonus): Soandso, N.America (Round 2)
Bulwark (continent held the longest): Soandso (N.America, 8 rounds)
Bully (most attacks): Soandso (23 attacks)
Pacifist (least attacks): Billybob (1 attack)
Rich (most armies received): Harryjoe (324, avg of 23/round)
Poor (least armies received): Sammysue (23 avg of 3/round)
Slowpoke (longest turn): Soandso (59:23, round 7)
Speedster (shortest turn): Harryjoe (00:46, round 4)
Strategist (most fortifications): Billybob (23)
Traitor (most attacks against a team member): Timmy (3)

The idea is more "fun" than functional. It reminds me of FPS games at the end where medals are awarded, sometimes for good stuff (head shots) and sometimes for bad stuff (suicides/team kills.)

I'm sure many more odd facts could be added to the list. If this is too big, perhaps BoB randomly selects 3 facts to display on load. Or perhaps these appear only after the game is over (like a FPS), although some of these figures would be handy to have during the match.

One possible display option would be to have tabs above the stats pane, one for stats, and one for Awards, so players can flip back and forth between them.

Your thoughts?
IMHO it sounds like a good idea for another script.


I thought it would be better to be included in BoB, since BoB already has parsed the log.
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

xmaveric wrote:
Stoney229 wrote:
xmaveric wrote:Suggestion:

Misc Awards section

Horde (territory with the largest army): Greenland (42)
Holeshot (First player to get a continent bonus): Soandso, N.America (Round 2)
Bulwark (continent held the longest): Soandso (N.America, 8 rounds)
Bully (most attacks): Soandso (23 attacks)
Pacifist (least attacks): Billybob (1 attack)
Rich (most armies received): Harryjoe (324, avg of 23/round)
Poor (least armies received): Sammysue (23 avg of 3/round)
Slowpoke (longest turn): Soandso (59:23, round 7)
Speedster (shortest turn): Harryjoe (00:46, round 4)
Strategist (most fortifications): Billybob (23)
Traitor (most attacks against a team member): Timmy (3)

The idea is more "fun" than functional. It reminds me of FPS games at the end where medals are awarded, sometimes for good stuff (head shots) and sometimes for bad stuff (suicides/team kills.)

I'm sure many more odd facts could be added to the list. If this is too big, perhaps BoB randomly selects 3 facts to display on load. Or perhaps these appear only after the game is over (like a FPS), although some of these figures would be handy to have during the match.

One possible display option would be to have tabs above the stats pane, one for stats, and one for Awards, so players can flip back and forth between them.

Your thoughts?
IMHO it sounds like a good idea for another script.


I thought it would be better to be included in BoB, since BoB already has parsed the log.


Of course - if you want this to be at the end of the game... then it would be immaterial if it were BOB or another script - if you want it in game... then yes BOB would keep things speedier.

C.
Image
Highest score : 2297
User avatar
xmaveric
Posts: 43
Joined: Wed Jun 20, 2007 6:46 am

Post by xmaveric »

Now that this thread has been split, you might want to either change the link on the version number to the bug thread, or include a "Submit Bug" link somewhere on the menu.



As for the Awards section... I know that I'm not going to write a GM script to do it, but the idea is out there if you get some free time and want to add it to BoB.
User avatar
yeti_c
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am
Gender: Male

Post by yeti_c »

xmaveric wrote:Now that this thread has been split, you might want to either change the link on the version number to the bug thread, or include a "Submit Bug" link somewhere on the menu.



As for the Awards section... I know that I'm not going to write a GM script to do it, but the idea is out there if you get some free time and want to add it to BoB.


Changing the link in the script involves releasing a new one - so I will do it next time I do.

C.
Image
Highest score : 2297
Locked

Return to “Tool Archives”