Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Trooper5445

Pages: [1]
1
Internet Mode Commentary / The State of the Simulation
« on: May 07, 2008, 11:31:23 PM »
Ah the simulation is interesting. Bloody seasnake. Who created that monstrosity? Anyhow my bot is doing rather well. About as well as spinner. Of course every time L_Sesillia gets ready to increase in pop the snake kills too many of my bots. Oh well its an existence.

How does it look? All I have is a population graph to guess at. I'm going to switch L_Sesilli to Purple as well for easier recognition.

2
Newbie / Overall Concept
« on: May 07, 2008, 09:17:18 PM »
Argh, code is all messed up. The Bots are not firing and Reproduction is messed up with none taking place. I can't seem to locate the problem.

Code: [Select]
' L-Sesilia
' A robot that really doesn't want to do anything
' With help from the kind community (EricL, Shasta)
' Lazy Sessile

' Gene 11 - Sexual Reproduction if energy is less than 7500
cond
  *.nrg 7500 <
  *12 .timer 500 >
start
  12 .timer 500 -
  -8 .shoot store
  50 .sexrepro
stop

' Gene 10 - Reproduce asexually if energy is greater than 7500
cond
  *.nrg 7500 >
  *.timer 500 >
start
  25 .repro store
  12 .timer 500 -
stop

' Reproducing Allowing gene (Test)
cond
start  
  12. timer 0 =
stop

' Gene 6 - Dispose of excess waste
cond
  *.waste 45 >
start
  -4 .shoot store
  *.waste .shotval store
stop

' Gene 5 - Persue Food by acceleration
cond
  *.refye 5 !=
start
  5 .up store
stop

' Gene
cond
  *.eye9 *.eye5 >
start
  25 .aimdx store
stop

' Gene
cond
  *.eye1 *.eye5 >
start
  25 .aimsx store
stop

' Gene 3 - Shoot if location 75 is equal to one
cond
  *.75 1 =
start
  -1 .shoot store
stop

' Set location 75 to 0 if nothing is seen
cond
  *.eye5 0 =
start
  0 75 store
stop

' Set location 75 to 1 if something is seen in eye5
cond
  *.eye5 0 >
start
  1 75 store
stop

end

3
Newbie / Overall Concept
« on: May 07, 2008, 01:57:22 AM »
Is there anyway to set some form of timer then so I can have reproduction be simultaneous?

4
Newbie / Overall Concept
« on: May 07, 2008, 01:31:03 AM »
What I mean was robage which is a variable for age according to the wiki. http://www.darwinbots.com/WikiManual/index.php?title=.robage

Fixed the stops.

and rewrote Gene 9

Code: [Select]
cond
  *.50 1 =
  *.robage 500 >
start
  robage 500 -
  -8 .shoot store
  50 .sexrepro
stop

EDIT: It seems to be working. Its amazing to see population explode at 500 cycles. It goes from 5 (the intial) to around 60 in about 50 frames. By 1500 frames it is up to about 650 bots.

5
Newbie / Overall Concept
« on: May 06, 2008, 11:52:23 PM »
So I've been working on the little (creature? bot?) and this what I've come up with. It has some intresting behaviors but I'm having some problems.

A: I'm not sure my sex code is right
B: It is attacking its own species
C: Is the whole reproduction code I wrote even working?
D: Code seems very inefficient

Testing has found some intersting things though

A: Population expodes every 500 cycles or so. (So it seems some of the Reproduction code is working)
B: Low mutations
C: Normally Population multiplies by about 1.5 every population explosion, then loses half of the new population for a total gain of 25%.

Code:

Code: [Select]
' L-Sesilia
' A robot that really doesn't want to do anything
' With help from the kind community (EricL, Shasta)
' Lazy Sessile

' Gene 9 - Sexual Reproduction if energy is less than 7500
cond
  *.50 1 =
  *.robage 500 >
start
  robbage 500 -
  -8 .shoot store

' Gene 8 - Reproduce asexually if energy is greater than 7500
cond
  *.50 1 !=
  *.robage 500 >
start
  25 .repro store
  robbage 500 -
stop

' Gene 7 - Set a varible for reproduction to be used later.
cond
  *.nrg 7500 >
start
  1 50 store
stop

' Gene 6 - Dispose of excess waste
cond
  *.waste 45 >
start
  -4 .shoot store
  *.waste .shotval store

' Gene 5 - Persue Food by acceleration
cond
  *.refye 5 !=
start
  5 .up store
stop

' Gene 4 - Avoid Friendlies, Spin Right if detected
cond
   *.refeye 5 =
start
  -104 .aimdx store
stop

'Gene 3 - Shoot if location 75 is not equal to zero
cond
*75 0 !=
start
-1 .shoot store
stop

'Set location 75 to 0 if nothing is seen
cond
*.eye5 0 =
start
0 75 store
stop

'Set location 75 to 1 if something is seen in eye5
cond
*.eye5 0 >
start
1 75 store
stop

end

I was trying to base this on the fact that several animals reproduce sexually only when having problems surviving and when they are doing well reproduce asexually. Any help or comments are welcome.

6
Internet Mode Commentary / The State of the Simulation
« on: May 06, 2008, 10:55:05 PM »
That seasnake is evil. Brought my sim (and soon my computer) to its knees. Anyhow can we get an update. I sent the latest build of my L_Sesillia on it and last I checked it had a small stable community but it might have been eliminated since then.

7
Newbie / Overall Concept
« on: May 06, 2008, 12:25:22 AM »
Thank you so much for your help. That has cleared it up for me a bit. I'll see what I can do to help my little bot.

Thanks for the prompt replies. I'll post in here if I have any more questions to avoid clutter.

8
Newbie / Overall Concept
« on: May 06, 2008, 12:03:02 AM »
I'm at the basic stage. I can get the thing to move but I'm not sure how to do advanced structures. Theoretically speaking I want the bot to halt all functions until a certain gene is activated which allows other genes to activate. The idea is have a bot rotates using little energy, and waits for prey to approach. It then rapidly accelerates and attacks the prey. Reproduction would be asexual and based on a high energy count. I uploaded a couple of my test organisms to the server (where they will be slaughtered in under a 100 cycles probably.)

Here is what I have so far:

Code: [Select]
' L-Sesilia

' Gene 5 - Reproduce
cond
  *.nrg 7500 >
start
  50 .repro store
stop

' Gene 4 - Shoot the food
cond
  *.eye5 40 >
start
  -1 .shoot store
stop

' Gene 3 - Persue Food
cond
  *.refye 5 !=
start
  5 .up store
stop

' Gene 2 - Avoid Friendlies
cond
   *.refeye 5 =
start
  -104 .aimdx store
stop

' Gene 1 - Detect Enemies
cond
  *.eye1 *.eye5 >
start
  -104 .aimdx store
stop


end

In case your curious about the name, it is Lazy Sesillia and the word sessile describes an organism that does not move of its own power.

But the point of this thread was that it was very general. That is what I want to do with one bot, but I just generally lack and understanding of the variables and the ways in which they can be manipulated to accomplish a task.

As to your questions I do indeed understand RPN and Gene structure. I'm a little shaky on the difference between DNA and memory. As for your questions sessilia has maxed out its population in the 30s but does move and eat and reproduce.

9
Newbie / Overall Concept
« on: May 05, 2008, 10:10:21 PM »
Well I've been trying to create a bot for a while now and I've found I'm having a lot of trouble. To be honest what is messing me up is the fact that I am somehow lacking the "big picture." I can read others code and understand, and I know what I want my bots to do, but I don't understand the way the variables and functions interact to actually do it. Espcially for the latest version. Everytime I try the wiki I want to know something it just links me to another page until I forget what I was after in the first place.

So I suppose I'm just frustrated and looking for analysis of the variables in the latest version.

It isn't really a question but I was wondering if anyone else has had a similar experience or has some help? Thanks for whatever you can provide.

10
Newbie / How did you find DarwinBots?
« on: May 05, 2008, 09:30:09 PM »
Thanks. Nice avatar by the way. I always was a fan of the Orz.

11
Newbie / How did you find DarwinBots?
« on: May 05, 2008, 07:23:15 PM »
I suppose I could feel stupid for being on topic but it was by a rather odd course that I managed to discover these here forums. It all started on (last) weekend. It was a free weekend for Team Fortress 2. Knowing this was a good game and having a good computer, but a cheaper heart, I decided it best to enjoy it while it lasted and then be done. So I enjoyed myself and played on. Then it ended. Rather abrupt and I was not satiated. So instead I decided to load up one of my other steam games. What did I have to lose. I loaded up DefCon. While there I had such a good multiplayer diplomacy game I forgot while I had stopped playing the game. So I searched for some mods to see what was out there.

While on the DefCon forums I found something. A simple mod. It added units in the shape of people's avatars as sort of a community mod. Anyhow one of the units was the Darwinians in Darwinia. Now it was a nuclear sub like unit, and so when it only had 1 nuke left it rather resembled genitalia. Someone mad the comment that they had merely "evolved" the ability to reproduce and gave a link to an evo sim known as "Darwin's Pond." 'Twas a simple game but it reminded me how much I liked evolution sims. With this knowledge in mind, after playing I finally decided what to do and began the process of searching for something more complex.

In the end I found this by a Google search but the route there was rather long and detailed above.

Now that I have found this community I am determined to learn *DNA*. I have dabbled in Python, C++, and Visual Basic prior to this. I am now determined to create a creature for the leagues and participate in the community. My goal is to not download or copy other's code (even if it is available by author's consent) but purely develop my own. I've started with some tutorials and rather simple creatures and now look forward to advancing to something rather simple. My current goal is create a bot that is totally stationary, expending no energy until it find prey at which point it will track and devour the pray assuming it can get within a certain distance by a certain time.

I would be grateful for any basic help that can be provided, and would just generally like to say 'hi' to the community.

So Hello Community.

Pages: [1]