mirabell Posted January 30, 2017 Posted January 30, 2017 I'm getting this error when loading my npc [Warning]: npc_parseview: Invalid NPC constant '723ü' specified in file 'npc/cus tom/move/event/poring.txt', line'57'. Defaulting to INVISIBLE_CLASS. [Warning]: npc_parseview: Invalid NPC constant '723ü' specified in file 'npc/cus tom/move/event/poring.txt', line'70'. Defaulting to INVISIBLE_CLASS. and this is the script paradise,143,87,1 script Time Portal#porev 723,2,2,2,{ specialeffect 300; sleep2 1000; warp "morocc_o",159,95; end; OnInit: disablenpc "Time Portal#porev"; end; } morocc_o,159,112,1 script Time Portal#porev3 723,2,2,2,{ specialeffect 300; sleep2 1000; warp "paradise",143,101; end; } not sure where its getting the 723ü <-----u from thanks Quote
0 Ragno Posted January 30, 2017 Posted January 30, 2017 It is because the npc definition: <map name>,<x>,<y>,<facing>%TAB%script%TAB%<NPC Name>%TAB%<sprite id>,<triggerX>,<triggerY>,{<code>} You have an extra ",2" argument. The correct should be: paradise,143,87,1 script Time Portal#porev 723,2,2,{ morocc_o,159,112,1 script Time Portal#porev3 723,2,2,{ Quote
0 mirabell Posted January 30, 2017 Author Posted January 30, 2017 thanks that worked but back 6 year ago the extra 2 i thought was for area of affect but i guess that changed. Quote
0 Emistry Posted February 17, 2017 Posted February 17, 2017 make sure the npc script are saved using appropriate encoding that support by server. Quote
Question
mirabell
I'm getting this error when loading my npc
[Warning]: npc_parseview: Invalid NPC constant '723ü' specified in file 'npc/cus tom/move/event/poring.txt', line'57'. Defaulting to INVISIBLE_CLASS. [Warning]: npc_parseview: Invalid NPC constant '723ü' specified in file 'npc/cus tom/move/event/poring.txt', line'70'. Defaulting to INVISIBLE_CLASS.
and this is the script
paradise,143,87,1 script Time Portal#porev 723,2,2,2,{ specialeffect 300; sleep2 1000; warp "morocc_o",159,95; end; OnInit: disablenpc "Time Portal#porev"; end; } morocc_o,159,112,1 script Time Portal#porev3 723,2,2,2,{ specialeffect 300; sleep2 1000; warp "paradise",143,101; end; }
not sure where its getting the 723ü <-----u from
thanks
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.