How to hack certain properties

Blitz3D Forums/Blitz3D Tutorials/How to hack certain properties

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Yes, I came up with something a while back that displayed memory in a side panel while you changed things on a 3d viewport. Lets you scroll through memory, step into and out of offsets etc. Ugly piece of code though, even by my standards.

Ideally Mark would just add some more functions to the language to get this stuff though, a lot less headache.

Sometimes things are not stored in the same format as provided to a function. An int in the range 0..255 might be stored as a float in the range 0..1, that sort of thing.

Sometimes what appear to be pointers might just be data, so you have to what out for that. There are API functions to check for things like valid read pointers which at least stop things going awry if what appears to be an address is outside valid memory space. I found it easier to display a whole chunk of memory rather than just searching for individual value changes. Gives you a better idea of what is going on, though to be honest it is still a mystery to me what a lot of the values represent.

Watch out for that -96 offset. I would look for a pointer in the structure that points to another structure. Otherwise it might not work reliably.