Jump to content
  • 0

ASK About script to make vending on town like this


Question

8 answers to this question

Recommended Posts

Posted

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

Posted

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?

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