Hi.
Like it says in the title, I'm having difficulties to get Japi working... I want to have file output in my map so I'm trying to use the DebugPrint function. When I import the common.j from Japi the syntax correctly detects the function and it gives no errors but when I try to test the map the game just goes to the main screen. Without the import it works fine. Any idea?
Here's how I've done it:
Like it says in the title, I'm having difficulties to get Japi working... I want to have file output in my map so I'm trying to use the DebugPrint function. When I import the common.j from Japi the syntax correctly detects the function and it gives no errors but when I try to test the map the game just goes to the main screen. Without the import it works fine. Any idea?
Here's how I've done it:
- Uninstall previous Warcraft III installations from your computer.
- Make a fresh installation of Warcraft III.
- Patch the new installation to 1.21b
- Fire up regedit and change the values of "HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\InstallPath", "HKEY_CURRENT_USER\\Software\Blizzard Entertainment\Warcraft III\InstallPathX" and "Software\Grimoire\War3InstallPath" to the installation directory --- I didn't had the Grimoire one so i created it
- Import the common.j in the japi folder to your map with the path "scripts\common.j"
- In the World Editor menu under Grimoire enable Grimoire and japi
- Make sure you don't have a common.j lying around in your warcraft folder