wisekreker Posted February 13, 2012 Posted February 13, 2012 (edited) Hello all I'm getting this error. [Error]: npc_parsesrcfile: Unknown syntax in file 'npc/custom/warrune.txt', line '13'. Stopping... * w1=pvp_y_2-2,118,132,4 script Runes 403,2,2,{ * w2= * w3= * w4= Here is the source syntax: pvp_y_2-2,118,132,4 script Runes 403,2,2,{ I'm putting the npc in all PVP areas in my server. Can you guys tell me where did it went wrong? ^^ did the map name cause it? got the map name by typing /where on the map. Here are my Duplicates for this npc: pvp_y_2-1,136,118,4, duplicate(Runes) Runes#1 403,2,2 pvp_y_2-1,167,177,4, duplicate(Runes) Runes#2 403,2,2 pvp_y_2-1,150,268,4, duplicate(Runes) Runes#3 403,2,2 pvp_y_2-2,138,77,4, duplicate(Runes) Runes#4 403,2,2 pvp_y_1-2,138,77,4, duplicate(Runes) Runes#5 403,2,2 pvp_y_1-2,118,132,4, duplicate(Runes) Runes#6 403,2,2 pvp_y_1-1,136,118,4, duplicate(Runes) Runes#7 403,2,2 pvp_y_1-1,167,177,4, duplicate(Runes) Runes#8 403,2,2 pvp_y_1-1,150,268,4, duplicate(Runes) Runes#9 403,2,2 pvp_y_3-1,136,118,4, duplicate(Runes) Runes#10 403,2,2 pvp_y_3-1,167,177,4, duplicate(Runes) Runes#11 403,2,2 pvp_y_3-1,150,268,4, duplicate(Runes) Runes#12 403,2,2 Thanks. Edit------ Oh by the way I also tried this earlier but still did not work, got the same error. pvp_y_2-2,118,132,4, script Runes 403,2,2,{ Edited February 13, 2012 by wisekreker Quote
Bake Mono Posted February 13, 2012 Posted February 13, 2012 (edited) It could be the forum changing it, but are those spaces or "tabs" in between : 4 and script script and Runes Runes and 403 ? If they are spaces, change it to a tab by hitting the Tab key. Edited February 13, 2012 by Bake Mono Quote
wisekreker Posted February 13, 2012 Author Posted February 13, 2012 It could be the forum changing it, but are those spaces or "tabs" in between : 4 and script script and Runes Runes and 403 ? If they are spaces, change it to a tab by hitting the Tab key. They are tabs. Quote
Bake Mono Posted February 13, 2012 Posted February 13, 2012 You might want to double/triple check that. I just tried: pvp_y_2-2,118,132,4 script Runes 403,2,2,{ using proper tabs between 4, script, runes, and 403, and it loaded just fine. When replaced with spaces, it received the same error as you had (as it should) o.o 1 Quote
wisekreker Posted February 13, 2012 Author Posted February 13, 2012 (edited) They are tabs. The forums just skipped the tabs when I pasted it. I actually replaced the map with prontera, and it worked fine. I had it deployed in prontera right now just for testing. It's working fine in prontera but it skipped all the duplicates. Someone help? ^^ Thanks very kindly. Edit----- btw, the one in prontera right now that works fine is like this; prontera,118,132,4, script Runes 403,2,2,{ Edited February 13, 2012 by wisekreker Quote
nelsontyh Posted February 14, 2012 Posted February 14, 2012 (edited) pvp_y_3-1,150,268,4, duplicate(Runes) Runes#12 403,2,2 Try deleting the "," after the 4 so it would be like pvp_y_3-1,150,268,4 duplicate(Runes) Runes#12 403,2,2 Also does your npc need the ,2,2 after the npc sprite? Are you using your npc to detect nearby players? Edited February 14, 2012 by nelsontyh Quote
Question
wisekreker
Hello all I'm getting this error.
[Error]: npc_parsesrcfile: Unknown syntax in file 'npc/custom/warrune.txt', line '13'. Stopping...
* w1=pvp_y_2-2,118,132,4 script Runes 403,2,2,{
* w2=
* w3=
* w4=
Here is the source syntax:
pvp_y_2-2,118,132,4 script Runes 403,2,2,{
I'm putting the npc in all PVP areas in my server.
Can you guys tell me where did it went wrong? ^^ did the map name cause it? got the map name by typing /where on the map.
Here are my Duplicates for this npc:
pvp_y_2-1,136,118,4, duplicate(Runes) Runes#1 403,2,2
pvp_y_2-1,167,177,4, duplicate(Runes) Runes#2 403,2,2
pvp_y_2-1,150,268,4, duplicate(Runes) Runes#3 403,2,2
pvp_y_2-2,138,77,4, duplicate(Runes) Runes#4 403,2,2
pvp_y_1-2,138,77,4, duplicate(Runes) Runes#5 403,2,2
pvp_y_1-2,118,132,4, duplicate(Runes) Runes#6 403,2,2
pvp_y_1-1,136,118,4, duplicate(Runes) Runes#7 403,2,2
pvp_y_1-1,167,177,4, duplicate(Runes) Runes#8 403,2,2
pvp_y_1-1,150,268,4, duplicate(Runes) Runes#9 403,2,2
pvp_y_3-1,136,118,4, duplicate(Runes) Runes#10 403,2,2
pvp_y_3-1,167,177,4, duplicate(Runes) Runes#11 403,2,2
pvp_y_3-1,150,268,4, duplicate(Runes) Runes#12 403,2,2
Thanks.
Edit------
Oh by the way I also tried this earlier but still did not work, got the same error.
pvp_y_2-2,118,132,4, script Runes 403,2,2,{
Edited by wisekreker5 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.