Duration on Custom Items?(Answered) menu

User Tag List

Results 1 to 3 of 3
  1. #1
    covert_cat's Avatar Member
    Reputation
    55
    Join Date
    Sep 2009
    Posts
    96
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Duration on Custom Items?(Answered)

    I haven't needed to ask for help often, but now I'm stumped. I want to create a custom item that only lasts 24 hours(a lot of items have durations in wow, where they are deleted once they run out of time on that duration) but I haven't found any way to do so.

    I've created the item, added it to the DBC files in my server and the client, and created a lua script for it(it teleports the player). Now all that's left is adding a duration, since this item only lasting one day is well.. a plot device.

    Any help would be greatly appreciated, and any solution to this problem will have the contributor receiving my undying gratitude. Because I take this stuff that seriously..
    Last edited by covert_cat; 07-26-2010 at 01:32 PM.

    Duration on Custom Items?(Answered)
  2. #2
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Change the exisiting duration in the items table of your SQL server for that item.

    SELECT * FROM `items` WHERE `entry` = 'TheEntryIdOfYourItem`;

    And the 2nd to last column I think it is, you need to change that to the duration. It's in milliseconds so 1000 = 1 second.

    60000 = 1 minute
    60000 * 60 = 1 hour = 3600000
    3600000 * 24 = 1 day = 86400000

    So change it from 0 to 86400000 then restart your server and delete your cache file.

  3. #3
    covert_cat's Avatar Member
    Reputation
    55
    Join Date
    Sep 2009
    Posts
    96
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It was in the sql the entire time.. I swear I looked through my items table twice and didn't find it.. xD sometimes I just amaze myself.

    Thanks a ton, if I could give you a cookie right now I would.
    AND IT WOULD BE THE BEST DAMN COOKIE YOU EVER HAD.

Similar Threads

  1. No custom item visible in game...
    By zyberkirby in forum WoW Items & Quests
    Replies: 6
    Last Post: 09-20-2007, 08:00 PM
  2. No Duration on any item.
    By TheShadow124 in forum World of Warcraft Exploits
    Replies: 16
    Last Post: 08-17-2007, 09:15 AM
  3. WoW Customized Item Links?
    By shadowdreams7 in forum World of Warcraft General
    Replies: 8
    Last Post: 03-19-2007, 11:05 AM
  4. World of Warcraft Custom Items
    By mantor4 in forum World of Warcraft General
    Replies: 5
    Last Post: 12-29-2006, 02:22 PM
  5. mmowned special: custom item names
    By Relz in forum World of Warcraft Guides
    Replies: 58
    Last Post: 09-27-2006, 11:51 PM
All times are GMT -5. The time now is 12:31 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search