PDA

View Full Version : Subclass System NASC


xjazz
07.03.2006, 19:34
Can somebody share a dull implimented Subclass system i tryed the NASC script but if i try to talk with the npc there comes just a blank black window.

The onlly char that goes is the Gladiator there comes a window but he cant change.

can somebody explain how to implement that NASC Script writen in this Forum ??

Kirikups
07.03.2006, 19:50
this can help:

ClassChange(talker, reply);

xjazz
07.03.2006, 20:01
Kirikups thx for help but that helpes not realy cause i know that command

Kirikups
07.03.2006, 20:27
ah ok, sorry, maybe this then:

talker.occupation == @warrior ...
ShowPage(talker,"unicode.htm") ...

Xellos
07.03.2006, 20:36
conflicting jump-lables is the prob

he compiled with NASC,
fixed the function calls,
and appended the output at the end of the ai.obj
(without correcting the jumps)

so the ai got confused with duplicate jump targets
and stopped

Kirikups
07.03.2006, 20:51
hum, in general "blank black window" happen when html file doesnt exist or is not unicode, in other part maybe u forgot some break; ... :)

xjazz
07.03.2006, 20:58
Xellos :) your the best i found some damn jumps i will correct them

Xellos
07.03.2006, 20:58
or when u use L1, L2 ... L912 that are already used in ai.obj...
which caused the prob for xjazz

btw - that's a common prob :P if u do copy-n-paste with an ai without using a merger

Kenster
08.03.2006, 00:36
This wont remove the skills though of the player. It just lets him start over as a new class, never removes skills. So its wont be like offical.

xjazz
08.03.2006, 11:15
@ ALL THX for you nice tips i will correct my ai.obj an post my results later.

Coconut
08.03.2006, 12:37
i Have the same problem can you help