Talk:Cheating/@comment-27713488-20160430201257

"sometimes the math just flat out doesn't work, as there have been games where (value*2)+1 didn't find what I needed. Oddly enough, it was only on random variables as the math did usually work on the majority of things. But those small random errors made me try and find a better way."

While I, too, use the same custom type you've reposted here, all it really does is that same math. Any situation where the math didn't work for you won't be solved by using this custom type. More likely, the value shifted to being stored elsewhere in memory - depending on how they're coded, RPG Maker games may do this fairly often.

Anyway, it may save time to note that affection values are 8 bytes apart, so when you've found one it's possible to extrapolate the others, and preserve that extrapolation in a cheat table with relative addresses. There's more that can be done in that vein and I could just make and upload a cheat table... but I'm not sure it's a good idea, since it would probably lead to more spurious bug reports for SL.

Finally, it's worth noting that there's at least one thing you'll miss out on if you cheat in certain ways, which cannot be feasibly restored with Cheat Engine.