Author Topic: I am trying to transmit my entier dna via virus.  (Read 1612 times)

Offline -venom-

  • Bot Neophyte
  • *
  • Posts: 47
    • View Profile
I am trying to transmit my entier dna via virus.
« on: January 25, 2007, 08:43:45 AM »
here is the dna so far

' Alga anaparagogi ios

cond
 *.vitmer 0 =
start
 1 .mkvirus store
 2 .mkvirus store
 3 .mkvirus store
stop

cond
  *.nrg 6000 >
start
  50 .repro store
  15 .aimdx store
stop

cond
 *.eye5 0 =
 *.refeye *.myeye !=
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
 50 .vshoot store
stop
end


so any help would be apreciated
If this were a perfect world, nobody would have let me into it.

Offline Sprotiel

  • Bot Destroyer
  • ***
  • Posts: 135
    • View Profile
I am trying to transmit my entier dna via virus.
« Reply #1 on: January 25, 2007, 11:40:24 AM »
Assigning several times to the same sysvar is no good. What you need to do for your first gene is something like that:
Code: [Select]
def counter 50

cond
 *.vtimer 0 =
start
 *.counter 3 mod ++ .mkvirus store
 .counter inc
stop

Offline MacadamiaNuts

  • Bot Destroyer
  • ***
  • Posts: 273
    • View Profile
    • http://www.franontanaya.com/blog/
I am trying to transmit my entier dna via virus.
« Reply #2 on: January 25, 2007, 08:25:43 PM »
That looks fun.

If I had the time to do it, I would set up a veggie with an huge gene repository and let it fire random genes to zerobots... I mean... "lego-bots".
Sometimes you win, and sometimes you lose...

Offline -venom-

  • Bot Neophyte
  • *
  • Posts: 47
    • View Profile
I am trying to transmit my entier dna via virus.
« Reply #3 on: January 28, 2007, 09:43:43 PM »
in vegs it only transmits the last two genes and in everything else it only transmits the firts one ill keep trying but any help would be extreamly apreciated
If this were a perfect world, nobody would have let me into it.

Offline Jez

  • Bot Overlord
  • ****
  • Posts: 788
    • View Profile
I am trying to transmit my entier dna via virus.
« Reply #4 on: January 29, 2007, 01:53:34 AM »
Could you post the code you are using?
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 -venom-

  • Bot Neophyte
  • *
  • Posts: 47
    • View Profile
I am trying to transmit my entier dna via virus.
« Reply #5 on: January 29, 2007, 05:32:15 PM »
I got it to work but what the hell here it is

what do ya say

Code: [Select]
' Alga anaparagogi ios

cond
 .myup 2=
start
 7 989 store
stop

def counter 50

cond
*.vtimer 0 =
start
*.counter 3 mod ++ .mkvirus store
.counter inc
stop

cond
 7 *989 !=
 *.nrg 0 !=
start
 50 .repro store
 15 .aimdx store
 *.refveldx .dx store
 *.refvelup 30 add .up store
 50 .vshoot store
stop

cond
 *.eye5 0 =
 *.refeye *.myeye !=
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
 50 .vshoot store
stop
end
If this were a perfect world, nobody would have let me into it.

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
I am trying to transmit my entier dna via virus.
« Reply #6 on: February 01, 2007, 02:31:20 AM »
Why not just use:

Code: [Select]
cond
*.counter *.genes >
start
0 .counter store
stop

cond
*.vtimer 0 =
start
*.genes *.counter sub .mkvirus store
.counter inc
stop

This way it would vshoot the genome from bottom to top.

If you want to go really basic just use: *.genes rnd .mkvirus store this'll eventually vshoot all the genes, just not in a particullarly orderly manner.