• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Japi problem

Status
Not open for further replies.

p00n3d

P

p00n3d

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
 
For what, I first time hear that someone use this?

I'm trying to use the DebugPrint function. I need a way of writing information to a external file. If you know any other way, I'm open to sugestions!
 
Status
Not open for further replies.
Back
Top