Author Topic: What I've done so far  (Read 4870 times)

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
What I've done so far
« on: June 10, 2005, 11:41:56 AM »
This is so you know what's going down.

1.  Bots' size is now realistically linked to body.  (see screenshot)

2.  All physics reworked to use Forces.  Result: a few instabilites here and there, slower from not being optimized, but generally more realistic reactions between bots and ties, walls, gravity, etc.  Haven't worked out drag yet, and friction is acting a little screwy still.

As an unintended result, bots conserve angular momentum from ties very well now.

Still not quite stable for gravity sims yet, which is a disapointment.

3. Shots now collide mouch more often with bots they're supposed to.  It's still not 100%, but it's definately an improvement.

4.  Options form has been slightly tweaked, with all physics constants being moved to a seperate form.  There are some pull down menues for physics defaults.

5.  Bots now allowed up to 10 ties.

6.  Solved a few logic errors and bugs that freeze the program.

7.  Some bits of a "bucket" system started to speed up the simulation.

8.  Started the new mutations menu, and some basic DNA tools for the new mutations.

9.  Started a new robot debugging form, but no code just yet.

10. Environment grid worked out a bit more.  Still not quite there.

That's pretty much it.

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
What I've done so far
« Reply #1 on: June 10, 2005, 11:46:28 AM »
That is awesome!  So many changes!  I feel ashamed I have not updated the web-site yet, which I promised to do a long time ago.  Well, I am almost there, probably finish over the weekend.

Woo-hoo!
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
What I've done so far
« Reply #2 on: June 10, 2005, 12:29:44 PM »
Quote
5. Bots now allowed up to 10 ties.
Hmm??

That is going to screw up the .tielen1, .tielen2 etc. format.

Oh well, it was a bit makeshift anyway and was just put in to test an idea.
I wonder if we can actually simplify the whole thing by using a slightly modified kind of sysvar for the input.

I am thinking of something like .tielen#1 where the "1" can be any integer value and the DNA code will automatically search out the ".tielen#" substring then apply the number that follows it, to the internal tie array address.

A similar system could also replace the clunky tie addressing system that we now use. We wouyld then have an internal tie address (1-10) to be used for setting lengths and angles, and an external tie address (phase) with values from 1 to 32000 to be used as we do now.

The idea needs fleshing out a little but is the basis for the core of a new and simplified tie addressing system that I am starting to work out.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Stryke

  • Bot Neophyte
  • *
  • Posts: 12
    • View Profile
What I've done so far
« Reply #3 on: June 12, 2005, 06:18:11 PM »
Quote
5.  Bots now allowed up to 10 ties.
I forsee many program crashes in the future. Just think of a bot mutating the ability to reproduce quickly and eventually being tied to ten other bots that are tied to nine other bots, etc.  :wacko: . And also, I have seen that when bots go from one side of the screen to the other when the screen runs out (toroidial) and they have a whole bunch of ties, the tie will sometimes stretch all the way in the opposite direction instead of going through and out the other side. When it happened, it frequently crashed the program for me when in large numbers of ties (I'm not sure if it's been fixed in the new versions). But if it works, I don't see anything wrong with it. All the other improvements are great.
« Last Edit: June 12, 2005, 06:21:28 PM by Stryke »
--O===O--
--O===O--
----O=O---
------O-----
----O=O---
--O===O--
--O===O--
----O=O---
------O-----
----O=O---
--O===O--
--O===O--
----O=O---
------O----
----O=O---
--O===O--
--O===O--

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
What I've done so far
« Reply #4 on: June 12, 2005, 07:29:40 PM »
Yep, it did cause alot of bugs and freezes, but I think I managed to sort most of them out.  I tested it with a cancerous veg that ties to everything it sees.  It manages to create some very fun webs and strings and things to play with.

I found and fixed a bug that caused large conglomerations of vegs (50+) to freeze the program if they touch the edges.

Everything looks pretty good.  The only real problem at this point is that the simulation has slowed down dramatically (alot of square roots taken).

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
What I've done so far
« Reply #5 on: June 14, 2005, 04:53:18 PM »
Spent yesterday and today working out the rest of the buckets system (or, if you prefer, quad tree, though it isn't a tree) and the program is running as fast as it was before.

Which is exciting because the code is seriously unoptimized.  I wrote it for simplicity to bug test.

New version is sooooo cool.

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
What I've done so far
« Reply #6 on: June 14, 2005, 07:40:40 PM »
Just found a serious bug in this board: we don't have a "drooling" smiley....
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
What I've done so far
« Reply #7 on: June 14, 2005, 08:30:17 PM »
So go find me one then either send me a link or upload the file for it and I will add it to the site.  :Headbang:
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
What I've done so far
« Reply #8 on: June 14, 2005, 11:05:47 PM »
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
What I've done so far
« Reply #9 on: June 15, 2005, 08:26:26 AM »
Might have guessed it would be Homer <_<

Consider it added.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D