2012-04-12 02:49:45 err=-1, [Microsoft][ODBC SQL Server Driver]Unspecified error occurred on SQL Server. Connection may have been terminated by the server., SQL STATE: HY000, NATIVE ERROR: 0 (0x0)
2012-04-11 20:58:57 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Database 'PS_Billing' is being recovered. Waiting until recovery is finished., SQL STATE: 42000, NATIVE ERROR: 922 (0x39A)
could this be an error with ip or port closted down? i closed down alot to protect the server but now i'm not sure what's going on..
anyone that know about this please tell me what to do.. i also changed alot to stop dupe. so something might have gone wrong. and close to all this goes on and on with the same stuff
my Stored Procedure dbo.usp_Try_GameLogout_R look like this:
Quote:
Stored Procedure dbo.usp_Try_GameLogout_R
[usp_Try_GameLogin_Taiwan] look like this:
Quote:
USE [PS_UserData]
GO
/****** Object: StoredProcedure [dbo].[usp_Try_GameLogin_Taiwan] Script Date: 4/12/2012 5:37:26 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
--------------------------------------------------
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
[dbo].[usp_Insert_Action_Log_E] like this:
Quote:
USE [PS_GameLog]
GO
/****** Object: StoredProcedure [dbo].[usp_Insert_Action_Log_E] Script Date: 4/12/2012 5:38:25 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
and ps_gamelog close to always have : [Microsoft][ODBC SQL Server Driver][SQL Server]Incorrect syntax near 's' so that's every item and skills that have 's executioner's axe and so on. so have to fix that next maint i guess..
ps_game system log have : 2012-04-12 11:00:43 error exp over usern=FurAkhai,charn=Xer0Gravity, level=80,exp=-1,exppn=0
2012-04-12 10:50:15 InsZone Count : CurAll(5), GuildHouse(cur=4,max=8), GuildRank(cur=0,max=0), Party(cur=1,max=4)
2012-04-12 07:34:36 err=-1, [Microsoft][ODBC SQL Server Driver][SQL Server]Database 'PS_Billing' is being recovered. Waiting until recovery is finished., SQL STATE: 42000, NATIVE ERROR: 922 (0x39A)
See cause the 30 sec timer will blocks [Microsoft][ODBC SQL Server Driver] and when it blocks your ODBC driver it block ethers that try to link with sql.
Well you running windows server 2008 with the advance firewall coase if so ill just post SS on how to do it.
Open your advance firewall and on that main screen click on windows firewall properties and right there were it says inbound and outbound both should say allow then save exit and do windows restart. Done
Have checked you item's in database for an item that has the 's in it or some times caused but ether a itemname 's or just the ' so might wanna check on that just to make sure.
and from your logs say Bull's Eye Lv4 and if you notice in bull's it has your 's not sure on that one tho but its an idea to look for.
yea in ps_gamelog_system.log: it's always items and skills with 's names so i mabe have to look at all and change all 's to just s without '. guess that's going to help. just so strange never hade a problem before with this but well
First off, all these things with Buffers and such is to do with the networking, and it updating you with the status of the buffer.
Secondly, the error "Incorrect syntax near 's'." is easily fixable. Make use of T-SQL's "REPLACE" function.
Code:
UPDATE PS_GameDefs.dbo.Items
SET ItemName = REPLACE(ItemName,'''', '')
To use this on other databases, replace the table in "UPDATE" with the table you wish, and both instances of "ItemName" with the new column. Good luck.
[HELP ME PLS]Shaiya Server Sesion Error 04/08/2012 - Shaiya Private Server - 3 Replies Hello, when i start Sesion on server config it not go ON just stay OFF...
I check in PSM Service Agent and start sesion i get error...
I checked epvp.. Asked some help to ADM/GM/Pro of server, no one helped me..
I Hope you guys can help me with this error.
Imageshack - errorxt.jpg
Shaiya Private Server Error ??? 12/27/2011 - Shaiya Private Server - 2 Replies I have a bizarre to say the least problem with the shaiya server im trying to create. I keep getting the green errors on the "PSMServer_ServiceMgr" that change from green arrows straight back to Green pauses and i dont know why. This occurs every time i start all services in like 5 seconds it happens, i have tried looking on the forums for help and have tried various idea's that i thought might be occuring on my server, i have tried looking at the Bin and log errors that might occur on the...
Shaiya server buff error bug idk 02/06/2011 - Shaiya Private Server - 6 Replies Ok guys i have one error on bufff ...server is ep4.5