Jump to content
  • 0

disable chat / vending at certain area


Phantom Of Rogue-Gon

Question


  • Group:  Members
  • Topic Count:  65
  • Topics Per Day:  0.02
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/07/13
  • Last Seen:  

what script the black box are can PUB the players out side cant pub

http://tinypic.com/?t=postupload


//////////////////////

//Script whipped up by [GM]Xeon ;D
//No street chatrooms + vends - Prontera edition

prontera,1,1,1	script	NoChatVendPront	-1,{
OnWhisperGlobal:
if (!getgmlevel()) end;
OnInit:
	setcell "prontera.gat",1,1,312,392,cell_nochat,0;
	setcell "prontera.gat",1,1,312,392,cell_novending,0;

	setcell "prontera.gat",134,190,177,217,cell_nochat,1;
	setcell "prontera.gat",82,200,124,207,cell_nochat,1;
	setcell "prontera.gat",125,199,125,208,cell_nochat,1;
	setcell "prontera.gat",126,198,126,209,cell_nochat,1;
	setcell "prontera.gat",127,197,127,210,cell_nochat,1;
	setcell "prontera.gat",128,196,128,211,cell_nochat,1;
	setcell "prontera.gat",129,195,129,212,cell_nochat,1;
	setcell "prontera.gat",130,194,130,213,cell_nochat,1;
	setcell "prontera.gat",131,193,131,214,cell_nochat,1;
	setcell "prontera.gat",132,192,132,215,cell_nochat,1;
	setcell "prontera.gat",133,191,133,216,cell_nochat,1;
	setcell "prontera.gat",148,231,163,268,cell_nochat,1;
	setcell "prontera.gat",147,230,164,230,cell_nochat,1;
	setcell "prontera.gat",146,229,165,229,cell_nochat,1;
	setcell "prontera.gat",145,228,166,228,cell_nochat,1;
	setcell "prontera.gat",144,227,167,227,cell_nochat,1;
	setcell "prontera.gat",143,226,168,226,cell_nochat,1;
	setcell "prontera.gat",142,225,169,225,cell_nochat,1;
	setcell "prontera.gat",141,224,170,224,cell_nochat,1;
	setcell "prontera.gat",140,223,171,223,cell_nochat,1;
	setcell "prontera.gat",139,222,172,222,cell_nochat,1;
	setcell "prontera.gat",138,221,173,221,cell_nochat,1;
	setcell "prontera.gat",137,220,174,220,cell_nochat,1;
	setcell "prontera.gat",136,219,175,219,cell_nochat,1;
	setcell "prontera.gat",135,218,176,218,cell_nochat,1;
	setcell "prontera.gat",187,200,229,207,cell_nochat,1;
	setcell "prontera.gat",186,199,186,208,cell_nochat,1;
	setcell "prontera.gat",185,198,185,209,cell_nochat,1;
	setcell "prontera.gat",184,197,184,210,cell_nochat,1;
	setcell "prontera.gat",183,196,183,211,cell_nochat,1;
	setcell "prontera.gat",182,195,182,212,cell_nochat,1;
	setcell "prontera.gat",181,194,181,213,cell_nochat,1;
	setcell "prontera.gat",180,193,180,214,cell_nochat,1;
	setcell "prontera.gat",179,192,179,215,cell_nochat,1;
	setcell "prontera.gat",178,191,178,216,cell_nochat,1;
	setcell "prontera.gat",148,130,163,176,cell_nochat,1;
	setcell "prontera.gat",147,177,164,177,cell_nochat,1;
	setcell "prontera.gat",146,178,165,178,cell_nochat,1;
	setcell "prontera.gat",145,179,166,179,cell_nochat,1;
	setcell "prontera.gat",144,180,167,180,cell_nochat,1;
	setcell "prontera.gat",143,181,168,181,cell_nochat,1;
	setcell "prontera.gat",142,182,169,182,cell_nochat,1;
	setcell "prontera.gat",141,183,170,183,cell_nochat,1;
	setcell "prontera.gat",140,184,171,184,cell_nochat,1;
	setcell "prontera.gat",139,185,172,185,cell_nochat,1;
	setcell "prontera.gat",138,186,173,186,cell_nochat,1;
	setcell "prontera.gat",137,187,174,187,cell_nochat,1;
	setcell "prontera.gat",136,188,175,188,cell_nochat,1;
	setcell "prontera.gat",135,189,176,189,cell_nochat,1;
	setcell "prontera.gat",134,190,177,217,cell_novending,1;
	setcell "prontera.gat",82,200,124,207,cell_novending,1;
	setcell "prontera.gat",125,199,125,208,cell_novending,1;
	setcell "prontera.gat",126,198,126,209,cell_novending,1;
	setcell "prontera.gat",127,197,127,210,cell_novending,1;
	setcell "prontera.gat",128,196,128,211,cell_novending,1;
	setcell "prontera.gat",129,195,129,212,cell_novending,1;
	setcell "prontera.gat",130,194,130,213,cell_novending,1;
	setcell "prontera.gat",131,193,131,214,cell_novending,1;
	setcell "prontera.gat",132,192,132,215,cell_novending,1;
	setcell "prontera.gat",133,191,133,216,cell_novending,1;
	setcell "prontera.gat",148,231,163,268,cell_novending,1;
	setcell "prontera.gat",147,230,164,230,cell_novending,1;
	setcell "prontera.gat",146,229,165,229,cell_novending,1;
	setcell "prontera.gat",145,228,166,228,cell_novending,1;
	setcell "prontera.gat",144,227,167,227,cell_novending,1;
	setcell "prontera.gat",143,226,168,226,cell_novending,1;
	setcell "prontera.gat",142,225,169,225,cell_novending,1;
	setcell "prontera.gat",141,224,170,224,cell_novending,1;
	setcell "prontera.gat",140,223,171,223,cell_novending,1;
	setcell "prontera.gat",139,222,172,222,cell_novending,1;
	setcell "prontera.gat",138,221,173,221,cell_novending,1;
	setcell "prontera.gat",137,220,174,220,cell_novending,1;
	setcell "prontera.gat",136,219,175,219,cell_novending,1;
	setcell "prontera.gat",135,218,176,218,cell_novending,1;
	setcell "prontera.gat",187,200,229,207,cell_novending,1;
	setcell "prontera.gat",186,199,186,208,cell_novending,1;
	setcell "prontera.gat",185,198,185,209,cell_novending,1;
	setcell "prontera.gat",184,197,184,210,cell_novending,1;
	setcell "prontera.gat",183,196,183,211,cell_novending,1;
	setcell "prontera.gat",182,195,182,212,cell_novending,1;
	setcell "prontera.gat",181,194,181,213,cell_novending,1;
	setcell "prontera.gat",180,193,180,214,cell_novending,1;
	setcell "prontera.gat",179,192,179,215,cell_novending,1;
	setcell "prontera.gat",178,191,178,216,cell_novending,1;
	setcell "prontera.gat",148,130,163,176,cell_novending,1;
	setcell "prontera.gat",147,177,164,177,cell_novending,1;
	setcell "prontera.gat",146,178,165,178,cell_novending,1;
	setcell "prontera.gat",145,179,166,179,cell_novending,1;
	setcell "prontera.gat",144,180,167,180,cell_novending,1;
	setcell "prontera.gat",143,181,168,181,cell_novending,1;
	setcell "prontera.gat",142,182,169,182,cell_novending,1;
	setcell "prontera.gat",141,183,170,183,cell_novending,1;
	setcell "prontera.gat",140,184,171,184,cell_novending,1;
	setcell "prontera.gat",139,185,172,185,cell_novending,1;
	setcell "prontera.gat",138,186,173,186,cell_novending,1;
	setcell "prontera.gat",137,187,174,187,cell_novending,1;
	setcell "prontera.gat",136,188,175,188,cell_novending,1;
	setcell "prontera.gat",135,189,176,189,cell_novending,1;
end;
}

 

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

I don't understand your request, can you reformulate ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  65
  • Topics Per Day:  0.02
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/07/13
  • Last Seen:  

inside of Black ling can pub the player if  the player is out side she/he cant pub



a49xz4.jpg

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  


OnInit:
setcell "prontera",X1,Y1,X2,Y2,cell_nochat,0;
setcell "prontera",X1,Y1,X2,Y2,cell_novending,0;
end;

edit the X1,Y1 and X2,Y2 value...

 

 

TPx5u8y.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

If you follow the directions that Emistry left. Then, you'll see that only inside the black box, everything is disabled.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  65
  • Topics Per Day:  0.02
  • Content Count:  181
  • Reputation:   0
  • Joined:  08/07/13
  • Last Seen:  


OnInit:
setcell "prontera",X1,Y1,X2,Y2,cell_nochat,0;
setcell "prontera",X1,Y1,X2,Y2,cell_novending,0;
end;

if i change this to


OnInit:
setcell "prontera",X1,Y1,X2,Y2,cell_pvp,0;

end;

is work?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  276
  • Reputation:   24
  • Joined:  07/06/13
  • Last Seen:  


OnInit:
setcell "prontera",X1,Y1,X2,Y2,cell_nochat,0;
setcell "prontera",X1,Y1,X2,Y2,cell_novending,0;
end;

if i change this to


OnInit:
setcell "prontera",X1,Y1,X2,Y2,cell_pvp,0;

end;

is work?

There is no cell_pvp.

*setcell "<map name>",<x1>,<y1>,<x2>,<y2>,<type>,<flag>;

Each map cell has several 'flags' that specify the properties of that cell.
These include terrain properties (walkability, shootability, presence of water),
skills (basilica, land protector, ...) and other (NPC nearby, no vending, ...).
Each of these can be 'on' or 'off'. Together they define a cell's behavior.

This command lets you alter these flags for all map cells in the specified
(x1,y1)-(x2,y2) rectangle. The 'flag' can be 0 or 1 (0:clear flag, 1:set flag).
The 'type' defines which flag to modify. Possible options include cell_walkable,
cell_shootable, cell_basilica. For a full list, see const.txt.

Example:

	setcell "arena",0,0,300,300,cell_basilica,1;
	setcell "arena",140,140,160,160,cell_basilica,0;
	setcell "arena",135,135,165,165,cell_walkable,0;
	setcell "arena",140,140,160,160,cell_walkable,1;

This will add a makeshift ring into the center of the map. The ring will be
surrounded by a 5-cell wide 'gap' to prevent interference from outside, and
the rest of the map will be marked as 'basilica', preventing observers from
casting any offensive skills or fighting among themselves. Note that the wall
will not be shown nor known client-side, which may cause movement problems.

Another example:

OnBarricadeDeploy:
	setcell "schg_cas05",114,51,125,51,cell_walkable,0;
	end;
OnBarricadeBreak:
	setcell "schg_cas05",114,51,125,51,cell_walkable,1;
	end;

This could be a part of the WoE:SE script, where attackers are not allowed
to proceed until all barricades are destroyed. This script would place and
remove a nonwalkable row of cells after the barricade mobs.
	
Edited by Lil Troll
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...