Jump to content
  • 0

Hey guys how can i restrict this?


eboni001

Question


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

hello guys i want to disable the use of branches in all maps, i only want it does work in db room maps, if possible i want to know how to modify the message when somebody try to use a branch in another place

i want server message, you cant use branch in this map please use DB Room!! thank you in advance guys, hope somebody know how to do this!!!

Link to comment
Share on other sites

18 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  08/23/23
  • Last Seen:  

On 7/10/2013 at 7:42 AM, Emistry said:
{ if( strcharinfo(3) == "06@guild_02" || strcharinfo(3) == "pvp_n_1-1" || strcharinfo(3) == "pvp_n_2-1" || strcharinfo(3) == "pvp_n_3-1"  || strcharinfo(3) == "pvp_n_4-1"  || strcharinfo(3) == "pvp_n_5-1"  || strcharinfo(3) == "pvp_n_6-1"  || strcharinfo(3) == "pvp_n_7-1"  || strcharinfo(3) == "pvp_n_8-1"  ) monster "this",-1,-1,"--ja--",-1,1,""; },{},{}

why bb get unlimited

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  130
  • Topics Per Day:  0.03
  • Content Count:  528
  • Reputation:   18
  • Joined:  09/11/12
  • Last Seen:  

Set mapflag at trunk/npc/re/mapflag/nobranch.txt

 

 

YOUMAP    mapflag    nobranch
 

 

//===== Description: ========================================= 
//= Disables the following items:
//=   Dead Branch (604), Bloody Branch (12103),
//=   Red Pouch (12024), Poring Box (12109)
 

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

Set mapflag at trunk/npc/re/mapflag/nobranch.txt

 

 

YOUMAP    mapflag    nobranch
 

 

//===== Description: ========================================= 
//= Disables the following items:
//=   Dead Branch (604), Bloody Branch (12103),
//=   Red Pouch (12024), Poring Box (12109)
 

 

thers no way to disable all maps at time? i can do it only 1 by 1? maybe any script or something? if i have to edit all maps i wont finish in 1 month or more xD

Link to comment
Share on other sites


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

you can do like this

604,Branch_Of_Dead_Tree,....................,{ if( strcharinfo(3) == "mapname" ) monster "this",-1,-1,"--ja--",-1,1,""; },{},{}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

you can do like this

604,Branch_Of_Dead_Tree,....................,{ if( strcharinfo(3) == "mapname" ) monster "this",-1,-1,"--ja--",-1,1,""; },{},{}

sir emistry where i have to add this? and how to do if i have various maps? this are my maps : "06guild_02", "pvp_n_1-1", "pvp_n_2-1", "pvp_n_3-1", "pvp_n_4-1", "pvp_n_5-1", "pvp_n_6-1", "pvp_n_7-1", "pvp_n_8-1"

waah xD this is the wrong post we are talking about my other post, this post is about prevent people can warp 20 seconds after hit or get hitted xD

Link to comment
Share on other sites


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


if( strcharinfo(3) == "mapname" || strcharinfo(3) == "mapname" || strcharinfo(3) == "mapname" )

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

if( strcharinfo(3) == "mapname" || strcharinfo(3) == "mapname" || strcharinfo(3) == "mapname" )

i put it like this but now its not working anywhere xD now the branch get consumed but no monster spawn:

 

604,Branch_Of_Dead_Tree,Dead Branch,2,50,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ if( strcharinfo(3) == "06@guild_02" || strcharinfo(3) == "pvp_n_1-1" || strcharinfo(3) == "pvp_n_2-1" || strcharinfo(3) == "pvp_n_3-1"  || strcharinfo(3) == "pvp_n_4-1"  || strcharinfo(3) == "pvp_n_5-1"  || strcharinfo(3) == "pvp_n_6-1"  || strcharinfo(3) == "pvp_n_7-1"  || strcharinfo(3) == "pvp_n_8-1"  ) monster "this",-1,-1,"--ja--",-1,1,""; },{},{}

bump

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  


message strcharinfo(0),"You cannot use branch in this map. Please use the DB Room!";

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

have u reload your @reloaditemdb ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

where i have to add this?

message strcharinfo(0),"You cannot use branch in this map. Please use the DB Room!";

My dead branch is not working now, it got consumed but no monster is spawn. i just want people only can use branches in this maps "06guild_02", "pvp_n_1-1", "pvp_n_2-1", "pvp_n_3-1", "pvp_n_4-1", "pvp_n_5-1", "pvp_n_6-1", "pvp_n_7-1", "pvp_n_8-1".



have u reload your @reloaditemdb ?

yep already reloaded and still the same ^_^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

bump

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

bump please :(

Link to comment
Share on other sites


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

604,Branch_Of_Dead_Tree,Dead Branch,2,50,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ if( strcharinfo(3) == "06@guild_02" || strcharinfo(3) == "pvp_n_1-1" || strcharinfo(3) == "pvp_n_2-1" || strcharinfo(3) == "pvp_n_3-1"  || strcharinfo(3) == "pvp_n_4-1"  || strcharinfo(3) == "pvp_n_5-1"  || strcharinfo(3) == "pvp_n_6-1"  || strcharinfo(3) == "pvp_n_7-1"  || strcharinfo(3) == "pvp_n_8-1"  ) monster "this",-1,-1,"--ja--",-1,1,""; },{},{}

work fine for me...dont have any problem ==''  ...

if you got problem please specify it...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

604,Branch_Of_Dead_Tree,Dead Branch,2,50,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ if( strcharinfo(3) == "06@guild_02" || strcharinfo(3) == "pvp_n_1-1" || strcharinfo(3) == "pvp_n_2-1" || strcharinfo(3) == "pvp_n_3-1"  || strcharinfo(3) == "pvp_n_4-1"  || strcharinfo(3) == "pvp_n_5-1"  || strcharinfo(3) == "pvp_n_6-1"  || strcharinfo(3) == "pvp_n_7-1"  || strcharinfo(3) == "pvp_n_8-1"  ) monster "this",-1,-1,"--ja--",-1,1,""; },{},{}

work fine for me...dont have any problem ==''  ...

if you got problem please specify it...

Sir emistry i tried again, and still the same, now when i try to use a dead branch no mobs is spawned, the dead branch got consumed but no mobs spawn.

Link to comment
Share on other sites


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

make sure your char located inside these maps..

 strcharinfo(3) == "06@guild_02" || strcharinfo(3) == "pvp_n_1-1" || strcharinfo(3) == "pvp_n_2-1" || strcharinfo(3) == "pvp_n_3-1"  || strcharinfo(3) == "pvp_n_4-1"  || strcharinfo(3) == "pvp_n_5-1"  || strcharinfo(3) == "pvp_n_6-1"  || strcharinfo(3) == "pvp_n_7-1"  || strcharinfo(3) == "pvp_n_8-1"
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

make sure your char located inside these maps..

 strcharinfo(3) == "06@guild_02" || strcharinfo(3) == "pvp_n_1-1" || strcharinfo(3) == "pvp_n_2-1" || strcharinfo(3) == "pvp_n_3-1"  || strcharinfo(3) == "pvp_n_4-1"  || strcharinfo(3) == "pvp_n_5-1"  || strcharinfo(3) == "pvp_n_6-1"  || strcharinfo(3) == "pvp_n_7-1"  || strcharinfo(3) == "pvp_n_8-1"

ok sir emistry is working now, 2 more questions, how i can add this message:("You cannot use branch in this map, Please use the DB Room!") when somebody try to use any branches outside db room? and there is any way to stop consuption of branches outside of db room?

Link to comment
Share on other sites


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


604,Branch_Of_Dead_Tree,Dead Branch,18,50,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ if( strcharinfo(3) == "06@guild_02" ){ monster "this",-1,-1,"--ja--",-1,1,""; delitem 604,1; }else{ dispbottom "You cant use here"; } },{},{}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  79
  • Topics Per Day:  0.02
  • Content Count:  327
  • Reputation:   4
  • Joined:  06/22/13
  • Last Seen:  

message strcharinfo(0),"You cannot use branch in this map. Please use the DB Room!";

sir this is my dead branch db, where to add the message to work only outside the db room maps? i tried adding it in monster "this",-1,-1,"--ja--",-1,1,""; "HERE" } but message was display everytime, even inside db room, i want message only display in not db room maps.

604,Branch_Of_Dead_Tree,Dead Branch,2,50,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ if( strcharinfo(3) == "06guild_02" || strcharinfo(3) == "pvp_n_1-1" || strcharinfo(3) == "pvp_n_2-1" || strcharinfo(3) == "pvp_n_3-1"  || strcharinfo(3) == "pvp_n_4-1"  || strcharinfo(3) == "pvp_n_5-1"  || strcharinfo(3) == "pvp_n_6-1"  || strcharinfo(3) == "pvp_n_7-1"  || strcharinfo(3) == "pvp_n_8-1"  ) monster "this",-1,-1,"--ja--",-1,1,""; },{},{}
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...