WIFI conduction glitch

  • china-richway2
    21st Sep 2013 Member 0 Permalink

    WIFI should always delay 1 frame before it conducts. But, actually, it don't, it's random. Sometimes it delays and sometimes it don't. Wait until there's no spark anywher, press A several times, and sometimes it delays and sometimes it don't.

  • xetalim
    21st Sep 2013 Member 0 Permalink
    Looks like you can be happy again.
    < StewieGriffin > Repo update, The-Powder-Toy
    < StewieGriffin > jacksonmj: WIFI: always delay one frame before conducting, to prevent particle order issues
    < StewieGriffin > https://github.com/FacialTurd/The-Powder-Toy/compare/ce277a11f180...ef6cc9c41815
  • china-richway2
    23rd Sep 2013 Member 0 Permalink

    jacksonmj now made it able to delay 2 frames... Oops

    if ((r&0xFF)==PT_SPRK && parts[r>>8].ctype!=PT_NSCN && ((parts[r>>8].life==3 && i < r>>8) || (parts[R>>8].life==4 && i > r>>8)))

    I think this is better. When the conductor's particle order is after WIFI its life should be 4 (after all it will be 3), if it is before WIFI its life should be 3 to conduct (after all it will be 3)

    Edited 2 times by china-richway2. Last: 23rd Sep 2013