SWCH bug

  • jacksonmj
    12th Sep 2010 Developer 1 Permalink
    If SWCH (larger than a single dot) is turned on when the simulation is saved, then it does not work properly when next loaded.

    This seems to be due to life values being saved as [saved value] = (life+3)/4 and loaded by life = [saved value]*4 .
    A life of 10 is used to indicate the SWCH is turned on. The saving and loading process turns this into a life of 12, which causes the SWCH to behave as if turned off, but be unable to turn on.


    Example:
    LoadSaveBlock(16866);

    Occurs in both 41.3 and 42.0 beta.
  • bjthom
    18th Mar 2017 Member 0 Permalink

    This happens even if the swch is off when saved, it just doesn't seem to load right.

  • zaccybot2
    19th Mar 2017 Member 0 Permalink

    This is a 7 year old post, please do not bring things this old up...