Jump to content
  • 0

How to properly adding item restriction on WOE:SE maps? (SOLVED)


rakuzas

Question


  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

Hello,

I give up after spend few hour trying to figure it out how to put item restriction in WOE:SE Map.. 

Already putting all item in db/item_noequip.txt with many zone ID try 1 by 1 but no luck..

I manage to do it with my custom pvp map with Zone 3 ID..
 

//----------------------------------------------------------------------------
// Zone 3 - Izlude Battle Arena
//----------------------------------------------------------------------------
601,128		// Wing_Of_Fly

But when change SE Map into this :

arug_cas03    mapflag    restricted    3 

 

 

The Wing of Fly cannot use same as my custom pvp map.. But the item I restrict still can equip..
 

1436,128 //Spear

I can use/equip the item anytime.. 

Someone please guide me.. Already googling around and search rAthena previous similar post but nothing happen.. Does SE map need some special mapflag for item restriction? 

Thank you.

Edited by rakuzas
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  72
  • Reputation:   28
  • Joined:  12/21/16
  • Last Seen:  

check:conf/battle/item.conf

maybe you can equip / change it but has no effect

// Allow the consumption of usable items that are disabled by item_noequip.txt? (Note 1)
// no = can't be consumed
// yes = consumed with no effect
allow_consume_restricted_item: yes

// Allow equipping items that are disabled by item_noequip.txt? (Note 1)
// no = can't be equipped and will be unequipped when entering the map
// yes = can be equipped but gives no effect
// If the equip is compounded with restricted card(s), it ignores this check but still gives no effect.
allow_equip_restricted_item: yes

renewal: db/re/item_noequip.txt

at default vellums has flag 1 cant be worn at normal maps,  i dont know if double entry of flag works, maybe you set like this

1293,1

1293,256

Legend for 'Flag' field (bitmask):
// 1    - restricted in normal maps
// 2    - restricted in PVP
// 4    - restricted in GVG
// 8    - restricted in Battlegrounds
// 16   - restricted in WOE:TE castles
// Restricted zones - configured by 'restricted <number>' mapflag
// 256  - restricted in zone 4    < WOE:SE map                                        
// Examples:
1293,257	// Velum_Jamadhar can't be worn in normal maps and maps marked as 'restricted zone 4'(1+256)

 

Edited by Valor
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

You probably didn't place proper settings

 this script is kinda handy 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

28 minutes ago, Cyro said:

You probably didn't place proper settings

 this script is kinda handy 

// 256  - restricted in zone 4

601,256        // Wing_Of_Fly

// -- Vellum Eq's -- //
1293,256    //Jamadhar
1294,256    //Scale
1395,256    //Buster
1396,256    //Guillotine
1436,256    //Spear
1492,256    //Glave
1586,256    //Bible
1587,256    //Encylopedia
1832,256    //Claw
2016,256    //Arc Wand
13072,256    //Damascus
16020,256    //Stunner
16021,256    //Flail
18113,256    //Arbalest
18114,256    //Crossbow
21001,256    //Claymore
21002,256    //Katzbalger

 

npc/mapflags/restricted.txt

arug_cas03    mapflag    restricted    4



Weird.. Equipment and weapon can equip and change anytime.. But consumable item like wing of fly, potion etc working fine (give warning cannot use it).. Where is the settings? 

Already tried change from zone 1-7 also no luck.. 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

2 hours ago, Valor said:

check:conf/battle/item.conf

maybe you can equip / change it but has no effect


// Allow the consumption of usable items that are disabled by item_noequip.txt? (Note 1)
// no = can't be consumed
// yes = consumed with no effect
allow_consume_restricted_item: yes

// Allow equipping items that are disabled by item_noequip.txt? (Note 1)
// no = can't be equipped and will be unequipped when entering the map
// yes = can be equipped but gives no effect
// If the equip is compounded with restricted card(s), it ignores this check but still gives no effect.
allow_equip_restricted_item: yes

renewal: db/re/item_noequip.txt

at default vellums has flag 1 cant be worn at normal maps,  i dont know if double entry of flag works, maybe you set like this

1293,1

1293,256


Legend for 'Flag' field (bitmask):
// 1    - restricted in normal maps
// 2    - restricted in PVP
// 4    - restricted in GVG
// 8    - restricted in Battlegrounds
// 16   - restricted in WOE:TE castles
// Restricted zones - configured by 'restricted <number>' mapflag
// 256  - restricted in zone 4    < WOE:SE map                                        
// Examples:
1293,257	// Velum_Jamadhar can't be worn in normal maps and maps marked as 'restricted zone 4'(1+256)

 

Ahhhh.. I'm missed that settings section.. Thank you for pointing me out.. Will report again after I tested in my server again.. Thank you.. ^_^

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  152
  • Topics Per Day:  0.04
  • Content Count:  459
  • Reputation:   6
  • Joined:  06/29/12
  • Last Seen:  

16 hours ago, Valor said:

check:conf/battle/item.conf

maybe you can equip / change it but has no effect


// Allow the consumption of usable items that are disabled by item_noequip.txt? (Note 1)
// no = can't be consumed
// yes = consumed with no effect
allow_consume_restricted_item: yes

// Allow equipping items that are disabled by item_noequip.txt? (Note 1)
// no = can't be equipped and will be unequipped when entering the map
// yes = can be equipped but gives no effect
// If the equip is compounded with restricted card(s), it ignores this check but still gives no effect.
allow_equip_restricted_item: yes

renewal: db/re/item_noequip.txt

at default vellums has flag 1 cant be worn at normal maps,  i dont know if double entry of flag works, maybe you set like this

1293,1

1293,256


Legend for 'Flag' field (bitmask):
// 1    - restricted in normal maps
// 2    - restricted in PVP
// 4    - restricted in GVG
// 8    - restricted in Battlegrounds
// 16   - restricted in WOE:TE castles
// Restricted zones - configured by 'restricted <number>' mapflag
// 256  - restricted in zone 4    < WOE:SE map                                        
// Examples:
1293,257	// Velum_Jamadhar can't be worn in normal maps and maps marked as 'restricted zone 4'(1+256)

 


I'm missed this setting.. After changed it now it works.. Thank you very much.. Maybe can put reminder about this setting location in item_noequip.txt.. xD

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