Hi guys, i am geting a error in Guild Creation.
I can Create one Guild, but if i Shutdown my server, the Guild dont appears in next Server Start. Cause the Guild only stay recorded in Memory.
in my logs i have detected the error, that also happen when i try execute the script to create manually in SQL Query.
I already have looked about this error in Google, but dont sucess in all results.
If somebody know how fix, and can help me, i thank you now ;)
PS_DBAGENT__system.log:
Test 01 with Procedure in SQL Query:
Test 02 with Direct INSERT in SQL Query:
************************************************** *
@edit - FIX BELLOW
i have fixed, the problem was the Language in Table Structure.
With Guild Leaders Name Purple working; and without crashes when to view Guild Message.
i have traded = Korean_Wansung_CI_AS
for = Chinese_PRC_Stroke_CI_AS
if you already have some Guild created, CAUTION! SAVE BEFORE!
1. DELETE your dbo.Guilds TABLE
2. Use this SQL Query:
if somebody have other doubt about this, i will help.
I can Create one Guild, but if i Shutdown my server, the Guild dont appears in next Server Start. Cause the Guild only stay recorded in Memory.
in my logs i have detected the error, that also happen when i try execute the script to create manually in SQL Query.
I already have looked about this error in Google, but dont sucess in all results.
If somebody know how fix, and can help me, i thank you now ;)
PS_DBAGENT__system.log:
Code:
2010-03-04 02:30:21 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server][COLOR="Red"]Transaction context in use by another session[/COLOR]., SQL STATE: 42000, NATIVE ERROR: 3910 (0xF46) 2010-03-04 02:30:21 DBGuild::CreateGuild Failed 2, TesteGuilde, 3, Kirsten01[ADM], qerr=-1, EXEC usp_Create_Guild2_E 2,'TesteGuilde','myLogin',3,'myCharName',0,'Teste Guilde 01'
Code:
EXEC usp_Create_Guild2_E 2,'TesteGuilde','myLogin',3,'myCharName',0,'Teste Guilde 01' error: Msg 3910, Level 16, State 2, Line 1 [COLOR="Red"]Transaction context in use by another session.[/COLOR]
Code:
INSERT INTO Guilds(GuildID,GuildName,MasterUserID,MasterCharID,MasterName,Country,TotalCount,GuildPoint,CreateDate) VALUES(2,'TesteGuilde','myLogin',3,'myCharName',0,0,0,GETDATE()) error: Msg 3910, Level 16, State 2, Line 1 [COLOR="Red"]Transaction context in use by another session.[/COLOR]
@edit - FIX BELLOW
i have fixed, the problem was the Language in Table Structure.
With Guild Leaders Name Purple working; and without crashes when to view Guild Message.
i have traded = Korean_Wansung_CI_AS
for = Chinese_PRC_Stroke_CI_AS
if you already have some Guild created, CAUTION! SAVE BEFORE!
1. DELETE your dbo.Guilds TABLE
2. Use this SQL Query:
Code:
USE [PS_GameData] GO /****** Creation Guild Fixed by sandolkakos: Shaiya-UGO Server - www.universalgamesonline.com.br ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[Guilds]( [RowID] [int] IDENTITY(1,1) NOT NULL, [GuildID] [int] NOT NULL, [GuildName] [varchar](30) COLLATE Chinese_PRC_Stroke_CI_AS NOT NULL, [MasterUserID] [varchar](18) COLLATE Chinese_PRC_Stroke_CI_AS NOT NULL, [MasterCharID] [int] NOT NULL, [MasterName] [varchar](30) COLLATE Chinese_PRC_Stroke_CI_AS NOT NULL, [Country] [tinyint] NOT NULL, [TotalCount] [smallint] NOT NULL, [GuildPoint] [int] NOT NULL, [Del] [tinyint] NOT NULL CONSTRAINT [DF_Guilds_Del] DEFAULT ((0)), [CreateDate] [datetime] NOT NULL, [DeleteDate] [datetime] NULL, CONSTRAINT [PK_Guilds] PRIMARY KEY CLUSTERED ( [GuildID] ASC )WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY] ) ON [PRIMARY] GO SET ANSI_PADDING OFF