Code center > Bugs and fixes

.hit ? (2.42.1

<< < (2/3) > >>

Numsgil:
I reformatted my computer and switched up to Windows 7 since I last worked on Darwinbots 2.  I'll see if I can install the IDE and stuff I need in order to work on DB2, but it's giving me a bit of grief atm.

Numsgil:
Nevermind, I'm just being whiny (for the record the VB6 install takes like 10 minutes to look for previously installed components).

I found and fixed the bug.  I checked the fix in to the trunk, and also built this version with the fix (but I didn't check it in against the tag, since that sort of defeats the purpose of tags).

Here's the fixed version.  Basically, robots with DNA disabled had this working, and all other robots had this broken (reverse of what I think was intended).

EDIT: Don't download this version, scroll down some more.

atrop:
wow, that's great thanks! To be honest I fully expected to be ignored.

However (and I feel kind of bad about bringing this up) I noticed that .shflav isnt set back to zero each click as mentioned in the sysvar documentation. I built in a quick workaround but then I noticed that my bots showed more odd behaviour, unrelated to .shflav - I did some testing and found out that one of the .in sysvars isn't being set back either (I'm using .in3 812 for silbling recognition - the poor fellows see brothers and sisters everywhere now)

so my guess is that some routine that you are using for setting back certain sysvars each click is broken in this version.

kind regards
atrop

Numsgil:
Indeed, looks like I broke something with my fix.  It's difficult to see what consequences minor changes can have...

Let me play with it and get back to you.

Numsgil:
Okay, try this version.  I fixed my fix from last time. :)

Also, I fixed in6-10/out6-10.  Looks like they were half implemented.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version