Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jez

Pages: 1 ... 51 52 [53]
781
Bot Tavern / Intelligent Plant
« on: July 27, 2006, 08:56:32 AM »
Quote
Also any ideas on how to accelerate the baby at birth?

This gene
32000 .tielen1 store '( 'Endy's gene from Elite's post somewhere )

I don't think it's going to work in 2.4+ so the work around would use the same gene but have to use (1 .tie) or (.tie inc) to tie to parent first.

When it comes to birth ties, overlaying and extending seems to be as competitive as overlaying and cutting anyway.

782
Newbie / Very nice!
« on: July 27, 2006, 08:39:26 AM »
Cheers Henk! Had read about that problem before though and it didn't help.  

Have posted sim.

Superb job Numsgil! I presume I can thank you for the extended operators list etc on Wiki.  

The Bestiary won't let me start a new topic.

You are probably all thinking I'm a bit paranoid about DB not working properly, which I am! When PY first started improving DB I used to get silly results, wasn't until I had replaced one of the HD's and a stick of ram that the problem was solved.
Has left me with the life long conviction that just because a bot wins on my PC doesn't mean it'll do squat on anyone elses!  

Sorry if I'm causing you any inconvenience...

{EDIT} Thanks Endy. Might be able to figure a workaround then.

783
Bugs and fixes / stationary bots v 2.4+
« on: July 27, 2006, 08:24:48 AM »
As requested, reinstalled v 2.42.7, bots still won't move, have checked max vel is above 0

Save game attached.

784
Newbie / Very nice!
« on: July 26, 2006, 02:40:26 PM »
Was just testing the waters to see if it did work properly, was hoping someone would test it quickly V Hunter V2.3 and Excalibur V1.1 to check it got same result.

I would be happy to reinstall DB V2.4+ and post a save of the bots not moving but seeing as they are standard bots and if no-one else gets same problem I imagine it would be my install not the game.

Thanks for the links!

Anyway, I decided to poke Zebedees eye's out just to see if I could get rid of all of them. Nearly worked, not quite sure why I need to ref an eye to stop eye's reading 150 though.


'(C. Algificus) Zebedee V1.1
'Won't work without eye ref

def distance 990
'ID gene - Endy
cond
*.robage 0 =
start
.thisgene .memloc store
'************************************************
'*****Why does bot need to ref this eye?*****
'************************************************
*.eye5
'*****Eye will stick at 150 otherwise**********
stop


'search for food
cond
*.refnrg 0 =
*.memval *.genes = or
start
*.aim 280 add .setaim store
0 .distance store
stop

cond
*.refnrg 0 !=
*.memval *.genes !=
start
*.refxpos *.refypos dist .distance store
stop

'move toward food/rival
cond
*.distance 0 !=
*.distance 55 <
*.refnrg 0 !=
*.memval *.genes !=
start
*.refxpos *.refypos angle .setaim store
*.refxpos *.refypos dist 10 div *.refvel abs add .up store
stop

'shoot food/rival
cond
*.distance 55 >=
*.distance 20 <
*.memval *.genes !=
start
-1 .shoot store
20 .shootval store
*.refxpos *.refypos angle .setaim store
*.refxpos *.refypos dist 10 div *.refvel abs add .up store
stop

'shoot rival with venom
cond
*.refshell 5 <
*.distance 55 >=
*.venom 5 >
*.distance 20 <
*.memval *.genes !=
*.refeye 0 >
start
-3 .shoot store
.shoot .vloc store
-2 .venval store
*.refxpos *.refypos angle .setaim store
*.refxpos *.refypos dist 10 div *.refvel abs add .up store
stop

'shoot rival with shell
cond
*.refshell 5 >
*.distance 55 >=
*.venom 5 >
*.distance 20 <
*.memval *.genes !=
start
-3 .shoot store
.shoot .vloc store
-2 .venval store
*.refxpos *.refypos angle .setaim store
*.refxpos *.refypos dist 10 div *.refvel abs add .up store
stop

'shoot food/rival
cond
*.shell 5 <
*.distance 20 >=
*.memval *.genes !=
start
-6 .shoot store
20 .shootval store
*.refxpos *.refypos angle .setaim store
*.refxpos *.refypos dist 10 div *.refvel abs add .up store
stop

'shoot food/rival with shell
cond
*.shell 5 >
*.distance 20 >=
*.memval *.genes !=
start
-1 .shoot store
20 .shootval store
*.refxpos *.refypos angle .setaim store
*.refxpos *.refypos dist 10 div *.refvel abs add .up store
stop

'avoid friend
cond
*.memval *.genes =
*.refage 1 >
*.distance 0 >
start
280 .aimsx store
stop

'reproduce baby behind
cond
*.nrg 2900 >
start
50 .repro store
628 .aimsx store
.shoot dec
stop

'parent rotates back
cond
*.memval *.genes =
*.refage 1 =
start
628 .aimsx store
stop

'cut ties/ lengthen ties
cond
*.numties 0 !=
start
*.tiepres .deltie store
32000 .tielen1 store 'Endy's from Elite's post
stop



'energy to body
cond
*.nrg 1111 >
start
100 .strbody store
stop

'body to energy
cond
*.nrg 999 <
*.body 201 >
start
100 .fdbody store
stop

'poison/venom + attack avoidance
cond
*.poison 200 <
*.nrg 1000 >
start
10 .strpoison store
.shoot .ploc store
stop

'venom
cond
*.venom 200 <
*.nrg 1000 >
start
10 .strvenom store
stop

'counter attack (ty Elite)
cond
*.distance 0 =
*.memval *.genes = or
*.refshoot 0 = or
*.shflav 0 !=
*.shflav -2 !=
start
*.shang .aimshoot store
32 .shootval store
-6 .shoot store
0 .shflav store
stop

'ID gene - Endy
cond
start
' little constant viral defense gene doubles as ID gene
*.genes .delgene
 .fixpos *.fixed mult dec 'anti fixpos by Elite
*.thisgene *.genes sub dup div
mult *.robage sgn mult store
.genes inc
stop
end

785
Newbie / Very nice!
« on: July 26, 2006, 11:20:18 AM »
Ok, didn't want to let me post in leagues or bestiary so I'll post it here and let someone move it!

You can see I've started to add things to combat Excalibur V1.1, couple of nice ideas in Excalibur that I'm going to use. Zebedee is undergoing a redesign atm to cope with Excalibur so I hope you'll forgive the messy code.  

Main reason I have for jumping the gun and releasing a 'beta bot' is that I get Excalibur beating Hunter V2.3 easily. Either Hunter is designed for DB V2.4+ or I'm getting the wrong results and it's not worth a major rehaul of Zebedee till I know.  

Anyway; of the top twenty bots in the F2 league that I could find code for my results give Zebedee as losing to/tieing with Excalibur only. Excalibur is by far the better bot and Zebedee only seems to win rounds through luck.

(Statistical anlysis of the results FTW! Except when I have to reset max rounds.)

'(C. Algificus) Zebedee V1.0
'F2 bot for V2.37.6
'Worst enemy Excalibur V1.1?
'Test bot
'Designed by Jez

'ID gene - Endy
cond
*.robage 0 =
start
.thisgene .memloc store
stop

'search for food
cond
*.eye5 0 =
'*.eye5 0 =
'*.aimsx 0 =
start
140 .aimsx store
stop

'move toward food/rival
cond
*.eye5 0 >
*.eye5 45 <
*.memval *.genes !=
start
*.refxpos *.refypos angle .setaim store
100 *.eye5 sub abs 10 div *.refvel abs add 2 add .up store
'*.mydx .sx store
stop

'shoot food/rival
cond
*.eye5 45 >=
*.eye5 80 <
*.memval *.genes !=
start
-1 .shoot store
20 .shootval store
*.refxpos *.refypos angle .setaim store
100 *.eye5 sub abs 10 div *.refvel abs add 1 add .up store
stop

'shoot rival with venom
cond
*.refshell 5 <
*.eye5 45 >=
*.venom 5 >
*.eye5 80 <
*.memval *.genes !=
*.refeye 0 >
start
-3 .shoot store
.shoot .vloc store
-2 .venval store
*.refxpos *.refypos angle .setaim store
100 *.eye5 sub abs 10 div *.refvel abs add 1 add .up store
stop

'shoot rival with shell
cond
*.refshell 5 >
*.eye5 45 >=
*.venom 5 >
*.eye5 80 <
*.memval *.genes !=
*.refeye 0 >
start
-3 .shoot store
.shoot .vloc store
-2 .venval store
*.refxpos *.refypos angle .setaim store
100 *.eye5 sub abs 10 div *.refvel abs add 1 add .up store
stop

'shoot food/rival
cond
*.shell 5 <
*.eye5 80 >=
*.memval *.genes !=
start
-6 .shoot store
20 .shootval store
*.refxpos *.refypos angle .setaim store
100 *.eye5 sub abs 10 div *.refvel abs add .up store
stop

'shoot food/rival with shell
cond
*.shell 5 >
*.eye5 80 >=
*.memval *.genes !=
start
-1 .shoot store
20 .shootval store
*.refxpos *.refypos angle .setaim store
100 *.eye5 sub abs 10 div *.refvel abs add .up store
stop

'avoid friend
cond
*.memval *.genes =
*.refage 1 >
*.eye5 0 >
start
280 .aimsx store
stop

'reproduce baby behind
cond
*.nrg 2900 >
start
50 .repro store
628 .aimsx store
.shoot dec
stop

'parent rotates back
cond
*.memval *.genes =
*.refage 1 =
start
628 .aimsx store
stop

'cut ties/ lengthen ties
cond
*.numties 0 !=
start
*.tiepres .deltie store
32000 .tielen1 store 'Endy's from Elite's post (not working in v 2.4?
stop

'energy to body
cond
*.nrg 1111 >
start
100 .strbody store
stop

'body to energy
cond
*.nrg 999 <
*.body 201 >
start
100 .fdbody store
stop

'poison/venom + attack avoidance
cond
*.poison 200 <
*.nrg 1000 >
start
10 .strpoison store
.shoot .ploc store
stop

'venom
cond
*.venom 200 <
*.nrg 1000 >
start
10 .strvenom store
stop

'counter attack (ty Elite)
cond
*.eye5 0 =
*.memval *.genes = or
*.refshoot 0 = or
*.shflav 0 !=
*.shflav -2 !=
start
*.shang .aimshoot store
32 .shootval store
-6 .shoot store
0 .shflav store
stop

'anti leach gene
cond
*.tiepres 0 >
start
.tieval .tieloc store
1000 .tieval store
stop

'ID gene - Endy
cond
start
' little constant viral defense gene doubles as ID gene
*.genes .delgene
 .fixpos *.fixed mult dec 'anti fixpos by Elite
*.thisgene *.genes sub dup div
mult *.robage sgn mult store
.genes inc
stop
end

786
Newbie / Very nice!
« on: July 26, 2006, 11:01:36 AM »
Hi all

Good job all round.  

It's been fun playing with some of the new additions you have added to the sim, could have done with a bit more info about the new operators? though, those bit thingies like ~ for instance I failed to find any info on.
I've probably worked out how to use And/Or now but think there was another one as well. Oh! Oh! And ceiling/floor? I saw in someones code? And a couple of operators I've seen some of you mathmagicians use that I still haven't found.  

I'm a bit worried my pc has tortured the installation of DB, wouldn't be the first time, so will enter a F2 bot into the lists just to check I'm getting the right results.  

DB V2.4+ just leaves all the bots motionless (for me) so I'm messing with V2.37.6 atm. Looks good though...

Pages: 1 ... 51 52 [53]