How do I delete only Quest Items from Accounts?

Results 1 to 14 of 14
  1. #1
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    How do I delete only Quest Items from Accounts?

    Hey guys, Since i've fixed my Quest Item Duration (thanks to No Life), I'd like to know how I could delete only the Quest Items like the Shirt,Launcher,etc from people's accounts. I had been on a server where stuff came unlimited and after fixing it, they deleted ONLY quest items from everyone's account so that they won 7 day ones and wouldn't use unlimited ones anymore. How can I do that? Something related to MSSQL?


  2. #2
    Valued Member warrenscoots is offline
    MemberRank
    Jun 2009 Join Date
    125Posts

    Re: How do I delete only Quest Items from Accounts?

    in the database expand at dbo.character and put NULL in QuestItemInfo tab

    or just sell the items?

  3. #3
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: How do I delete only Quest Items from Accounts?

    Sell items from each person's account? Impossible. Thanks, i'll try what you told me, tomorrow.
    Posted via Mobile Device

  4. #4
    mikethemak is offline
    MemberRank
    Apr 2008 Join Date
    Ragezone Spam SectionLocation
    1,019Posts

    Re: How do I delete only Quest Items from Accounts?

    Emisands control panel has something like a delete item from all accounts doesnt it?


    Otherwise just run an mssql query....

    DELETE FROM characteritem WHERE ItemID='1337'

    (For example, more to it, but ya o.O)

  5. #5
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: How do I delete only Quest Items from Accounts?

    Quote Originally Posted by mikethemak View Post
    Emisands control panel has something like a delete item from all accounts doesnt it?


    Otherwise just run an mssql query....

    DELETE FROM characteritem WHERE ItemID='1337'

    (For example, more to it, but ya o.O)
    Emisand's Panel deletes ALL items either from the Storage or Inventory. I can't give trouble to the players by deleting everything :). Thanks, i'll try that Query out.

    Could you please give me the complete Query? I don't know MSSQL.
    Last edited by Phoenix; 30-10-09 at 03:20 PM.

  6. #6
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: How do I delete only Quest Items from Accounts?

    Quote Originally Posted by warrenscoots View Post
    in the database expand at dbo.character and put NULL in QuestItemInfo tab

    or just sell the items?
    Doesn't work.

  7. #7
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: How do I delete only Quest Items from Accounts?

    Quote Originally Posted by mikethemak View Post
    Emisands control panel has something like a delete item from all accounts doesnt it?


    Otherwise just run an mssql query....

    DELETE FROM characteritem WHERE ItemID='1337'

    (For example, more to it, but ya o.O)
    Can I have the complete Query please?

  8. #8

    Re: How do I delete only Quest Items from Accounts?

    Quote Originally Posted by phoenix_147 View Post
    Can I have the complete Query please?
    Add an AND to it, along with the column, etc.

  9. #9
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: How do I delete only Quest Items from Accounts?

    Quote Originally Posted by Linear88 View Post
    Add an AND to it, along with the column, etc.
    I'm sorry. I have NO idea at all. I don't know a bit of MSSQL. If you could provide me the whole query, it'd be helpful.

  10. #10
    Account Upgraded | Title Enabled! ManyBlackPpl is offline
    MemberRank
    Mar 2009 Join Date
    CanadaLocation
    336Posts

    Re: How do I delete only Quest Items from Accounts?

    Quote Originally Posted by phoenix_147 View Post
    Can I have the complete Query please?
    I think the complete query is

    USE [GunzDB]

    DELETE FROM dbo.CharacterItem WHERE ItemID='(insert itemID here)'

    You'll have to do it for all your quest items. For example, if you wanna delete quest items with item id's of 1333, 1334, and 1335, then you would put:

    USE [GunzDB]

    DELETE FROM dbo.CharacterItem WHERE ItemID='1333'

    DELETE FROM dbo.CharacterItem WHERE ItemID='1334'

    DELETE FROM dbo.CharacterItem WHERE ItemID='1335'


    Then execute that. I'm pretty sure that's how it's done, but just in case, you'd probably wanna try it out on some sort of test server.

    Btw, I think everybody would rather you not triple post O_o.

  11. #11
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: How do I delete only Quest Items from Accounts?

    Well I bumped again after 24 hours. Really needed it.

  12. #12
    Account Upgraded | Title Enabled! ManyBlackPpl is offline
    MemberRank
    Mar 2009 Join Date
    CanadaLocation
    336Posts

    Re: How do I delete only Quest Items from Accounts?

    erm... did you try the sql query thing? Cuz that should work, I think.

  13. #13
      Phoenix is offline
    ModeratorRank
    Mar 2009 Join Date
    6,890Posts

    Re: How do I delete only Quest Items from Accounts?

    No it doesn't.
    Posted via Mobile Device

  14. #14
    Account Upgraded | Title Enabled! ManyBlackPpl is offline
    MemberRank
    Mar 2009 Join Date
    CanadaLocation
    336Posts

    Re: How do I delete only Quest Items from Accounts?

    oh wait. Instead of typing:

    Code:
    DELETE FROM dbo.Character WHERE ItemID='1333'
    type

    Code:
    DELETE FROM dbo.Character WHERE ItemID = "1333"
    if that doesn't work, then idk :o.



Advertisement