@Stiebler: Great. One step nearer to the solution.
Regarding the variables: They change almost everytime you load a new game, since they are allocated dynamically. That's the reason one cannot use absolute adressing. One needs a correctly initialized pointer instead. Sometimes, pointers are of high order (pointer that points to a pointer that points to the variable) and difficult to built, but I can help you.
E.g. the flooding level of the front torpedo room needs a pointer of 12th order. (pointer that points to a pointer that points to a pointer, that points to a pointer, that points to a pointer, that points to a pointer, that points to a pointer, that points to a pointer, that points to a pointer, that points to a pointer, that points to a pointer, that points to a pointer that points to the variable)
But: Instead of finding a pointer and changing the variable referenced by that pointer, I suggest to first try to find and modify the code that writes the variable. So you don't even need a pointer.
h.sie
|