• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Release] _Manageshardname Fix - less lags - no errors

Junior Spellweaver
Joined
Dec 26, 2008
Messages
185
Reaction score
59
USE [ACCOUNTDB]
GO
/****** Object: StoredProcedure [dbo].[_ManageShardCharName] Script Date: 04/18/2012 15:00:27 ******/

/****** By Li ******/

SET ANSI_NULLS OFF
GO
SET QUOTED_IDENTIFIER OFF
GO
ALTER procedure [dbo].[_ManageShardCharName]
@job tinyint,
@UserJID int,
@ShardID smallint,
@CharName varchar(64),
@OldName varchar(64)
as
-- add new char name
if (@job = 0)
begin
return
end
-- remove char name
else if (@job = 1)
begin
return
end
-- rename previous one
else if (@job = 2)
begin
return
end



Enjoy
 
Experienced Elementalist
Joined
Nov 14, 2011
Messages
260
Reaction score
54
thanks for Sharing :D


can you plzz add some More details about it :: i mean explain what doe it do :D
 
Junior Spellweaver
Joined
Dec 26, 2008
Messages
185
Reaction score
59
Globalmanager doesnt give any errors anymore, about managing shard names.
Also it doesnt insert into the db any useless lines anymore.
 
Last edited:
Back
Top