Name already in use?

08/01/2011 01:11 AngelEyeX#1
Hello finally I set up my own Shaiya Server but every time I try to create a new char it always says "name already in use" . How do i fix this? I remember there was a query that fix this issue but I didn't find it by searching through the forums.
08/01/2011 02:20 stinka123#2
1. Wrong section
2. AE à, bên clbgamesvn có 2pic HD+ PS_Game data fix
Link đây: [Only registered and activated users can see links. Click Here To Register...]
down về restore vào DB
If not AE, use this PS_game restore into PS_game can fix ur prob
download: [Only registered and activated users can see links. Click Here To Register...]
08/01/2011 03:55 sondo81#3
benutze folgenden skript:

USE [PS_GameData]
GO
drop procedure [dbo].[usp_Save_Char_Item_Add_E]
GO

SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO


/****** 개체: 저장 프로시저 dbo.usp_Save_Char_Item_Add_E ********.com Shaiya Active ******/


CREATE Proc usp_Save_Char_Item_Add_E

@CharID int,
@ItemUID bigint,
@Bag tinyint,
@Slot tinyint,
@ItemID int,
@Type tinyint,
@TypeID tinyint,
@Quality int,
@Gem1 tinyint,
@Gem2 tinyint,
@Gem3 tinyint,
@Gem4 tinyint,
@Gem5 tinyint,
@Gem6 tinyint,
@Craftname varchar(20) = '',
@Count tinyint,
@MaketimeZ varchar(50),
@Maketype char(1)

AS
DECLARE @Maketime as datetime
SELECT @Maketime = CONVERT(datetime, @MaketimeZ, 120)
--SET NOCOUNT ON

IF(@Quality >= 5000)
BEGIN
SET @Quality=0
END

INSERT INTO CharItems
(CharID, bag, slot, ItemID, Type, TypeID, ItemUID, quality, gem1, gem2, gem3, gem4,
gem5, gem6, craftname, [count], maketime, maketype)
VALUES(@CharID, @Bag, @Slot, @ItemID, @Type, @TypeID, @ItemUID, @Quality, @Gem1, @Gem2, @Gem3, @Gem4,
@Gem5, @Gem6, @Craftname, @Count, @Maketime, @Maketype)

IF(@@ERROR = 0)
BEGIN
RETURN 1
END
ELSE
BEGIN
RETURN -1
END

--SET NOCOUNT OFF



GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO
01/19/2016 01:13 edis35#4
it worked. thanks
01/19/2016 02:35 [Admin]Slice#5
Quote:
Originally Posted by edis35 View Post
it worked. thanks
check the timestamp on this thread, it was 4 years ago. if you want to thank them, just use the thanks button. no need to reply.