Darwinbots Forum

Bots and Simulations => Bot Tavern => Topic started by: Welwordion on April 13, 2006, 05:24:10 AM

Title: Minelayers / Antibodybots
Post by: Welwordion on April 13, 2006, 05:24:10 AM
The idea is easy, surround something you want tp protect with a swarm of low energy bots that lie in hibernation. The question is, how can a swarm of low energy bot fight most effectively when it has not necessarily to care for self preservation?

This minefields are my second approach for battery, gardener bots defensive mechnism to protect their veggie,
as my first concept of building a fortresslike multibot caused to much secondary problems and was too hard to realize.
Title: Minelayers / Antibodybots
Post by: Numsgil on April 13, 2006, 11:31:48 AM
If you're going straight for attrition, your best bet is definately powering up your shots.  A bot powering up a -1 shot with all its energy (or 1/5 its energy every cycle, or something like that) is going to do some incredible damage.

If you're running in 2.4, you'll also want to keep body low so it's harder for the opposing bot to actually hit you.  You'll have to weigh this against the increase in power body gives you.

Venom and Poison might also have some neat tactics you could use.
Title: Minelayers / Antibodybots
Post by: abyaly on May 04, 2006, 03:40:10 PM
Quote from: Numsgil
If you're going straight for attrition, your best bet is definately powering up your shots.  A bot powering up a -1 shot with all its energy (or 1/5 its energy every cycle, or something like that) is going to do some incredible damage.
A shot can be powered up over time / in advance?
Title: Minelayers / Antibodybots
Post by: Elite on May 04, 2006, 03:56:51 PM
Use .shootval to power up shots:

*.nrg 5 div .shootval store
-6 .shoot store

^ Uses 1/5 of it's energy each cycle to power up a devastating -6 shot
Title: Minelayers / Antibodybots
Post by: PurpleYouko on May 04, 2006, 04:05:45 PM
You can get extra range too. Just set shootval to a negative value.
Title: Minelayers / Antibodybots
Post by: abyaly on May 04, 2006, 04:26:40 PM
Quote from: PurpleYouko
You can get extra range too. Just set shootval to a negative value.
I had always thought powering shots was only during the cycle you fire them.  
Title: Minelayers / Antibodybots
Post by: PurpleYouko on May 04, 2006, 04:38:02 PM
It is.

What do you mean?

You imbue the shot with whatever properties you like then the shot does the work once it has been fired. You can't do anything to it after that.
Title: Minelayers / Antibodybots
Post by: abyaly on May 04, 2006, 04:54:18 PM
If it is, then what is the benefit of a small bot powering up a suicidal shot? Doesnt doubling the energy spent only increase the power by the force of one shot?

He would be better off if the larger bot kept the energy.
Title: Minelayers / Antibodybots
Post by: PurpleYouko on May 04, 2006, 04:58:24 PM
Quote
Doesnt doubling the energy spent only increase the power by the force of one shot?

Oh no!  

It does FAR more than that. It is closer to powering it up by the square of the investment. I can't remember the exact formula that Num set it up with but it's definitely worth the investment.
Title: Minelayers / Antibodybots
Post by: Numsgil on May 04, 2006, 05:03:09 PM
The exact formula is something like long base 2 of energy spent = power multiplier.
 
 It's useful when time is a factor.  If you have forever and a half, you're better off using regular shots.
Title: Minelayers / Antibodybots
Post by: abyaly on May 04, 2006, 05:21:25 PM
Quote from: Numsgil
The exact formula is something like long base 2 of energy spent = power multiplier.
log2(2x) = log2(x) + log2(2) = log2(x) + 1

Quote
Doesnt doubling the energy spent only increase the power by the force of one shot?
Title: Minelayers / Antibodybots
Post by: Numsgil on May 04, 2006, 05:25:13 PM
Yes.
 
 You're always going to be better off not powering up shots if you have time.  If the enemy is trying to kill you and eat your minelayer's treasure, you might not have alot of time.  In general combat situations, you're more concerned with causing damage than gaining back energy efficiently.
Title: Minelayers / Antibodybots
Post by: Elite on May 07, 2006, 11:20:07 AM
cond
start
628 rnd .aimdx store
.tie inc
32000 .tielen1 store
stop

cond
*.numties 0 >
start
*.tiepres .tienum store
.delgene .tieloc store
1 .tieval store
stop

end

^ Spins and ties to whatever it sees. Then deletes the unfortunate bot's genes through the tie. Once the bot is done with it is discarded. Works best if the bot is fixed.
Title: Minelayers / Antibodybots
Post by: Light on May 07, 2006, 11:44:13 AM
Wasn't deleting genes through ties removed a while back?
Title: Minelayers / Antibodybots
Post by: Elite on May 07, 2006, 11:57:01 AM
In 2.37.6 it hasn't, but in 2.4 it has

Hmm ... how about firing a virus that does the same job ... or worse  
Title: Minelayers / Antibodybots
Post by: PurpleYouko on May 08, 2006, 09:10:57 AM
I'm pretty sure I put in safeguards against gene deletion from anything external to the bots own DNA, as far back as 2.36
Maybe it got lost after that.
Title: Minelayers / Antibodybots
Post by: TheArchivist on June 15, 2006, 03:52:41 PM
"Or worse" he says....

I was wondering, is it possible to write an "end" instruction using a virus? That would certainly have catastrophic effects, but it's comically sadistic and probably impossible anyway.

Failing that, the old trick about rotating the bot will probably work, or maybe forcing it to expel energy INTO THE SENTRY.  

All in good fun, of course.

-The Archivist

P.S. What's a signature?
Title: Minelayers / Antibodybots
Post by: Elite on June 15, 2006, 04:02:30 PM
cond
 ' conspec recognition goes here
start
 *.thisgene 1 rnd 2 mult -1 add add .delgene store
stop

^ The above virus wipes DNA clean. There's nothing left but an empty shell

Except is doesn't work on bots with anti-virus defences

Maybe a really large venom shot:

.shoot .vloc store
-2 .venval

or, if you really want to be mean:

.myeye .vloc store
*.myeye .venval store

bots with .refeye-based conspec recognition immediately convert and fight alongside you, killing their conspecs while leaving you alone
Title: Minelayers / Antibodybots
Post by: fulizer on January 24, 2008, 09:00:24 AM
wow converting bots would rule.
ofcourse in lueges (bad spelling alert!) neither bot will attack each other and it will never end
Title: Minelayers / Antibodybots
Post by: Numsgil on January 24, 2008, 11:21:53 AM
No, you're missing the point.  If you venom the .myeye, you can change who the bot thinks is a friend, but you'll still be able to tell the difference.  And then venom wears off after a while.
Title: Minelayers / Antibodybots
Post by: fulizer on January 25, 2008, 08:50:41 AM
oh thatworks too
also a quick mune bot could be a modified (take a deep breath) hyper spinny crazy death thing
Title: Minelayers / Antibodybots
Post by: rsucoop on January 28, 2008, 08:42:20 AM
Is there a way to compare individual genes and check them for conditions or actions?
Title: Minelayers / Antibodybots
Post by: EricL on January 28, 2008, 10:39:50 AM
Quote from: rsucoop
Is there a way to compare individual genes and check them for conditions or actions?
No.  Other than .thisgene and .dnalen, there are no DNA self inspection or manipulation operators or sysvars currently.  I'd like to add them someday however although others have raised objections.
Title: Minelayers / Antibodybots
Post by: fulizer on January 30, 2008, 08:32:58 AM
that would make conspifec avoidence easier