Littlefoot Posted January 11, 2014 Posted January 11, 2014 How can i make item script that can be use for 5days only [Rental Item] (Can't Trade, Storage, Cant use in pvp, WOE and BG) only for hunt and leveling purposes only. up up Quote
Emistry Posted January 11, 2014 Posted January 11, 2014 rentitem 5022,( 5 * 86400 ); rentitem = item id + rental time in second db/re/item_trade.txt = item restriction Quote
Littlefoot Posted January 11, 2014 Author Posted January 11, 2014 rentitem 5022,( 5 * 86400 ); rentitem = item id + rental time in second db/re/item_trade.txt = item restriction Should i put that script on item_db as well? rentitem 5022,( 5 * 86400 ); rentitem = item id + rental time in second db/re/item_trade.txt = item restriction Btw, on db/re/item_trade.txt its all about trade restriction. How about the script wont be taking effect if you are in a gvg, bg or pvp room? Quote
AnnieRuru Posted January 12, 2014 Posted January 12, 2014 https://github.com/rathena/rathena/blob/master/db/re/item_noequip.txt Quote
Littlefoot Posted January 12, 2014 Author Posted January 12, 2014 https://github.com/rathena/rathena/blob/master/db/re/item_noequip.txt // Legend for 'Flag' field (bitmask): // 1 - restricted in normal maps // 2 - restricted in PVP // 4 - restricted in GVG // 8 - restricted in Battlegrounds When i Choose 8 does it automatically ignore PVP GVG WOE MAPS? Quote
Emistry Posted January 12, 2014 Posted January 12, 2014 https://github.com/rathena/rathena/blob/master/db/re/item_noequip.txt // Legend for 'Flag' field (bitmask): // 1 - restricted in normal maps // 2 - restricted in PVP // 4 - restricted in GVG // 8 - restricted in Battlegrounds When i Choose 8 does it automatically ignore PVP GVG WOE MAPS? use "6" ( 2 + 4 ) Quote
Question
Littlefoot
How can i make item script that can be use for 5days only [Rental Item] (Can't Trade, Storage, Cant use in pvp, WOE and BG) only for hunt and leveling purposes only.
up
up
5 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.