Darwinbots Forum
Code center => Bugs and fixes => Bug reports => Topic started by: Testlund on October 04, 2007, 01:53:20 PM
-
...click on your new smiley button.
It caused a crash displaying 'Error. Invalid procedure call or argument. Saving sim as error.sim.'
-
Sigh. Can you post the sim for me? Thanks.
-
Here:
-
I am getting the same error, btw.
-
I'm on it. It has to do with the totally F***ed up way the VB PaintPicture() method works. I'm goign to have to switch over to calling Windows BitBlt() directly. Stay tuned. It's some work, but the end result shoudl be faster... Hopefully you guys can at least catch a glimpse of this before it crashes (try it when zoomed in or on a small, fast runnign sim with a small number of bots on a small field...
-
Ok, I followed your suggestion by zooming in first, and it works. It only crashes if clicking the button when zoomed out. But I don't like it turning into ants and vegetables though. Maybe later you can change them into more realistic looking cells instead.