PDA

View Full Version : Need help abt NASC+SubClass


lamnh
14.05.2006, 08:17
I used NASC from L2tool1.6 and script subclass write by torune

I copy:

category_pch.txt
fstring.txt
item_pch.txt
item_pch2.txt
manual_pch.txt
npc_pch.txt
npc_pch2.txt
quest_pch.txt
quest_pch2.txt
skill_pch.txt
skill_pch2.txt
skill_pch3.txt

to NASC folder and I creat a file name scr.ai, put torune code in it and save in Unicode. Than:
c:\nasc\nasc.exe scr.ai

I have a error :


=======================================
nasc.exe : NPC AI Script Compiler(0.03)
Copyright 2002 NC Soft Inc
any question mail to [email protected]
=======================================

ERROR(1309) : Undefined word[@main_class] in precompiled header
ERROR(1310) : Undefined word[@sub_class] in precompiled header
ERROR(1311) : Undefined word[@isMain_class] in precompiled header
ERROR(1312) : Undefined word[@sub_class_lvl] in precompiled header
ERROR(1313) : Undefined word[@main_class_lvl] in precompiled header
ERROR(1314) : Undefined word[@main_class] in precompiled header
ERROR(1315) : Undefined word[@sub_class] in precompiled header
ERROR(1316) : Undefined word[@isMain_class] in precompiled header
ERROR(1317) : Undefined word[@sub_class_lvl] in precompiled header
ERROR(1318) : Undefined word[@main_class_lvl] in precompiled header
ERROR(1330) : Undefined word[@main_class] in precompiled header
ERROR(1331) : Undefined word[@sub_class] in precompiled header
ERROR(1334) : Undefined word[@isMain_class] in precompiled header
Fail to compile, total error count = 13


It creat a file name ai.obj but I dont it can use or not

I dont know abt code than I'm not sure this code can used or not, I want to complie this code for making a subclass system. If anyone have times for help me, thank u very much

RipperX
14.05.2006, 16:39
Try define it as quest. The problem is that NASC don't recognize that words to replace with ID's

lamnh
15.05.2006, 21:04
THX u , problem solved , BIG thanx to xjazz

RipperX
15.05.2006, 22:57
Plz tell how u correct that for any other with same problem.

bb