Jump to content
  • 0

How to disable item on certain map


Question

Posted


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

2 answers to this question

Recommended Posts

  • 0
Posted
// 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

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