Darwinbots Forum

Code center => Bugs and fixes => Bug reports => Topic started by: Testlund on March 19, 2007, 03:11:07 AM

Title: Gauges still not accurate RESOLVED 2.43v
Post by: Testlund on March 19, 2007, 03:11:07 AM
I found the gauges are still not displaying correctly. In this sim you'll see yellow gauges for poison build-up and some with yellow gauges despite they have no build-ups at all. Is yellow supposed to be poison? I think Eric changed that some time ago, but I copied a textfile from the forum here before there were a gauge for poison, which says yellow is slime.

Also you find that the NRG Providers here forms ties on occasion, but they have no instructions to do so and not enough waste to cause alzheimers. Could be caused by other bots shooting memory shots though.
Title: Gauges still not accurate RESOLVED 2.43v
Post by: Testlund on December 06, 2007, 06:25:44 AM
As far as I can see this has still not been fixed yet. Here's another sim that shows it. If you look in the upper left you'll see a bunch of bots with yellow circles in them, but when you double-click them you'll see the numbers don't match on the robot data dialog. I suppose yellow circles means poison. I can't find the post that explains about the various bot colors. I thought I had a text file somewhere that explained it but it must have gone away. But it doesn't matter, you can see different data with bots with similar circles, so something is not right here.

And the version I'm running is of course 2.43u when I post this.
Title: Gauges still not accurate RESOLVED 2.43v
Post by: Numsgil on December 06, 2007, 09:54:21 AM
Found the post (http://www.darwinbots.com/Forum/index.php?showtopic=1810).  Looks like yellow circles are slime, if I read it correctly.  Do your bots have slime?
Title: Gauges still not accurate RESOLVED 2.43v
Post by: EricL on December 06, 2007, 11:17:41 AM
It's a bug.  Several actually.  The bots actually have tiny tiny amounts of slime.   1X10^-44 slime in fact.  That this is so and that it doesn't degrade to 0 in the next cycle are bugs #1 and #2.

Another bug is in drawing the guages.  In figuring out the percentage of the circle to draw, the tiny Single values rounds down to 0 and is passed to the DrawCircle routine which VB interprets to draw a full circle.  Bug #3.

I'll take care of them in 2.43v.
Title: Gauges still not accurate RESOLVED 2.43v
Post by: Testlund on December 06, 2007, 12:38:48 PM
Glad you found them.  

May I add a suggestion to this post? How about making colors consistent for the different substances, like circles, shots and hit blobs have the same colors for the same substance? Easier to memorize.
Title: Gauges still not accurate RESOLVED 2.43v
Post by: EricL on December 06, 2007, 12:44:20 PM
Quote from: Testlund
Glad you found them.  

May I add a suggestion to this post? How about making colors consistent for the different substances, like circles, shots and hit blobs have the same colors for the same substance? Easier to memorize.
Arn't they?  They should be consistant.  Which are not?
Title: Gauges still not accurate RESOLVED 2.43v
Post by: Testlund on December 06, 2007, 12:54:17 PM
Well, I'm sure info shots for instance have the bots color while when they hit another bot it displays as a black blob. Also I think poison shots are yellow, but the yellow gauges are slime, right? I thought yellow gauges was poison first. Maybe a new explanation of the colors is needed, the one at the link Nums posted above seem to be missing some, or is inacurate, whatever.
Title: Gauges still not accurate RESOLVED 2.43v
Post by: EricL on December 06, 2007, 01:17:00 PM
Quote from: Testlund
Well, I'm sure info shots for instance have the bots color while when they hit another bot it displays as a black blob. Also I think poison shots are yellow, but the yellow gauges are slime, right? I thought yellow gauges was poison first. Maybe a new explanation of the colors is needed, the one at the link Nums posted above seem to be missing some, or is inacurate, whatever.
Info shot impact dots are black, yes.  What color should they be?
I've changed the venom guage to be black (instead of yellow) added a poison guage (it didn't exist) and made it yellow in 2.43v.
The rest of the colors are matched up as far as I am able.  
I'll add a color key to the program soon.

Here are the shot impact colors:

  FlashColor(1) = vbBlack         ' Hit with memory shot
  FlashColor(-1 + 10) = vbRed     ' Hit with Nrg feeding shot
  FlashColor(-2 + 10) = vbWhite   ' Hit with Nrg Shot
  FlashColor(-3 + 10) = vbBlue    ' Hit with venom shot
  FlashColor(-4 + 10) = vbGreen   ' Hit with waste shot
  FlashColor(-5 + 10) = vbYellow  ' Hit with poison Shot
  FlashColor(-6 + 10) = vbMagenta ' Hit with body feeding shot
  FlashColor(-7 + 10) = vbCyan    ' Hit with virus shot
 
Here are the guage colors:

nrg white
body magenta
waste green
venom blue
shell red
slime black
poison yellow
Vtimer Cyan
Title: Gauges still not accurate RESOLVED 2.43v
Post by: Testlund on December 06, 2007, 01:31:54 PM
Quote from: EricL
Info shot impact dots are black, yes.  What color should they be?

I meant the shots could be black before they hit too, not just the blobs.
Title: Gauges still not accurate RESOLVED 2.43v
Post by: EricL on December 06, 2007, 01:40:26 PM
Quote from: Testlund
Quote from: EricL
Info shot impact dots are black, yes.  What color should they be?

I meant the shots could be black before they hit too, not just the blobs.
They are the color of the bot that shot them today I believe.  I could make them black.  The downside is confusion with who shot them.  Hmmm...
Title: Gauges still not accurate RESOLVED 2.43v
Post by: Numsgil on December 06, 2007, 01:43:57 PM
You could have a toggle-able filter that colors shots based on who shot them, or what they are.
Title: Gauges still not accurate RESOLVED 2.43v
Post by: EricL on December 06, 2007, 01:50:57 PM
Quote from: Numsgil
You could have a toggle-able filter that colors shots based on who shot them, or what they are.
Blah!  More knobs....
Title: Gauges still not accurate RESOLVED 2.43v
Post by: Testlund on December 06, 2007, 02:03:29 PM
And tie sharing should have the same colors as the substance they are sharing. And green slime looks better than black slime.  
Title: Gauges still not accurate RESOLVED 2.43v
Post by: EricL on December 06, 2007, 02:08:09 PM
Quote from: Testlund
And tie sharing should have the same colors as the substance they are sharing. And green slime looks better than black slime.  
And I suppose you want waste to be brown instead of green....  

I'll work it.  The tie sharing suggestion is a good one but that code is.... fragile.  But I'll work on it.
Title: Gauges still not accurate RESOLVED 2.43v
Post by: Testlund on December 06, 2007, 03:01:40 PM
Quote
And I suppose you want waste to be brown instead of green....

Yeah, I was thinking about suggesting that but, nah...