agentbogz Posted November 28, 2012 Posted November 28, 2012 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! Quote
Emistry Posted November 28, 2012 Posted November 28, 2012 you can try this.. https://rathena.org/board/index.php?/files/file/2505-%7B?%7D/ Quote
Milky Holmes Posted November 29, 2012 Posted November 29, 2012 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... Just share what I've just learned.. Quote
agentbogz Posted December 7, 2012 Author Posted December 7, 2012 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... 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... 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.. Quote
Question
agentbogz
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!
3 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.