Jump to content
  • 0

How to disable item on certain map


RandomKey1

Question


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  12/08/15
  • Last Seen:  


// Restricted zones - configured by 'restricted <number>' mapflag

// 32 - restricted in zone 1

// 64 - restricted in zone 2

// 128 - restricted in zone 3

// 256 - restricted in zone 4

// 512 - restricted in zone 5

// 1024 - restricted in zone 6

// 2048 - restricted in zone 7

Hello

 

I've trouble with mapflag ... I know this question has been asked numerous time already. I've read this topic "https://rathena.org/...uip#entry293780", i've read the mapflag wiki page and item_noequip.db. (I am on pre renewal).

 

I might be dumb or something, but I still don't understand how to use it. I know that If you want to disable Fly wings on map zone 7, you just have to write "FlyWingsID",2048 on item_noequip.txt.

 

But, for exemple, If I want to disable itemX on guild_vs5, itemY on payg_cas01, and itemZ on prt_cas05. How can I do that ? Because i don't want to disable one item on every GvG map, I want to disable one in certain castle only.

 

My question is : How do I set a new zone ? If i want "payg_cas01" as zone 8, and payg_cas02 as zone 9, how do I do ?

 

Thanks 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  49
  • Reputation:   4
  • Joined:  04/19/12
  • Last Seen:  

// Restricted zones - configured by 'restricted <number>' mapflag
// 32 - restricted in zone 1
// 64 - restricted in zone 2
// 128 - restricted in zone 3
// 256 - restricted in zone 4
// 512 - restricted in zone 5
// 1024 - restricted in zone 6
// 2048 - restricted in zone 7

Hello

 

I've trouble with mapflag ... I know this question has been asked numerous time already. I've read this topic "https://rathena.org/...uip#entry293780", i've read the mapflag wiki page and item_noequip.db. (I am on pre renewal).

 

I might be dumb or something, but I still don't understand how to use it. I know that If you want to disable Fly wings on map zone 7, you just have to write "FlyWingsID",2048 on item_noequip.txt.

 

But, for exemple, If I want to disable itemX on guild_vs5, itemY on payg_cas01, and itemZ on prt_cas05. How can I do that ? Because i don't want to disable one item on every GvG map, I want to disable one in certain castle only.

 

My question is : How do I set a new zone ? If i want "payg_cas01" as zone 8, and payg_cas02 as zone 9, how do I do ?

 

Thanks 

 

Hi, RandomKey1,

You can edit or add a new map at trunk\npc\mapflag\restricted.txt.

Hope this will help. :)

  • Upvote 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   0
  • Joined:  12/08/15
  • Last Seen:  

I don't get how I could have possibly missed this file :/. 

 

Anyway thanks you very much, it's really what I needed ! Thanks a lot !

Edited by RandomKey1
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...