Welcome To Darwinbots > Newbie
system variables meanings
wachtwoord:
Hi,
I'm new to this but it seems like fun and I study computer science so I should be able to do this.
I'm having trouble finding a acomplete list of all the sysvars meanings, like at *.up you can put the acceleration in the upwards direction for the comming cycle. There are loads more of these variables and I would like to find a complete list of them with their meanings.
Another thing I came across is the following:
If I run the following bot:
--- Code: ---'bot
end
--- End code ---
I keep getting more and more bots, how come? it does not have a gene to reproduce (it doesn't have gene's at all). This behaviour also shows with a trivial first gene.
Thanks in advance
PurpleYouko:
For a complete list of all sysvars and their equivalent memory locations open up /DarwinbotsII/Sysvars2.21.txt in a file viewer such as Notepad.
For a complete (well almost anyway) description of what they do and how to use them, in-game, click the HELP menu. There is a chuffing great list of information in there on exactly what they all do. I spent ages putting all that up there and nobody ever even bothers to look at it.
For the reason that empty bots keep reproducing..... Use V2.37.6 (or the newer 2,37 versions) where that doesn't happen.
2.37.6 is still the official version for combat bots but the 2.4x versions get used primarily for evolution SIMs. I can't answer much about the mechanics of 2.4x since I really only programmed up to 2.37 and am now on a legthy programming break due to insufficient time to get stuck into it again.
wachtwoord:
Damn I actually forgot to check the help inside the program, usually in open source projects help functions are extremly limited. But that was exactly what I was looking for, thanks. I'm going to read that when I have some time (and upgrade to a newer version).
Thanks
edit:
--- Quote ---aimsx ----- Rotates me anti-clockwise by the value stored into this location.
aimdx ----- Rotates me clockwise by the value stored in this location.
Syntax. (25 .aimdx store) will store a value of 25 in my memory location 5 (.aimdx)
I will rotate by this amount. The input value must be in the range of 1 to 1256.
--- End quote ---
so the number 1256 equals a 360 degree turn? or 180? or 1256 degrees?
PurpleYouko:
2.37.6 is actually an older version. It is just one of the most bug free versions that we have.
A lot of work is being done on 2.4 to make a better program and Numsgil is still working on a C++ version of the whole game that will run a lot smoother.
Numsgil:
1256 is a complete turn. Basically a full circle is 2 * pi * 200
Navigation
[0] Message Index
[#] Next page
Go to full version