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

Pages: [1]
1
Darwinbots3 / Helping with DB3
« on: May 31, 2012, 10:39:52 PM »
Hi, something the other day reminded me of Darwinbots, and I figured I'd come and see what was going on. Haven't been on this site in over a year... It seems like DB3 is still being developed (although the forums are pretty quiet), so I'd be interested in helping out. I contributed some shader code for bordered ellipse drawing or something a little over a year ago, but I don't remember how stuff was set up. I'm not sure how to get the code, my SVN client is asking for a password to checkout from svn.darwinbots.com/Darwinbots3. I had thought anonymous read-only access was possible. I've gotten quite a bit better at coding since I was last here, doing quite a bit in C# and Java. Did a bit of XNA stuff, including 2 Minecraft-style terrain tests, which helped with learning about some 3d stuff and a lot about shaders and HLSL. Anyway, if you could respond and tell me how to access the repository, and what I should work on, that'd be great. :)

2
Bot Tavern / Interesting Idea
« on: February 22, 2011, 05:25:49 PM »
A bot that relies almost entirely on evolution and mutations, and starts with only core genes... But with like maybe multiple of the cores, to preserve important functions in the beginning? With .mrepro in all or some conditions, to force mutations, especially when doing bad... Maybe a chance of mrepro? Maybe a bot that replicates very often, but using .mrepro unless performing excellent, so once you get a good bot evolved, it stops mrepro'ing and quickly duplication... This could be very interesting now than I think of it...
I wonder how complex they could evolve...

3
Bugs and fixes / DB Gives Error on making new Simulation
« on: February 22, 2011, 09:36:57 AM »
When I press New Simulation,  the program gives this error, and crashes: Runtime error 339, and then says COMCT232.OCX is not properly registered or something.... I tried manually registering it, running installer as admin, etc, etc, but it still doesn't work. I downloaded the library from another post, registered that, and it still didn't work. And yes, I'm running Vista. -_- 32-bit, if that matters...

4
Darwinbots Program Source Code / How to help with darwinbots 3 development?
« on: February 21, 2011, 06:00:27 PM »
I've been really excited for DB3, and all the new features, and would like to contribute to the project. I know C#, and have experience using XNA (We are using XNA, right?). So how exactly can I help with it? Especially since development seems a bit slow, and I think I could probably get some stuff done on it. I've coded a few C# XNA 2d physics engines, and done a bunch of other stuff, so I might even be able to dig out one of my physics libraries, or just help code a new one. So, yeah......

5
F2 bots / Animal_Simplisis (F2) (Tj3) (21-03-2010)
« on: March 20, 2010, 04:21:02 PM »
My first league bot, Animal Simplisis:
 
[div class=\'codetop\']CODE[div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']
Code: [Select]
'Animal_Simplisis

' Gene 1 Species ID and set up
cond
*.robage 0 =
start
99 .out7 store
.shoot .ploc store
.shootval .vloc store
-32000 .venval store
.paralyzed .memloc store
stop

' Gene 2 Follow food
cond
 *.eye5 0 >
*.in7 *.out7 !=
start
*.refxpos *.refypos angle .setaim store
 *.refvelup .up store
stop

' Gene 3 Find food
cond
*.eye5 0 =
*.in7 *.out7 =
or
start
157 314 rnd sub .aimdx store
10 .up store
stop

' Gene 4 Eat food
cond
 *.eye5 0 >
*.in7 *.out7 !=
start
*.refpoison 0 = *.refshell 0 > and
-1 .shoot store
not
-6 .shoot store
true
-32 .shootval store
stop

' Gene 5 Eliminate waste
cond
*.waste 50 >
start
1 .backshot store
-4 .shoot store
*.waste .shootval store
stop

' Gene 6 Reproduction
cond
*.nrg 10000 >
*.body 4000 >
*.eye5 0 =
start
25 .repro store
stop

' Gene 7 Store poison
cond
*.poison 500 <
*.nrg 500 *.poison sub 2 mult 2500 add >=
start
500 *.poison sub .strpoison store
stop

' Gene 8 Make slime
cond
*.slime 500 <
*.nrg 500 *.slime sub 2500 add >=
start
500 *.slime sub .mkslime store
stop

' Gene 9 Make shell
cond
*.shell 500 <
*.nrg 500 *.shell sub 2500 add >=
start
500 *.shell sub .mkshell store
stop

' Gene 10 Store venom
cond
*.venom 500 <
*.nrg 500 *.venom sub 2 mult 2500 add >=
start
500 *.venom sub .strvenom store
stop

' Gene 11 Shoot venom
cond
*.eye5 0 >
*.in7 *.out7 !=
*.venom 1 >=
*.robage 10 mod 0 =
start
-3 .shoot store
stop


end

6
Bug reports / Version 2.44.04 Delete Species
« on: March 20, 2010, 08:23:38 AM »
When you try to set up a sim in DB 2.44.04, and you want to delete a species from the list of species, something weird happens. If the species selected is not the last item on the list, it gets deleted, and it's fine. If it is the bottom one, DarwinBots crashes with this error:
Quote
Run-time error '380':
Invalid property value

7
Bot Tavern / Advanced Multibot Project
« on: March 19, 2010, 10:25:40 PM »
I'm starting to work on an advanced multibot, and was wondering if anyone was interested in helping. The idea is to have all different kinds of cells to do different things, like:
  • Eye cells - Collect information
  • Body cells - The "body". Holds parts together, and share information and energy.
  • Movement cells - Cells used to get around.
  • Combat cells - Feed and fight. These are the cells that collect the food and defend the organism.
  • Brain cells - Reads information from eye cells, remembers things, and issues commands for combat and movement cells.
And maybe some others.
Anyway, I was thinking we could all write parts of it and then combine it all together. It'd be cool to have a multibot with, like, 50 cells all doing different things. It would be a challenge, but pretty awesome to watch this big thing moving around in a sim.
We'll probably have some things we will all use, like it might have a .type, to determine what cells do. This would be used by all of us to identify cells.
So who's in?

8
DNA - General / strbody and fdbody units
« on: March 19, 2010, 04:58:34 PM »
Okay, so I am making a bot that stores to/feeds from its body, but I wasn't sure what units the .strbody and .fdbody sysvars used(body or nrg).
Are they body or energy units, or different for each one?
Example: To store 100 nrg, do I say
Code: [Select]
100 .strbody store 'Nrg
OR
10 .strbody store 'Body

9
DNA - General / Determining if other bots are under influence of venom
« on: March 17, 2010, 08:29:47 PM »
Is there a way to determine if another bot is under the influence of venom? I haven't found any information about it anywhere on the wiki...

10
Darwinbots3 / How to start helping?
« on: March 17, 2010, 07:59:03 PM »
Hi. I found out about DB a week or so ago, and am very interested in it. I am a decent C# programmer, and have experience in 2D and 3D development with XNA, so I think I could help with development of Darwinbots 3. I was just wondering how I could get started with this, since I'd really like to help.

11
Evolution and Internet Sharing Sims / Internet Mode
« on: March 16, 2010, 06:20:56 PM »
Could someone please explain this to me? I just found out about DB a week ago or so, and I'm not really sure how it works.

12
The Gene depository / Enemy Evaluation
« on: March 16, 2010, 06:16:36 PM »
This is a cool way to evaluate enemies I figured out. It is a simple way to determine whether you or the enemy has more kills. It takes age into account, also.

[div class=\'codetop\']CODE[div class=\'codemain\' style=\'height:200px;white-space:pre;overflow:auto\']cond
*.robage *.kills div *.refage *.refkills div <
start
'attack code
else
*.maxvel .dn store
stop

13
DNA - General / Best numbers
« on: March 15, 2010, 04:57:22 PM »
Hi. I just found out about DB a few days ago, and haven't really made any good bots yet. Im working on a basic bot now, and I was just wondering if somebody could tell me some good "numbers" to use in it, for things like storing poison, slime, and shell, storing to body, and reproducing. If someone could give me some examples or general rules to use, that would be great!

14
Newbie / Hello...
« on: March 12, 2010, 10:22:54 PM »
Hi.... I just got darwinbots and it's great. I just made my first bot. Its just a basic bot, but it is actually pretty good. Here's the code. If you could help me make it better that would be great!

Code: [Select]
'Animal_Simpilisis
'A basic but powerful animal bot.
'It will find food and reproduce.

def speciesid 101

' Gene 1 Species ID
cond
*.robage 0 =
start
99 .speciesid store
.speciesid .memloc store
stop

' Gene 2 Follow food
cond
 *.eye5 0 >
*.memval *.speciesid !=
start
 *.refveldx .dx store
 *.refvelup 30 add .up store
stop

' Gene 3 Find food
cond
*.eye5 0 =
*.memval *.speciesid =
or
start
157 314 rnd sub .aimdx store
10 .up store
stop

' Gene 4 Eat food
cond
 *.eye5 50 >
*.memval *.speciesid !=
start
-1 .shoot store
 *.refvelup .up store
stop

' Gene 5 Eliminate waste
cond
*.waste 100 >
start
1 .backshot store
-4 .shoot store
*.waste .shootval store
stop

' Gene 6 Reproduction
cond
*.nrg 20000 >
*.eye5 50 <
start
25 .mrepro store
stop

end

Pages: [1]