How to clean SHARD DB

Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1
    Account Upgraded | Title Enabled! RevoLand is offline
    MemberRank
    Jan 2009 Join Date
    117Posts

    happy How to clean SHARD DB

    Code:
    USE [SRO_VT_SHARD]
    GO
    truncate table _OpenMarket
    print 'Cleaned _OpenMarket'
    truncate table _CharSkill
    print 'Cleaned _CharSkill'
    truncate table _CharSkillMastery
    print 'Cleaned _CharSkillMastery'
    truncate table _GuildMember
    print 'Cleaned _GuildMember'
    truncate table _BlockedWhisperers
    print 'Cleaned _BlockedWhisperers'
    truncate table _Inventory
    print 'Cleaned _Inventory'
    truncate table _InventoryForAvatar
    print 'Cleaned _InventoryForAvatar'
    truncate table _InventoryForLinkedStorage
    print 'Cleaned _InventoryForLinkedStorage'
    truncate table _TrainingCampMember
    print 'Cleaned _TrainingCampMember'
    truncate table _TrainingCampSubMentorHonorPoint
    print 'Cleaned _TrainingCampSubMentorHonorPoint'
    update _TrainingCampHonorRank set CampID = NULL, Rank = NULL
    print 'Cleaned _TrainingCampHonorRank'
    truncate table _TrainingCampBuffStatus
    print 'Cleaned _TrainingCampBuffStatus'
    delete from _TrainingCamp
    print 'Cleaned _TrainingCamp'
    truncate table _StaticAvatar
    print 'Cleaned _StaticAvatar'
    truncate table _User
    print 'Cleaned _User'
    truncate table _Friend
    print 'Cleaned _Friend'
    truncate table _Memo
    print 'Cleaned _Memo'
    truncate table _TimedJob
    print 'Cleaned _TimedJob'
    truncate table _CharTrijobSafeTrade
    print 'Cleaned _CharTrijobSafeTrade'
    delete from _CharTrijob
    print 'Cleaned _CharTrijob'
    truncate table _InvCOS
    print 'Cleaned _InvCOS'
    delete from _CharCOS where ID > 0
    print 'Cleaned _CharCOS'
    delete from _Char where charid > 0
    print 'Cleaned _Char'
    truncate table _Chest
    print 'Cleaned _Chest'
    truncate table _ChestInfo
    print 'Cleaned _ChestInfo'
    truncate table _ItemPool
    print 'Cleaned _ItemPool'
    delete from _Items where ID64 > 0
    print 'Cleaned _Items'
    delete from _AccountJID
    print 'Cleaned _AccountJID'
    update _AlliedClans set Ally1 = 0, Ally2 = 0, Ally3 = 0, Ally4 = 0, Ally5 = 0, Ally6 = 0, Ally7 = 0, Ally8 = 0
    print 'Cleaned _AlliedClans'
    truncate table _GuildWar
    print 'Cleaned _GuildWar'
    truncate table _CharNameList
    print 'Cleaned _CharNameList'
    truncate table _CharQuest
    print 'Cleaned _CharQuest'
    truncate table _ClientConfig
    print 'Cleaned _ClientConfig'
    truncate table _DeletedChar
    print 'Cleaned _DeletedChar'
    truncate table _SiegeFortressStoneState
    print 'Cleaned _SiegeFortressStoneState'
    truncate table _SiegeFortressRequest
    print 'Cleaned _SiegeFortressRequest'
    truncate table _SiegeFortressObject
    print 'Cleaned _SiegeFortressObject'
    truncate table _SiegeFortressItemForge
    print 'Cleaned _SiegeFortressItemForge'
    truncate table _SiegeFortressBattleRecord
    print 'Cleaned _SiegeFortressBattleRecord'
    update _SiegeFortressStruct SET OwnerGuildID = '0'
    print 'Cleaned _SiegeFortressStruct'
    UPDATE  _SiegeFortress SET GuildID = '0', TaxRatio = '0', Tax = '0', NPCHired = '0', Introduction = NULL, CreatedDungeonTime = NULL, CreatedDungeonCount = NULL
    print 'Cleaned _SiegeFortress'
    truncate table _CharNickNameList
    print 'Cleaned _CharNickNameList'
    truncate table _GPHistory
    print 'Cleaned _GPHistory'
    truncate table _GuildChest
    print 'Cleaned _GuildChest'
    delete from _Guild where ID > 0
    print 'Cleaned _Guild'
    delete from _AlliedClans where ID > 0
    print 'Cleaned _AlliedClans'

    Regards
    RevoLand
    Last edited by RevoLand; 08-03-13 at 06:03 PM.


  2. #2
    Proficient Member ahmed_ahmed9889 is offline
    MemberRank
    Sep 2009 Join Date
    EgYpTLocation
    173Posts

    Re: [Tutorial] How to clean SHARD DB

    thx

    love u lol:

  3. #3
    ✗ ¤ Kira ¤ ✗ Kira is offline
    MemberRank
    Nov 2011 Join Date
    ✗¤EGYPT¤✗Location
    578Posts

    Re: [Tutorial] How to clean SHARD DB

    Thank you so much this work fine :)

  4. #4
    Valued Member asuradoll is offline
    MemberRank
    Nov 2007 Join Date
    140Posts

    Re: [Tutorial] How to clean SHARD DB

    Thanks! but i have not test yet.

  5. #5
    Account Upgraded | Title Enabled! lucastx is offline
    MemberRank
    Sep 2008 Join Date
    BrasilLocation
    240Posts

    Re: [Tutorial] How to clean SHARD DB

    worked thanks

  6. #6
    Proficient Member safty0202 is offline
    MemberRank
    Dec 2011 Join Date
    174Posts

    Re: [Tutorial] How to clean SHARD DB

    working tyyy

  7. #7
    Enthusiast firat0912 is offline
    MemberRank
    Feb 2012 Join Date
    29Posts

    Re: [Tutorial] How to clean SHARD DB

    thank you cezaland

  8. #8
    Member >>LiNkS<< is offline
    MemberRank
    Apr 2007 Join Date
    Alex NorthLocation
    96Posts

    Re: [Tutorial] How to clean SHARD DB

    I have problems with Fortress registration after use it to clean my shard DB, what can i do to fix it?

    PD: It works before use it :S

  9. #9
    Apprentice lvlicael is offline
    MemberRank
    Feb 2012 Join Date
    6Posts

    thumbs up Re: [Tutorial] How to clean SHARD DB

    ty

    for new help

  10. #10
    Banned paltalkadel is offline
    BannedRank
    Nov 2011 Join Date
    NYLocation
    172Posts

    Re: [Tutorial] How to clean SHARD DB

    Working Like Charm

  11. #11
    Apprentice razlan is offline
    MemberRank
    Jun 2010 Join Date
    6Posts

    Re: [Tutorial] How to clean SHARD DB

    Not working for me. I got "Item Mall Pet bug dc" after clean up.

  12. #12
    Account Upgraded | Title Enabled! BryanSA is offline
    MemberRank
    Jan 2012 Join Date
    EnglandLocation
    215Posts

    Re: [Tutorial] How to clean SHARD DB

    work work work, thx :D

  13. #13
    Apprentice mohsen857 is offline
    MemberRank
    Dec 2011 Join Date
    EgyptLocation
    20Posts

    Re: [Tutorial] How to clean SHARD DB

    thank you i'll try now

  14. #14
    Apprentice madel is offline
    MemberRank
    May 2012 Join Date
    EgyptLocation
    8Posts

    Re: [Tutorial] How to clean SHARD DB

    Thank a lot its now cleaned

  15. #15
    Member Derpson is offline
    MemberRank
    Apr 2012 Join Date
    72Posts

    Re: [Tutorial] How to clean SHARD DB

    Hmm I just figured out strange thing, after I cleaned my database with this query, players can't build command posts at the fortress war, so I tried to test fortress war with original vsro database (not cleaned) aaaand.. everything is fine, I can build command posts properly. I can't figure out why it's impossible to do it after this query is used.



Page 1 of 2 12 LastLast

Advertisement