Author Topic: Popper [F1] Spike43884 [V0.12]1-10-2015  (Read 1603 times)

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
    • OurIllogicalWorld Blog
Popper [F1] Spike43884 [V0.12]1-10-2015
« on: January 05, 2015, 01:20:10 PM »
Nasty little menace...Using code from dizzy (expanded on the dizzy system, currently majorly dormant though it appears...might change values in v0.2), Also used all_hunter hunting system.

Only thing about this hunting system, instead of being like it normally was, its ultra-fast in this 1, and its more precision. It will HUNT OUT ALL THE ENEMIES 0.0
Realistically its not much better with these gene splices than the original popper which is much simpler, but it certainly out-guns. v0.2 should have all the various 'mentioned genes'.
BTW: It hopefully will 'explode' in birth...So that the babies fire away from the mother, might incorporate some of the robage gene into it.

Also...Very aggressive do be warned, and wont lag computers.
And finally: RUN IT WITH SHAPES IF YOU LIKE! It actually handles shapes, perfectly. It'll just keep in its mad darting about
Fixed 1 error. it had a -2 .shoot store which ejects energy.

Code: [Select]
'Popper (Latin Name: Explodicus Birthius)
'New little bot by me, all because I watched saber in its little explosive reproduction.
'Good lord, I added the hunt gene from All_hunter (one of my previous bots) and its scary. Before it was a very low increase in population. Now it jumped up about...80 per 100 cycles. It anhilated anything that came to its group.
'Test 2 and it struggles alone. Need to improve defences, taking stuff from dizzy and learning viruses.
'Test 3 Noticed 1 line I just removed. onto test 4.
'Test 4 Now with work on the hunting system. It moved so fast, it was scary.
'Hoping test5 will stop it firing at the edge quite so much...Using reftype.
'This will help mazes though :D


def attack 50
def hunt 51


'Initialisation (EYES)
cond
*.robage 2 <
start
 135 .eye1width store
 135 .eye2width store
 134 .eye3width store
 136 .eye4width store
 15 .eye5width store
 136 .eye6width store
 134 .eye7width store
 135 .eye8width store
 135 .eye9width store
 410 .eye1dir store
 300 .eye2dir store
 190 .eye3dir store
 80 .eye4dir store
 0 .eye5dir store
 -80 .eye6dir store
 -190 .eye7dir store
 -300 .eye8dir store
 -410 .eye9dir store
stop


'INITIALISATION Gene 1 No food = Hunt
cond
*.eye1 0 = and
*.eye2 0 = and
*.eye3 0 = and
*.eye4 0 = and
*.eye5 0 = and
*.eye6 0 = and
*.eye7 0 = and
*.eye8 0 = and
*.eye9 0 = and
*.reftype 1 = or
*.refeye *.myeye = or or
*.hunt 0 = and
start
157 rnd .aimdx store
1 .hunt store
stop


'Gene 2 No food & Turned = Move
cond
*.eye1 0 =
*.eye2 0 = and
*.eye3 0 = and
*.eye4 0 = and
*.eye5 0 = and
*.eye6 0 = and
*.eye7 0 = and
*.eye8 0 = and
*.eye9 0 = and
*.reftype 1 = or
*.refeye *.myeye = or or
*.hunt 1 = and
start
15 .up store
2 .hunt store
stop

cond
*.eye1 0 = and
*.eye2 0 = and
*.eye3 0 = and
*.eye4 0 = and
*.eye5 0 = and
*.eye6 0 = and
*.eye7 0 = and
*.eye8 0 = and
*.eye9 0 = and
*.reftype 1 = or
*.refeye *.myeye = or or
*.hunt 2 = and
start
10 .up store
3 .hunt store
stop

cond
*.eye1 0 = and
*.eye2 0 = and
*.eye3 0 = and
*.eye4 0 = and
*.eye5 0 = and
*.eye6 0 = and
*.eye7 0 = and
*.eye8 0 = and
*.eye9 0 = and
*.reftype 1 = or
*.refeye *.myeye = or or
*.hunt 3 = and
start
10 .up store
0 .hunt store
stop


'INITIALISATION Gene 12 Food Finder (waiting)
cond
*.eye1 sgn
 *.eye2 sgn add
 *.eye3 sgn add
 *.eye4 sgn add
 *.eye5 sgn add
 *.eye6 sgn add
 *.eye7 sgn add
 *.eye8 sgn add
 *.eye9 sgn add 0 =
*.refeye *.myeye = or or
start
10 rnd .aimdx store
stop


'INITIALISATION Gene 3 Food Sighted
'*********************
cond
*.refeye *.myeye !=
*.eyef 0 !=
start
1 .attack store
stop

cond
*.refeye *.myeye =
*.eyef 0 = or
start
0 .attack store
stop

cond
*.eye1 0 >
*.attack 0 =
*.reftype 0 =
start
550 .aimdx store
stop

cond
*.eye2 0 >
*.attack 0 =
*.reftype 0 =
start
405 .aimdx store
stop

cond
*.eye3 0 >
*.attack 0 =
*.reftype 0 =
start
260 .aimdx store
stop

cond
*.eye4 0 >
*.attack 0 =
*.reftype 0 =
start
115 .aimdx store
stop

cond
*.eye6 0 >
*.attack 0 =
*.reftype 0 =
start
115 .aimsx store
stop

cond
*.eye7 0 >
*.attack 0 =
*.reftype 0 =
start
260 .aimsx store
stop

cond
*.eye8 0 >
*.attack 0 =
*.reftype 0 =
start
405 .aimsx store
stop

cond
*.eye9 0 >
*.attack 0 =
*.reftype 0 =
start
550 .aimsx store
stop
'*********************



'Gene 1 Food Finder
cond
*.eye5 0 >
*.refeye *.myeye !=
*.reftype 0 =
start
*.refveldx .dx store
*.refvelup 30 add .up store
stop

'Gene 2 Torture sequence (actually taking multiple genes >:D
cond
*.eye5 43 >
*.reftype 0 =
start
1 .shootval store
.fixpos .shoot store
stop

cond
*.eye5 44 >
*.reftype 0 =
start
1 .shooval store
.backshot .shoot store
stop

cond
*.eye5 45 >
*.refeye *.myeye !=
*.reftype 0 =
start
216 .shootval store
.aimdx .shoot store
stop


'Gene 3 Eat Food
cond
*.eye5 50 >
*.refeye *.myeye !=
*.reftype 0 =
start
4 .shootval store
-1 .shoot store
-6 .shoot store
*.refvelup .up store
stop


'Gene 4 Avoiding Family
cond
*.refeye *.myeye =
*.robage 0 ! = and
start
314 rnd .aimdx store
5 .up store
stop


'Gene 5 Reproduce
cond
*.nrg 25000 >
start
10 .repro store
300 .aimdx store
10 .repro store
300 .aimdx store
10 .repro store
300 .aimdx store
10 .repro store
10 .up store
stop


'Gene 6 Birth tie creation
cond
*.robage 0 =
start
1 .tie store
stop


'Gene 7,8,9 Birth tie destruction & runaway sequence
cond
*.robage 1 =
start
1 .deltie store
600 .aimdx store
15 .up store
stop

cond
*.robage 2 =
start
15 .up store
stop

cond
*.robage 3 =
start
5 .up store
stop


'Gene 10 Tie destruction
cond
*.numties 0 !=
start
*.tiepres .deltie store
stop


'Gene 11 shape-side reversing.
'cond
'*.reftype 1 =
'start
'-5 .up store
'628 .aimdx store
'5 .up store
'stop


end


Oh yeah, If were lucky this will have an offshoot bot called 'PERSONATER'
Im pretty sure PERSONATER doesn't need explaining, and if you don't understand it from the name, its a suprise.
(Note: refer to mimic octopus for a hinter)
« Last Edit: June 08, 2015, 04:16:25 PM by Botsareus »
Autism can allow so much joy, and at the same time sadness to be seen. Our world is weird, and full of contradiction everywhere, yet somehow at moments seems to come together, and make near perfect sense.

Offline spork22

  • Bot Destroyer
  • ***
  • Posts: 328
    • View Profile
Re: Popper [F1] Spike43884 [V0.12]
« Reply #1 on: January 05, 2015, 09:17:11 PM »
Nice. It's a good bot to use as a challenge/predator, but it's not as super invasive as The One
Hubba Jubba Lollywash!

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
    • OurIllogicalWorld Blog
Re: Popper [F1] Spike43884 [V0.12]
« Reply #2 on: January 06, 2015, 01:07:48 PM »
Nice. It's a good bot to use as a challenge/predator, but it's not as super invasive as The One

Is The One written in inline conditioning?


Also...Just a quick question spork - How do I make it tie to the first vegetable it see's taking X% of the NRG of the said vegetable, and keep the tie fixed behind it?

(I tried to do this in v0.22 but it failed, miserably...Got 4x worse...And didn't tie...(EVEN WITH THE ADJUSTED TIE DESTRUCTION SCRIPT!))


Yeah. It never meant to be so aggressive. It meant to just look cool. Its hunting is certainly fun.
Also, run it in a maze :D
Autism can allow so much joy, and at the same time sadness to be seen. Our world is weird, and full of contradiction everywhere, yet somehow at moments seems to come together, and make near perfect sense.

Offline spork22

  • Bot Destroyer
  • ***
  • Posts: 328
    • View Profile
Re: Popper [F1] Spike43884 [V0.12]
« Reply #3 on: January 06, 2015, 04:18:37 PM »
I actually don't have a lot of experience with handling the DNA format. To make bots from scratch I simply copy and paste genes, and change around numbers, possibly. But I'd be happy to evaluate experimental bots, because I have plenty of time.  However, I do see what you want to figure out. You want to make it like a leech. Attatch to the prey and take only some of the energy instead of taking it all and killing it immediately. Something similar to this behavior is called a battery bot, where it finds a plant, latches onto it, and tugs the plant around everywhere it goes, occasionally sapping energy off of it.
Hubba Jubba Lollywash!

Offline Moonfisher

  • Bot Overlord
  • ****
  • Posts: 592
    • View Profile
Re: Popper [F1] Spike43884 [V0.12]
« Reply #4 on: January 06, 2015, 08:58:52 PM »
If I remember correct The One is not just an inline condition bot, it's a single store bot.
Best single store bot I made was a rewrite of Excalibur into a single line of code, but it could still not beat the one.
I think The One would make sure if it got infected by venom or poison, to create an offspring with 99% of itself as a way to cure itself.
It's quite a work of art. Done by Abyaly if I recall right, so to be expected.

Other than that, good to see someone actually using the walls and making bots that consider those in it's movement. Maybe there should be a "Maze League" or something. Change things up a bit.

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
    • OurIllogicalWorld Blog
Re: Popper [F1] Spike43884 [V0.12]
« Reply #5 on: January 07, 2015, 11:02:41 AM »
I actually don't have a lot of experience with handling the DNA format. To make bots from scratch I simply copy and paste genes, and change around numbers, possibly. But I'd be happy to evaluate experimental bots, because I have plenty of time.  However, I do see what you want to figure out. You want to make it like a leech. Attatch to the prey and take only some of the energy instead of taking it all and killing it immediately. Something similar to this behavior is called a battery bot, where it finds a plant, latches onto it, and tugs the plant around everywhere it goes, occasionally sapping energy off of it.

Well yes. Preferably I want it to tug just 1 vegetable behind it...(using fixang and fixlen and stifftie) then using (Probably memloc, or if I learn viruses I'd use a virus to implant a 'follow me using tin1' gene...that'd be more efficient) I'd make the battery just follow...like the multibot tutorial has 1 offspring to the head which follows.

A batterybot exactly. And hopefully it'll keep just enough DNA for the veg to survive
Autism can allow so much joy, and at the same time sadness to be seen. Our world is weird, and full of contradiction everywhere, yet somehow at moments seems to come together, and make near perfect sense.

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
    • OurIllogicalWorld Blog
Re: Popper [F1] Spike43884 [V0.12]
« Reply #6 on: January 07, 2015, 11:06:04 AM »
Other than that, good to see someone actually using the walls and making bots that consider those in it's movement. Maybe there should be a "Maze League" or something. Change things up a bit.

Maze league would be amazing. This technically actually does the opposite to what you say though. It makes sure NOT to consider it into movement (the hunter gene is so complicated with its random turns its why its bumping about)...It just says, if reftype 1 = then pretend nothing is there. It does seem to falter with 1 thing. I want them to primarily disperse, but 90% of the time when reproducing they don't do there random hunting pattern. they just sit there. Which shouldn't happen as I've done .refeye .myeye = in the hunt genes. Confused its made me.
Autism can allow so much joy, and at the same time sadness to be seen. Our world is weird, and full of contradiction everywhere, yet somehow at moments seems to come together, and make near perfect sense.

Offline spork22

  • Bot Destroyer
  • ***
  • Posts: 328
    • View Profile
Re: Popper [F1] Spike43884 [V0.12]
« Reply #7 on: January 07, 2015, 04:25:15 PM »
Actually, yes, a Maze League would be a great idea. It taps into the region of pathfinding, something any AI can struggle at. Also, I like the idea of using a virus to entice the prey to follow the popper. In fact, if it were a self-replicating virus, then the popper could have an army of batteries that follow it everywhere.
Hubba Jubba Lollywash!

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
    • OurIllogicalWorld Blog
Re: Popper [F1] Spike43884 [V0.12]
« Reply #8 on: January 08, 2015, 11:58:56 AM »
Actually, yes, a Maze League would be a great idea. It taps into the region of pathfinding, something any AI can struggle at. Also, I like the idea of using a virus to entice the prey to follow the popper. In fact, if it were a self-replicating virus, then the popper could have an army of batteries that follow it everywhere.

Hmm. But how would they join on, only 3 ties. We can't shoot our energy at the opponent
Autism can allow so much joy, and at the same time sadness to be seen. Our world is weird, and full of contradiction everywhere, yet somehow at moments seems to come together, and make near perfect sense.

Offline spork22

  • Bot Destroyer
  • ***
  • Posts: 328
    • View Profile
Re: Popper [F1] Spike43884 [V0.12]
« Reply #9 on: January 08, 2015, 07:17:06 PM »
You mean, convince the infected bot to tie to the popper?
Hubba Jubba Lollywash!

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
    • OurIllogicalWorld Blog
Re: Popper [F1] Spike43884 [V0.12]
« Reply #10 on: January 09, 2015, 12:08:36 PM »
You mean, convince the infected bot to tie to the popper?
Well...yes? or atleast tie to other bots connected to popper.


Also a sidepoint!
We wouldn't need batteries if we made it a slightly different virus,
If we made a virus that puts shot flavour to -2 every turn as the last gene. -2 isn't like the energy feeding shot, its an energy donating shot. If we put this in, and made it self replicating...We could actually beat FF. Because once we encounter FF it would be forced to give us energy. Killing it and feeding us.

And to stop us wasting energy by firing multiple viruses at it...we could store 90 in .tout1 in the same gene as the shotflavour -2 gene... then only shoot the virus if .tout1 90 !=
This would be an OP bot.
Autism can allow so much joy, and at the same time sadness to be seen. Our world is weird, and full of contradiction everywhere, yet somehow at moments seems to come together, and make near perfect sense.

Offline spork22

  • Bot Destroyer
  • ***
  • Posts: 328
    • View Profile
Re: Popper [F1] Spike43884 [V0.12]
« Reply #11 on: January 09, 2015, 04:19:30 PM »
Another weapon of mass destruction? Spork likey
;)
Hubba Jubba Lollywash!

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
    • OurIllogicalWorld Blog
Re: Popper [F1] Spike43884 [V0.12]
« Reply #12 on: January 10, 2015, 04:36:57 AM »
Another weapon of mass destruction? Spork likey
;)
;) And numsigl is always saying we shouldn't be looking for easy systems ;)

Yeah. do you know how to make a virus then spork?
the gene(s) it would need to actually insert

Code: [Select]
cond
*.myeye *.refeye !=
*.eye5 0 !=
start
-2 .shoot store
stop

cond
?
*.refeye [Myeye of the original species] !=
start
THIS WOULD BE THE VIRUS SHOOTING GENE
stop

cond
?
start
THIS WOULD BE THE VIRUS REPLICATING GENE
stop

cond
start
90 .tout1 store
90 .tout2 store
90 .tout3 store
90 .tout4 store
90 .tout5 store
90 .tout6 store
90 .tout7 store
90 .tout8 store
90 .tout9 store
stop

Of course the final gene in there, not only tells us that another bot is already infected, but any bots ATTEMPTING to communicate die to.

:D
Autism can allow so much joy, and at the same time sadness to be seen. Our world is weird, and full of contradiction everywhere, yet somehow at moments seems to come together, and make near perfect sense.