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.


Topics - Borg

Pages: [1]
1
Darwinbots Program Source Code / SVN Repository
« on: December 21, 2006, 05:56:58 PM »
Hello..

I tried to access SVN repo of DarwinBots C++... And actualy I was able
to checkout sources only once ;)

Is it really so slow or im just unlucky?

If so, I could donate a server or 2.. for SVN repositories for darwin bots.
SVN 1.4.x have svnsync so we could have few readonly repos for ppl
to see.. and one main site for developers only when actualy commits
happens.

Both servers will allow only svn:// protocol.

What do you guys think about that?

2
Darwinbots Program Source Code / C++ Sources
« on: February 28, 2006, 09:05:21 AM »
Hello.

Whats the status of the C++ version of DarwinBots?
The sources accessible via SVN doesnt look complete.
There is no (at least) Makefile to build it, and also I heard
that MSVC 6.0 is used to devel tool, there is no project
files aswell.

Another thing.. Why C++ was choosed? Isnt better to use C only
for core programing? Its much esier to understand how code works
Personaly, all that Classes thingies scared me off..

Is there any GUI working yet?
I would be glad to check things out.. and maybe join the project.
(im not C++ fan.. but after a while I will refresh how things works ;)

3
DNA - General / mkvirus issues
« on: February 28, 2006, 04:03:29 AM »
Hello.

I made quite interesting viri for my BORG cell.
And I face one big problem, it is quite effective,
but doesnt spread quite good (as viris do usually).
mkvirus behaviour should be changed I guess,
because duplicating gene to viri take quite a lot time.
I think this process should be done only once
and then vtimer recharges much faster to shot viri at
much bigger rate ;)

Viri is made to beat tiebot.. Unfortunely.. its spreads
way too slow for that me.
Tank (aka Batterybot) is easy destroyed by my robot
for now :) thats becuuse Tankbot spreads very very slowly.

AFAIK, setting up cell to reproduce viri takes a time, but after that
viri is reproduced at quite nice rate.. and infects entire environment.

4
DNA - General / Bot is unable to detect large veggies?
« on: February 22, 2006, 01:26:29 PM »
Hello.

I've coded a little bottie for testing to see how things works.
Im using a bit modified game rule like veggies get 100 nrg per cycle.
So, when veggie is not attack it become big after some time (.body grows)
and then problem arais..  When veggie have 32000 nrg and body > 25000
my bot stops to detect it.
I dont know where could be the problem.
Anyone can help?
Ive done step by step execution
and when bot is close to to veggie, eye3 eye5 eye7 have just
0 value (via printmem .eye<n>) It looks like bug to me..

PS: I would be glad to get some docs about *ALL* DNA codes.
I see ppl using abs sgn etc command, but they are not documented.
Anyone could share me a doc please?

Code: [Select]
' Borg v1

def mrnd 950
def mdaimdx 951

cond
start
  1000 rnd .mrnd store
stop

cond
  *.mdaimdx 0 >
start
  *.mdaimdx .aimdx store
  0 .mdaimdx store
stop

cond
  *.eye3 *.eye7 >
start
  35 .aimsx store
  3 .up store
  2 .sx store
stop

cond
  *.eye7 *.eye3 >
start
  35 .aimdx store
  3 .up store
  2 .dx store
stop

cond
  *.eye5 10 >
  *.eye5 25 <
  *.refeye *.myeye !=
start
  3 .up store
stop

cond
  *.nrg 30000 <
  *.eye5 30 >
  *.refshoot 0 =
  *.refnrg 3000 >
start
  -8 .shootval store
  -1 .shoot store
  0 .up store
stop

cond
  *.nrg 30000 <
  *.eye5 30 >
  *.refshoot 0 =
  *.refbody 3000 >
start
  -8 .shootval store
  -6 .shoot store
  0 .up store
stop

cond
  *.eye5 30 >
  *.refeye *.myeye !=
  *.refshoot 0 >
start
  -16 .shootval store
  -6 .shoot store
  0 .up store
stop

cond
  *.eye5 30 >
  *.refeye *.myeye =
start
  1256 rnd .aimsx store
  10 .up store
stop

cond
  *.eye3 10 < *.eye5 10 < *.eye7 10 < and and
  *.mrnd 0 > *.mrnd 101 < and
start
  314 rnd 157 sub .aimsx store
  5 .up store
stop

cond
  *.eye3 10 < *.eye5 10 < *.eye7 10 < and and
  *.mrnd 0 > *.mrnd 6 < and
  *.vel 3 < or
start
  1256 rnd .aimsx store
  10 .up store
stop

cond
  *.eye3 10 <
  *.eye5 10 <
  *.eye7 10 <
start
  3 .up store
stop

cond
  *.numties 0 >
start
  0 .up store
  0 .sx store
  0 .dx store
stop

cond
  *.nrg 10000 >
  *.mrnd 0 > *.mrnd 34 < and
start
  1256 rnd .mdaimdx store
  *.mdaimdx .aimsx store
  30 .repro store
stop

cond
  *.nrg 15000 > *.body 30000 < and
  *.nrg 10000 > *.body 1000 < and
  or
start
  *.nrg 100 div .strbody store
stop

cond
  *.body 200 >
  *.nrg 3000 <
start
  100 .fdbody store
stop

end

Pages: [1]