Jump to content
  • 0

Item Rental Script


Littlefoot

Question


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  203
  • Reputation:   1
  • Joined:  05/11/12
  • Last Seen:  

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


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

rentitem 5022,( 5 * 86400 );

rentitem = item id + rental time in second

db/re/item_trade.txt = item restriction

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  203
  • Reputation:   1
  • Joined:  05/11/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  203
  • Reputation:   1
  • Joined:  05/11/12
  • Last Seen:  

 

// 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?
Link to comment
Share on other sites


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

 

 

// 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 )

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