Bots and Simulations > F1 bots
Rabidus (F1)(Vir)(Googlyeyesultra)-01.07.07
googlyeyesultra:
This thing is ownin' most of the league in my own run. Try it out, please, for F1 league. I suspect it'll get fairly far.
Edit: Holy cow, using F1 defaults and a simple 5 round per contest on my own machine, mine ended up number 3! Holy cow, it's number three!
--- Code: --- 'Rabidus: A bot by googlyeyesultra.
cond
start
'Conspec, Self-Virus Protection, Set Eyewidth
*.myeye *.myshoot add 92 add 998 *.robage sgn 1 sub -1 mult mult store
65 999 *.robage sgn 1 sub -1 mult mult store
1221 .eye5width *.robage sgn 1 sub -1 mult mult store
stop
'Reproduce
cond
*.nrg 850 >
start
100 .strbody store
49 .repro store
stop
'Conspec
cond
*.refeye *.refshoot add 92 add *997 !=
start
*.refeye *.refshoot add 92 add 997 store
stop
'Spread out when born
cond
*.eye5 0 !=
*997 *998 =
*.robage 20 <
start
*.refxpos *.refypos angle 628 add .setaim store
*.eye5 .up store
stop
'Targeting/Movement
cond
*.eye5 0 >
*997 *998 !=
start
*.refxpos *.refypos angle .setaim store
*.refveldx *.veldx sub .dx store
*.refxpos *.refypos dist *.refvelup add *.velup sub 10 sub .up store
stop
'Shootfeed
cond
*.eye5 30 >
*997 *998 !=
start
-6 .shoot store
stop
'Del ties not made by me
cond
*.numties 0 >
*.tiepres *996 !=
start
*.tiepres .deltie store
stop
'Tie
cond
*.eye5 30 >
*997 *998 !=
*.numties 0 =
start
999 rnd 996 store
*996 .tie store
stop
'Tiefeed
cond
*.numties 0 >
start
996 *.numties sub rnd 996 *.numties add * .tienum store
-1 .tieloc store
-1000 .tieval store
stop
'Sharefeed if multi
cond
*.multi 0 >
start
99 .sharenrg store
stop
'Body to Energy Conversion
cond
*.nrg 850 <
*.body 50 >
start
*.body 50 sub 100 ceil 10 mult .fdbody store
stop
'Energy to Body Conversion
cond
*.nrg 250 >
*.body 50 <
start
*.body 50 sub 100 ceil .strbody store
stop
'Waste Removal
cond
*.waste 50 >=
start
-4 .shoot store
*.waste .shootval store
stop
'Shoot Virii
cond
*.eye5 15 >
*.nrg 150 >
*.vtimer 1 =
start
50 .vshoot store
stop
'Make Virii
cond
*.vtimer 0 =
start
*.thisgene 1 add .mkvirus store
stop
'Virus
cond
65 *999 !=
start
*.thisgene .mkvirus store
*.myeye *.myshoot add 32000 mult 50 add 32000 ceil .vshoot store
.delgene dec
stop
'Chameleon genes
cond
*.in1 0 !=
*.in1 *.out1 !=
start
*.in1 .out1 store
stop
cond
*.in2 0 !=
*.in2 *.out2 !=
start
*.in2 .out2 store
stop
'Some various code defenses
cond
*.fixed 0 !=
start
0 .fixpos store
stop
cond
*.delgene 0 >
start
0 .delgene store
stop
cond
*.shoot -6 !=
*.shoot -1 !=
*.shoot 0 !=
*.shoot -4 !=
start
0 .shoot store
stop
cond
*.mrepro 0 !=
start
0 .mrepro store
stop
cond
*.sexrepro 0 !=
start
0 .sexrepro store
stop
cond
*.repro 49 !=
*.repro 0 !=
start
0 .repro store
stop
'End of Program
end
--- End code ---
Jez:
Are you sure this is the same bot? First run I tried it lost to speedy and this time took 60+ matches to beat Ratita Australopitecus (30th place) before losing to speedy again, that would place it at 27th.
This is F1 conditions, run F1 league on start, DB v 2.43, using latest league download.
googlyeyesultra:
I didn't have the latest league, but I'll re-run it now to test. I'll edit this post when I've got some results.
Edit: Mine still seems to be doing quite well. Same results as before. I'm running 2.43 and downloaded the newest league table. Here, lemme attach a sim of it beating DIN2 to let you look at the settings.
Jez:
Settings should all be defaulted when you tick 'F1 conditions'.
I'll try the sim and see if I can find what is causing the difference.
Jez:
Found four things (first two shouldn't matter I think);
1; graphing rate was 1000 on mine 200 on yours.
2; use of velup instead of vel, last line of Targetting/Movement gene in copy you posted.
3; Physics and costs/Big blue screen acts like - mine was set to custom not metal.
4; Physics and costs/Costs - mine was set to custom not F1 default.
Resetting last two got your bot upto about position 16, lost to Callidus so there is hope yet!
Points 3 & 4, as far as I knew should have been defaulted to your settings when F1 conditions were ticked so I'll add those to known bugs. I'm also going to have to appologise to all the owners of bots I have tested in case that made a difference. So p'd off about that, might mess up all the leagues, have to think about how to sort that.
I don't see why point 2 would make a difference but I'll check that anyway, if that doesn't help I'll see if I can spot anything else that might affect things.
Thank you as well for helping bring this problem, default settings and my league tests, to light; I'm going to go hide in a corner for a while now...
Navigation
[0] Message Index
[#] Next page
Go to full version