Author Topic: Russia (F1 League)(By Spike43884)11-19-2014  (Read 4044 times)

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
Russia (F1 League)(By Spike43884)11-19-2014
« on: November 15, 2014, 10:34:50 AM »
Possibly more correctly should be called Siberia, if it gets to a *dangerously* low NRG it will shut down all of functions, and store access's except 1 specific gene which is the one that initiates the hibernation, which will simply stores 1 into hibernation each cycle, presuming all eyes see nothing, and its in a very low NRG state...this is quite a powerful bot, it also has NRG sharing function implemented presuming it goes into MB form (my counter-mb tactics are pretty rudimentary so if they fail I like this mb support). Not to be feared as i've noted a lot of the time when its just sitting there with nothing to do, it actually loses 0 energy, which is quite a substantial thing.

Latest version of code:
Code: [Select]
'Russia (F1 League)
'By Spike43884
'Originally All Eyes V1.5
'This bot goes into hibernation whilest waiting
'Dev Info:
'Hibernation Sys - TRUE
'Hunting Sys - AllEyes
'Corpsify - UNKNOWN
'Confusion - TRUE


'Just some free variables
def attack 50
def hibernate 51


'Initialisation (EYES)
cond
*.robage 2 <
start
 135 .eye1width store
 135 .eye2width store
 135 .eye3width store
 135 .eye4width store
 15 .eye5width store
 135 .eye6width store
 135 .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
 .aimsx .vloc store
 128 .venval store
stop



' Gene 1 Initiate Hibernation (waiting)
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
 *.refeye *.myeye = or
 *.nrg 3000 < and
 *.hibernate 0 = and  'KEY
start
 1 .hibernate store
stop

' Gene 1 Search (waiting)
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
 *.refeye *.myeye = or
 *.nrg 3000 >= and
start
 10 rnd .aimdx store
stop


'Gene 2 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 =
start
550 .aimdx
0 .hibernate store
stop

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

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

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

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

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

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

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


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


' Gene 4 Long Range Food Handling

cond
 *.eye5 50 >
 *.refeye *.myeye !=
 *.refeye 0 >
 *.hibernate 0 =
start
1 rnd 2 mult 3 sub .shoot store
216 .shootval store
stop

' Gene 5 Eat Food
cond
 *.eye5 50 >
 *.refeye *.myeye !=
 *.hibernate 0 =
 *.refeye 0 =
start
-1 .shoot store
 *.refvelup .up store
stop

'venom

cond
 *.hibernate 0 =
 *.venom 50 <
start
10 .strvenom store
stop

' Gene 6 Avoiding Family
cond
 *.eye5 0 =
 *.refeye *.myeye = or
 *.hibernate 0 =
start
 314 rnd .aimdx store
stop

' Gene 7 Reproduce
cond
 *.nrg 20000 >
 *.robage 3 > and
start
 15 .repro store
stop

'*-*-*-*-*-*-*-*-*-*-*-*

' Gene 8 tie to parent
cond
*.robage 0 =
start
.tie inc
stop

' Gene 9 sever tie to parent
cond
*.robage 1 =
start
.deltie inc
stop


'Gene 10 If MB Stuff
cond
 *.multi 1 = or
 *.hibernate 0 =
start
 45 .sharenrg store
stop
end

Thanks Shadowgod!Seriouslys.
« Last Edit: June 08, 2015, 04:13:01 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 spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
Re: Russia (F1 League)(By Spike43884)
« Reply #1 on: November 15, 2014, 10:39:51 AM »
Oh wow, if you put 5 russia as whtie colouring, 5 animal minimalis as red colouring, and 15 alga minimalis as blue colouring, and look at populations then you get the flag of the russian federation eventually
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
Re: Russia (F1 League)(By Spike43884)
« Reply #2 on: November 17, 2014, 11:35:05 AM »
Just because I want to make a point, I made a sim of huge size, with only 5 starting veg but gave each veg a lot of energy, so it was sparsely populated clusters to make it reasonably hard, of course RUSSIA devastates the enviroment.
But, its also a incredibly efficient species, 4640 cycles in and The sim, purely for fun only had alga_mimalis_chloroplastus and RUSSIA, its now at 7 Corpse, 38 Alga_Mimalis_Chloroplastus and 1153 Russia!
WOW, how is 1K of my bot living off 38 veggies, I DO NOT KNOW, and its not like their even cancerous, about 40% of all the bots are 2/3rds of standard spawning size or greater.
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 Shadowgod2

  • Bot Destroyer
  • ***
  • Posts: 387
    • View Profile
Re: Russia (F1 League)(By Spike43884)
« Reply #3 on: November 17, 2014, 02:53:12 PM »
Yep I'll look at it tonight.

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
Re: Russia (F1 League)(By Spike43884)
« Reply #4 on: November 17, 2014, 02:54:54 PM »
Yep I'll look at it tonight.
Thx, that was quick...
Actually, if you need busy time...Aggressive dwarfs MK2, All Eyes (just do 1.5) and All Swarm also need a energy saving treatment, they work with nocosts and survive better than most other bots, just...costs, ugg.
I always said it'd be better to live with no gravity, less cost.
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 Shadowgod2

  • Bot Destroyer
  • ***
  • Posts: 387
    • View Profile
Re: Russia (F1 League)(By Spike43884)
« Reply #5 on: November 18, 2014, 12:49:21 AM »
works pretty good now. and even hibernates like it should. a added venom that does your aimsx instead of just shooting it and works very well for it. before it was barely able to compete against animal min now hands down every time.

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
Re: Russia (F1 League)(By Spike43884)
« Reply #6 on: November 18, 2014, 12:01:18 PM »
works pretty good now. and even hibernates like it should. a added venom that does your aimsx instead of just shooting it and works very well for it. before it was barely able to compete against animal min now hands down every time.
Ok, Mind PMing the code so I can test it against some base code.
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 Shadowgod2

  • Bot Destroyer
  • ***
  • Posts: 387
    • View Profile
Re: Russia (F1 League)(By Spike43884)
« Reply #7 on: November 18, 2014, 12:31:47 PM »
Oops sorry I thought I posted it

Code: [Select]
'Russia (F1 League)
'By Spike43884
'Originally All Eyes V1.5
'This bot goes into hibernation whilest waiting
'Dev Info:
'Hibernation Sys - TRUE
'Hunting Sys - AllEyes
'Corpsify - UNKNOWN
'Confusion - TRUE


'Just some free variables
def attack 50
def hibernate 51


'Initialisation (EYES)
cond
*.robage 2 <
start
 135 .eye1width store
 135 .eye2width store
 135 .eye3width store
 135 .eye4width store
 15 .eye5width store
 135 .eye6width store
 135 .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
 .aimsx .vloc store
 128 .venval store
stop



' Gene 1 Initiate Hibernation (waiting)
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
 *.refeye *.myeye = or
 *.nrg 1000 < and
start
 1 .hibernate store
stop

' Gene 1 Search (waiting)
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
 *.refeye *.myeye = or
 *.nrg 1000 >= and
start
 10 rnd .aimdx store
stop


'Gene 2 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 =
start
550 .aimdx
0 .hibernate store
stop

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

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

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

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

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

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

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


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


' Gene 4 Long Range Food Handling

cond
 *.eye5 50 >
 *.refeye *.myeye !=
 *.refeye 0 >
 *.hibernate 0 =
start
1 rnd 2 mult 3 sub .shoot store
216 .shootval store
stop

' Gene 5 Eat Food
cond
 *.eye5 50 >
 *.refeye *.myeye !=
 *.hibernate 0 =
 *.refeye 0 =
start
-1 .shoot store
 *.refvelup .up store
stop

'venom

cond
 *.hibernate 0 =
 *.venom 50 <
start
10 .strvenom store
stop

' Gene 6 Avoiding Family
cond
 *.eye5 0 =
 *.refeye *.myeye = or
 *.hibernate 0 =
start
 314 rnd .aimdx store
stop

' Gene 7 Reproduce
cond
 *.nrg 20000 >
 *.robage 3 > and
start
 10 .repro store
stop

'*-*-*-*-*-*-*-*-*-*-*-*

? Gene 8 tie to parent
cond
*.robage 0 =
start
.tie inc
stop

? Gene 9 sever tie to parent
cond
*.robage 1 =
start
.deltie inc
stop


'Gene 10 If MB Stuff
cond
 *.multi 1 = or
 *.hibernate 0 =
start
 50 .sharenrg store
stop


end
« Last Edit: November 18, 2014, 12:33:41 PM by Shadowgod2 »

Offline spike43884

  • Bot Overlord
  • ****
  • Posts: 656
    • View Profile
Re: Russia (F1 League)(By Spike43884)
« Reply #8 on: November 19, 2014, 11:13:41 AM »
Oops sorry I thought I posted it

Code: [Select]
'Russia (F1 League)
'By Spike43884
'Originally All Eyes V1.5
'This bot goes into hibernation whilest waiting
'Dev Info:
'Hibernation Sys - TRUE
'Hunting Sys - AllEyes
'Corpsify - UNKNOWN
'Confusion - TRUE


'Just some free variables
def attack 50
def hibernate 51


'Initialisation (EYES)
cond
*.robage 2 <
start
 135 .eye1width store
 135 .eye2width store
 135 .eye3width store
 135 .eye4width store
 15 .eye5width store
 135 .eye6width store
 135 .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
 .aimsx .vloc store
 128 .venval store
stop



' Gene 1 Initiate Hibernation (waiting)
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
 *.refeye *.myeye = or
 *.nrg 1000 < and
start
 1 .hibernate store
stop

' Gene 1 Search (waiting)
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
 *.refeye *.myeye = or
 *.nrg 1000 >= and
start
 10 rnd .aimdx store
stop


'Gene 2 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 =
start
550 .aimdx
0 .hibernate store
stop

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

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

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

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

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

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

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


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


' Gene 4 Long Range Food Handling

cond
 *.eye5 50 >
 *.refeye *.myeye !=
 *.refeye 0 >
 *.hibernate 0 =
start
1 rnd 2 mult 3 sub .shoot store
216 .shootval store
stop

' Gene 5 Eat Food
cond
 *.eye5 50 >
 *.refeye *.myeye !=
 *.hibernate 0 =
 *.refeye 0 =
start
-1 .shoot store
 *.refvelup .up store
stop

'venom

cond
 *.hibernate 0 =
 *.venom 50 <
start
10 .strvenom store
stop

' Gene 6 Avoiding Family
cond
 *.eye5 0 =
 *.refeye *.myeye = or
 *.hibernate 0 =
start
 314 rnd .aimdx store
stop

' Gene 7 Reproduce
cond
 *.nrg 20000 >
 *.robage 3 > and
start
 10 .repro store
stop

'*-*-*-*-*-*-*-*-*-*-*-*

? Gene 8 tie to parent
cond
*.robage 0 =
start
.tie inc
stop

? Gene 9 sever tie to parent
cond
*.robage 1 =
start
.deltie inc
stop


'Gene 10 If MB Stuff
cond
 *.multi 1 = or
 *.hibernate 0 =
start
 50 .sharenrg store
stop


end
Oh btw, possible minor arrow you made in your analysis of how good this is.
F1 costs, otherwise default...And err, animal mimalis wins in a head on fight, RUSSIA outlasts animal, but it is weaker in a normal fight? Otherwise working fine.
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.