Littlefoot Posted January 11, 2014 Group: Members Topic Count: 70 Topics Per Day: 0.01 Content Count: 203 Reputation: 1 Joined: 05/11/12 Last Seen: July 30, 2016 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted January 11, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted January 11, 2014 rentitem 5022,( 5 * 86400 ); rentitem = item id + rental time in second db/re/item_trade.txt = item restriction Quote Link to comment Share on other sites More sharing options...
Littlefoot Posted January 11, 2014 Group: Members Topic Count: 70 Topics Per Day: 0.01 Content Count: 203 Reputation: 1 Joined: 05/11/12 Last Seen: July 30, 2016 Author Share 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 Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 12, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted January 12, 2014 https://github.com/rathena/rathena/blob/master/db/re/item_noequip.txt Quote Link to comment Share on other sites More sharing options...
Littlefoot Posted January 12, 2014 Group: Members Topic Count: 70 Topics Per Day: 0.01 Content Count: 203 Reputation: 1 Joined: 05/11/12 Last Seen: July 30, 2016 Author Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted January 12, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.