How to fix "error-L1 : CloseClient INVALID_SOCKET"

Page 1 of 3 123 LastLast
Results 1 to 25 of 70
  1. #1
    Proficient Member juliom is offline
    MemberRank
    Mar 2007 Join Date
    153Posts

    How to fix "error-L1 : CloseClient INVALID_SOCKET"

    Hello RZ.
    Today you can know how to fix this annoying and sometimes strange for ppl own servers.

    First, is not a gs problem, cs problem , or wrong configured ips, neither the customer, nor the files.

    Is a problem between the OS and databases, which are complementary.

    SS:



    Example of gameserver log:

    17:00:32 connect : [4806][201.255.22.210]
    17:00:33 connect : [4807][190.224.207.143]
    17:00:43 connect : [4808][201.250.238.79]
    17:00:53 (4803)logout : [201.250.190.27]
    error-L1 : CloseClient INVALID_SOCKET
    17:00:53 connect : [4809][190.224.207.253]
    error-L1 : CloseClient INVALID_SOCKET
    17:00:56 connect : [4810][200.29.248.26]
    17:00:57 connect : [4811][201.254.76.67]
    17:00:59 join send : (4811)maxxxx
    error-L1 : CloseClient INVALID_SOCKET
    17:00:59 login [201.254.76.67] : [maxxxx] numer:12791/ db:1
    17:00:59 [maxxxx][] BillType : (3)
    U need use this jobs in Query Analizer to fix it.

    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

    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),
    @server 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 = @server , ConnectTM = (getdate())
    WHERE memb___id = @uid
    End
    ELSE
    Begin
    INSERT INTO MEMB_STAT ( memb___id,ip,connectstat,servername)
    valueS (@uid,@uip,1,@server )
    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=@server,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,@server,getdate(),0,0)
    End
    --自动封服务器不准进入的人物
    declare @SmallestZS int
    declare @LargestZS int
    declare @Type int
    select @Type=Type from SetServerList where ServerName=@server

    if (@Type>0) begin

    select @SmallestZS=Smallest_ZS from SetServerList where ServerName=@server
    select @LargestZS=Largest_ZS from SetServerList where ServerName=@server

    if not (@SmallestZS is null) begin
    update character set ctlcode=(ctlcode | 0x81) where [name] not in
    (
    SELECT NAME FROM WEB_ZS WHERE (ACC = @uid) AND (ZSCS >= @LargestZS) AND (ZSCS <= @SmallestZS)
    ) AND (AccountID = @uid)
    end
    end
    DELETE FROM MEMB_STAT_GJ WHERE (memb___id = @uid and servername=@server)
    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
    Clarification:
    On Windows 2003 SP2 you'll get this problem.
    On Vista too.

    I hope this guide helped you.


  2. #2
    MUonline AntiLag Creator *HK* is offline
    MemberRank
    May 2006 Join Date
    norwayLocation
    371Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    great it works ^^

    Quote Originally Posted by juliom View Post
    On Vista too.
    offtopic: why am i not suprised lol :o

  3. #3
    Retired Old Man Shatter is offline
    MemberRank
    Jun 2008 Join Date
    NowhereLocation
    1,884Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    this guide is useless.. that dont work for any files anymore.. TESTED

    i still have CloseClient INVALID_SOCKET when player disconnnects



    btw, anyone know why nobody cant connect to my serv anymore lol

    they can go normally up to acc/pass window but when hit click client DC's, i can connect normally

  4. #4
    Proficient Member RoRRe is offline
    MemberRank
    Jun 2006 Join Date
    GuesWhereLocation
    180Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    Quote Originally Posted by juliom View Post
    Is a problem between the OS and databases, which are complementary.
    yeah ) right , and if i will say that GameServer doesnt connect to database ?

  5. #5
    Account Upgraded | Title Enabled! Ragnaros is offline
    MemberRank
    Nov 2006 Join Date
    358Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    Hmmm... lemme make a guide ^^

    If you want Season 4 bugless with all features, do this:

    Set experience to 99999999999999999999999x:

    Go to MuOnline -> Character -> Right click -> Drop Table

    Make a link to the gameserver.exe use 666.666.666.666 as startup paramete

    And tadam!


  6. #6
    Pleasure To Kill KREATOR is offline
    MemberRank
    Aug 2008 Join Date
    U.S.ALocation
    407Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    Quote Originally Posted by juliom View Post
    Hello RZ.
    Today you can know how to fix this annoying and sometimes strange for ppl own servers.

    First, is not a gs problem, cs problem , or wrong configured ips, neither the customer, nor the files.

    Is a problem between the OS and databases, which are complementary.

    SS:



    Example of gameserver log:



    U need use this jobs in Query Analizer to fix it.






    Clarification:
    On Windows 2003 SP2 you'll get this problem.
    On Vista too.

    I hope this guide helped you.
    where did u get this? im not sure if i should use it...

  7. #7
    Valued Member starmu is offline
    MemberRank
    Jul 2008 Join Date
    NEW YORKLocation
    108Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    i think this applys to windows 2003 sp2 only.

  8. #8
    Pleasure To Kill KREATOR is offline
    MemberRank
    Aug 2008 Join Date
    U.S.ALocation
    407Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    Quote Originally Posted by starmu View Post
    i think this applys to windows 2003 sp2 only.
    yeah i know.. but i mean does it really work?

  9. #9
    Account Upgraded | Title Enabled! ginalyn is offline
    MemberRank
    Oct 2005 Join Date
    1010101Location
    273Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    Quote Originally Posted by KREATOR View Post
    yeah i know.. but i mean does it really work?
    same here:) does it really works?

  10. #10
    Pleasure To Kill KREATOR is offline
    MemberRank
    Aug 2008 Join Date
    U.S.ALocation
    407Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    Quote Originally Posted by ginalyn View Post
    same here:) does it really works?
    i got another question too... do i have to run it just one time? or do i have to run it in the sql jobs and make run like every 1 min?

  11. #11
    Account Upgraded | Title Enabled! Ragnaros is offline
    MemberRank
    Nov 2006 Join Date
    358Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    Guys don't you get it?... that error has nothing to do with the DB.

  12. #12
    Proficient Member juliom is offline
    MemberRank
    Mar 2007 Join Date
    153Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    Quote Originally Posted by *HK* View Post
    great it works ^^
    ...
    Last edited by juliom; 16-11-08 at 10:54 AM. Reason: edited

  13. #13
    Account Upgraded | Title Enabled! JeaN is offline
    MemberRank
    Oct 2007 Join Date
    CyprusLocation
    516Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    easy to fix it Install Windows Server 2003 Ent SP 1

  14. #14
    Pleasure To Kill KREATOR is offline
    MemberRank
    Aug 2008 Join Date
    U.S.ALocation
    407Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    Quote Originally Posted by Ragnaros View Post
    Guys don't you get it?... that error has nothing to do with the DB.
    I KNOW THAT!! What i wanna know is what exactly this does...

  15. #15
    Alpha Member bramdebouvere is offline
    MemberRank
    Aug 2006 Join Date
    BelgiumLocation
    2,409Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    Quote Originally Posted by KREATOR View Post
    I KNOW THAT!! What i wanna know is what exactly this does...
    its just because of some 'security' in the new sp2 on win2003 server.. cannot be thrown off tho

  16. #16
    Account Upgraded | Title Enabled! DataMatrix is offline
    MemberRank
    Aug 2004 Join Date
    Liverpool, EnglandLocation
    659Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    My server runs SP2 and I have no problems ;)

  17. #17
    Pleasure To Kill KREATOR is offline
    MemberRank
    Aug 2008 Join Date
    U.S.ALocation
    407Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    Quote Originally Posted by bramdebouvere View Post
    its just because of some 'security' in the new sp2 on win2003 server.. cannot be thrown off tho
    i mean i wanna know what the script does...

    @DataMatrix It only affects OS with SP2 if the OS is 2003 version... example.. my OS is windows xp 2003 version and i have SP2... only 2003 versions with SP2 have this problem..

  18. #18
    Account Upgraded | Title Enabled! DataMatrix is offline
    MemberRank
    Aug 2004 Join Date
    Liverpool, EnglandLocation
    659Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    Quote Originally Posted by KREATOR View Post
    i mean i wanna know what the script does...

    @DataMatrix It only affects OS with SP2 if the OS is 2003 version... example.. my OS is windows xp 2003 version and i have SP2... only 2003 versions with SP2 have this problem..
    I am running 2003 with SP2:
    http://zeus.zomsla.co.uk/index.php?disp=dynamic

    Also, there is no such thing as Windows XP 2003 version. Only Windows XP, XP x64 and Windows 2003.

  19. #19
    Pleasure To Kill KREATOR is offline
    MemberRank
    Aug 2008 Join Date
    U.S.ALocation
    407Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    Quote Originally Posted by DataMatrix View Post
    I am running 2003 with SP2:
    http://zeus.zomsla.co.uk/index.php?disp=dynamic

    Also, there is no such thing as Windows XP 2003 version. Only Windows XP, XP x64 and Windows 2003.
    yes there is.. all windows XP have a year version... one thing is the edition and another thing is the version. Look



    P.D. I wanna know what the script does :)

  20. #20
    Valued Member starmu is offline
    MemberRank
    Jul 2008 Join Date
    NEW YORKLocation
    108Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    someone change the cds version in your windows. reg

    i am a big fan of windows sp1.SP1 only
    and i'm still using it.

    but when i need to install a programs that needs sp2.

    i simply go in windows reg. and change a simple code. and it changes me to sp2. without error.s

    now i'm on sp3 to test a season4 with extrem settings. like marry system. free level when afk in town. ( gains 50X exp every 30 sec), people level under 200 no pk,
    Attached Thumbnails Attached Thumbnails windwos.jpg  

  21. #21
    Pleasure To Kill KREATOR is offline
    MemberRank
    Aug 2008 Join Date
    U.S.ALocation
    407Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    Quote Originally Posted by starmu View Post
    someone change the cds version in your windows. reg

    i am a big fan of windows sp1.SP1 only
    and i'm still using it.

    but when i need to install a programs that needs sp2.

    i simply go in windows reg. and change a simple code. and it changes me to sp2. without error.s

    now i'm on sp3 to test a season4 with extrem settings. like marry system. free level when afk in town. ( gains 50X exp every 30 sec), people level under 200 no pk,
    how do u do that?

  22. #22
    Valued Member starmu is offline
    MemberRank
    Jul 2008 Join Date
    NEW YORKLocation
    108Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    it;s a nice small hack..

    also when you change it.

    when you autoupdate in windows. it detect you ass sp2 or sp3 or s4... how every you choose.

    so you may get the updates for all service packs. just not the REAL packs installed.

    think of it like emulation.

    here. it;s sp4 now :P
    Attached Thumbnails Attached Thumbnails untitled.gif  

  23. #23
    Apprentice ArxSheMille is offline
    MemberRank
    Feb 2008 Join Date
    9Posts

    Post Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    This work in 97d?

  24. #24
    Apprentice modziux is offline
    MemberRank
    Oct 2007 Join Date
    11Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    great work :) it works for me gs runing 4 days no error

  25. #25
    Proficient Member rokosius is offline
    MemberRank
    Apr 2005 Join Date
    Kaunas, LithuanLocation
    166Posts

    Re: [Guide] How to fix "error-L1 : CloseClient INVALID_SOCKET"

    But as the return of what the system log? to it as I reinstall Windows XP? and as is already the jop do ... ?



Page 1 of 3 123 LastLast

Advertisement