Jump to content
  • 0

Item Restriction


agentbogz

Question


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  96
  • Reputation:   4
  • Joined:  04/09/12
  • Last Seen:  

Hello Guys do you have a script that restrict items in a certain map, even the equip cards?

For example: ALL MVP Cards and All Donation Items are Restricted in a certain map. even it is Equip or Unequip it is restricted.

and if the player have this items, they're automatically warp back home.

i Hope you understand what i'm trying to say here ^_^

Thanks you very much!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   0
  • Joined:  11/06/12
  • Last Seen:  

try this

http://pastebin.com/raw.php?i=3PrnkSNL

trunk/db/re/item_db.txt

2236,Santa's_Hat,Santa Hat,5,20,,100,,1,,0,0xFFFFFFFF,7,2,256,,0,1,20,{ bonus bMdef,1; bonus bLuk,1; },{},{  doevent "Sample#xmas::OnKick";  }

Maybe you can use this... He posted it lol...^^^^^^^^^

Just put it one by one in the item_db.txt and just use the OnKick: for the npc script...

btw, I just knew about this way.. so I haven't tried... :D

Just share what I've just learned.. :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  96
  • Reputation:   4
  • Joined:  04/09/12
  • Last Seen:  

you can try this..

Sir i try this but when i load it, it's looking for x,y coordinates..

try this

http://pastebin.com/raw.php?i=3PrnkSNL

trunk/db/re/item_db.txt

2236,Santa's_Hat,Santa Hat,5,20,,100,,1,,0,0xFFFFFFFF,7,2,256,,0,1,20,{ bonus bMdef,1; bonus bLuk,1; },{},{  doevent "Sample#xmas::OnKick";  }

Maybe you can use this... He posted it lol...^^^^^^^^^

Just put it one by one in the item_db.txt and just use the OnKick: for the npc script...

btw, I just knew about this way.. so I haven't tried... :D

Just share what I've just learned.. :)

try this

http://pastebin.com/raw.php?i=3PrnkSNL

trunk/db/re/item_db.txt

2236,Santa's_Hat,Santa Hat,5,20,,100,,1,,0,0xFFFFFFFF,7,2,256,,0,1,20,{ bonus bMdef,1; bonus bLuk,1; },{},{  doevent "Sample#xmas::OnKick";  }

Maybe you can use this... He posted it lol...^^^^^^^^^

Just put it one by one in the item_db.txt and just use the OnKick: for the npc script...

btw, I just knew about this way.. so I haven't tried... :D

Just share what I've just learned.. :)

Hi sir.. do you have other one? item equipped or unequipped are restricted.. because here u need to equip it..

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