| 12-08-2006, 12:11 PM | #1 |
This code seem to cause save-errors when I try to save the map ( I tried to save both my own and CS-Default map ). JASS:globals private timer array T private integer N = 0 endglobals Removing private allows me to save, but that would mean I have a global variable called N, aight? I have JASSHelper 0.9.3, WeHelper 1.6 and CS14.1. |
| 12-08-2006, 12:18 PM | #2 |
Disable WEHelper's globals preprocessor, or much better , use the JASSHelper pack (new in the JASShelper thread) which actually compiles the script unlike WEHelper. |
| 12-08-2006, 01:48 PM | #3 |
Is the JASS helper pack WEU compatible? (You were right, it wasn't a good combination. It has even stopped validating my scripts) ![]() |
| 12-08-2006, 02:29 PM | #4 |
As a matter of fact it is WEU compatible, but you need to do some funny stuff. First of all go to the jass helper pack folder a.k.a grimoire's folder: There should be a we.lua file. You must edit it : Code:
key = "Software\\Blizzard Entertainment\\Warcraft III" val = "InstallPath" path = getregpair(key,val) --path = "H:\\Warcraft III" proc = startexe(path.."\\worldedit.exe","worldedit.exe") -- Enable jAPI -- injectdll(proc,"bin\\jAPI.dll"); -- Enable list file generation -- injectdll(proc,"bin\\listfile.dll") --Enable mpq loading (this is new: ****************) injectdll(proc,"bin\\loadmpq.dll"); injectdll(proc,"bin\\wehack.dll") -- Get rid of war3mapImported prefix --patchbyte(proc,0x007C762C,0) --- found by StonedStoopid aka Uluru --No unit/item limit -- patchbyte(0x00554b9b,0xE9) -- patchbyte(0x00554b9c,0xA0) -- patchdword(0x00554b9d,0x00000090) --no doodad limit -- patchbyte(0x0054caf8,0xEB) --no map size limit -- patchbyte(0x00640e7b,0xEB) Now you only need to create a file in that folder loadmpq.conf And it must contain a line: 15 (weu.exe path) The path of the weu.exe is tricky because loadmpq unfortunally does not support spaces in the path, I am gonna ask pipedream to fix it. You have 3 solutions here, the easiest would be to copy "WE Unlimited.exe" ti the pack folder. Then rename "WE unlimited.exe" to "weu.exe" Now back to loadmpq.conf the line should be: Code:
15 weu.exe Feel free to ask me for more help if you have problems. |
| 12-08-2006, 09:15 PM | #5 |
Thanks a lot! It works :) I suppose that I can compress the folder (prepared for WEU) and send it to the map maintainer too? (We're of course using the same version, 1.20, of WEU) (The reason that we use WEU is simple: the WE Enhancer freezes when trying to "purge" the map from it :s) |
