Darwinbots Forum
Code center => Bugs and fixes => Bug reports => Topic started by: Testlund on December 26, 2005, 02:38:25 AM
-
I got an error in version 2.4.A tonight.
Location: Shots_Module
Code:
tempa = CInt(rob(n).mem(VshootSys)) * CInt(20) '.vshoot * 20
Values:
tempa=0
CInt(rob(n).mem(VshootSys)) = 11509
n = 392
VShootSys = 338
CInt(20) = 20
-
AND, I keep getting the problem with everything clumps together on one spot on the screen where nothing dies or multiplies.
-
I'll fix the first. The second can be fixed by not having your veggies blocked.
-
I never have the blocked mode checked! They can move around a little in the beginning, then a few starts to suck everything in and that's it. It becomes a clump on the screen where nothing happens. I've posted about this before with a screenshot. here:
http://forum.darwinbots.com/index.php?showtopic=950 (http://forum.darwinbots.com/index.php?showtopic=950)
But I guess you never looked into it. :rolleyes:
-
Its probably because planet eaters mode being enabled. The veggies form a sort of gravity well from continual mass(body) buildup. Eventually it overcomes most of the repulsion fields and draws the bodies together. We could probably prevent it easiest by having some method similar to their nrg feeding that limits the amount of body supplied to veggies.
-
If it's not blocked veggies or Planet Eaters I have no idea. THere is a natural repulsion to all bots, so the only way they can overlap like that is extreme forces. The only forces I can think of that would do that are planet eaters and blocked veggies.
Open the console for one of the bots and type ? .fixed
If it returns 1, then the veggies are fixed and hence blocked. It's possible for veggies to mutate this.
If it returns 0, then I have no idea.
-
Well, it's true I use planet eaters. I have that set to a value of 1. I want them to have a some what attractive force when they get very close to each other, so they form colonies. I can't set the value lower than 1. If I for example set it to 0.9, then it will reset to 0 when I go back into the GUI. So maybe I have to disable planet eaters. I will try that and see if it works better.
-
When I set planet eaters to .9, the program remembers it just fine. It doesn't default back to 0 for me.
FYI, planet eaters is also quite slow. You'll get significant speedup even with only a few bots if you turn it off.
-
When I set planet eaters to .9, the program remembers it just fine. It doesn't default back to 0 for me.
That's not what I said. I said I typed 0.9, not .9. Typing .9 into the field will reset to 0,9. Every newbie will have problems to figure this out. You can't for instance type 0,9. You have to type .9, THEN it will be set to 0,9. :wacko: NOW I know what to type.
-
I didn't make the rules for how text fields work in VB.