It gives no errors the game working without crashing but functions not working...is there a certain method to detect the cause?Figure out why the hooks and patches are not working, use frida and logs to verify. Almost ALL templates share the same hooking and patching methods
Yes, logging is not only for printing errors. You can use it to for verifying also like printing that the hook has been called, bytes has been changed, fields has been changed, and many more. If your hook or patches doesn't work, there could be a million reason but to have a guide on how to tackle them you could follow a simple roadmap. Check if the target is correct, this involves target lib, target address, target field, etc. If target is correct then you can proceed with hooking or patching. As I said before, logging is the most useful part in debugging as it gives you idea on what is going wrong with your implementationIt gives no errors the game working without crashing but functions not working...is there a certain method to detect the cause?
I tried many things until found a source using auto update hooksYes, logging is not only for printing errors. You can use it to for verifying also like printing that the hook has been called, bytes has been changed, fields has been changed, and many more. If your hook or patches doesn't work, there could be a million reason but to have a guide on how to tackle them you could follow a simple roadmap. Check if the target is correct, this involves target lib, target address, target field, etc. If target is correct then you can proceed with hooking or patching. As I said before, logging is the most useful part in debugging as it gives you idea on what is going wrong with your implementation