Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server
You last visited: Today at 17:16

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



How to delete Guilds at all game ?

Discussion on How to delete Guilds at all game ? within the SRO Private Server forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2012
Posts: 107
Received Thanks: 0
How to delete Guilds at all game ?

Hello can any one help me for delete all guilds from game !


try this code

USE SRO_VT_SHARD;
ALTER TABLE [_Guild] DROP CONSTRAINT [FK__Guild__AlliedClans];
TRUNCATE TABLE _Guild;
SET IDENTITY_INSERT _Guild ON
INSERT INTO [_Guild] ([ID],[Name],[Lvl],[GatheredSP],[FoundationDate],[Alliance],[MasterCommentTitle],[MasterComment],[Booty],[Gold],[LastCrestRev],[CurCrestRev],[MercenaryAttr]) VALUES (0, 'dummy', 1, 0, getdate(), 0, null, null, 0, 0, 0, 0, 0);
SET IDENTITY_INSERT _Guild OFF
ALTER TABLE [_Guild] ADD CONSTRAINT [FK__Guild__AlliedClans] FOREIGN KEY(Alliance)REFERENCES [_AlliedClans](ID);

give me error

Msg 4712, Level 16, State 1, Line 3
Cannot truncate table '_Guild' because it is being referenced by a FOREIGN KEY constraint.

so there any one can help please !
kubed is offline  
Old 06/22/2018, 04:11   #2
 
elite*gold: 0
Join Date: Jul 2009
Posts: 285
Received Thanks: 49
just Truncate the Tables and done
loader8 is offline  
Old 06/22/2018, 20:58   #3
 
elite*gold: 0
Join Date: Jan 2012
Posts: 107
Received Thanks: 0
give me error it's have CONSTRAINT [FK__Guild__AlliedClans] and pk_Guild etc ...
kubed is offline  
Old 06/26/2018, 21:16   #4
 
NorseGodTyr's Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 2,223
Received Thanks: 1,482
Quote:
Originally Posted by kubed View Post
give me error it's have CONSTRAINT [FK__Guild__AlliedClans] and pk_Guild etc ...
USE [SRO_VT_SHARD]
GO
TRUNCATE TABLE [dbo].[_GuildWar]
TRUNCATE TABLE [dbo].[_GuildMember]
TRUNCATE TABLE [dbo].[_GuildChest]
UPDATE [dbo].[_AlliedClans] SET Ally1 = '0', Ally2 = '0', Ally3 = '0', Ally4 = '0', Ally5 = '0', Ally6 = '0', Ally7 = '0', Ally8 = '0'
DELETE FROM [dbo].[_Guild] WHERE ID > 0
DELETE FROM [dbo].[_AlliedClans] WHERE ID > 0
NorseGodTyr is offline  
Reply


Similar Threads Similar Threads
all guilds logos are black
09/06/2016 - Metin2 Private Server - 14 Replies
hii i have this problem with all of deafult guild logos from mt2 https://scontent-waw1-1.xx.fbcdn.net/v/t34.0-12/1 3652868_1095605347193550_183687912_n.png?oh=1105a6 6e8e5b18841dedca4b8dcda7d7&oe=57990814
WTB all: Bronze cape-,Silver cape- and Gold cape trim Guilds!
11/28/2011 - Guild Wars Trading - 4 Replies
WTB all: Bronze cape-,Silver cape- and Gold cape trim Guilds! Give me some offers! :mofo: UP!
Guilds-Recruiting Thread (Join/Announce Guilds Here!!)
07/13/2011 - Silkroad Online - 95 Replies
Guilds-Recruiting === ===== ======= ========= =========== =============
can someone send me a link on to delete/and place npcs and save guilds
02/15/2010 - CO2 Private Server - 1 Replies
basically I just need to know how to delete npc's and place new ones, and it would also be very helpful if you could send me a link on how to save guilds :)
ALL THE GUILDS ARE SPLITTING
02/22/2006 - CO2 Exploits, Hacks & Tools - 16 Replies
alright. all the servers except for emerald are splitting soon. this has worked before, i think it'll work now, anyways you should get a wife or husband, and have them put all their stuff in ur house, or you put all your stuff in their house. after the split, you should still be married to your wife, cuz i know i am still. because of that, when you go to houseadmin, you can still go into her house, and your items will all still be there, and so will hers. same thing will happen to...



All times are GMT +1. The time now is 17:16.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.