Jump to content
  • 0

question, NPC line Script


wisekreker

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   1
  • Joined:  01/01/12
  • Last Seen:  

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 wisekreker
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   1
  • Joined:  11/15/11
  • Last Seen:  

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 by Bake Mono
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   1
  • Joined:  01/01/12
  • Last Seen:  

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. ;)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   1
  • Joined:  11/15/11
  • Last Seen:  

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

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   1
  • Joined:  01/01/12
  • Last Seen:  

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 by wisekreker
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   1
  • Joined:  01/20/12
  • Last Seen:  

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 by nelsontyh
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...