SharpCraft-retired- icon indicating copy to clipboard operation
SharpCraft-retired- copied to clipboard

Error when launching SharpCraft

Open kfedotov opened this issue 9 years ago • 11 comments

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

kfedotov avatar Jul 05 '16 13:07 kfedotov

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

TinkerWorX avatar Jul 05 '16 15:07 TinkerWorX

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.

kfedotov avatar Jul 06 '16 08:07 kfedotov

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.

TinkerWorX avatar Jul 06 '16 09:07 TinkerWorX

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

cipherxof avatar Jul 06 '16 16:07 cipherxof

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 avatar Aug 19 '16 16:08 TinkerWorX

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

TinkerWorX avatar Sep 03 '16 08:09 TinkerWorX

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

image

cipherxof avatar Sep 12 '16 00:09 cipherxof

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 avatar Sep 12 '16 08:09 TinkerWorX

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

kilanth avatar Mar 09 '18 18:03 kilanth

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.

TinkerWorX avatar Mar 09 '18 18:03 TinkerWorX

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)?

kilanth avatar Mar 09 '18 20:03 kilanth