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 - rayz

Pages: 1 [2]
16
Internet Mode Commentary / Multibot teleport problems
« on: April 05, 2008, 09:17:28 PM »
I didn't know if there was a topic like this before, but here goes:

When I started my sim, I loaded "Massed Hunter with Poison and Shell and Slime" as a starting bot.  After a while, the bots started to coalese into a huge mass of bots all connected with hardened ties.  Then I turned on Internet Mode.  However, the teleporter refused to teleport my bots-- it treated them as one huge organism, attempted to save it as an organism file,  and failed miserably.  Now I just have this mass of bots in my sim that will not teleport.  Anyone have a tip to help me teleport my bots?

Thanks!

-rayz

17
F2 bots / Massed Hunter with poison and shell and slime (F2) (rayz)
« on: April 02, 2008, 06:35:57 PM »
Quote from: Moonfisher
Took another look during lunch break... I don't know of any sysvars named refaimsx or myaimsx, there is a link to a page with all the sysvars on the main Wiki page.
Also what you're trying to do with the eyes, you'll always have eye5 in focus with that code, you should take a look at Excalibur. It's eye genes are realy simple but also very good.
You can always expand their functionality gradualy to get a feel for it, Excalibur makes a spin when looking at it's own, instead you could either keep tooking at nearest enemy in one direction (Maybe have eye9 in focus if you're not fighting and only turn left towards nearest eye that isn't empty). Or you can let your bots send enemy coordinates through out values, this way if you're looking at a friendly theres a chance he'll point you towards nearest enemy... (Locust does something similar, although it doesn't use excaliburs eyes, but the behavior is similar and it would provide an example of the use of in/out values.)
Generaly Excalibur is a great example for a lot of things, realy clever setup, realy simple, flexible, nice tweek values. There is some redundant code though... I'm thinking maybe I should post a cleaned up version of Excalibur (Had to make on when I tryed to SS'ify it). Most noticable is that excalibur has a -1 shot gene, but it's never used. (The eyes should be clean though).

Hmmm I'm going to try that idea with the eyes myself, try to put 'em in the next LoveBot, both the in/out thing an the idea for the eyes, so instead of spinning a fixed angle per cycle I'd turn to the next visible thing in the eyes, maybe even mess with the eyedirs to cover an even broader angle. Could possible be able to cover 360 degrees in 3-4 cycles if nothing is spotted, and take the largest step possible whithout running a chance of missing something... I like the whole spin thing, been using it in all my new bots since I SS'ified Excalibur, I'm hoping this idea will make the spin even more effective.
Bit expensive to mess with the eyes all the time though, probably going to go for small gaps in between the eyes to be able to use the same setup all the time, and not just when looking for food.
Then maybe once totalmyspecies is getting high it could switch to eyes that look more like the ones on Gazer or Pacifist.... just with a narrow eye5.
Only problem is, I'm not sure if this will actualy be an advantage for a rape bot, all these ideas would probably be better on Locust or something... but I want to work on the Rape bot

I pulled refaimsx and myaimsx from the Darwinbots sysvars page, under "refvars" and "myvars".

Thanks for the eyes hint, I will check Excalibur soon.

P.S. "Rape bot" ?

18
This is my first entry- the "Massed Hunter with poison and shell and slime".  Not a very original name, but all I could come up with. This is still a work in progress as I test it against other bots and tweak it.  Fires ties to anchor itself to food and then fires away at it.  It is meant for a food-intensive environment, as it just plows through all food.  Anyway, the code is below.

[you]MOST RECENT VERSION:[/you]
Code: [Select]
cond
*.nrg 750 >
*.body 1000 <
start
100 .strbody store
stop

cond
*.nrg 500 <
*.body 1 >
start
100 .fdbody store
stop

cond
*.shell 100 <
*.nrg 750 >
start
100 .mkshell store
stop

cond
*.slime 100 <
*.nrg 750 >
start
100 .mkslime store
stop

cond
*.poison 100 <
*.nrg 750 >
start
100 .strpoison store
7 .ploc store
stop

cond
start
420 .eye1dir store
315 .eye2dir store
210 .eye3dir store
105 .eye4dir store
-105 .eye6dir store
-210 .eye7dir store
-315 .eye8dir store
-420 .eye9dir store
stop

cond
start
105 .eye1width store
105 .eye2width store
105 .eye3width store
105 .eye4width store
105 .eye5width store
105 .eye6width store
105 .eye7width store
105 .eye8width store
105 .eye9width store
stop

cond
start
-4 .focuseye store
stop

cond
*.eye1 0 >
*.refaimsx *.myaimsx !=
start
560 .aimsx store
0 .aimdx store
stop

cond
start
4 .focuseye store
stop

cond
*.eye9 0 >
*.refaimsx *.myaimsx !=
start
560 .aimdx store
0 .aimsx store
stop

cond
start
-3 .focuseye store
stop

cond
*.eye2 0 >
*.refaimsx *.myaimsx !=
start
420 .aimsx store
0 .aimdx store
stop

cond
start
3 .focuseye store
stop

cond
*.eye8 0 >
*.refaimsx *.myaimsx !=
start
420 .aimdx store
0 .aimsx store
stop

cond
start
-2 .focuseye store
stop
cond
*.eye3 0 >
*.refaimsx *.myaimsx !=
start
280 .aimsx store
0 .aimdx store
stop

cond
start
2 .focuseye store
stop

cond
*.eye7 0 >
*.refaimsx *.myaimsx !=
start
280 .aimdx store
0 .aimsx store
stop

cond
start
-1 .focuseye store
stop

cond
*.eye4 0 >
*.refaimsx *.myaimsx !=
start
140 .aimsx store
0 .aimdx store
stop

cond
start
1 .focuseye store
stop

cond
*.eye6 0 >
*.refaimsx *.myaimsx !=
start
140 .aimdx store
0 .aimsx store
stop

cond
start
0 .focuseye store
stop

cond
*.eye5 0 >
*.refaimsx *.myaimsx !=
*.numties 0 =
start
0 .aimsx store
0 .aimdx store
*.maxvel .up store
1 .tie store
0 .stifftie store
stop

cond
*.eye5 25 >
*.refaimsx *.myaimsx !=
*.refnrg 0 >
*.numties 0 =
start
-1 .shoot store
4 .shootval store
*.maxvel .up store
stop

cond
*.eye5 25 >
*.refaimsx *.myaimsx !=
*.refnrg 200 <
*.refbody 1 >
*.numties 0 =
start
-6 .shoot store
4 .shootval store
10 .up store
stop

cond
*.eye5 0 >
*.refaimsx *.myaimsx !=
*.numties 0 !=
start
0 .aimsx store
0 .aimdx store
10 .up store
1 .tie store
0 .stifftie store
stop

cond
*.eye5 25 >
*.refaimsx *.myaimsx !=
*.refnrg 0 >
*.numties 0 !=
start
-1 .shoot store
4 .shootval store
10 .up store
stop

cond
*.eye5 25 >
*.refaimsx *.myaimsx !=
*.refnrg 200 <
*.refbody 1 >
*.numties 0 !=
start
-6 .shoot store
4 .shootval store
10 .up store
stop

cond
*.eye5 0 >
*.refaimsx *.myaimsx =
start
1 .tie store
630 .aimsx store
0 .aimdx store
0 .stifftie store
stop

cond
*.eye1 0 =
*.eye2 0 =
*.eye3 0 =
*.eye4 0 =
*.eye5 0 =
*.eye6 0 =
*.eye7 0 =
*.eye8 0 =
*.eye9 0 =
*.numties 0 =
start
5 .up store
stop

cond
*.nrg 100 <
*.eye5 50 >
*.refaimsx *.myaimsx =
start
1 .shootval store
-2 .shoot store
stop

cond
*.waste 100 >
*.refaimsx *.myaimsx !=
start
-4 .shoot store
*.waste .shootval store
stop

cond
*.fixpos 0 !=
start
0 .fixpos store
stop

cond
*.nrg 1000 >
start
50 .repro store
stop
end

Oh, this may also be considered mult-bot, as it fires ties which usually become permanent and allow the movement of a group instead of only the individual.

19
Short bots / Guardian v0.9 (F1)(Trafalgar)-15.07.07
« on: April 01, 2008, 11:56:02 PM »
My, my, my.  What a long bot.  Unfortunately, I believe I copied something wrong from the bot code, as the Guardian is just sitting there and doing nothing.  But it looks great... that is, of what I could understand of it...

Pages: 1 [2]