Author Topic: Does this count as an MB?  (Read 7668 times)

Offline Elite

  • Bot Overlord
  • ****
  • Posts: 532
    • View Profile
Does this count as an MB?
« on: January 22, 2006, 04:20:29 PM »
' Symbioticus
'
' A tank with a battery ...
'
' Ties to a veg, pulls
' it close behind it and
' uses it as an energy
' source
'
' Version 2.0
' - Uses a modified version of Animal Minimalis' search pattern

def done 51

cond
*.robage 0 =
start
.tie inc
.tiepres .memloc store
.timer inc
100 .side store
stop
cond
*.robage 1 =
start
.deltie inc
stop

'*************************************************************

' Find and tie to a veggie

cond
*.robage 0 >
*.done 0 =
*.multi 0 =
*.eye5 0 >
*.eye5 45 <
*.refshoot 0 =
*.refaimdx 1 =
*.refeye 0 =
*.memval 86 !=
*.numties 0 =
start
40 .up store
stop

cond
*.robage 0 >
*.eye5 45 >
*.refshoot 0 =
*.refaimdx 1 =
*.refeye 0 =
*.memval 86 !=
*.numties 0 =
start
86 .tie store
stop

cond
*.robage 0 >
*.numties 0 =
*.eye5 0 =
*.memval 86 = or
*.refshoot 0 != or
*.refaimdx 1 != or
*.refeye 0 != or
start
314 rnd .aimdx store
stop

'*************************************************************

cond
*.numties 1 =
*.treffixed 1 =
start
86 .tienum store
.fixpos .tieloc store
0 .tieval store
stop

cond
*.numties 1 =
*.done 0 =
start
.done inc
628 .fixang store
-32000 .fixlen store
86 .tienum store
.fixang .tieloc store
628 .tieval store
86 .readtie store
stop

cond
*.numties 0 =
*.done 1 =
start
.done dec
stop

'*************************************************************

' When tied to a vegetable

cond
*.myeye *.trefeye =
start
*.tiepres .deltie store
stop

cond
*.numties 0 =
*.shell 0 >
start
0 *.shell sub .mkshell store
stop

'*************************************************************

' Sharing and producing

cond
*.done 1 =
*.multi 1 =
start
75 .sharenrg store
50 .shareslime store
50 .shareshell store
.sharewaste inc
*.pleas 3 div .strbody *.pleas sgn mult store
*.pleas 3 div .mkslime *.pleas sgn mult store
600 *.shell sub .mkshell store
stop

cond
*.done 1 =
*.treffixed 1 =
start
*.tiepres .tienum store
.fixpos .tieloc store
0 .tieval store
stop

cond
*.done 1 =
*.multi 1 =
*.eye5 0 >
*.refeye *.myeye !=
*.memval 86 !=
start
-32 .shootval store
-6 .shoot store
stop

cond
*.done 1 =
*.multi 1 =
*.eye5 45 >
*.refeye *.myeye !=
*.memval 86 !=
start
32 .shootval store
-6 .shoot store
stop

cond
*.done 1 =
*.multi 1 =
*.eye5 0 =
*.memval 86 = or
*.refeye *.myeye = or
start
750 .dx store
30 .up store
stop

cond
*.done 1 =
*.multi 1 =
*.eye5 0 >
*.refeye *.myeye !=
*.memval 86 !=
start
*.refxpos *.refypos angle .setaim store
*.refveldx .dx store
stop

cond
*.done 1 =
*.multi 1 =
*.eye5 0 >
*.eye5 30 <
*.refeye *.myeye !=
*.memval 86 !=
start
*.refvelup *.refvelup add 100 add .up store
stop

'*************************************************************

' Reproduction

cond
*.body 5000 >
*.multi 1 =
start
10 .repro store
stop

cond
*.nrg 100 <
start
100 .fdbody store
stop

'*************************************************************

cond
*.shflav 0 !=
*.shflav -2 !=
*.multi 1 =
start
1256 *.shang sub .aimshoot store
64 .shootval store
-6 .shoot store
0 .shflav store
stop

cond
start
*.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5 *.eye5
stop

end

I'll post it in the beastary if it does

It ties to a veggie and uses it as a portable power source - it doesn't actually need to feed.

When tied to a veg like this you can do all kinds of cool stuff that would be impossible with a regular bot  :)
ie.
 - Make tons of shell, slime, poison etc
 - Use really powerfull shots (-36 in .shootval etc)

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
Does this count as an MB?
« Reply #1 on: January 22, 2006, 04:49:06 PM »
Honestly man I'm not sure. There have been quite a few debates on that subject.

It's either a share-feeder or a MB. Most like to define MBs as two or more same species bots connected in an ordered relationship working together towards a common goal.

You may want to check on the body levels when feeding to obtain emergency nrg.

Nice use of zeroing shflav. I think I've missed the obvious on that one. Most of the time I use cubersome checker dna, that's way more at risk to mutations.

Offline Elite

  • Bot Overlord
  • ****
  • Posts: 532
    • View Profile
Does this count as an MB?
« Reply #2 on: January 22, 2006, 04:54:55 PM »
Thanks

If it can compete in the MB  league I will enter it (with a body-checker gene).

It beats Helios!

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
Does this count as an MB?
« Reply #3 on: January 22, 2006, 05:16:59 PM »
Shoot that thing is tricky. I had to make Din flee the sight of strong MBs to finally defeat it. :)

You might want to SG'ize it. Anytime all you're checking for a specific value its easiest. Most of my bots have ended up looking like a crossbreed of types. Making use of SG tricks to help keep costs down, while using normal conditions for ease of coding.

Offline Elite

  • Bot Overlord
  • ****
  • Posts: 532
    • View Profile
Does this count as an MB?
« Reply #4 on: January 22, 2006, 05:20:41 PM »
Whoa, I hadn't tested it agaist DIN, I didn't know it was at that level

It'll take me a while to SGize it

I've PMed Light to ask if it's a proper multibot - and if it can compete
« Last Edit: January 22, 2006, 05:29:53 PM by Elite »

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Does this count as an MB?
« Reply #5 on: January 22, 2006, 06:22:38 PM »
Technically, the only rule to define a Multi-Bot is that the bot is not allowed to feed in any way unless and until it is permanently tied to another bot.

I haven't tried your bot out but provided that it fits that criteria then it should count as an MB. From the code, it looks like it should qualify.

It would be more accurately described as a "Battery Bot" but is still an MB

Incidentally, do you realize that it is possible to program the veggie to actually do stuff?
You can make it move, reproduce or shoot or do most anything. Unless the veggie has eyes, you can't read its eye-cells though as the "view" variable will be disabled at birth.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Does this count as an MB?
« Reply #6 on: January 22, 2006, 07:03:39 PM »
Damn you beat me to it.

I keep trying to sit down and program bots like this, but then I think up something that needs to be changed/fixed for it to work, and it's months before I get to try again.

Offline Endy

  • Bot Overlord
  • ****
  • Posts: 852
    • View Profile
Does this count as an MB?
« Reply #7 on: January 22, 2006, 10:26:01 PM »
Could just vshoot an eye at the veggie and get it to reproduce. B)

Din and it's versions are probably the best bots I've ever designed. It's gotten kind of dated now with all the new defenses and attacks available, but is still a good source for coding ideas. Nice bit of splicing, with the whole becomming stronger than the individual peices.
« Last Edit: January 22, 2006, 10:27:26 PM by Endy »

Offline Light

  • Bot Destroyer
  • ***
  • Posts: 245
    • View Profile
Does this count as an MB?
« Reply #8 on: January 23, 2006, 07:57:56 AM »
Cool to see a new bot, will take a look this afternoon, when I get time.

Offline Light

  • Bot Destroyer
  • ***
  • Posts: 245
    • View Profile
Does this count as an MB?
« Reply #9 on: January 23, 2006, 10:28:15 AM »
Okay taken a closer look at it, certainly interesting and different and I would say it certainly meets the condition that PY stated above to be counted as a MB. With regards to running leagues, which version of DB are people using?

Offline Elite

  • Bot Overlord
  • ****
  • Posts: 532
    • View Profile
Does this count as an MB?
« Reply #10 on: January 23, 2006, 11:00:51 AM »
I'm using version 2.37.6 - the recomended version at the FTP

BTW Endy - I have a body checker for extra energy in there - it's near the end

OK - If it qualifies I'll enter it as it is and improve it (ie. v3.0) if it gets beaten

This little bot can do alot of damage for an MB, with some of the new coding MBs needn't be weak anymore. I managed to mod Animal Minimalis to catch a veggie like symbioticus in minutes (although it wasn't very good). It should open up all sorts of interesting possibilities.
There's alot of fun things that you can do with a 'battery'.

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Does this count as an MB?
« Reply #11 on: January 23, 2006, 11:38:17 AM »
I have been meaning to make a bot-veggie version of "Inchworm"
Just haven't had the time to get around to it.

I could make both the bot and the veggie reproduce at the same time, then instantly recombine to make another Inchworm paralel to the first.

All fixpos commands and the like, can be controlled through the tie by the bot part of the MB.

What I would really like to make is a giant ring with multiple veggies in the center. Maybe a version of "Devincio Hexagonis". Motility becomes a major issue though. Perhaps it could just be defensive or maybe a lure hunter (when we get bio-luminescence working) like a jelly fish. Low overhead costs and most of the energy taken from the veggies.
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D

Offline Elite

  • Bot Overlord
  • ****
  • Posts: 532
    • View Profile
Does this count as an MB?
« Reply #12 on: January 23, 2006, 01:00:38 PM »
A batterybot doesn't strictly need to feed
My symbioticus only attcks to wipe out the competition (and because it can). Any attackers that get a shot off at it end up on the wrong side of an exceedingly powerful counter-attack

The veggie on the end actually repros and forms (unfixed) 'colonies' like a normal Alga Minimalis - you can see them drop off the end of the symbioticusses in sims when symbioticus starts culling the other vegs and lowers the veg population.

When Symbioticus repros the baby just flies off at the nearest veg (that isn't part of another symbioticus) and ties.

It repros once in a blue moon though - good at keeping mutations down.

A batterybot Inchworm would be good - is this the beginning of a whole new catagory of bots?

Offline Old Henk

  • Bot Destroyer
  • ***
  • Posts: 229
    • View Profile
Does this count as an MB?
« Reply #13 on: January 23, 2006, 02:39:45 PM »
I reckon a well-programmed bot using vegs as batteries would indeed be a major improvement over current bots, because it would essentially have an indefinite  energysource on-board.  ^_^  :idea:
« Last Edit: January 23, 2006, 02:40:55 PM by Henk »

Offline PurpleYouko

  • Bot God
  • *****
  • Posts: 2556
    • View Profile
Does this count as an MB?
« Reply #14 on: January 23, 2006, 03:30:31 PM »
Quote
A batterybot doesn't strictly need to feed

That would depend largely on it's activity level.

Quote
A batterybot Inchworm would be good - is this the beginning of a whole new catagory of bots?
Not really. Battery bots as a concept, has been around for quite some time.
If you check some of the archives you will see that I have posted a number of different battery bots over the last few years. None of them have ever been really that great though since the standard alga feed rate has never been high enough to keep a good MB powered up without extra food supplies

I don't think it has been tried recently though. Some of the changes made for 2.36 may have made it a more viable concept. Very interesting field for development.
« Last Edit: January 23, 2006, 03:31:09 PM by PurpleYouko »
There are 10 kinds of people in the world
Those who understand binary.
and those who don't

:D PY :D