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

Error when launching SharpCraft #21

Open
kfedotov opened this issue Jul 5, 2016 · 11 comments
Open

Error when launching SharpCraft #21

kfedotov opened this issue Jul 5, 2016 · 11 comments
Labels

Comments

@kfedotov
Copy link

kfedotov commented Jul 5, 2016

When attempting to run Launcher -game the following error pops up:

The given user library does not export a proper Run(EasyHook.InjectionLoader+REMOTE_ENTRY_INFO, TinkerWorX.SharpCraft.PluginContext, System.Boolean, System.String, System.String) method in the 'EasyHook.IEntryPoint' interface.
screenshot_6

@TinkerWorX
Copy link
Owner

It looks like the SharpCraft.dll you have is damaged. Please download it again, and make sure no antivirus software interferes.

@kfedotov
Copy link
Author

kfedotov commented Jul 6, 2016

Thanks for the quick reply!
I thought that might be the case so I tried rebuilding it from source and got the same problem.
Disabling the antivirus didn't change anything ether.

@TinkerWorX
Copy link
Owner

I'm afraid I can't really do much to help without experiencing the problem myself. It is definitely caused by a damaged/modified SharpCraft.dll, so that's what you'll have to look in to.

@cipherxof
Copy link
Collaborator

I get the same error whenever I run Launcher.exe when it's not next to war3.exe.

@TinkerWorX
Copy link
Owner

Alright, I apologize for the late feedback. I've been able to reproduce it, although I can't find out what's causing it. I did however find out that I'm a lot of versions behind with EasyHook, so I've updated to the most recent, and I'm currently redoing the core of SharpCraft. This will affect plugins a bit, but it will not change the API of existing things, like adding natives, etc.

@TinkerWorX
Copy link
Owner

This should be fixed with the latest version. If you can reproduce it with version *.145 please let me know.

@cipherxof
Copy link
Collaborator

I'm getting this error with the newest version. I only get this error when Launcher.exe isn't next to war3.exe.

image

@TinkerWorX
Copy link
Owner

Make sure you don't have a SharpCraft.dll in your Warcraft III installation folder. This will cause various issues. Please reply if this doesn't fix it for you.

@TinkerWorX TinkerWorX reopened this Sep 12, 2016
@kilanth
Copy link

kilanth commented Mar 9, 2018

Wouldn't launch and would give this as an exception.
The error is a composition exception.
image
No: antivirus running, other hooking apps running
I have installed: .NET of version 4.6ish release 460798 which is between 4.6 and 4.7, Distributable 2012 x86 along with x64.
OS win10
diagnostics-20180309.txt
log-20180309.debug.txt

@TinkerWorX
Copy link
Owner

This appears to be an issue related to the WEX package. The issue comes up because a plugin can't find your Java installation. Deleting "SharpCraft WEX Bundle (0.1.3.0-FIX)\profiles\Warcraft III - World Editor (WEX)\plugins\ObjectDataExtractor" should resolve the issue.

@kilanth
Copy link

kilanth commented Mar 9, 2018

Thank you for a quick reply, I've actually tried to remove plugins one by one but I gave up on this one on the list :D
It did resolve the issue, you are a wizard!
P.S. is ObjectDataExtractor needed to use ObjectMerger (otherwise creating units/items would take lifetime)?

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

No branches or pull requests

4 participants