Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Shaiya > Shaiya Private Server
You last visited: Today at 17:41

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



ps_game._system.log error

Discussion on ps_game._system.log error within the Shaiya Private Server forum part of the Shaiya category.

Reply
 
Old   #1
 
Svinseladden's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 675
Received Thanks: 240
ps_game._system.log error

2012-06-03 10:44:42 DBWrite::LogGame: err=-1, query=EXEC usp_Insert_Action_Log_E 'xxxx',22387,29777,'xxxx', 80,-1,68, 1.#QNAN0,54.139992,1.#QNAN0, '2012-06-03 10:44:42' ,114, 3568727951614803968,18226,0,1,176066,330685526,NUL L,NULL,NULL,NULL,'Dreamy Medicus Leggings','0,0,0,0,0,0 (Option:00050000000003000000)','2012-06-03 10:44:42','bag=1,slot=6'

2012-06-03 10:44:42 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near '#QNAN0'., SQL STATE: 42000, NATIVE ERROR: 102 (0x66)


just a litle one out of a big error log..

i havent seen this one before..

Quote:
USE [PS_GameLog]
GO
/****** Object: StoredProcedure [dbo].[usp_Insert_Action_Log_E] Script Date: 6/3/2012 12:23:13 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

ALTER Proc [dbo].[usp_Insert_Action_Log_E]

@UserID varchar(18),
@UserUID int,
@CharID int,
@CharName varchar(50),
@CharLevel tinyint,
@CharExp int,
@MapID smallint,
@PosX real,
@PosY real,
@PosZ real,
@ActionTime datetime,
@ActionType tinyint,
@Value1 bigint = null,
@Value2 int = null,
@Value3 int = null,
@Value4 bigint = null,
@Value5 int = null,
@Value6 int = null,
@Value7 int = null,
@Value8 int = null,
@Value9 int = null,
@Value10 int = null,
@Text1 varchar(100) = '',
@Text2 varchar(100) = '',
@Text3 varchar(100) = '',
@Text4 varchar(100) = '',
@Sql nvarchar(4000) = '',
@yyyy varchar(4) = '',
@mm varchar(2) = '',
@dd varchar(2) = '',
@Bucket smallint = -1

AS
DECLARE @CharLeave int

SET @yyyy = datepart(yyyy, @ActionTime)
SET @mm = datepart(mm, @ActionTime)
SET @dd = datepart(dd, @ActionTime)
SET @CharLeave = 1

IF @ActionType = '116'--Trade Item-remove item from originator
BEGIN
WAITFOR DELAY '00:00:10'--Time delay to give the duper time to log out fully

SELECT @CharLeave=Leave
FROM PS_userdata.dbo.Users_Master
WHERE UserUID=@UserUID

IF @CharLeave=0
BEGIN
EXEC PS_GameData.dbo.usp_Save_Char_Item_Del_E @CharID=@CharID, @IDList=@Value1
END
END

IF @ActionType = '164'--Trade Gold-remove gold from originator
BEGIN

WAITFOR DELAY '00:00:10'--Time delay to give the duper time to log out fully

SELECT @CharLeave=Leave
FROM PS_userdata.dbo.Users_Master
WHERE UserUID=@UserUID

IF @CharLeave=0
BEGIN
UPDATE PS_GameData.dbo.Chars
SET [Money]=@Value2
WHERE PS_GameData.dbo.Chars.CharID=@CharID
END
END

IF (@ActionType = 114 and @Value2 = 100200)
Begin
Update PS_Userdata.dbo.Users_Master SET Point = Point + @Value4 * 100 WHERE UserID = @UserID
END

IF (@ActionType = 114 and @Value2 = 100211)
Begin
Update PS_Userdata.dbo.Users_Master SET Point = Point + @Value4 * 1000 WHERE UserID = @UserID
END

SET @Sql = N'
INSERT INTO PS_GameLog.dbo.ActionLog
(UserID, UserUID, CharID, CharName, CharLevel, CharExp, MapID, PosX, PosY, PosZ, ActionTime, ActionType,
Value1, Value2, Value3, Value4, Value5, Value6, Value7, Value8, Value9, Value10, Text1, Text2, Text3, Text4)
VALUES(@UserID, @UserUID, @CharID, @CharName, @CharLevel, @CharExp, @MapID, @PosX, @PosY, @PosZ, @ActionTime, @ActionType,
@Value1, @Value2, @Value3, @Value4, @Value5, @Value6, @Value7, @Value8, @Value9, @Value10, @Text1, @Text2, @Text3, @Text4)'

EXEC sp_executesql @Sql,
N'@UserID varchar(18), @UserUID int, @CharID int, @CharName varchar(50),
@CharLevel tinyint, @CharExp int, @MapID smallint, @PosX real, @PosY real, @PosZ real, @ActionTime datetime, @ActionType tinyint,
@Value1 bigint, @Value2 int, @Value3 int, @Value4 bigint, @Value5 int, @Value6 int, @Value7 int, @Value8 int,
@Value9 int, @Value10 int, @Text1 varchar(100), @Text2 varchar(100), @Text3 varchar(100), @Text4 varchar(100)',
@UserID, @UserUID, @CharID, @CharName, @CharLevel, @CharExp, @MapID, @PosX, @PosY, @PosZ, @ActionTime, @ActionType,
@Value1, @Value2, @Value3, @Value4, @Value5, @Value6, @Value7, @Value8, @Value9, @Value10, @Text1, @Text2, @Text3, @Text4
my insert action log e. can anyone help?

i have even more errors if you like them but this seems to go on and on..


more in ps_login.log system.log:

2012-06-03 08:42:37 err=-1, [Microsoft][ODBC SQL Server Driver]Query timeout expired, SQL STATE: HYT00, NATIVE ERROR: 0 (0x0)

2012-06-03 08:42:37 GetUser(): err=-1, query=EXEC usp_Try_GameLogin_Taiwan 'xxxxxx','xxxxxx', 3568692058572980225,'94.59.9.19', , SQL STATE: 00000, NATIVE ERROR: 0 (0x0)

2012-06-03 08:42:42 VerifyReConnect : The Connection has been lost, SQLHDBC=b8b908

2012-06-03 08:42:42 SDatabasePool::Reconnect:: success...


loggin-taiwan is here:

Quote:
USE [PS_UserData]
GO
/****** Object: StoredProcedure [dbo].[usp_Try_GameLogin_Taiwan] Script Date: 6/3/2012 12:35:20 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO

ALTER Proc [dbo].[usp_Try_GameLogin_Taiwan]

@UserID varchar(18),
@InPassword varchar(32),
@SessionID bigint,
@UserIP varchar(15),
@UserUID int = 0,
@LoginType smallint = 1,
@LoginTime datetime = NULL

AS

SET NOCOUNT ON

DECLARE

@Leave tinyint,
@Status smallint,
@CompanyIP varchar(15),
@TempIP varchar(15),
@Check int,
@UseQueue int,
@TimeReleased datetime,
@LeaveDate datetime

SET @Status = -1
SET @LoginTime = GETDATE()

--------------------------------------------------
SET @CompanyIP = '61.107.81'
SET @UserIP = LTRIM( RTRIM(@UserIP) )
--------------------------------------------------
SET @Check = 0
--------------------------------------------------
--Check for IP ban, if so set the status of the user to banned.
IF(SELECT COUNT(*) FROM [GM_Stuff].[dbo].[BannedIP] where [IP1] = @UserIP) > 0
BEGIN
SET @Status = -2
UPDATE PS_UserData.dbo.Users_Master SET [Status] = @Status WHERE UserID = @UserID
END
IF(SELECT COUNT(*) FROM PS_UserData.dbo.Users_Master where [UserIp] = @UserIP and [Status] = '-2') > 0
BEGIN
-- if previous section returns results witch means the ip is attatched to an account previously ip banned
IF(SELECT COUNT(*) FROM [GM_Stuff].[dbo].[BannedIP] where [UserID] = @UserID) > 0
UPDATE [GM_Stuff].[dbo].[BannedIP] SET [LogAtempt] = 'TRUE' WHERE UserID = @UserID
Else INSERT INTO [GM_Stuff].[dbo].[BannedIP] (UserID,BanDate,IP1,StaffID,StaffIP,[LogAtempt])
Values (@UserID,GETDATE(),@UserIP,'Log','127.0.0.1','TRUE ')
END
--Check if 3day and 14day banments are ready for release then do so if ready
SELECT @TimeReleased = TimeReleased From GM_Stuff.dbo.BannedAccounts Where UserID = @UserID
IF ( @TimeReleased < GETDATE())
BEGIN
UPDATE PS_UserData.dbo.Users_Master SET [Status] = 0 WHERE UserID=@UserID
DELETE FROM GM_Stuff.dbo.BannedAccounts WHERE UserID=@UserID
END

SELECT @UserUID=UserUID, @Status=Status,@UseQueue=UseQueue, @Leave=Leave FROM Users_Master WHERE UserID = @UserID

-- NotExist User OR Leave User
IF( @UserUID = 0 OR @Leave = 1 )
BEGIN
SET @Status = -3
END
-- Dupe fix section
ELSE IF (@Leave = 1) --This blocks a logged in account from being kicked
BEGIN
SET @Status = -5
END
ELSE IF (DATEDIFF(SECOND, @LeaveDate, GETDATE()) < 6)--This is the time delay
BEGIN
SET @Status = -7
END
-- verified email at regestration check
--ELSE IF (@UseQueue='0')
--BEGIN
--SET @Status= -7
--END

ELSE
BEGIN
-- Check Password
EXEC dbo.sp_LoginSuccessCheck @UserID, @InPassword, @Check output
IF ( @@ERROR = 0 )
BEGIN
IF( @Check <> 1 )
BEGIN
SET @Status = -1
END
END
ELSE
BEGIN
SET @Status = -1
END
END

-- Select
SELECT @Status AS Status, @UserUID AS UserUID

-- Log Insert
IF( @Status = 0 OR @Status = 16 OR @Status = 32 OR @Status = 48 OR @Status = 64 OR @Status = 80 )
BEGIN
UPDATE Users_Master SET Leave = 1, JoinDate = GETDATE() WHERE UserUID = @UserUID
END

BEGIN
EXEC usp_Insert_LoginLog_E @SessionID=@SessionID, @UserUID=@UserUID, @UserIP=@UserIP, @LogType=0, @LogTime=@LoginTime, @LoginType=@LoginType
END
BEGIN
UPDATE PS_UserData.dbo.Users_Master set UserIp = @UserIP WHERE UserID = @UserID
END


SET NOCOUNT OFF
and we have ps_session. system. log:

2012-06-03 10:03:03 disconnect login

2012-06-03 10:03:03 3 1 SERVICE_CONTROL_STOP


after all this server just go back to pause 2 times in 24 hours out of no where..
Svinseladden is offline  
Old 06/10/2012, 22:48   #2
 
RebeccaBlack's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 520
Received Thanks: 1,286
NaN = Not a Number

This is the dupe associated with a bot used to error out the logs, and cause a rollback for the player. The would (should) resolve that issue.
RebeccaBlack is offline  
Thanks
1 User
Old 06/10/2012, 23:55   #3
 
Svinseladden's Avatar
 
elite*gold: 0
Join Date: Feb 2010
Posts: 675
Received Thanks: 240
but i already have this in my db/server :-(
Svinseladden is offline  
Reply


Similar Threads Similar Threads
[Error]PS_Game.exe plz explain
04/24/2012 - Shaiya Private Server - 2 Replies
I have searched all over these forums and cannot find fix or understand why this does this.2012-04-23 15:51:59 PS_GAME__system log start (Genocide) 2012-04-23 15:51:59 Loaded Behavior In Factory : data/ai/sorp1 2012-04-23 15:51:59 Loaded Behavior In Factory : data/ai/croco1 2012-04-23 15:51:59 Loaded Behavior In Factory : data/ai/croco2 2012-04-23 15:51:59 Loaded Behavior In Factory : data/ai/Troll1
[Error] PS_Game.exe
01/10/2012 - Shaiya Private Server - 3 Replies
My Game Server doesnt start so i looked in my log files and found this in my ps_game log: 2011-10-24 20:11:20 PS_GAME__system log start (Game01) 2011-10-24 20:11:20 Loaded Behavior In Factory : data/ai/sorp1
PS_game.exe with lv 80
01/09/2012 - Shaiya PServer Development - 3 Replies
Here ill upload a ps '_game.exe with max lv 80 This is the link: PS_Game.exe lv80
[Help please] PS_Game.exe
05/10/2011 - Shaiya Private Server - 2 Replies
hello all, i ran into a problem while creating a test server, all services will start with the exception of Game, i have checked my .ini files and have used 3 diffrent versions of the PS_Game.exe, the game service just will not stay started,i will post the log here. i know i have seen the solution on here i just cant seem to find it. thank you any help will be appreciated. 2011-05-05 17:36:35 PS_GAME__system log start (Immortal(Test)) 2011-05-05 17:36:35 Loaded Behavior In Factory :...
ps_game.exe error after dbo.skills translation
12/06/2010 - Shaiya Private Server - 5 Replies
Evening all, take a look at this, i dont know the cause of this error :( 2010-11-30 14:51:30 PS_GAME__system log start (Game01) 2010-11-30 14:51:30 Loaded Behavior In Factory : data/ai/sorp1 2010-11-30 14:51:30 Loaded Behavior In Factory : data/ai/croco1 2010-11-30 14:51:30 Loaded Behavior In Factory : data/ai/croco2



All times are GMT +2. The time now is 17:41.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.