Author Topic: 2.42.6e  (Read 9673 times)

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
2.42.6e
« on: June 19, 2006, 02:02:13 PM »
[attachment=320:attachment][attachment=316:attachment]

In the course of working on performance for the next version, I re-wrote the shot/bot collision routine (again).  The result was gratifying.  This version is substantially, noticably faster than 2.42.6, so much so that I thought it a good idea to drop this buddy drop.  I'll wait until 2.42.7 to drop source and update the FTP page, but for those wanting a significantly faster 2.42.6, this is for you.

I have verified that the upload suceeded.
« Last Edit: June 26, 2006, 12:08:52 PM by EricL »
Many beers....

Offline Griz

  • Bot Overlord
  • ****
  • Posts: 608
    • View Profile
2.42.6e
« Reply #1 on: June 19, 2006, 02:53:05 PM »
so ... we find it where?
不知
~griz~
[/color]
   "The selection of Random Numbers is too important to be left to Chance"
The Mooj  a friend to all humanity
[/color]

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
2.42.6e
« Reply #2 on: June 19, 2006, 05:03:02 PM »
[attachment=324:attachment]

I 've attached it 6 times and each time, the zip checksum fails.  Let me try a new post...

Okay, this one seems to have worked finially...
« Last Edit: June 20, 2006, 01:39:27 PM by EricL »
Many beers....

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
2.42.6e
« Reply #3 on: June 19, 2006, 05:22:54 PM »
I should add the that extra pair of zoom magnifying glass buttons on the right end of the button bar are temporary - they control profiling.  I don't know what will happen if you click them.  Maybe nothing maybe crash.  Sorry, forgot to hide them.
Many beers....

Offline Griz

  • Bot Overlord
  • ****
  • Posts: 608
    • View Profile
2.42.6e
« Reply #4 on: June 19, 2006, 05:30:06 PM »
ok ... got it.
and it seems to work.

haven't had a chance to play with anything since 2.42.4 ...
but have all your 'destructions' downloaded so will do some
experimenting this week.
 
I know it has to be a labor of love ...
but thanks for all the work.
now if only I had time to keep up.
不知
~griz~
[/color]
   "The selection of Random Numbers is too important to be left to Chance"
The Mooj  a friend to all humanity
[/color]

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
2.42.6e
« Reply #5 on: June 19, 2006, 08:45:06 PM »
Yeah, it runs a little faster now. Check out my screenshot with tons of shots flooting around. It's down to 0.6 cycles per second but I think that's acceptable on a 1.53 MHz processor and 512 MB ram. I have the field size set to 8 with 9 different species and I'm going to run this through night to see what happens.

And those extra magnifying glasses should be left alone.  
The internet is corrupt and controlled by criminally minded people.

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
2.42.6e
« Reply #6 on: June 19, 2006, 10:49:55 PM »
Wow.  You have over 20,000 shots in this sim.  Nice.  I think the next release will have a dialog that lets you select exactly which kind of shots you want to decay and whice ones you don't.  A problem I've encounterred is that you end up with two many -1 and -6 shots floating around, creating very lethal environment...
Many beers....

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
2.42.6e
« Reply #7 on: June 20, 2006, 12:26:44 AM »
I definately think that you should limit the number of -1 and -6 shots floating around the sim, for the sake of the bots.  Reminds me of a sci fi story where the Soviet and American military bases on the Moon learned to peacefully coexist because stray bullets could reach orbit and perigee (or apigee?) back at base that shot them

I can see arguments for venom and poison, and waste and nrg should probably stick around forever, never decaying.

Just 2 cents

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
2.42.6e
« Reply #8 on: June 20, 2006, 03:17:12 AM »
Well, what happend was that I found early this morning that the program had crashed, displaying the dialog 'Darwinbots has encountered a problem and needs to close'. All shots had dissapeared too. Maybe it got too much for the program to handle. So maybe reducing the kind of shots that don't decay might make it more stable.
The internet is corrupt and controlled by criminally minded people.

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
2.42.6e
« Reply #9 on: June 20, 2006, 10:23:29 AM »
Quote from: Testlund
Well, what happend was that I found early this morning that the program had crashed, displaying the dialog 'Darwinbots has encountered a problem and needs to close'. All shots had dissapeared too. Maybe it got too much for the program to handle. So maybe reducing the kind of shots that don't decay might make it more stable.
Its just another overflow that may or may not be related to shots.  I hit it too and I'm tracking it in VB now...
Many beers....

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
2.42.6e
« Reply #10 on: June 20, 2006, 02:02:34 PM »
Okay, I found the crash.  There was a bug in my new shot collision detection algorithm which would exhibit itself in the rare case where the relative velocity of the shot and bot was exactly 0.

The attached buddy drop has the fix.
« Last Edit: June 20, 2006, 02:15:34 PM by EricL »
Many beers....

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
2.42.6e
« Reply #11 on: June 20, 2006, 02:16:27 PM »
[attachment=339:attachment]Once again, trying to attach using a new post...
« Last Edit: June 20, 2006, 03:05:59 PM by EricL »
Many beers....

Offline Elite

  • Bot Overlord
  • ****
  • Posts: 532
    • View Profile
2.42.6e
« Reply #12 on: June 20, 2006, 02:49:18 PM »
Still doesn't work  

Maybe try re-ziping it?

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
2.42.6e
« Reply #13 on: June 20, 2006, 02:55:16 PM »
Okay, I put it up on the FTP share.  This seems to work.  I think the http server or a script there-in is dropping bits...



Try this link
« Last Edit: June 20, 2006, 03:05:28 PM by EricL »
Many beers....

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
2.42.6e
« Reply #14 on: June 21, 2006, 11:27:32 AM »
Nice. It looks like you have done something else too. I find that when I zoom all the way out the bots don't look solid anymore.    

And I'm glad you got rid of those extra magnifyers, cause I accidently clicked on them sometimes, wich crashed the program.
The internet is corrupt and controlled by criminally minded people.