How to fix "error-L1 : CloseClient INVALID_SOCKET"

Anyone knows how to Fix without installing Windows Server 2003 Sp1 ?

If so, please reply.

Thanks :)

Try running this sql queries on ur muonline database:

1.
Code:
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[MEMB_STAT_GJ]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[MEMB_STAT_GJ]
GO

CREATE TABLE [dbo].[MEMB_STAT_GJ] (
[memb___id] [char] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,
[name] [char] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,
[ServerName] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
[ServerCode] [int] NULL ,
[IP] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
[TM] [datetime] NULL
) ON [PRIMARY]
GO

2.
Code:
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[WZ_CONNECT_MEMB]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[WZ_CONNECT_MEMB]
GO

SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS OFF
GO

CREATE PROCEDURE WZ_CONNECT_MEMB
@uid varchar(10), [USER=412249]Server[/USER] varchar(20),
@uip varchar(20)
AS

Begin

BEGIN TRANSACTION

SET NOCOUNT ON

IF EXISTS ( SELECT memb___id FROM MEMB_STAT WITH (READUNCOMMITTED) WHERE memb___id = @uid )
Begin
UPDATE MEMB_STAT
SET ip = @uip , connectstat = 1 , servername = [USER=412249]Server[/USER] , ConnectTM = (getdate())
WHERE memb___id = @uid
End
ELSE
Begin
INSERT INTO MEMB_STAT ( memb___id,ip,connectstat,servername)
valueS (@uid,@uip,1 [USER=412249]Server[/USER] )
End
IF(@@Error <> 0 )
ROLLBACK TRANSACTION
ELSE
COMMIT TRANSACTION

--写入登录记录
IF EXISTS ( SELECT UserID FROM UserLogin WITH (READUNCOMMITTED) WHERE UserID = @uid )
Begin
UPDATE UserLogin
SET LoginIP=@uip,Server [USER=412249]Server[/USER],LoginTM = (getdate()),OnlineSec=0,GiveMoney=0,logoutTM=null
WHERE UserID = @uid
End
ELSE
Begin
INSERT INTO UserLogin (UserID,LoginIP,Server,LoginTM,OnlineSec,GiveMoney )
values (@uid,@uip [USER=412249]Server[/USER],getdate(),0,0)
End
--自动封服务器不准进入的人物
declare [USER=480593]small[/USER]estZS int
declare [USER=1333423924]Large[/USER]stZS int
declare [USER=1333375725]Type[/USER] int
select [USER=1333375725]Type[/USER]=Type from SetServerList where ServerName [USER=412249]Server[/USER]

if  [USER=1333375725]Type[/USER]>0) begin

select [USER=480593]small[/USER]estZS=Smallest_ZS from SetServerList where ServerName [USER=412249]Server[/USER]
select [USER=1333423924]Large[/USER]stZS=Largest_ZS from SetServerList where ServerName [USER=412249]Server[/USER]

if not  [USER=480593]small[/USER]estZS is null) begin
update character set ctlcode=(ctlcode | 0x81) where [name] not in
(
SELECT NAME FROM WEB_ZS WHERE (ACC = @uid) AND (ZSCS >= [USER=1333423924]Large[/USER]stZS) AND (ZSCS <= [USER=480593]small[/USER]estZS)
) AND (AccountID = @uid)
end
end
DELETE FROM MEMB_STAT_GJ WHERE (memb___id = @uid and servername [USER=412249]Server[/USER])
update character set ctlcode=(ctlcode | 0x81) where [name] in
(
SELECT name FROM MEMB_STAT_GJ WHERE (memb___id = @uid)
) AND (AccountID = @uid)

SET NOCOUNT OFF
End
GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO
 
Try running this sql queries on ur muonline database:

1.
Code:
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[MEMB_STAT_GJ]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[MEMB_STAT_GJ]
GO

CREATE TABLE [dbo].[MEMB_STAT_GJ] (
[memb___id] [char] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,
[name] [char] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,
[ServerName] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
[ServerCode] [int] NULL ,
[IP] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
[TM] [datetime] NULL
) ON [PRIMARY]
GO

2.
Code:
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[WZ_CONNECT_MEMB]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[WZ_CONNECT_MEMB]
GO

SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS OFF
GO

CREATE PROCEDURE WZ_CONNECT_MEMB
@uid varchar(10), @[I][B][URL="http://forum.ragezone.com/members/412249.html"]Server[/URL][/B][/I] varchar(20),
@uip varchar(20)
AS

Begin

BEGIN TRANSACTION

SET NOCOUNT ON

IF EXISTS ( SELECT memb___id FROM MEMB_STAT WITH (READUNCOMMITTED) WHERE memb___id = @uid )
Begin
UPDATE MEMB_STAT
SET ip = @uip , connectstat = 1 , servername = @[I][B][URL="http://forum.ragezone.com/members/412249.html"]Server[/URL][/B][/I] , ConnectTM = (getdate())
WHERE memb___id = @uid
End
ELSE
Begin
INSERT INTO MEMB_STAT ( memb___id,ip,connectstat,servername)
valueS (@uid,@uip,1 @[I][B][URL="http://forum.ragezone.com/members/412249.html"]Server[/URL][/B][/I] )
End
IF(@@Error <> 0 )
ROLLBACK TRANSACTION
ELSE
COMMIT TRANSACTION

--写入登录记录
IF EXISTS ( SELECT UserID FROM UserLogin WITH (READUNCOMMITTED) WHERE UserID = @uid )
Begin
UPDATE UserLogin
SET LoginIP=@uip,Server @[I][B][URL="http://forum.ragezone.com/members/412249.html"]Server[/URL][/B][/I],LoginTM = (getdate()),OnlineSec=0,GiveMoney=0,logoutTM=null
WHERE UserID = @uid
End
ELSE
Begin
INSERT INTO UserLogin (UserID,LoginIP,Server,LoginTM,OnlineSec,GiveMoney )
values (@uid,@uip @[I][B][URL="http://forum.ragezone.com/members/412249.html"]Server[/URL][/B][/I],getdate(),0,0)
End
--自动封服务器不准进入的人物
declare @[I][B][URL="http://forum.ragezone.com/members/480593.html"]small[/URL][/B][/I]estZS int
declare @[I][B][URL="http://forum.ragezone.com/members/1333423924.html"]Large[/URL][/B][/I]stZS int
declare @[I][B][URL="http://forum.ragezone.com/members/1333375725.html"]Type[/URL][/B][/I] int
select @[I][B][URL="http://forum.ragezone.com/members/1333375725.html"]Type[/URL][/B][/I]=Type from SetServerList where ServerName @[I][B][URL="http://forum.ragezone.com/members/412249.html"]Server[/URL][/B][/I]

if  @[I][B][URL="http://forum.ragezone.com/members/1333375725.html"]Type[/URL][/B][/I]>0) begin

select @[I][B][URL="http://forum.ragezone.com/members/480593.html"]small[/URL][/B][/I]estZS=Smallest_ZS from SetServerList where ServerName @[I][B][URL="http://forum.ragezone.com/members/412249.html"]Server[/URL][/B][/I]
select @[I][B][URL="http://forum.ragezone.com/members/1333423924.html"]Large[/URL][/B][/I]stZS=Largest_ZS from SetServerList where ServerName @[I][B][URL="http://forum.ragezone.com/members/412249.html"]Server[/URL][/B][/I]

if not  @[I][B][URL="http://forum.ragezone.com/members/480593.html"]small[/URL][/B][/I]estZS is null) begin
update character set ctlcode=(ctlcode | 0x81) where [name] not in
(
SELECT NAME FROM WEB_ZS WHERE (ACC = @uid) AND (ZSCS >= @[I][B][URL="http://forum.ragezone.com/members/1333423924.html"]Large[/URL][/B][/I]stZS) AND (ZSCS <= @[I][B][URL="http://forum.ragezone.com/members/480593.html"]small[/URL][/B][/I]estZS)
) AND (AccountID = @uid)
end
end
DELETE FROM MEMB_STAT_GJ WHERE (memb___id = @uid and servername @[I][B][URL="http://forum.ragezone.com/members/412249.html"]Server[/URL][/B][/I])
update character set ctlcode=(ctlcode | 0x81) where [name] in
(
SELECT name FROM MEMB_STAT_GJ WHERE (memb___id = @uid)
) AND (AccountID = @uid)

SET NOCOUNT OFF
End
GO
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO

Dont work :(
 
Re: How to fix &quot;error-L1 : CloseClient INVALID_SOCKET&quot;

Win 7 64 can have this problem? i use that OS



I don't know if it totally works, but i used it and cleared all the "connected" accounts.....
UPDATE MEMB_STAT

SET ConnectStat=0 where ConnectStat=1
 
Windows 7 and this error. I just changed .dll file in Client from other version to new. Old one work good, new had this problem.
 
I use Windows Server 2008 R2 pack 1 x64 and have same problem appears in the Data Server "error-L1 : CloseClient INVALID_SOCKET"
After 24 hours players can no longer connect on server.

What to do?
 
Last edited:
I have a problem with TitanLinkServer
server files 11.70.52
baules not open and when they open store things and then deletes them
I do not understand from where the mistake
slow logins
werehouse slowhis happens every 30 minutes and then settled and then another 30 minutes reoccurs

Error LOG
[DataServer1] error-L1 : CloseClient INVALID_SOCKET

My Sistem
SO : Windows Server 2008 R2 SP1
SQL 2000 + SP4
All Framenetwork
test all query
 
i get this error after using second query

Msg 468, Level 16, State 9, Procedure WZ_CONNECT_MEMB, Line 61
Cannot resolve the collation conflict between "Chinese_PRC_CI_AS" and "Korean_Wansung_CI_AS" in the is operation.

how fix?
 
Back