| 09-12-2007, 03:38 PM | #1 |
I don't see to be able to make JAPI work on my machine. Can someone give me a step-by-step introduction on how to set up JAPI from a clean NewGen distribution. EDIT: I would be satisfied with zipped NewGen of someone who already has JAPI properly set-up |
| 09-12-2007, 06:45 PM | #2 |
What part of jApi is giving you problems? Does the map crash, doesn't the game load or does the map just close? Need some details. |
| 09-12-2007, 06:55 PM | #3 |
Well it simply tells me StopWatch native does not exist. this is my we.conf.lua JASS:-- DLLs that need to be injected into the worldeditor should go here grim.injectdll(proc,"bin\\japi.dll") grim.injectdll(proc,"bin\\nativepack.dll") --grim.injectdll(proc,"bin\\war3lua.dll") --grim.injectdll(proc,"bin\\listfile.dll") grim.injectdll(proc,"bin\\loadmpq.dll") grim.injectdll(proc,"bin\\wehack.dll") grim.injectdll(proc,"TESH\\TESH.dll") it says done for all dll's but JAPI still does not work. (jasshelper is working ok) |
| 09-12-2007, 07:08 PM | #4 |
You have modified your common.j file to add the natives, right? |
| 09-12-2007, 07:11 PM | #5 |
I have imported scripts\common.j that came with NewGen. I assume that is all that needs to be done? |
| 09-12-2007, 07:16 PM | #6 |
Did you try not injecting it in the editor, but just test the map? When using newgen you shouldn't even have WE Syntax Checker turned on as far as i know. Try disabling the Syntax Checker, and just test the map with the natives. |
| 09-12-2007, 07:25 PM | #7 |
How can I test the map if I cannot even compile it? (WE checker is disabled, I am not that newb) |
| 09-12-2007, 07:44 PM | #8 |
lol xD nop ongameload.lua ©Grimoire baby. 8-) |
| 09-12-2007, 07:46 PM | #9 |
If you cannot even compile it, then you messed up the common.j import. Then the native isn't defined either in the common.j, or you've imported it wrong. |
| 09-12-2007, 07:51 PM | #10 |
Make sure no other common.j files are lying in your WC3 folder, or in the Warcraft III\Scripts\, or it imports that one. Check that the filesize is MORE THAN 151 (I think it is 15x, but it SHOULDN'T be a 1 at the end). |
| 09-12-2007, 07:52 PM | #11 | |
Toadcop can you please end this thread by zipping me your NewGen folder with all files properly set up. An example testmap with StopWatch natives working properly would also be welcome. EDIT: Quote:
Filesize is 154, like I said I imported the proper one (It has StopWatch natives inside I looked) There is not a single *.j file in my wc3 folder |
| 09-12-2007, 08:17 PM | #12 |
jopa xD Russ and means ass rofl ! xD |
| 09-12-2007, 08:25 PM | #13 |
It really is jopa, the jasshelper does not get loaded any more. I guess I simply cannot use JAPI, period. |
| 09-12-2007, 08:30 PM | #14 | |
O.o xD hmmmmm... strange. Quote:
|
| 09-12-2007, 08:44 PM | #15 |
The game refuses to start, it does not even show player slots. I am using NewGen v3e but the files are the same like in v3d. Well there is some glitch somewhere that is preventing me from using JAPI, it would probably took days to find that out, so I will simply give it up. Thank you all for trying to help. |
