View Single Post
  #38  
Old 08-22-2009, 08:43 PM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
Quote:
Originally Posted by Pelikano View Post
How do you know?
Anything can be done with GScript!!! Anyways, sure it could be in a couple of ways;

1. Have tradeable weapons join a lending class
2. timestamp the trade, check timestamp against lending length which could be defined by the lender
3. when time is up, return the item to the lender, delete it from the lendee
4. have various checks to eliminate exploiting the system
>> automatically give the lender the item when time is up and remove from lendee (if lendee remains online)
>> if the lendee goes offline (isn't there an event if someone disconnects?) then delete the item when they connect again
>> have a DBNPC that controls this instead of weapon scripts (best way?)
>> lendee can not drop, trade, or sell lended item
5. other related stuff (perhaps a "renting" fee)
__________________
[signature]insert here[/signature]
Reply With Quote