Jump to content

Question

Posted (edited)

[error] npc_parsercfile: unknown syntax in file 'npc/custom/vendingarea.txt

line '30' stopping...

 

w1=setcell "payon",162,193,162,273,cell_vending,1; // Line 1

w2=

w3=

w4=

 

please check screenshot below.

post-23181-0-84288900-1462840922_thumb.jpg

 

 

here is my script
 

//===== eAthena Script =======================================
//= Market Place
//===== By ===================================================
//= Lupus
//===== Version ==============================================
//= 1.1
//===== Compatible With ======================================
//= eAthena 5760+
//===== Description ==========================================
//= This script should move vending crowds from Prontera
//= streets to a suitable market place. Save your traffic 8)
//===== Comments =============================================
//=1.0 unknown
//=1.1 Optimized it, Removed labels. [Spre]
//============================================================


prontera,163,175,3	script	Market Place	857,{
mes"[Market Place]";
mes"Tristan III's order: ^FF0000Move all the private shops to a special Market Place^000000.";
next;
  if (select("Yes Please:No") == 2) {
  close;
}
// I didn't see the need to check and show venders.... Since it didnt even work
warp "payon",156,224;
end;
}

setcell "payon",162,193,162,273,cell_vending,1; // Line 1
setcell "payon",165,193,165,273,cell_vending,1; // Line 2
setcell "payon",168,193,168,273,cell_vending,1; // Line 3
setcell "payon",171,193,171,273,cell_vending,1; // Line 4
setcell "payon",149,193,149,273,cell_vending,1; // Line 5
setcell "payon",146,193,146,273,cell_vending,1; // Line 6
setcell "payon",143,193,143,273,cell_vending,1; // Line 7
setcell "payon",140,193,140,273,cell_vending,1; // Line 8
setcell "payon",137,193,137,273,cell_vending,1; // Line 9
setcell "payon",134,193,134,273,cell_vending,1; // Line 10

//Market Place settings
payon mapflag novending
payon mapflag nowarp
payon mapflag nowarpto
payon mapflag noteleport
payon mapflag nobranch
payon mapflag noloot
payon mapflag noskill
payon mapflag nopenalty 
Edited by FReyes

4 answers to this question

Recommended Posts

  • 0
Posted (edited)

I'm pretty sure setcell has to inside a script not as a stand alone code line like an NPC

another problem /sob

 

post-23181-0-43387800-1467551995_thumb.png

 

 

/*when i delete this the server is running ok with no error */

payon mapflag novending

payon mapflag nowarp

payon mapflag nowarpto

payon mapflag noteleport

payon mapflag nobranch

payon mapflag noloot

payon mapflag noskill

payon mapflag nopenalty

 

I'm pretty sure setcell has to inside a script not as a stand alone code line like an NPC

another problem /sob

 

attachicon.gifmapflag.png

 

 

/*when i delete this the server is running ok with no error */

payon mapflag novending

payon mapflag nowarp

payon mapflag nowarpto

payon mapflag noteleport

payon mapflag nobranch

payon mapflag noloot

payon mapflag noskill

payon mapflag nopenalty

 

i just decided to delete.. its not important.. Thanks buddy! /tnx

Edited by FReyes

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...