Lord Ganja Posted December 28, 2012 Posted December 28, 2012 (edited) 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 December 29, 2012 by Lord Ganja Quote
Capuche Posted December 29, 2012 Posted December 29, 2012 (edited) // 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 December 29, 2012 by Capuche 2 Quote
Lord Ganja Posted December 29, 2012 Author Posted December 29, 2012 // 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! Quote
Question
Lord Ganja
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
NPC mapflag:
HELP PLEASE?
THANKS IN ADVANCE!
Edited by Lord Ganja2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.