• 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.

Help mee pleas MuOnline Problem

Newbie Spellweaver
Joined
Jan 3, 2014
Messages
50
Reaction score
0
GameServer Off and i have 3 player online why not 0 ?? ReedLanFiles
 
Initiate Mage
Joined
Nov 7, 2020
Messages
2
Reaction score
0
If you closed the game server while there were players connected, it will show that number of players connected even if they are not.
 
Upvote 0
Newbie Spellweaver
Joined
Jan 3, 2014
Messages
50
Reaction score
0
yes. i started the server and 3 player on but dont have player on .... sry for english
 
Upvote 0
Newbie Spellweaver
Joined
Jan 3, 2014
Messages
50
Reaction score
0
the game is closed, but the players stayed in it. if I start, just show that they stayed inside.

Demo.
Server off but i have online players...
 
Upvote 0
Joined
May 26, 2009
Messages
17,312
Reaction score
3,222
u can modify both stored procedures in ur database/muonline/programmibility/stored procedures/ find

or delete the procedure simply and re-run this this script (backup database better before)

WZ_CONNECT_MEMB
Code:
CREATE PROCEDURE WZ_CONNECT_MEMB

@uid varchar(20), [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

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

SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS OFF
GO

WZ_DISCONNECT_MEMB
Code:
@uid 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 DisConnectTM = (getdate()), connectstat = 0 WHERE memb___id = @uid
End
ELSE
Begin
INSERT INTO MEMB_STAT ( memb___id,DisConnectTM,connectstat) valueS (
@uid,
(getdate()),
0
)
End


IF(@@Error <> 0 )
ROLLBACK TRANSACTION
ELSE
COMMIT TRANSACTION

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


also fix memb_stat by deleteing the table completely
database>muonline>tables>memb_stat right click delete and re-run this query
Code:
CREATE TABLE [dbo].[MEMB_STAT] (
[memb___id] [nvarchar] (10) COLLATE Chinese_PRC_CI_AS NOT NULL ,
[ConnectStat] [tinyint] NULL ,
[ServerName] [nvarchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
[IP] [nvarchar] (15) COLLATE Chinese_PRC_CI_AS NULL ,
[ConnectTM] [smalldatetime] NULL ,
[DisConnectTM] [smalldatetime] NULL
) ON [PRIMARY]
GO

i hope it helps
 
Upvote 0
Back
Top