Code center > Bugs and fixes

Bug in 2.4.1

<< < (10/15) > >>

PurpleYouko:
Debugging one step further, the offending shot was fired by an unevolved Carnatis Orbis and is hitting a normal Alga Minimalis.

I almost always use my Carnatis Orbis as a test subject because he is so good at ferreting out bugs.

PurpleYouko:
It has just occurred to me that the power of a shot passing through another bot should be decreased but it appears to be increasing.

D'you think it might be some kind of slingshot effect?  ;)

Probably not. I expect the formula is screwed up somehow.

Griz:
> > another thing I have to keep checking is that the veggies are "blocked" ...
> > that box never seems to come up checked.
 

> It isn't supposed to. veggies are by default Unblocked since the blocked veggies
> are unrealistic under most simulation conditions.[/QUOTE]

ah ... ok.
for some reason I thought it allowed them to be affected by gravity ...
 
> > where does the prog get it's initial default settings from ...
> > you know ... the very first time one runs it out of the box?
 
> It loads them in from the "default.set" file which is included with the installation
 
ok. then if one were to replace that with a known working .set ...
then that might allow Testlund  to load and run a sim.
this is what I had to do with 2.37 ... as the default.set that came with
it didn't function on my computer for whatever reason.

> > but I can see no way to attach or upload files here.
 
> At the botom of the window which you use to type in your messages,
> (just below the post icons) there is a browse button.  

well duh! ;)  how did I miss that?  :redface:

ok ... here's  2.43_starter.set ...
using  "&#\Robots" for location so it should find the path as long as
it is in the same folder ...
and it requires Alga_Minimalis.txt and Animal_Minimalis2.4.txt ...
or an edit of the setting to call the new refix animalmininmlis whatever
one has named it.

this one works for me ...
but not for long ... the new animals lasting about 1100 cycles b4 dying off.

~griz~

Testlund:
Ok. tried out Griz example above by using the starter set. The only difference is that the program doesn't crash and the alga seems to grow!

PurpleYouko:
OK this is just weird.

I restrrted the program, made absolutely no adjustments to the options window, just hit the GO button.

Ran perfectly

It should be noted though that the default settings file loads in a value of 3 into the tmpopts.ygravity when the sim is first run using an old settings file.

If you just press go then a working settings file will be created. The next time you run it should be fine if you load that one back in.

Well I managed to run Carnatus Orbis for a long old time without crashing after I commented out the second half of the code that calculates the power left in a shot aftr going through an opponent.

Eventually I decided to have a change so I restarted with Destinatus Preliator. Now we get errors!

I get a subscript out of range error in the "Translocation" routine


--- Code: ---If counter >= 1 And counter <= .DnaLen - 1 Then
  tempDNA(second) = .DNA(counter)
  .DNA(counter).tipo = 0
  .DNA(counter).value = 0
  second = second + 1
Else
  length = length - 1
End If
--- End code ---

in line "tempDNA(second) = .DNA(counter)"

Second has a value of 91 at the time
Counter = 568
.DnaLen = 638

This routine is a completely new one to me so I am not even going to try to debug this one just yet.

Interestingly, I thought I had mutations disabled at the time  :blink:

Another GUI error is that in the mutations window, it appears to be impossible to turn mutations on or off.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version