• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

JNGP v 1.5d test crash.. +Rep

Status
Not open for further replies.
Yes, like the title says, i'm using JNGP v 1.5d. (I've had problems with it before) I used to have the Reinventing the craft problem, (Which i fixed)

But now i have an error whenever i press the test map button, it says:

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

Any ideas/help?

PS: Reinventing the craft doesn't even show up for me anymore, i reinstalled jngp.

I've found the block of code, "
-- Reinventing the Craft
havertc = grim.exists("rtc\\rtcexehack.exe") and grim.exists("rtc\\rcncore.dll")
if havertc then
rtcmenu = wehack.addmenu("Reinventing the Craft")
rtc_enabled = TogMenuEntry:New(rtcmenu, "Enable Reinventing the Craft", nil, true)

wehack.addmenuseparator(rtcmenu)
function rtcabout()
wehack.execprocess("rtc\\rtcexehack.exe --about")
end
rtc_about = MenuEntry:New(rtcmenu, "About Reinventing the Craft ...", rtcabout)
else
grim.log("Reinventing the Craft")
if(not grim.exists("rtc\\rtcexehack.exe")) then
grim.log("rtc\\rtcexehack.exe missing!")
end
if(not grim.exists("rtc\\rcncore.dll")) then
grim.log("rtc\\rcncore.dll missing!")
end
end
"

Thats what i'm getting errors from.. (Evidently its reinventing the craft...) What can i do?!
 
Status
Not open for further replies.
Top