Jump to content
  • 0

ASK About script to make vending on town like this


President

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  51
  • Reputation:   0
  • Joined:  04/28/12
  • Last Seen:  

VENDING.png

how to make vending line like this, any one give me the script me please...

thanks before...sorry if i'm repost.

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  51
  • Reputation:   0
  • Joined:  04/28/12
  • Last Seen:  

no just wanna make 1 place to vend.. but i need 10 Lines..

is it correct?

//===== 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,144,174,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

is it correct?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  137
  • Reputation:   23
  • Joined:  06/08/12
  • Last Seen:  

My Suggestion:

Set the Map as ,,NO Vending"

and add this line to an NPC:

setcell "payon",0,0,300,300,cell_vending,1;

Edit 0,0,300,300 with the coords you like to have

------------

http://rathena.org/wiki/Setcell

Edited by GM Zimtkeks
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  51
  • Reputation:   0
  • Joined:  04/28/12
  • Last Seen:  

My Suggestion:

Set the Map as ,,NO Vending"

and add this line to an NPC:

setcell "payon",0,0,300,300,cell_vending,1;

Edit 0,0,300,300 with the coords you like to have

------------

http://rathena.org/wiki/Setcell

where i put that script?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  137
  • Reputation:   23
  • Joined:  06/08/12
  • Last Seen:  

In whatever NPC you like.

I suggest to put it in the NPC that is going to show the players the line-up.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  51
  • Reputation:   0
  • Joined:  04/28/12
  • Last Seen:  

In whatever NPC you like.

I suggest to put it in the NPC that is going to show the players the line-up.

i need your correction in my script if i wrong please fix it.

this is the picture . .

vending2.png

and this is my script is it correct? if wrong i need your correction sir..

//===== 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,144,174,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,267,162,267,cell_vending,1;
setcell "payon",162,269,162,269,cell_vending,1;
setcell "payon",162,271,162,271,cell_vending,1;
setcell "payon",162,273,162,273,cell_vending,1;

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

only that cell can vending..

thanks for helping sir

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  137
  • Reputation:   23
  • Joined:  06/08/12
  • Last Seen:  

Add this line, delete the other 4:

setcell "payon",162,267,162,273,cell_vending,1;

You only want 1 Line with 6 Places for people to vend?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  137
  • Reputation:   23
  • Joined:  06/08/12
  • Last Seen:  

Yeah its perfect, should work ^^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  51
  • Reputation:   0
  • Joined:  04/28/12
  • Last Seen:  

Yeah its perfect, should work ^^

sir can i ask once again on message. i'm already sent message to you

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