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 - That One Guy

Pages: [1]
1
Newbie / My Bot
« on: April 03, 2010, 11:34:51 AM »
Code: [Select]
'Animal_Minimalis

'Contains everything necessary for it
'to survive and reproduce.

cond
start
*.mkvirus 0 =
*.nrg 500 > and
*.thisgene 1 add .mkvirusstore
*.vtimer 1 =
100 .vshoot store
stop

cond
*971 79 !=
start
79 971 store
stop

cond
*.eye1 0 =
*.eye2 0 =
*.eye3 0 =
*.eye4 0 =
*.eye5 0 =
*.eye6 0 =
*.eye7 0 =
*.eye8 0 =
*.eye9 0 =
start
314 .aimdx store
stop

cond
*.robage 0 =
start
.fixpos .vloc store
1 .venval store
stop

cond
100 *.poison >
start
100 *.poison sub .strpoison store
.shoot .ploc store
stop

cond
*.refeye *.myeye !=
*.eye5 0 >
start
.refvelsx .sx .store
.maxvel .up .store
'fire venom
-3 .shoot store
stop

cond
100 *.venom >
start
100 *.venom sub .strvenom store
stop

cond
*.nrg 20000 >
start
.repro store
stop

cond
*.eye1 0 >
start
30 .aimsx store
stop

cond
*.eye2 0 >
start
30 .aimsx store
stop

cond
*.eye3 0 >
start
30 .aimsx store
stop

cond
*.eye4 0 >
start
30 .aimsx store
stop

cond
*.eye6 0 >
start
30 .aimdx store
stop

cond
*.eye7 0 >
start
30 .aimdx store
stop

cond
*.eye8 0 >
start
30 .aimdx store
stop

cond
*.eye9 0 >
start
30 .aimdx store
stop
end

I changed it to this and now no virus is firing at all!
not ur fault im just not too good...

2
Newbie / My Bot
« on: April 03, 2010, 10:08:27 AM »
Hi. Im not really new to darwinbots but i am to coding my own bots and to the community.  anyway i made this bot trying to test how some of the features work and to me it looks as though it should work and for the most part it does but my virus effects my bot so if you could would you help me  ?[div class=\'codetop\']CODE[div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']'Animal_Minimalis

'Contains everything necessary for it
'to survive and reproduce.

cond
.shoot -2 =
start
.shoot 0 store
stop

cond
*.eye1 0 =
*.eye2 0 =
*.eye3 0 =
*.eye4 0 =
*.eye5 0 =
*.eye6 0 =
*.eye7 0 =
*.eye8 0 =
*.eye9 0 =
start
314 .aimdx store
stop

cond
*.robage 0 =
start
.fixpos .vloc store
1 .venval store
stop

cond
100 *.poison >
start
100 *.poison sub .strpoison store
.shoot .ploc store
stop

cond
*.refeye *.myeye !=
*.eye5 0 >
start
.refvelsx .sx .store
.maxvel .up .store
'fire venom
-3 .shoot store
stop

cond
100 *.venom >
start
100 *.venom sub .strvenom store
stop

cond
*.nrg 20000 >
start
.repro store
stop

cond
start
-2 .shoot store
*.thisgene .mkvirus store
50 .vshoot store
stop

cond
*.eye1 0 >
start
30 .aimsx store
stop

cond
*.eye2 0 >
start
30 .aimsx store
stop

cond
*.eye3 0 >
start
30 .aimsx store
stop

cond
*.eye4 0 >
start
30 .aimsx store
stop

cond
*.eye6 0 >
start
30 .aimdx store
stop

cond
*.eye7 0 >
start
30 .aimdx store
stop

cond
*.eye8 0 >
start
30 .aimdx store
stop

cond
*.eye9 0 >
start
30 .aimdx store
stop
end

its based on animal minimalis but i scraped most of its code.  my big problems as i said are the virus affecting my bot (i tried to stop that with gene 1)  also my poison doesn't seem to be firing.  I was thinking of implementing a sexual reproduction gene but that seemed a little confusing. one last thing do you think the virus should stun and the venom make them shoot energy or the other way around like it is now? thanks

Pages: [1]