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.

Topics - Shasta

Pages: [1] 2
Announcements / Server Maintence
« on: April 17, 2013, 09:28:51 PM »
Hey all,

I'm doing some upgrades on the server that hosts all of the Darwinbots related stuff. So, services will be going up and down though out the day. The website (forums/wiki) should be ok from here on, barring any server reboots. SVN and IRC will take a bit longer to come back online. I should have everything finished sometime today. When everything is completed I'll post an update here.

Off Topic / BitLife
« on: December 16, 2011, 03:44:33 AM »
Hey guys, thought some of you might be interested in this. Myself and a classmate wrote an artificial life sim in a few of days. It uses slightly modified version of Sunweaver (DNA library from DB3), and is based around a hex grid as a world. We were in a bit of a hurry, so stuff isn't very polished, it works though, for the most part. Mutation rates and costs are incredibly finicky, I would recommend keeping them low.

List of sysvars:
Code: [Select]
move ' direction to move, goes from 1-6 in order listed for the eyes below
eat ' direction to eat, goes from 1-6 in order listed for the eyes
eatval ' ammount of energy to try and eat
repro '  works like you expect, store % of energy to give to child

 ' eyes have a value > 0 if something is there, number correlates of type (only one type implemented)
eyeul ' up left
eyeur ' up right
eyel ' left
eyer ' right
eyedl ' down left
eyedr ' down right
focuseye ' current eye to focus for the ref and in/out commands goes in order listed above 0-5

myenergy '  current energy
mypain ' ammount of energy lost in a cycle, cant remeber if it works
mypleasure ' amount of energy gained in a cycle cant remember if it works.
myage ' current age

refenergy ' energy the bot under the focuseye has
refage ' age of the bot under the focuseyey

in1 ' in#/out# work just like in DB2, uses focuseye

mkchlr ' # of chloroplasts to create, 10 energy per I think
mychlr ' # of choloplasts you have, 20 at max, which is a dumb limit, but oh well

Source code:

Requires .net 4 to run and Visual Studio 2010 (any version, express should work) to build.

Executable attached in zip

Edit: The program should actually work now.

Announcements / New Installer for Darwinbots 2
« on: April 30, 2011, 03:14:22 AM »
Hello everyone, I've been meaning to get this out to you guys for a while now. I have created a new installer for Darwinbots 2, it will register all of the components DB needs to run (no more command required prompt to install!). This version also has much stronger, modern bots included with it. Please report any problems you have with it, and I will do my best to fix them.

Download Darwinbots 2 Setup

On another note, I broke internet mode again a while back. Sorry. I will try to get it back and running within the next week or two.

DNA - General / Randomly choosing a sysvar
« on: December 14, 2010, 06:21:01 AM »
In response to a discussion page on the wiki (don't use those, really, the forum is much more likely to get a response) I made this snippet:
Code: [Select]
def aimrx 971
    *.aimrx 0 =
        1 rnd 0 = overbool overbool and
            .aimsx .aimrx store
        dropbool not and
            .aimdx .aimrx store
    10 *.aimrx store

This will randomly chose between turning left and right and then makes it easy to use the choice anywhere with the "new sysvar" of aimrx. 971 is a Racial Memory location, so the value will persist across generations. If you don't want that just change the def.

Announcements / Spam and Possible Registration Issues.
« on: November 04, 2010, 04:43:52 PM »
In response to the spammers who were constantly registering on the forums I installed some new protections. When you register your information is checked against the database at If you are having trouble activating your account / registering please let Numsgil or I know through email and we can create one for you. Sorry if anyone runs into this, but it was necessary.

Emails (Click the ...):

Shasta -
Numsgil -

Suggestions / Bots to include with a new installer
« on: August 30, 2010, 03:51:04 AM »
So I have a new installer that is ready to go, but before I put it online I wanted to update the bots included with it.  I would like some input on what you guys thing should be there. C_Ancestralis just isn't very interesting anymore ;)

Announcements / Darwinbots 2.45.01 And DarwinbotsIM 1.2.05
« on: August 29, 2010, 12:59:01 AM »
Darwinbots 2.45.00 brings some big, breaking changes to play. Well, one at least. DB now closely meshes with DarwinbotsIM. Press the internet button and a teleporter will be created and DarwinbotsIM launches and starts sending and downloading with no other user input.

 To set this stuff up there are some options under the Internet Tab in the Options form. Also, if you go under the menu option Internet you can press "Interent Teleporter..." to quickly edit the settings on the teleporter.

Bots are teleported IN at a random location, but they still go out on collision with the teleporter.

The default directories used are {Darwinbots Directory}\IM\inbound and {Darwinbots Directory}\IM\outbound these are not currently there on install (New installer soon also...)

The new version of DarwinbotsIM is a command line application. To most people this shouldn't matter, but it accepts the arguments:
Code: [Select]
[-in <path>] [-out <path>] [-name <string>] [-pid <processID>] All of these are required for it to work.

There still is a GUI version available as DarwinbotsGUIM, it no longer auto-updates its own executable though.

Make sure you have the new version of DarwinbotsIM in the same directory as Darwin2.45.00+

Please post any bugs you find to the forums, I'm sure there will be some.

Update: Some minor bugs fixed in both program. Download links are updated to the new version

Download Darwin2.45.01
Download DarwinbotsIM 1.2.05
Download DarwinbotsGUIM 1.2.05

Biology / Microbes survie prolonged exposure to space
« on: August 23, 2010, 06:22:40 PM »
This is an interesting article: Beer microbes live 553 days outside ISS I thought some of you guys would enjoy it. Those are definitely some resilient microbes.

Announcements / Darwinbots 2.44.06 and Darwinbots IM 1.1.01 Released
« on: August 15, 2010, 12:16:23 AM »
Biggest change here is how poison is handled. In a nutshell, set .ploc to the location you want to affect, .pval to the value you want it set to, and make some poison. The poison decays away just like slim so you have to spend some energy on upkeep.

DB 2.44.06 Changes:
  • Poison degrades like slim and behaves more like venom. See this forum topic and the wiki.
  • Tabs now parse correctly in the bot files, indent away.
  • Some tweaks to how the tray icon functions
  • Shot formation costs now use a decimal value rather than an integer
Download Darwinbots 2.44.06

IM 1.1.01 Changes:
  • Some internal structuring changes
  • Should recover from silent crashes now
Download Darwinbots IM 1.1.01
Also, if you start your current version of Darwinbots IM it will prompt you to download the new one.

I will have a fairly major change up in the next few weeks, the built in IM mode will be finally put down, and DB be able to start/stop Darwinbots IM.

Announcements / Darwinbots 2.44.05 and DarwinbotsIM 1.1 Released
« on: August 04, 2010, 10:05:10 AM »
I fixed a couple of UI bugs that were prominent in 2.44.04.
  • Fixed the crash with deleting the last species in the Species List
  • Fixed the crash on the cancellation of loading a sim

Download Darwinbots 2.44.05 here

Along with this I put together a new version of DarwinbotsIM. The big new feature is that you will (hopefully) never have to download another version of it again. This version scans some files on the server, sees if a new version of Darwinbots2 has been released, and then updates itself to be able to scan the memory of the new version.  This version will still prompt you when a new version of DarwinbotsIM is available though. I'll need to put new versions online to add-in features and whatnot (I may add in the Zerobot IM mode Wake requested sometime in the future for example).

Download DarwinbotsIM 1.1 here

I now know that some of my instructions on it in the last post were slightly wrong. If you use Windows Vista or 7, DarwinbotsIM must be running at the same privilege level or higher than Darwinbots2. So if you have DB2 running as Admin or in one of the Compatibility modes, you will need to run DarwinbotsIM as an Administrator. Beyond that though, DarwinbotsIM can just run as a normal user. If you run into any new problems with either of the programs post it in the Bugs section and I will try to take care of it, I'm in and out of having internet over the next two weeks though. (Posting this from an airport.)

Simulation Emporium / Clockwise Alga
« on: July 24, 2010, 12:56:30 PM »
One of the IM sims I was running turned out a interesting result. When I checked it this morning at ~4.5 Million cycles, all of the Alga were moving in clockwise circles.  Its not too spectacular, but it is fun to watch.

Bugs and fixes / Couple of new bugs.
« on: July 24, 2010, 12:32:08 AM »
Just to document these before I forget, all in 2.44.04, Windows 7 Pro x64:

Access Violation causes crash
Overflow causes crash - Runtime Error 6

(I forgot to save the details, will add them the next time it happens)

Compressing the .dbo files before transfer would also be a good idea, they compress VERY well and it would save a bunch on bandwidth and storage.

Off Topic / BattleCode
« on: November 30, 2009, 10:59:54 PM »
I thought some of you guys might be interested in this: MIT's BattleCode. It is a AI competition in the manner of a RTS, however each unit functions autonomously, so pretty much like DB. The AI is programmed in Java. The API Release/Competition start is January 1st.

If people are interested we could put together a Darwinbots team.

DNA - General / If - Elseif - Else
« on: August 21, 2008, 03:50:30 PM »
While I'm waiting for a person to get back to me on a bug in a module for the bestiary I decided to write a bot I've been thinking about for a while.

So, the question is, is it possible to create an if - elseif (0-# elseif statements) - else block just using the boolean stack and evaluating each conditional only once? My current thought is no, it is not. The best way I can see would be to place a number on the top of the int stack at the end of a section, telling the next one if it ran. (shown below for clarity)
Code: [Select]
*.refeye *.myeye !=
    *.refeye 0 = and
        'deal with veggie
        1 .temp store
    *.temp 1 != *.refnrg *.nrg 2 mult > and and
        'deal with scary bot
        dropbool dropbool
        1 .temp store
    *.temp 1 != and
        'feed from boot

Edit: I just realized you would need to store to a temp location for my way to work, edited the code above

Bugs and fixes / Save robot function formatting RESOLVED 2.43.1M
« on: August 02, 2008, 06:49:20 AM »
The save robot DNA function (under Robots -> Save Robot's DNA) exports the dna with the cond on the gene end line (and is thus commented out).

Actually, I just tested it again with one of my bots and it worked fine, it still doesn't work for the red bots in Nitus's sim (here), strange  

Here is how the red bot is exporting on my machine:

Pages: [1] 2