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

Pages: [1] 2 3 ... 12
Toy Planet / Re: Toy Planet: candidate for DB3?
« on: October 03, 2013, 05:36:22 PM »
Feedback is always appreciated!

I've been pretty exhausted from work recently, so I'm struggling to find time and energy to actually work on personal projects, but all of your suggestions are great, and I'll certainly put them in when I have the time.

The genealogy tree functions have been mostly disabled by default, but it wouldn't be a huge amount of effort to make them configurable. The code's all there and working, just disabled by a flag. The program for visualising the tree is pretty rough around the edges, but that all works too. I'll see if I can get that upped for you.

If by "advanced characters" you mean unicode, it's a bit of unexpected behaviour that I thought was pretty cool. By default, Java's String objects are unicode, and the code I'm using to mutate the string works at byte level. What this essentially works out as is that while most mutations result in a standard ASCII character, if you get the right mutations next to each other, this can create a unicode character. The interesting bit comes from the fact that the DNA processing will get the value of the next valid character, be it unicode or ASCII. This means that while I had only initially intended operators to work on values of 0 to 256, a bot can sometimes save itself some work (ie, multiply 256 by 4 to check energy against) by getting the value of a unicode character, with values up to 65536 (iirc).

Toy Planet / Re: Toy Planet: candidate for DB3?
« on: August 10, 2013, 02:15:05 PM »
Glad you like it :)

I'll take a look at that tomorrow, should be easy enough to do.

Toy Planet / Re: Downloads and information
« on: August 10, 2013, 02:14:28 PM »
Sure, it's on my site.

Darwinbots3 / Re: Fluid preview
« on: August 02, 2013, 06:27:09 PM »
Works perfectly on my laptop (Lenovo Z580), btw :)

Toy Planet / Downloads and information
« on: August 02, 2013, 06:23:51 PM »
You can download Toy Planet from here. Just click "download" on that page, unzip the resulting file and run "runme.bat" to start the program.

More information about Toy Planet can be found here, including a live image of the simulation running on my server.

Toy Planet / Re: Toy Planet: candidate for DB3?
« on: August 02, 2013, 06:17:49 PM »
Thanks Numsgil! I'll link it from my page now.

1) I can't really do that, given that the bots of that colour may have a number of different mutations between them. It was only ever intended to be indicative of the general population. I could potentially look for a bot whose colour is the selected one, and just return the first one found, but each bot tends to be different.

2) That I can do, though it's worth noting that if you use the arrow keys to adjust the slider, it'll increase the value by 0.0001

Toy Planet / Re: Toy Planet: candidate for DB3?
« 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?

Darwinbots Program Source Code / Re: Status of IM mode
« on: July 11, 2013, 05:49:35 AM »
Could you remove the spaces from the pipe name? I think it's causing a glitch in the pipe handler in Delphi.

Darwinbots3 / Re: Fluid preview
« on: July 09, 2013, 07:27:35 AM »
Code: [Select]
Unhandled Exception: System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation. ---> SharpDX.SharpDXException: d3dco
   at SharpDX.Utilities.LoadLibrary(String dllName)
   at SharpDX.D3DCompiler.D3D.get_DllHandle0()
   at SharpDX.D3DCompiler.D3D.get_D3DPreprocess_()
   at SharpDX.D3DCompiler.D3D.Preprocess(IntPtr srcDataRef, PointerSize srcDataS
ize, String sourceNameRef, ShaderMacro[] definesRef, IntPtr includeRef, Blob& co
deTextOut, Blob& errorMsgsOut)
   at SharpDX.D3DCompiler.ShaderBytecode.Preprocess(IntPtr shaderSourcePtr, Int3
2 shaderSourceLength, ShaderMacro[] defines, Include include, String& compilatio
   at SharpDX.D3DCompiler.ShaderBytecode.Preprocess(String shaderSource, ShaderM
acro[] defines, Include include, String& compilationErrors)
   at Blacklight.SharpDX9.Module..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOn
ly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Bo
olean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipChec
kThis, Boolean fillCache)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean s
kipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at ModuleManager.ModuleManager`1.GetModule(String moduleName)
   at Slipstream.Testbed.Program.Main(String[] args)

Darwinbots Program Source Code / Re: Status of IM mode
« on: July 07, 2013, 03:17:37 PM »
Are we still using the input/output folder method? Also, can has a copy of the DB2 exe with the pipes stuff in it?

Toy Planet / Re: Toy Planet: candidate for DB3?
« 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.

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.

Toy Planet / Re: Toy Planet: candidate for DB3?
« 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.

Toy Planet / Re: Toy Planet: candidate for DB3?
« 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?

Toy Planet / Re: Toy Planet: candidate for DB3?
« on: July 02, 2013, 10:08:55 AM »
Also, it's probably worth noting that by default the population module is disabled. If you just open up config.ini (in wordpad, because linux style newlines), then change
Code: [Select]


Code: [Select]

Toy Planet / Re: Toy Planet: candidate for DB3?
« on: June 30, 2013, 05:19:18 AM »
It's in Java. If you just download the source there's a file called "runme.bat" that will start everything running.

Pages: [1] 2 3 ... 12