Author Topic: Revolutionary bot (Eco)(Endy)-18.12.06  (Read 3657 times)

Offline Jez

  • Bot Overlord
  • ****
  • Posts: 788
    • View Profile
Revolutionary bot (Eco)(Endy)-18.12.06
« on: December 18, 2006, 04:52:48 AM »
'Warning: will not work as posted!!! (read posts below)

'Experiment involving a species that was at least temporarily altruistic towards it's family. Whenever 32000
'rnd equals 1 however they randomly change their out1 value. This seemed to happen on a fairly regular
'basis, presumably about every 16000 cycles. During the transition points the population droped rapidly until
' a new number dominated.

'At first a completly(no kin recognition) canni species evolved from them. Next in response to the canni's
' attacks and inter-family fighting a completly altruistic species evolved.  They eventually won out. From the
' completly altruistic species a chamelon canni species evolved. The altruists were eliminated. Eventually the
'wasteful canni methods caused the population to wipe itself out.

'Revolutionary Bot
cond
start
' Standard epigenetic starter
31999 rnd 1 add 550 store
.delgene inc
stop

cond
start
.out1 inc
32000 rnd
stop

cond
1 =
start
' 1/32001 chance that 550 will randomly change to something else,
' once that happens population begins a downward slide until the population stabilizes at a new number.
31999 rnd 1 add 550 store
stop

cond
*.robage 0 =
start
*550 .out1 store
stop

cond
*.eye5 45 >
*.out1 *.in1 !=
start
.shoot dec
stop

cond
*.nrg 5000 >
start
50 .repro store
*.nrg 5000 sub .strbody store
stop
' Avoid / Attack
cond
*.eye5 45 <
*.eye5 0 >
15 *.vel >
*.in2 *.refage !=
start
15 *.vel sub 2 div .up store
stop

' and this gene sets aim to well... aim. It was an avoidance gene, but along the way evolution had it's vote
' woks better than the original gene so it's been left this way
cond
*.eye5 0 >
*.refage *.in2 >
start
314 inc
*.aim add .setaim store
stop

cond
*.eye5 45 <
*.eye5 0 >
*.maxvel *.vel >
*.in1 *.out1 !=
start
*.maxvel *.vel sub 2 div .up store
stop

cond
*.eye5 0 >
*.in1 *.out1 =
start
314 rnd *.aim add .setaim store
stop

cond
*.eye5 0 =
start
314 rnd *.aim add .setaim store
stop
end
« Last Edit: December 19, 2006, 08:24:13 AM by Jez »
If you try and take a cat apart to see how it works, the first thing you have in your hands is a non-working cat.
Douglas Adams

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
Revolutionary bot (Eco)(Endy)-18.12.06
« Reply #1 on: December 18, 2006, 06:42:45 PM »
Warning: will not work as posted!!! Bot requires the location 550 to be epigenetic inorder to work properly. A mod could probably be made that uses standard epigenetic locations.

Offline Jez

  • Bot Overlord
  • ****
  • Posts: 788
    • View Profile
Revolutionary bot (Eco)(Endy)-18.12.06
« Reply #2 on: December 18, 2006, 06:56:01 PM »
I thought that was set in the first gene.

Can you update/mod it a bit so it is a working model? or provide instructions on how to use. It's a cool bot to use in a eco sim so it would be a shame if new users couldn't try it.
If you try and take a cat apart to see how it works, the first thing you have in your hands is a non-working cat.
Douglas Adams

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
Revolutionary bot (Eco)(Endy)-18.12.06
« Reply #3 on: December 18, 2006, 07:08:39 PM »
Maybe, it gave me a headache trying to transmit the information via removal tie, and the regular locations take forever to work.

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Revolutionary bot (Eco)(Endy)-18.12.06
« Reply #4 on: December 18, 2006, 07:53:11 PM »
Quote from: Endy
Maybe, it gave me a headache trying to transmit the information via removal tie, and the regular locations take forever to work.
Submit a suggestion and I'll tweak genetic memory or add a few new values that are instantanious.   Beats having to rev your own fork every time a new drop comes out...
Many beers....

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7715
    • View Profile
Revolutionary bot (Eco)(Endy)-18.12.06
« Reply #5 on: December 18, 2006, 10:05:32 PM »
For a future DNA specification, I wouldn't mind sysvars being pushed into the 501+ range and leaving 1-500 for personal bot use.  Having 1-100 be instantly epigenetic would also be nice.

For the time being, if the current racial memory was instantly transfered at birth, things would be happier ;D