Welcome to the RaGEZONE - MMORPG development forums.

How can I delete all card to all user

This is a discussion on How can I delete all card to all user within the Pangya Online forums, part of the MMO and MMORPG Developments category; I want to delete all the card in all user how can I do ? Can I do it ? ...

Results 1 to 6 of 6
  1. #1
    Registered
    Rank
    Member
    Join Date
    Mar 2011
    Posts
    22
    Liked
    1

    How can I delete all card to all user

    Click
    I want to delete all the card in all user

    how can I do ?


    Can I do it ?

    please help me

  2. #2
    Deny everything.
    Rank
    Moderator
    Join Date
    Jun 2005
    Location
    Net Slum
    Posts
    565
    Liked
    126

    Re: How can I delete all card to all user

    To get rid of all cards, you can run this query:
    Code:
    USE Pangya_S4_TH
    GO
    
    -- Removes cards from all users' cardbooks
    TRUNCATE TABLE TD_CARD_USRS
    
    -- Get rid of joined cards
    TRUNCATE TABLE TD_Card_Join2
    
    -- More cleaning up
    TRUNCATE TABLE TD_Card_Spcl
    
    GO
    Your users shouldn't have any cards left on their equipment or in their cardbook afterwards.

  3. #3
    Registered
    Rank
    Member
    Join Date
    Mar 2011
    Posts
    22
    Liked
    1

    Re: How can I delete all card to all user

    what is about
    -- More cleaning up
    TRUNCATE TABLE TD_Card_Spc

    If I want delete card to all user card book I just use this ?
    -- Removes cards from all users' cardbooks
    TRUNCATE TABLE TD_CARD_USRS

    Thank you for your help

  4. #4
    Error 403 - Forbidden
    Rank
    Member +
    Join Date
    Oct 2007
    Posts
    224
    Liked
    51

    Re: How can I delete all card to all user

    Quote Originally Posted by Tsukasa View Post
    Your users shouldn't have any cards left on their equipment or in their cardbook afterwards.
    Why don't you just read, what he wrote? He already wrote in detail, what those functions do (at least for us developers it is a very detailed answer)

  5. #5
    Deny everything.
    Rank
    Moderator
    Join Date
    Jun 2005
    Location
    Net Slum
    Posts
    565
    Liked
    126

    Re: How can I delete all card to all user

    Quote Originally Posted by Kamikaze1 View Post
    what is about
    -- More cleaning up
    TRUNCATE TABLE TD_Card_Spc

    If I want delete card to all user card book I just use this ?
    -- Removes cards from all users' cardbooks
    TRUNCATE TABLE TD_CARD_USRS

    Thank you for your help
    I won't comment on the second part of the question, I think it's pretty clear and there's no need for explanations.

    If you want to know what the mysterious third query does, please take a look at the table and find out for yourself. Look at the IDs of the cards in there and cross-reference these IDs to the card-names and the special effect these cards provide. There's a common factor to all those cards you'll find in there... If you think that's too much hassle - no worries, the rows in there are volatile anyway.
    Last edited by Tsukasa; 17-04-11 at 09:00 PM.

  6. #6
    Registered
    Rank
    Member
    Join Date
    Mar 2011
    Posts
    22
    Liked
    1

    Re: How can I delete all card to all user

    I'm sorry I'm bad English.

    but thank you for answer.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •