Jump to content
  • 0

Script problem


FReyes

Question


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  117
  • Reputation:   1
  • Joined:  01/05/14
  • Last Seen:  

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

4 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

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

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   38
  • Joined:  04/28/13
  • Last Seen:  

invert

cell_vending,1;

to

cell_novending,0;
Edited by Promise
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  117
  • Reputation:   1
  • Joined:  01/05/14
  • Last Seen:  

 

invert

cell_vending,1;

to

cell_novending,0;

nothing change... i tried my best but.. pls help

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  117
  • Reputation:   1
  • Joined:  01/05/14
  • Last Seen:  

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