Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScriptHookV cannot successfully unregister ENT #149

Closed
rkwapisz opened this issue Oct 17, 2015 · 2 comments
Closed

ScriptHookV cannot successfully unregister ENT #149

rkwapisz opened this issue Oct 17, 2015 · 2 comments

Comments

@rkwapisz
Copy link
Collaborator

Noticed this while building some new features... but I'm no longer able to use CTRL + R to restart ENT. I've tried cloning what's in our repo here, and I'm also having the same issue with it, so it's not anything I'm working on at the moment.

When I try to unregister the script, I get the one beep from ScriptHook telling me it's been unregistered. However, CTRL + R will not re-register the script. I get the three beeps, but nothing happens. Hitting the keys again plays the same three beeps, as though it's always trying to register the script. When I exit GTA V, I get the following error windows generated by ScriptHook:

[14:09:35] FATAL: Trying to unregister unk script using main 0x00007FFACEF83729

ENT doesn't even get to the ScriptTidy, so something happens within ScriptUnregister.
It must be something we commit, because my other scripts seems to register/unregister without issue.

I'm having trouble debugging since there's not a whole lot of info in the error, and ENT's logs aren't showing anything strange, either. I'm looking through my recent commits and can't see that I did anything that could break this, but I could be wrong.

@Its-Patchi
Copy link
Collaborator

Closing until further info is gathered

@FlakTheMighty
Copy link
Collaborator

This is closed I know, but I've been able to successfully unregister the trainer, it's crashed once or twice upon doing so, so I think it might just be a ScriptHook issue and not necessarily ours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants