I know you guys generally want samples, so I tried to put one together as well as possible below.
https://drive.google.com/file/d/0Bw8caF ... sp=sharing [I do hope this link will work, yet to get anyone else I know to test it >.>;]
The only reason I found this in the first place is because my mod has a lifebar function that also shows stats in numeric form when you're looking at a monster, and their Maximum HP as displayed on the lifebar is calculated based on several factors due to an RPG nature [so it's put into a user_variable, instead of using its base spawnhealth, which on non-players can't be changed]. Problem is, when this issue happens, it changes how the lifebars and the readout of the Max Health looks because of it, as well as other user variables that aren't seen when looking at the lifebar, and anyone using User Variables like this can have things break on them in weird ways.
Basically, if you save and load once, and the user variable is set to 128 or above [or -129 or less], it'll convert to some other larger number [128 becomes -32768, 256 becomes 1, etc]. If you save and load again after this, the -32768 goes back to 128, though the 1 stays 1 instead of going back to 256. Any number between -128 and 127 [a single byte] never gets borked up like this when saving and then reloading.
Someone I had looking into this is stating there's a bitshift going awry here, and something to do with endian and double word and stuff. I'm not experienced in those terms though, and he didn't want to bother to register at the forum, so I have to be the one to report it myself, thus my knowledge on this subject is limited. :\
Further instructions to replicate the bug are inside a text file inside the folder you can load in game. ["UserVarTest" folder]
Sorry I don't have a more conveinent way to help you in replicating the issue, but I quickly put this together so I could get notice to you at all about this. I'm honestly surprised that no one else has reported this, but maybe user variables aren't used as much by modders like this as I had thought?
