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 - d-EVO

Pages: 1 ... 7 8 [9]
121
Newbie / Introduction and Condition question
« on: October 23, 2008, 06:30:07 PM »
hey guys

I am new here so I guess I should ask a newbie question  

Is    >   <   =   !=   %=   %!=   the only available conditions!
Not that you need any more it is just that I would like to use   =>   and   =<   like you can In java.
I want to know because I am writing a DNA that compares the value of each eye and sees which one has the biggest value.
But if a bot intersects 2 or more of the eyes there values become equal and the bot malfunctions.
So I need to check that the value of each eye is bigger than or equal to.

It would be much easier to write my program If I can compare both in one line.
I have already tried to use the =<   and   => conditions and they seem to work.
My bots go totally mental though and they only lock onto there own kind instead of veges (put *.myeye *.refeye != as a condition, doesn't seem to work   )

If These conditions are not available, maby it would be a good idea for a future version.

I will post my DNA if I actually get it to work.

cheers

122
Mutations / Connecto_Preservans
« on: October 22, 2008, 05:28:37 PM »
Thanks for the help guys

I have downloaded v 2.44 but it makes my computer lag hectically. I get 1.5 cycles a second with T_Presevians v veg. ( using a laptop at the moment)

I think the bot just sticks to make feeding easier. Kind of useless I know  

This stuff looks really interesting think I will get into it, I do java programming all ready and there are a few similarities

Can you please post the link for v 2.43 1l here I would really appreciate it

probably should have done this in the newbie section but I have come this far...

123
Mutations / Connecto_Preservans
« on: October 21, 2008, 02:11:48 PM »
A similar thing happend with me
This bot also evolved in DB v 2.1 from a T_Preservans after about 30 minutes. It lasted quite a while suprizingly.
I am new to this so I am not an expert with DNA so I dont know what to make of it.
It is quite a cool bot but it sucks at reproducing and feeding of its host.
it ataches to every thing it sees. not very good at finding victims though.
This is the code

Code: [Select]
ultimus linkius

cond
  *.refaimsx
  20
  >
start
  1
  *40
  add
  40
  store
stop

cond
  *.eye5
  0
  =
start
  1
  *40
  add
  1
  *40
  add
  40
  store
stop

cond
  *.refdn
  20
  >
start
  100
  .aimdx
  store
stop

cond
  *40
  200
  >
start
  1
  40
  store
  40
  store
stop

cond
  *.eye1
  0
  >
  *.refdn
  20
  <
  *.eye5
  0
  =
start
  59
  store
stop

cond
  *.eye2
  0
  >
  *.tielen
  20
  <
  *.eye5
  0
  =
start
  46
  .aimsx
  store
stop

cond
  *.eye3
  0
  >
  *.refdn
  36
  <
  *.eye5
  0
  =
start
  .shootval
  store
  .aimsx
  store
stop

cond
  *.eye4
  0
  >
  *.refdn
  20
  =
  *.eye5
  0
  =
start
  16
  .aimsx
  store
stop

cond
  *.eye5
  0
  >
start
  5
  .up
  store
stop

cond
  *.eye5
  49
  >
  *.out2
  20
  <
  *.refnrg
  500
  >
  *.tienum
  0
  =
start
stop

cond
start
 -1
  .shoot
  store
stop

cond
  *.eye5
  49
  >
  *.refdn
  20
  <
  *.refshoot
  0
  >
start
  2
  7
stop

cond
start
  store
  2
  .tie
  store
  5000
  .shootval
  store
stop

cond
  *.eye5
  49
  >
  *.nrg
  500
  <
  *.refshoot
  0
  =
start
 -1
  .shoot
  store
stop

cond
  *.eye5
  49
  >
  *.refdn
  20
  >
  *.refnrg
  500
  <
  *.nrg
  499
  >
start
  200
stop

cond
  *.eye6
  0
  >
  *.refdn
  20
  <
  *.eye5
  0
  =
start
  15
  5
stop

cond
  *.in1
  0
  !=
  *.refdn
  20
  <
  *.eye5
  0
  =
start
  30
  .aimdx
  store
stop

cond
  *.hitsx
  0
  >
  *.refdn
  20
  >
  *.eye5
  0
  =
start
  45
  store
stop

cond
  *.eye9
  0
  >
  *.refdn
  20
  <
  *.eye5
  0
  =
start
  60
  5
  dec
  store
  sub
stop

cond
  *.eye1
  0
  =
  *.eye2
  4
  %=
  *.eye3
  0
  =
  *.eye4
  0
  =
  *.eye5
  0
  =
  *.hitdx
  0
  =
  *.eye8
  0
  =
  *.eye9
  0
  =
  *40
  100
  <
start
  4
  .up
  store
  5
  .aimdx
  store
stop

cond
  *.eye1
  0
  =
  *.eye2
  0
  =
  *.eye3
  0
  =
  *.in1
  0
  =
  *.shdn
  0
  =
  *.eye7
  0
  =
  *.eye8
  5
  =
  *.eye9
  0
  =
  *40
  100
  >
start
  4
  .up
  store
  5
  .aimsx
  store
stop

cond
  *.hitdx
  0
  !=
  *.nrg
  10000
  >
start
  400
  .aimdx
  store
  20
  .repro
  store
stop

cond
  1
  0
  =
start
  0
  .dn
  store
  0
  mult
  .dn
  store
  .dn
  store
  0
  .dn
  store
  0
  .dn
  store
  0
  .dn
  store
  0
  .dn
  store
  0
  .dn
  store
  0
  .dn
  store
  0
  .dn
  store
  0
  .dn
  store
  mult
  .dn
  store
  mult
  0
  2
  sub
  store
  0
  .dn
  store
  0
  .shdx
  store
  0
  .dn
  store
  0
  .dn
  store
  0
  .dn
  store
  0
  .dn
  store
  6
  .dn
  store
  0
  .dn
  store
  0
  .dn
  store
  0
  .dn
  store
  0
  .dn
  store
stop
end

Pages: 1 ... 7 8 [9]