Re: Server keeps crashing
Anyone with the same issue?
Re: Server keeps crashing
Re: Server keeps crashing
I'm using DNC's Release with all updates.
Re: Server keeps crashing
remove r3d_assert(w.Items[slot].InventoryID == 0);
Re: Server keeps crashing
Okay, will try with that.
Okay doidloko, after I commented the line you said to remove, this is the error.
Code:
000017.903| WO_API: failed with error code 7 game still active
000017.903| !!!! api_SrvUserJoinedGame failed, code: 7
Re: Server keeps crashing
maybe your problem is with API no source, i have the same version and not have this error
Re: Server keeps crashing
Well, do you have any idea CodexPo?
EDIT: procedure for CODE 7:
Code:
-- ----------------------------
-- Procedure structure for [WZ_SRV_UserJoinedGame2]
-- ----------------------------
ALTER PROCEDURE [WZ_SRV_UserJoinedGame2]
@in_CustomerID int,
@in_CharID int,
@in_GameMapId int,
@in_GameServerId bigint
AS
BEGIN
SET NOCOUNT ON;
-- check if game is still active or 90sec passed from last update (COPYPASTE_GAMECHECK, search for others)
declare @lastgamedate datetime
declare @GameServerId int
select @GameServerId=GameServerId, @lastgamedate=lastgamedate from UsersData where CustomerID=@in_CustomerID
if(@GameServerId > 0 and DATEDIFF(second, @lastgamedate, GETDATE()) < 90) begin
select 7 as ResultCode, 'game still active' as ResultMsg
return
end
-- store current user server location
update UsersData set
lastgamedate=GETDATE(),
GameServerId=@in_GameServerId
where CustomerID=@in_CustomerID
-- per char info
update UsersChars set
GameMapId=@in_GameMapId,
GameServerId=@in_GameServerId
where CharID=@in_CharID
-- we're done
select 0 as ResultCode
END
Re: Server keeps crashing
I would try the following, restart the SQL server and its settings, also routes your API, ISS logs that sometimes you get error tracks, proves that in case
Re: Server keeps crashing
I tried, there ain't IIS logs but still when a player joins the game crashes.
Re: Server keeps crashing
you cant see the menu? or only ingame crash
Re: Server keeps crashing
Crash I mean the server says "finished" and we get loading game data.
Re: Server keeps crashing
the User has created correctly?
Re: Server keeps crashing
Yeah, I asked my friend to join he joined after a few minutes it crashed.
Re: Server keeps crashing
Quote:
Originally Posted by
JonnyTruant
Well, do you have any idea CodexPo?
EDIT: procedure for CODE 7:
Code:
-- ----------------------------
-- Procedure structure for [WZ_SRV_UserJoinedGame2]
-- ----------------------------
ALTER PROCEDURE [WZ_SRV_UserJoinedGame2]
@in_CustomerID int,
@in_CharID int,
@in_GameMapId int,
@in_GameServerId bigint
AS
BEGIN
SET NOCOUNT ON;
-- check if game is still active or 90sec passed from last update (COPYPASTE_GAMECHECK, search for others)
declare @lastgamedate datetime
declare @GameServerId int
select @GameServerId=GameServerId, @lastgamedate=lastgamedate from UsersData where CustomerID=@in_CustomerID
if(@GameServerId > 0 and DATEDIFF(second, @lastgamedate, GETDATE()) < 90) begin
select 7 as ResultCode, 'game still active' as ResultMsg
return
end
-- store current user server location
update UsersData set
lastgamedate=GETDATE(),
GameServerId=@in_GameServerId
where CustomerID=@in_CustomerID
-- per char info
update UsersChars set
GameMapId=@in_GameMapId,
GameServerId=@in_GameServerId
where CharID=@in_CharID
-- we're done
select 0 as ResultCode
END
is the same as mine, get into the menu to create a character?