Jump to content
  • 0

item_noequip not working


Lord Ganja

Question


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

Hello!

I just want to ask why is it that the item_noequip.txt is not working?

I'm using the latest revision of rathena SVN.

I'm only using pre-renewal and I already disabled the renewal settings.

I already put the item IDs in db/pre-re/item_noequip.txt

And put the mapflag inside the npc script.

The problem is that the items can still be used inside the map where I restrict it.

Whenever I entered the map. The items are not unequipped, and it can still be equipped inside the map.

I already reload the scripts and the itemdb. And I restart the whole server.

But the problem is still there.

Here's my scripts:

item_noequip.txt

21221,32
21222,32
21223,32
21224,32
21225,32
21226,32
21227,32
21228,32

NPC mapflag:

bomb_event mapflag restricted 32

HELP PLEASE?

THANKS IN ADVANCE!

Edited by Lord Ganja
Link to comment
Share on other sites

2 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:  

// Restricted zones - they're 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

//Zone 1 - Aldebaran Turbo Track
601,32 //Fly Wing

turbo_n_1	mapflag	restricted	1

Wrong number in your mapflag. Mode 32 restrict items in zone 1. Zone 32 doesn't exist.

Edited by Capuche
  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

// Restricted zones - they're 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

//Zone 1 - Aldebaran Turbo Track
601,32 //Fly Wing

turbo_n_1	mapflag	restricted	1

Wrong number in your mapflag. Mode 32 restrict items in zone 1. Zone 32 doesn't exist.

Thanks for this! It's now working!

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