Author Topic: I dared! OPEN  (Read 3308 times)

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
I dared! OPEN
« 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.'
« Last Edit: October 05, 2007, 12:31:34 PM by EricL »
The internet is corrupt and controlled by criminally minded people.

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
I dared! OPEN
« Reply #1 on: October 04, 2007, 01:55:13 PM »
Sigh.  Can you post the sim for me?  Thanks.
Many beers....

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
I dared! OPEN
« Reply #2 on: October 04, 2007, 02:21:49 PM »
Here:
The internet is corrupt and controlled by criminally minded people.

Offline shvarz

  • Bot God
  • *****
  • Posts: 1341
    • View Profile
I dared! OPEN
« Reply #3 on: October 05, 2007, 11:37:51 AM »
I am getting the same error, btw.
"Never underestimate the power of stupid things in big numbers" - Serious Sam

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
I dared! OPEN
« Reply #4 on: October 05, 2007, 12:13:00 PM »
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...
Many beers....

Offline Testlund

  • Bot God
  • *****
  • Posts: 1574
    • View Profile
I dared! OPEN
« Reply #5 on: October 05, 2007, 02:27:47 PM »
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.  
The internet is corrupt and controlled by criminally minded people.