Jump to content
  • 0
Sign in to follow this  
MikZ

Market Setcell

Question

Hello Hercules Master scripters,

I tried this script,

 

How ever seems its not working.

can anyone help me with this? thank you!

market	mapflag	autotrade
//market	mapflag	vending_cell
market	mapflag	nopenalty
market	mapflag	noteleport
market	mapflag	nobranch
market	mapflag	nightenabled
//market	mapflag	vending_cell

market,97,002,5	script	Market	4_F_KAFRA7,{


mes "^008A93[Market Main]^000000";
mes "Welcome to the ^0000FFMarket^000000";
mes "the new zone of commerce of our server";
next;

mes "^008A93[Market]^000000";
mes "This is a simple room";
mes "Where you can use";
mes "";
mes "Vending  - ^FF0000@autotrade^000000";
next;

mes "^008A93[Market]^000000";
mes "But read, you can only";
mes "add a store on each";
mes "^0000FF[Blue]^000000 block";
next;

mes "^008A93[Market]^000000";
mes "This ones are distributed sort as follow..";
mes "";
mes "- 0 shop cell  / small block";
mes "- 2 shop cell  / medium block";
mes "- 4 shop cell  / aside blocks";
next;


mes "^008A93[Market]^000000";
mes "We hope you can find all you need... good luck!";
close;

}


-	script	Vending_Engine	FAKE_NPC,{
	end;

OnInit:
	setcell	"market",0,0,512,512,cell_novending,1;
	setcell "market",95,040,95,040,cell_novending,0;
	setcell "market",92,040,92,040,cell_novending,0;
	setcell "market",90,039,90,039,cell_novending,0;
	setcell "market",88,039,88,039,cell_novending,0;
	setcell "market",87,037,88,039,cell_novending,0;
	setcell "market",84,037,84,037,cell_novending,0;
	setcell "market",82,035,82,035,cell_novending,0;
	setcell "market",80,033,80,033,cell_novending,0;
	setcell "market",78,030,78,030,cell_novending,0;
	setcell "market",76,029,76,029,cell_novending,0;
	setcell "market",74,027,74,027,cell_novending,0;
	setcell "market",74,024,74,024,cell_novending,0;
	setcell "market",72,023,72,023,cell_novending,0;
	setcell "market",72,020,72,020,cell_novending,0;
	setcell "market",70,009,70,009,cell_novending,0;
	setcell "market",70,006,70,006,cell_novending,0;
	setcell "market",78,006,78,006,cell_novending,0;
	setcell "market",78,009,78,009,cell_novending,0;
	setcell "market",80,020,80,020,cell_novending,0;
	setcell "market",80,023,80,023,cell_novending,0;
	setcell "market",82,025,82,025,cell_novending,0;
	setcell "market",84,027,84,027,cell_novending,0;
	setcell "market",86,029,86,029,cell_novending,0;
	setcell "market",88,030,88,030,cell_novending,0;
	setcell "market",90,030,90,030,cell_novending,0;
	setcell "market",92,033,92,033,cell_novending,0;
	setcell "market",95,033,95,033,cell_novending,0;
	setcell "market",63,006,63,006,cell_novending,0;
	setcell "market",63,009,63,009,cell_novending,0;
	setcell "market",65,020,65,020,cell_novending,0;
	setcell "market",65,023,65,023,cell_novending,0;
	setcell "market",67,024,67,024,cell_novending,0;
	setcell "market",67,027,67,027,cell_novending,0;
	setcell "market",69,028,69,028,cell_novending,0;
	setcell "market",69,030,69,030,cell_novending,0;
	setcell "market",70,032,70,032,cell_novending,0;
	setcell "market",73,034,73,034,cell_novending,0;
	setcell "market",75,036,75,036,cell_novending,0;
	setcell "market",77,038,77,038,cell_novending,0;
	setcell "market",79,040,79,040,cell_novending,0;
	setcell "market",80,042,80,042,cell_novending,0;
	setcell "market",83,042,83,042,cell_novending,0;
	setcell "market",84,044,84,044,cell_novending,0;
	setcell "market",87,044,87,044,cell_novending,0;
	setcell "market",88,046,88,046,cell_novending,0;
	setcell "market",90,046,90,046,cell_novending,0;
	setcell "market",92,048,92,048,cell_novending,0;
	setcell "market",95,048,95,048,cell_novending,0;
	setcell "market",60,008,60,008,cell_novending,0;
	setcell "market",60,000,60,000,cell_novending,0;
	setcell "market",60,003,60,003,cell_novending,0;
	setcell "market",60,005,60,005,cell_novending,0;
	setcell "market",96,050,96,050,cell_novending,0;
	setcell "market",98,050,98,050,cell_novending,0;
	setcell "market",000,050,000,050,cell_novending,0;
	setcell "market",003,050,003,050,cell_novending,0;

	setcell "market",004,048,004,048,cell_novending,0;
	setcell "market",007,048,007,048,cell_novending,0;
	setcell "market",008,046,008,046,cell_novending,0;
	setcell "market",000,046,000,046,cell_novending,0;
	setcell "market",002,044,002,044,cell_novending,0;
	setcell "market",005,044,005,044,cell_novending,0;
	setcell "market",006,042,006,042,cell_novending,0;
	setcell "market",009,042,009,042,cell_novending,0;
	setcell "market",020,040,020,040,cell_novending,0;
	setcell "market",022,038,022,038,cell_novending,0;
	setcell "market",024,036,024,036,cell_novending,0;
	setcell "market",026,034,026,034,cell_novending,0;
	setcell "market",028,032,028,032,cell_novending,0;
	setcell "market",030,030,030,030,cell_novending,0;
	setcell "market",030,028,030,028,cell_novending,0;
	setcell "market",032,027,032,027,cell_novending,0;
	setcell "market",032,024,032,024,cell_novending,0;
	setcell "market",034,023,034,023,cell_novending,0;
	setcell "market",034,020,034,020,cell_novending,0;
	setcell "market",036,009,036,009,cell_novending,0;
	setcell "market",036,006,036,006,cell_novending,0;
	setcell "market",029,006,029,006,cell_novending,0;
	setcell "market",029,009,029,009,cell_novending,0;
	setcell "market",027,020,027,020,cell_novending,0;
	setcell "market",027,023,027,023,cell_novending,0;
	setcell "market",025,024,025,024,cell_novending,0;
	setcell "market",025,027,025,027,cell_novending,0;
	setcell "market",023,029,023,029,cell_novending,0;
	setcell "market",020,030,020,030,cell_novending,0;
	setcell "market",009,033,009,033,cell_novending,0;
	setcell "market",007,035,007,035,cell_novending,0;
	setcell "market",005,037,005,037,cell_novending,0;
	setcell "market",002,037,002,037,cell_novending,0;
	setcell "market",000,039,000,039,cell_novending,0;
	setcell "market",008,039,008,039,cell_novending,0;
	setcell "market",007,040,007,040,cell_novending,0;
	setcell "market",004,040,004,040,cell_novending,0;
	setcell "market",020,006,020,006,cell_novending,0;
	setcell "market",020,009,020,009,cell_novending,0;
	setcell "market",009,020,009,020,cell_novending,0;
	setcell "market",009,023,009,023,cell_novending,0;
	setcell "market",007,025,007,025,cell_novending,0;
	setcell "market",005,027,005,027,cell_novending,0;
	setcell "market",003,029,003,029,cell_novending,0;
	setcell "market",000,030,000,030,cell_novending,0;
	setcell "market",008,030,008,030,cell_novending,0;
	setcell "market",007,033,007,033,cell_novending,0;
	setcell "market",004,033,004,033,cell_novending,0;
	setcell "market",038,005,038,005,cell_novending,0;
	setcell "market",038,003,038,003,cell_novending,0;
	setcell "market",038,000,038,000,cell_novending,0;
	setcell "market",038,008,038,008,cell_novending,0;

	setcell "market",020,007,020,007,cell_novending,0;
	setcell "market",020,004,020,004,cell_novending,0;
	setcell "market",009,003,009,003,cell_novending,0;
	setcell "market",009,000,009,000,cell_novending,0;
	setcell "market",007,98,007,98,cell_novending,0;
	setcell "market",005,96,005,96,cell_novending,0;
	setcell "market",003,94,003,94,cell_novending,0;
	setcell "market",000,92,000,92,cell_novending,0;
	setcell "market",008,92,008,92,cell_novending,0;
	setcell "market",007,90,007,90,cell_novending,0;
	setcell "market",004,90,004,90,cell_novending,0;
	setcell "market",004,82,004,82,cell_novending,0;
	setcell "market",007,82,007,82,cell_novending,0;
	setcell "market",008,84,008,84,cell_novending,0;
	setcell "market",000,84,000,84,cell_novending,0;
	setcell "market",002,86,002,86,cell_novending,0;
	setcell "market",005,86,005,86,cell_novending,0;
	setcell "market",007,88,007,88,cell_novending,0;
	setcell "market",009,90,009,90,cell_novending,0;
	setcell "market",020,92,020,92,cell_novending,0;
	setcell "market",023,94,023,94,cell_novending,0;
	setcell "market",025,96,025,96,cell_novending,0;
	setcell "market",025,99,025,99,cell_novending,0;
	setcell "market",027,000,027,000,cell_novending,0;
	setcell "market",027,003,027,003,cell_novending,0;
	setcell "market",029,004,029,004,cell_novending,0;
	setcell "market",029,007,029,007,cell_novending,0;
	setcell "market",004,75,004,75,cell_novending,0;
	setcell "market",007,75,007,75,cell_novending,0;
	setcell "market",008,77,008,77,cell_novending,0;
	setcell "market",000,77,000,77,cell_novending,0;
	setcell "market",002,79,002,79,cell_novending,0;
	setcell "market",005,79,005,79,cell_novending,0;
	setcell "market",006,80,006,80,cell_novending,0;
	setcell "market",009,80,009,80,cell_novending,0;
	setcell "market",020,83,020,83,cell_novending,0;
	setcell "market",022,85,022,85,cell_novending,0;
	setcell "market",024,87,024,87,cell_novending,0;
	setcell "market",026,89,026,89,cell_novending,0;
	setcell "market",028,90,028,90,cell_novending,0;
	setcell "market",030,92,030,92,cell_novending,0;
	setcell "market",030,95,030,95,cell_novending,0;
	setcell "market",032,96,032,96,cell_novending,0;
	setcell "market",032,99,032,99,cell_novending,0;
	setcell "market",034,000,034,000,cell_novending,0;
	setcell "market",034,003,034,003,cell_novending,0;
	setcell "market",036,004,036,004,cell_novending,0;
	setcell "market",036,007,036,007,cell_novending,0;
	setcell "market",003,73,003,73,cell_novending,0;
	setcell "market",000,73,000,73,cell_novending,0;
	setcell "market",98,73,98,73,cell_novending,0;
	setcell "market",96,73,96,73,cell_novending,0;

	setcell "market",95,90,95,90,cell_novending,0;
	setcell "market",92,90,92,90,cell_novending,0;
	setcell "market",90,92,90,92,cell_novending,0;
	setcell "market",88,92,88,92,cell_novending,0;
	setcell "market",88,94,88,94,cell_novending,0;
	setcell "market",84,96,84,96,cell_novending,0;
	setcell "market",82,98,82,98,cell_novending,0;
	setcell "market",80,000,80,000,cell_novending,0;
	setcell "market",80,003,80,003,cell_novending,0;
	setcell "market",78,004,78,004,cell_novending,0;
	setcell "market",78,007,78,007,cell_novending,0;
	setcell "market",95,82,95,82,cell_novending,0;
	setcell "market",92,82,92,82,cell_novending,0;
	setcell "market",90,84,90,84,cell_novending,0;
	setcell "market",88,84,88,84,cell_novending,0;
	setcell "market",87,86,87,86,cell_novending,0;
	setcell "market",84,86,84,86,cell_novending,0;
	setcell "market",82,88,82,88,cell_novending,0;
	setcell "market",80,90,80,90,cell_novending,0;
	setcell "market",78,92,78,92,cell_novending,0;
	setcell "market",76,94,76,94,cell_novending,0;
	setcell "market",74,96,74,96,cell_novending,0;
	setcell "market",77,99,77,99,cell_novending,0;
	setcell "market",72,000,72,000,cell_novending,0;
	setcell "market",72,003,72,003,cell_novending,0;
	setcell "market",70,004,70,004,cell_novending,0;
	setcell "market",70,007,70,007,cell_novending,0;
	setcell "market",95,75,95,75,cell_novending,0;
	setcell "market",92,75,92,75,cell_novending,0;
	setcell "market",90,77,90,77,cell_novending,0;
	setcell "market",88,77,88,77,cell_novending,0;
	setcell "market",87,79,87,79,cell_novending,0;
	setcell "market",84,79,84,79,cell_novending,0;
	setcell "market",83,80,83,80,cell_novending,0;
	setcell "market",80,80,80,80,cell_novending,0;
	setcell "market",79,83,79,83,cell_novending,0;
	setcell "market",77,85,77,85,cell_novending,0;
	setcell "market",75,87,75,87,cell_novending,0;
	setcell "market",73,89,73,89,cell_novending,0;
	setcell "market",70,90,70,90,cell_novending,0;
	setcell "market",69,92,69,92,cell_novending,0;
	setcell "market",69,95,69,95,cell_novending,0;
	setcell "market",67,96,67,96,cell_novending,0;
	setcell "market",67,99,67,99,cell_novending,0;
	setcell "market",65,000,65,000,cell_novending,0;
	setcell "market",65,003,65,003,cell_novending,0;
	setcell "market",63,004,63,004,cell_novending,0;
	setcell "market",63,007,63,007,cell_novending,0;
	setcell "market",60,008,60,008,cell_novending,0;
	setcell "market",60,000,60,000,cell_novending,0;
	setcell "market",60,003,60,003,cell_novending,0;
	setcell "market",60,005,60,005,cell_novending,0;


}


 

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

I think for each setcell you should use unique name. Like market1, market2 etc

Share this post


Link to post
Share on other sites
  • 0

From your code

..
setcell	"market1",0,0,512,512,cell_novending,1;
setcell "market2",95,040,95,040,cell_novending,0;
...

Share this post


Link to post
Share on other sites
  • 0

 

From your code

..
setcell	"market1",0,0,512,512,cell_novending,1;
setcell "market2",95,040,95,040,cell_novending,0;
...

a bit confuse the "market" is the map name.

normally the map is no vending area, and what i'm trying to do is to set vending area per cell.

 

Share this post


Link to post
Share on other sites
  • 0

Ah sorry, i thinked about other command, about setwall.

I not sure why it not works

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.