SunBeam wrote: ↑Sun May 07, 2017 4:20 pm
Awesome work. Love how shooting works even in camera mode. I was able to kill the first
Weaver you see in Psychotronics (after you get the Psychoscope). Just enabled camera, flew to it and killed it
Thanks
Oh because the hud stuff is still available? Interesting!
Yeah I see the game simply thinks the player is still where the camera is, hehe
opens up interesting options.
Bugs I found:
* When I first enabled the camera with INS, camera started going up leaving map
hmm, that's odd. Never had that... sometimes the mouse keeps moving due to the limiter I have added but moving it a bit fixes that.
* When you close the DLL GUI, it kills the game; fix that
heh well... that's kind of hard, considering the window is owned by the thread spawned by the injected dll, so closing it actually closes the thread and for some odd reason kills the host too. All code is in place to safely close the thread and exit, but for some odd reason that has never worked.
(edit) I remember why it crashes, it's rather stupid: the hooks I set aren't cleaned up
. So when the thread ends, the hooks are still there, so the game then calls into the void and obviously keels over. To gracefully end everything, I have to restore the overwritten game bytes where the hooks are placed with the original once, but as this is never needed (you'll use it till the game is exited) I didn't think it was worth the effort