• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[Solved] JNGP Error

Status
Not open for further replies.
Level 2
Joined
Oct 17, 2011
Messages
7
I am receiving the LUA error when trying to test my map in World Editor. I assumed I had to disable RtC but the menu is not there :S

And i already disabled AntiVirus.
 
Level 14
Joined
Apr 20, 2009
Messages
1,543
I am receiving the LUA error when trying to test my map in World Editor. I assumed I had to disable RtC but the menu is not there :S

And i already disabled AntiVirus.

Have you turned it off when extracting the pack from the archive?
Make sure these files are inside your bin folder:

CLILoader.conf
CLILoader.dll
Colorizer.dll
exehack.exe
grimoireconfig.dll
japi.dll
listfile.dll
loadmpq.dll
logd.exe
nativepack.dll
ongameload.dll
PELoader.dll
pipe.dll
sfmpq.dll
w3jdebug.exe
war3err.dll
wehack.dll
weload.dll
worldedit.exe

If some are missing, the RtC menu will not be shown.
I've had this same problem before.

Could you also state which LUA error you are getting?
 
Level 2
Joined
Oct 17, 2011
Messages
7
All files are in 'bin' folder.

Lua Error
wehack.lua:437: attempt to index global 'rtc_enabled' (a nil value)

Tell me if you need a screenshot.
 
Level 14
Joined
Apr 20, 2009
Messages
1,543
Which virus scanner are you using? The only reason why this error occurs is because a virus scanner is blocking access to wehack.lua.

Check this thread out with people who have the same issue:
http://www.wc3c.net/showthread.php?t=90999&page=110

EDIT:

Ciebron said:
Quote:
wehack.lua:437: attempt to index global 'rtc_enabled' (a nil value)

I solved this by opening wehack.lua and i changed the line with

Code:
havertc = grim.exists("rtc\\rtcexehack.exe") and grim.exists("rtc\\rcncore.dll")
too
Code:
havertc = true

By doing this i could 'Disable' RtC in WE.

This basically means it doesn't check for RtC at all...
 
Level 2
Joined
Oct 17, 2011
Messages
7
Awesome that worked.

Change this line in 'wehack.lua':
havertc = grim.exists("rtc\\rtcexehack.exe") and grim.exists("rtc\\rcncore.dll")
to
havertc = true

Doesn't matter your AntiVirus 'RtC' menu appears. Disable 'RtC' and problem solved.

Thanks Hashjie :D
 
Status
Not open for further replies.
Top