Open beckadamtheinventor opened 5 years ago
I've no idea but it might be related to this: CE-Programming/toolchain#165 ? Can you try to narrow it down and send me code?
It could also be an issue with random numbers though.
rand->RNG
RNG/65536->RNGU
(RNG/256)plotsquare255->RNGM
RNGplotsquare255->RNGL
//work with those random numbers and store stuff to WDTEMP
sum(1,WDFILE,"a+->D
sum(7,PYRMX,D
sum(7,PYRMY,D
sum(4,WDTEMP,64,1,D
sum(3,D
Also I did check all of the code that is used to store to WDTEMP, making sure that it is storing correctly.
Alloc(100)+9->WDTEMP
That is what I did, so that I could store to negative offsets of it, Idk if this could be a problem.
all of my code is correct syntax, and does not store to unmapped pointers. I have gone over my entire source code almost fifty times, but the issue persists even if I try to open the file as "r+" and add stuff to the end.
It's probably a rand and RandInt issue :P
EDIT: just saw the issue you posted; probably not a random number issue EDIT 2: Perhaps I should just unarchive the variable first?
Update: this bug only manifests itself when the variable is not archived. I have had success with appending varibles, but only if they are archived.
This is still happening. From what I have seen, this file opening mode does not work on programs which compile to over 10Kb. Also, this is purely an ICE issue; due to the nature of this.
I will try to fix ICE myself, for my own personal use, but I might end up re-uploading it. If you know anything about why this could be happening, please let me know. If you have time/motivation/ability to fix, please do :stuck_out_tongue:
Can you send me one source program where the error happens? Then I might figure out what the problem is.
https://i.imgur.com/56cpMgI.png Is this a known bug? I have attempted to narrow down the issue, and the corrupted variables happen around the opening of the appvar for appending.