Adding items to a new characters inventory

Results 1 to 3 of 3
  1. #1
    Proficient Member CoreAI is offline
    MemberRank
    Apr 2013 Join Date
    177Posts

    Adding items to a new characters inventory

    Hi all,

    I want an item sent to a characters inventory upon character creation, but I want the item to expire after 3 days. I know what procedure to edit and successfully done it without an expiry date, but trying to make the item expire puzzles me, so does anyone know how to do this?

    Thanks.


  2. #2
    Pee Aitch Pee Dave is offline
    MemberRank
    Mar 2011 Join Date
    The NetherlandsLocation
    722Posts

    Re: Adding items to a new characters inventory

    You have to set the RentHourPeriod. 72 hours, 3 days.

    In spInsertChar you can do something like:
    PHP Code:
    INSERT INTO dbo.CharacterItem (CIDItemIDRegDateRentDateRentHourPeriodCnt
            
    VALUES (@CharIdentyouritemid, @NowDate, @NowDate721

  3. #3
    Proficient Member CoreAI is offline
    MemberRank
    Apr 2013 Join Date
    177Posts

    Re: Adding items to a new characters inventory

    Can't believe it was something that simple lol, thanks Dave :)



Advertisement