Jump to content
  • 0

Problem with item restrection and item_noequip


vijay30393

Question


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  114
  • Reputation:   0
  • Joined:  05/10/12
  • Last Seen:  

I got 5 map i need to add few restricted items there, and the map are:
//Restricted.txt
guild_vs1       mapflag restricted      64
guild_vs1-1     mapflag restricted      64
guild_vs1-2     mapflag restricted      64
guild_vs1-3     mapflag restricted      64
guild_vs1-4     mapflag restricted      64
//item_noequip.txt
3310,64
3312,64
3519,64
3520,64
3521,64
3522,64
3523,64
3524,64
3525,64
3526,64
3527,64
3528,64
3529,64
3530,64
3531,64
3532,64
3533,64
3534,64
3535,64
3536,64
 

I'm not able to restrict the items on those 5 maps which i already posted above.
If any of you guys know how to restrict, help me out, thank you.

Edited by Patskie
Change to code
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

First, what is ur latest restricted zone before that 64? (rA releases until 7)

Try use

 

<mapname>	mapflag	restricted	8
the on ur item_noequip.txt

 

<item_id>,4096
 

Why, for simple explanation:

  • restricted 1 : 32
  • restricted 2 : 64
  • restricted 3 : 128
  • restricted 4 : 256
  • restricted 5 : 512
  • restricted 6 : 1024
  • restricted 7 : 2048
  • restricted 8 : 4096
You will know the pattern. :D

I'm not sure more than 8 will work. /hmm

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  114
  • Reputation:   0
  • Joined:  05/10/12
  • Last Seen:  

guild_vs1    mapflag    restricted    8
guild_vs1-1    mapflag    restricted    8
guild_vs1-2    mapflag    restricted    8
guild_vs1-3    mapflag    restricted    8
guild_vs1-4    mapflag    restricted    8

 

3310,4096
3312,4096
3519,4096
3520,4096
3521,4096
3522,4096
3523,4096
3524,4096
3525,4096
3526,4096
3527,4096
3528,4096

Still the items can be used on thoes maps, BTW I'm using 3CeAm.
I even tried 1 with 32, 2 with 64, 3 with 128 and 4 with 256.
Any other thoughts?



Fixed.
//Restricted.txt
guild_vs1       mapflag restricted      6
guild_vs1-1     mapflag restricted      6
guild_vs1-2     mapflag restricted      6
guild_vs1-3     mapflag restricted      6
guild_vs1-4     mapflag restricted      6


 

//item_noequip.txt
3310,128
3312,128
3519,128
3520,128
3521,128
3522,128

3523,128

531,128
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...