• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

SharpCraft on 1.31

Status
Not open for further replies.
Level 6
Joined
Jun 29, 2011
Messages
181
Hello there,

I'm trying to setup SharpCraft on the last patch 1.31 but so many things have changed and I'm so new at this that it's being a hard task.

For example, I've noticed that w3 path has totally changed now, but with these two lines of code I've managed to pass the bug:

Common.cs
Code:
// New after 64b build
bool os64 = Directory.Exists(Path.Combine(InstallPath, "x86_64"));
InstallPath = Path.Combine(InstallPath, os64 ? "x86_64" : "x86");

And then change all war3.exe to Warcraft III.exe (same for worldeditor).

I wanted to continue from there but I'm stuck at this error when running the launcher from the bat:

"Cannot find assembly SharpCraft".

I've followed the instructions to add the assembly in the proper way but no success on this.

Any C# experienced dev that could enlight me on this?

Thanks.
 
Status
Not open for further replies.
Top