• 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.

JassNewGenPack 2

Status
Not open for further replies.
Level 27
Joined
Feb 2, 2006
Messages
1,573
I have multiple questions about JNGP2:

Is it somehow possible to start tests of the map with an optimized version using Vexorian's optimizer?
I have seen the documentation on the official website which states that you can add custom menu entries but not exactly how they work. I'd like to optimize my map automatically (of course save it under a different path) and test the optimized version with all the features of JNGP (load MPQ, custom multiplayer). The loading would be much faster.

Why does war3err not work anymore and is there any chance of getting it to work again?
I guess some memory addresses changed after Warcraft's patches. I found this:
W3Grimoire / Code / [r311] /source/war3err.h
W3Grimoire / Code / [r311] /source/war3err.cpp

I guess values like "JassOpLimitPatchMask" do not work anymore. war3err was quite useful for a very big codebase to find OpLimit and division errors etc.
Is there any chance of getting it to work again? Maybe by finding the new memory addresses?

How to load custom MPQ archives on testing?
I've uncommented "grim.injectdll(proc,"bin\\loadmpq.dll")" in "war3.conf.lua". My "loadmpq.lua" file contains:
"loadmpq(15, "E:\\Projekte\\TPoF.mpq")" at the end of the file. The custom MPQ is loaded successfully for the World Editor but not for the game on testing the map or starting the multiplayer emulation. Why?

Does this have something to do with the injected DLLs? Does the "bin\\ongameload.dll" simply not work with the loadmpq.dll?
 
Status
Not open for further replies.
Top