HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Japi problem

09-09-2010, 11:09 AM#1
caroxoze
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:

Quote:
  • 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
09-11-2010, 07:46 PM#2
caroxoze
Bump! I really need help with this.