mirabell Posted January 30, 2017 Group: Members Topic Count: 41 Topics Per Day: 0.01 Content Count: 197 Reputation: 19 Joined: 11/20/11 Last Seen: February 28 Share 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 Link to comment Share on other sites More sharing options...
0 blurryrox Posted January 30, 2017 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 26 Reputation: 4 Joined: 06/27/12 Last Seen: April 10, 2022 Share Posted January 30, 2017 checked line 57 and 70? Quote Link to comment Share on other sites More sharing options...
0 Ragno Posted January 30, 2017 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 82 Reputation: 40 Joined: 01/03/12 Last Seen: February 19, 2023 Share 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 Link to comment Share on other sites More sharing options...
0 mirabell Posted January 30, 2017 Group: Members Topic Count: 41 Topics Per Day: 0.01 Content Count: 197 Reputation: 19 Joined: 11/20/11 Last Seen: February 28 Author Share 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 Link to comment Share on other sites More sharing options...
0 Emistry Posted February 17, 2017 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted February 17, 2017 make sure the npc script are saved using appropriate encoding that support by server. Quote Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.