Author Topic: Toy Planet: candidate for DB3?  (Read 33780 times)

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Toy Planet: candidate for DB3?
« Reply #15 on: July 04, 2013, 01:25:49 PM »
That is some of the many reasons I don't like working in Java  :Uhhhhh:

Offline Pascal666

  • Bot Neophyte
  • *
  • Posts: 25
    • View Profile
Re: Toy Planet: candidate for DB3?
« Reply #16 on: July 04, 2013, 04:33:14 PM »
Sorry to hijack your thread.  :D

I have been waiting forever for darwinbots3 , is there an alpha release anywere?
I have written my own simulation again in C#, but haven't published anything.
It is quite early so I wont yet.

I'd really like to see the progress on db3.

Made some animations:
http://s23.postimg.org/5yt5tza7t/screenshot.gif
http://s13.postimg.org/ewgs4frtz/screenshot2.gif
http://www.pictureshack.us/images/4613_firstmultibot.gif
« Last Edit: July 04, 2013, 06:43:07 PM by Pascal666 »

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Re: Toy Planet: candidate for DB3?
« Reply #17 on: July 05, 2013, 04:21:59 AM »
Actually my plan is to release a tech demo this weekend of some of the fluid stuff I've been working on to commemorate the 5th year anniversary of my coding efforts.  It's not super deep, but it's interesting enough.

The screenshots are cool.  How did you make them?  Is that the C# program you're working on?

Offline Pascal666

  • Bot Neophyte
  • *
  • Posts: 25
    • View Profile
Re: Toy Planet: candidate for DB3?
« Reply #18 on: July 05, 2013, 10:39:08 AM »
Was looking into fluid dynamics also but I thought that it would become a performance issue, I wonder how much difference it makes when using CUDA.

I used animated gif editor for the first 2 and gif screen recorder for the last, both are pretty crappy.
Yea, it is very similar to darwinbots2 but the mutation system is probably very different and the DNA functions are more simplified.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Toy Planet: candidate for DB3?
« Reply #19 on: July 05, 2013, 12:50:27 PM »
Quote
Actually my plan is to release a tech demo this weekend of some of the fluid stuff I've been working on to commemorate the 5th year anniversary of my coding efforts.

I must say Numsgil is a brave man to undertake such a huge project himself, especially while working a 9 to 5.

Looking forward to seeing the tech demo.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Toy Planet: candidate for DB3?
« Reply #20 on: July 06, 2013, 10:42:44 AM »
I guess some people (666) just hate DB2 or vb6 or even possibly me  :(



Ammeh this is very ugly on windows, I fixed config.ini but the program is still not running.
It is worth mentioning that all the files are using Unix style line spacing, not just the config.ini file.
When I run runme.bat nothing happens.
« Last Edit: July 06, 2013, 11:12:36 AM by Botsareus »

Offline Ammeh

  • Queen of the Internets
  • Moderator
  • Bot Destroyer
  • *****
  • Posts: 169
    • View Profile
Re: Toy Planet: candidate for DB3?
« Reply #21 on: July 06, 2013, 01:24:43 PM »
Doesn't run? I can't say I've ever had an issue with it running on anything  :blink:

Open up a command window and post any error messages?

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Toy Planet: candidate for DB3?
« Reply #22 on: July 06, 2013, 02:14:56 PM »
Code: [Select]

D:\Documents and Settings\Paul\Desktop\Ammeh>time /t
02:14 PM

D:\Documents and Settings\Paul\Desktop\Ammeh>java -classpath ./bin -Xms3072m -Xmx3072m -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Xl
oggc:C:/temp/gc.log EvolutionSimulator 1 640 480 0.0001
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

D:\Documents and Settings\Paul\Desktop\Ammeh>time /t
02:14 PM

D:\Documents and Settings\Paul\Desktop\Ammeh>pause
Press any key to continue . . .

edit: I just updated my Java this morning...

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
Re: Toy Planet: candidate for DB3?
« Reply #23 on: July 06, 2013, 07:49:51 PM »
Looks like it's having trouble getting enough RAM.

Offline Ammeh

  • Queen of the Internets
  • Moderator
  • Bot Destroyer
  • *****
  • Posts: 169
    • View Profile
Re: Toy Planet: candidate for DB3?
« Reply #24 on: July 07, 2013, 07:06:08 AM »
Yeah, just change (or remove) -Xms and -Xmx to about 75% of your available RAM. Pre-assigning it just gives it a tiny performance boost, but you'll barely notice it tbh. It's like 1% extra cycles per second at ~100,000 pop.

EDIT: I'm actually gonna remove those extra parameters from the git repo, they aren't really hugely useful and they're bound to cause problems like this for other people too.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Toy Planet: candidate for DB3?
« Reply #25 on: July 07, 2013, 12:56:14 PM »
Kool, got it to work. But, I can't really do anything with it.

I'll post some suggestions on your forum Ammeh.

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Toy Planet: candidate for DB3?
« Reply #26 on: July 07, 2013, 01:05:46 PM »
Ammeh, I can only start a new topic in Modules for some reason. Might wana look into that.

edit:

lol, I tried to post on Modules, it just ate my post and never processed it.
« Last Edit: July 07, 2013, 01:15:55 PM by Botsareus »

Offline Ammeh

  • Queen of the Internets
  • Moderator
  • Bot Destroyer
  • *****
  • Posts: 169
    • View Profile
Re: Toy Planet: candidate for DB3?
« Reply #27 on: July 07, 2013, 02:18:24 PM »
Lol, yeah I was gonna ditch the forum cos Numsgil was talking about opening a board here. What issue are you having?

EDIT: Turns out "approve all posts" was enabled, I've approved it now.

Quote
Well I'll start with the good stuff:

The program is based around IM which is really cool.

Now the not so good stuff:

1.) I would like sample DNA codes I can load into the simulation.

2.) I would like to have a zoom feature and also be able to select a robot to view its current DNA (The mouse modes are really confusing , and for now I only got the 'random' mouse mode to work)

3.) In create agent what does 'genus' mean?

4.) A document will be nice to explain how the DNA is structured and how do mutations work (i.e. is it all copy error or what).

5.) I am guessing there are chloroplasts in the program because the robots must be getting energy from something?

Yeah, these are some serious usability issues. It was initially intended as a research tool, so I never really thought about it.
1) I'll make a list of commands/what they do + a couple of examples
2) If you set your mouse mode to "Sample", that allows you to view the state & DNA of any agent you mouse over. For zooming, I generally just use Windows' magnifying glass thing (in accessibility tools). It's surprisingly effective.
3) Genus was just a number used to indicate common ancestry. When the sim was populated initially, each created agent is given a random number which is passed down to it's offspring. Just makes for easy determining of what came from where. I'll remove that from the interface and just make it a random number, since it doesn't really work like that anymore. Now it's just used to calculate the colour the agents show up in, and varies ever so slightly with each mutation. For now, just type in a random number.
4) That is all in the research paper, but if you don't feel like poking through a 15,000 word document I can understand :P I'll clip it out and summarise it somewhere.
5) Again, that's specified in the research paper. Again, I'll clip it out and summarise. Short answer: yes.
« Last Edit: July 07, 2013, 02:36:04 PM by Ammeh »

Offline Botsareus

  • Society makes it all backwards - there is a good reason for that
  • Bot God
  • *****
  • Posts: 4483
    • View Profile
Re: Toy Planet: candidate for DB3?
« Reply #28 on: July 28, 2013, 06:46:36 PM »
I have no idea what is going on with Ammeh; Her forum is down.

Offline Ammeh

  • Queen of the Internets
  • Moderator
  • Bot Destroyer
  • *****
  • Posts: 169
    • View Profile
Re: Toy Planet: candidate for DB3?
« Reply #29 on: July 29, 2013, 02:34:30 PM »
Yeah, I deleted it. Too much spam, too little time to do anything constructive about it. I'll bump Nums for a board on here.

*bumps Numsgil*

What's up?