Jump to content
  • 0

Why my restrict item still can be equip?..?


Checkmate

Question


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

Like above error... Did i have something wrong?..?



item_noequip.txt

 

 

// 2048 - restricted in zone 7

 

 

2483,2048 //Siege_Greave

2484,2048 //Siege_Boots
2485,2048 //Siege_Shoes
2586,2048 //Siege_Manteau
2587,2048 //Siege_Muffler
15046,2048 //Siege_Plate

 

 

PVPROOM / NPC mapflag:
 

 

pvp_y_8-2 mapflag nocommand 99

pvp_y_8-2 mapflag nobranch 99
pvp_y_8-2 mapflag nosave 99
pvp_y_8-2 mapflag restricted 7

 

 

 

Need help on this... Even i tried put

 

 

 

1201,1 //Knife

 

It also can be equip... Lol.. -.-

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

probably you didnt use a proper settings.

conf/battle/items.conf#L91

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

I'm not sure if this was ever fix but I'm pretty sure it's a bug... The item is unequipped when entering the restricted map but your able to equip it like it never happened.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

I'm not sure if this was ever fix but I'm pretty sure it's a bug... The item is unequipped when entering the restricted map but your able to equip it like it never happened.

Yes... Last night i tried to understand it again... Even change it back to normal,i mean default,it still can be wearing in pvp map. 

 

 

 

 

// 2 - restricted in PVP

2483,2 //Siege_Greave

2484,2 //Siege_Boots
2485,2 //Siege_Shoes
2586,2 //Siege_Manteau
2587,2 //Siege_Muffler
15046,2 //Siege_Plate

pvp_y_8-2 mapflag PVP

What are we gonna do about this?..?

Report it to Bug Section?

 

The Main Idea Was :

Actually,all i want just to make sure this itm cannt be bring into specific of pvp map.I already done with that by put a restriction when player want to enter it.. But it seem like player can have many ways to bring it in. Like put it into Cart,command and other ways.What im thinking now is even if they can bring this item into pvp they cannot equip it...
That how will works... So that thing is uselss even if you can bring it in.
Edited by CheckMate
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  36
  • Reputation:   1
  • Joined:  05/05/14
  • Last Seen:  

Use something like

if (EQI_ARMOR == Itemid here) {
       mes "I cant allow you to enter with that equipped armor.";
       mes "Please store it and come back.";
       close;
			}

You will also need to check if item is in inventory but Its the only way i know how to do it because i dont remember that mapflag working at all

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

Use something like

if (EQI_ARMOR == Itemid here) {
       mes "I cant allow you to enter with that equipped armor.";
       mes "Please store it and come back.";
       close;
			}

You will also need to check if item is in inventory but Its the only way i know how to do it because i dont remember that mapflag working at all

 

About this script... I will try to add it to make it more lvel of restriction... Thx sir rom3r.

 

 

probably you didnt use a proper settings.

conf/battle/items.conf#L91

 

Hurmm... I never try this before sir... Let me try it first...

But sir.. Just wondering

It was said like this.. : 

 

 

 

// yes = can be equipped but gives no effect

It was default yes in ,which mean if we bring it in it will give no effect.. But weapon

Vellum Guillotine 

 

Still make more damage if refine +6 and up by use skill Power Swing on demi human..

Is that something wrong again with that?..?

I think just to disable all the item is more than enough... they cant wearing it at all...  ^ ^

Thx everyone solving this.. /no1

@Skorm

@rom3r

@Emistry

**2 More Question Left Behind**

 

 

But sir.. Just wondering

It was said like this.. : 

 

Quote

 

 

// yes = can be equipped but gives no effect

It was default yes in ,which mean if we bring it in it will give no effect.. But weapon

Vellum Guillotine 

 

Still make more damage if refine +6 and up by use skill Power Swing on demi human..

Is that something wrong again with that?..?

And

How to know what is the : 

 

 

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

32,64,128,256,512,1024,2048 stand for?..?

I mean all these number,where can i see the list of what is the skill,item that were disable by using all thes number?..?

Thx anyway

 

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  1268
  • Reputation:   382
  • Joined:  02/03/12
  • Last Seen:  

probably you didnt use a proper settings.

conf/battle/items.conf#L91

 

Wow all the times I've searched those conf files and yet I still manage to miss things. Thanks for pointing that out, friend.

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