• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Japi problem

Status
Not open for further replies.
Level 1
Joined
Jul 22, 2010
Messages
3
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:

  • 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
 
Status
Not open for further replies.
Top