Bots and Simulations > The Gene depository

virus bot needed

(1/4) > >>

mm130k:
I made a virus using what I read abuot them. but I cant seem to make a bot that can live long enough for the virus to take efect. Can eny one help? hers the virus:

cond
 *.robage 0 =
start
 7 989 store
stop

cond
 *.vitmer 0 =
start
 3 .mkvirus store
 200 .vshoot store
stop

cond
 7 *989 !=
start
*.thisgene .mkvirus store
200 .vshoot store
-2 .shoot store
.delgene dec
 stop

Whatever I try the bot just wont live.
thanks to all that help!
p.s. im new so try to explaine what you put into the bot that makes it live.

Billy:

--- Quote from: mm130k ---I made a virus using what I read abuot them. but I cant seem to make a bot that can live long enough for the virus to take efect. Can eny one help? hers the virus:

cond
 *.robage 0 =
start
 7 989 store
stop

cond
 *.vitmer 0 =
start
 3 .mkvirus store
 200 .vshoot store
stop

cond
 7 *989 !=
start
*.thisgene .mkvirus store
200 .vshoot store
-2 .shoot store
.delgene dec
 stop

Whatever I try the bot just wont live.
thanks to all that help!
p.s. im new so try to explaine what you put into the bot that makes it live.
--- End quote ---
[div class=\'codetop\']CODE[div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']cond
 *.thisgene 1 =
start
 7 989 store
 2 .mkvirus store
 200 .vshoot store
stop

cond
7 *989 !=
start
*.thisgene .mkvirus store
200 .vshoot store
-2 .shoot store
.delgene dec
stop

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

cond
 *.eye5 50 >
 *.refeye *.myeye !=
start
-1 .shoot store
 *.refvelup .up store
stop

cond
 *.nrg 20000 >
start
 10 .repro store
stop

cond
 *.eye5 0 =
 *.refeye *.myeye = or
start
 314 rnd .aimdx store
stop

end

Modified Animal minimalis. This works, I've tested it. Nice virus.

EDIT: Wouldn't .delgene inc work better?

EDIT 2: Oops, just noticed the age of this thread.  

Houshalter:
He might not still be here, but I do want to say that your virus looks like it was designed to kill the bot its targeting, so don't be suprised when it does. Get rid of the .delgene and the -2 and it might work. I think this post is probably going to be a waste though.

mm130k:
I'm still hear, and thanks for the advise ill try losing the .delgene

Billy:
Ah good. Maybe, as a replacement to the .delgene inc you should just put this at the bottom of your gene:
[div class=\'codetop\']CODE[div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\'].delgene inc
*.thisgene 1 =
*.genes .delgene store
This simple code would delete delete every gene exept for the virus.

Navigation

[0] Message Index

[#] Next page

Go to full version