Register for your free account! | Forgot your password?

You last visited: Today at 01:17

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

Advertisement



[HELP] Error?

Discussion on [HELP] Error? within the Dekaron Private Server forum part of the Dekaron category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2008
Posts: 47
Received Thanks: 2
[HELP] Error?

I think this is an error caused by my MSSql. And this is probably why my client cant log in onto the server.

Code:
3360: ..\Share\Action\Brick\insidefort.36076.csv

2532: >> [ 10B41B48 ][ 192.168.1.45 ]--- Server Connected ---
3360: ------------------ Connect Messenger Server IP : [ 192.168.1.45 ] --------
----------
2532: OnCONNECT >>>Serverindex 1
3360: ------------------ Connect Cast Server IP : [ 192.168.1.45 ] -------------
-----
3080: >> [ 10B42AE0 ][ 192.168.1.45 ]--- Server Connected ---
3080: Provider::Execute( CCHAR * szName )
szName: SP_SIEGE_INFO_R
Microsoft OLE DB Provider for SQL Server: Syntax error converting datetime from
character string.
3080: [ CRITICAL ERROR ] SP_SIEGE_INFO_R CALL FAIL
And yes i know that that IP address is a local address. So my client IP's are local too since I am making a test client atm.
mykolap is offline  
Old 05/16/2010, 01:58   #2
 
elite*gold: 0
Join Date: Aug 2007
Posts: 554
Received Thanks: 136
Code:
USE [Character]
GO

/****** Object:  UserDefinedFunction [dbo].[FN_BinDateToDateTime]    Script Date: 01/10/2010 19:35:14 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER OFF
GO




/******************************************************************************
   이  름 : dbo.FN_BinDateToDateTime
   설  명 : Binary Date를 DateTime 형식으로 반환한다.
   반환값 : 
   수정내역:
   Ver        Date        Author           Description
   ---------  ----------  ---------------  ------------------------------------
   1.0        2006-05-05  Han Ji Wook      1. 초기생성
   2.0        2010-01-10  ADM-Cyrax/Darth Nerd
 ******************************************************************************/
ALTER  FUNCTION [dbo].[FN_BinDateToDateTime] (
	@i_bin_time	binary(4)
) RETURNS datetime
AS
BEGIN
	DECLARE @v_datetime	datetime
	DECLARE @v_strAux varchar(20)
	DECLARE @v_strtime	varchar(20)
	SET @v_strAux = CAST(CAST(@i_bin_time as int) as varchar(20))
	IF len(@v_strAux) = 7	
		SELECT	@v_strtime	= '20100' + CAST(CAST(@i_bin_time as int) as varchar(20))
	ELSE
		IF len(@v_strAux) = 8 
			SELECT	@v_strtime	= '2010' + CAST(CAST(@i_bin_time as int) as varchar(20))
		ELSE
				SELECT	@v_strtime	= '201' + CAST(CAST(@i_bin_time as int) as varchar(20))

	
	SELECT	@v_strtime	= SUBSTRING(@v_strtime,1,4)
						+'-'+SUBSTRING(@v_strtime,5,2)
						+'-'+SUBSTRING(@v_strtime,7,2)
						+' '+SUBSTRING(@v_strtime,9,2)
						+':'+SUBSTRING(@v_strtime,11,2)	
	SELECT	@v_datetime = CAST(@v_strtime as datetime)
	RETURN @v_datetime
END
credit goes to DarthNerd for this fix.
xfactorbowler is offline  
Thanks
1 User
Old 05/16/2010, 20:46   #3
 
elite*gold: 0
Join Date: Jan 2008
Posts: 47
Received Thanks: 2
That worked like a charm.
mykolap is offline  
Reply


Similar Threads Similar Threads
PortMap Error: RichEdit line insertion error
02/16/2012 - Metin2 Private Server - 5 Replies
Hey Leute, habe mir letztens nen Metin2 P-Server mit Hamachi erstellt. Alles läuft super, wenn da dieser kack nicht wäre. PortMap zeigt eine Fehlermeldung, nachdem man sich eingeloggt hat: RichEdit line insertion error. Diese erscheint einmal zusätzlich pro Sekunde und PortMap und Metin2 wird beendet, sobald ca. 100 von diesen Meldungen auf dem Bildschirm sind. Was soll ich machen? Hat jemand ne Lösung? Vielen Dank im Vorraus =)
[Fehler] Patch? Error? Hier Hilfe! [Error]
12/02/2010 - Combat Arms - 14 Replies
Da ich keine Werbung machen möchte muss ich wohl alles abkopieren... Ich entschuldige mich das ich alles zuspoilern musste aber bei soviel Text....;) 1.Error Codes und ähnliches Da es nach einem neuen Update immer wieder Probleme auftreten, empfehlen wir Euch folgende Liste mit den häufigsten Fehlern durchzugehen: 1. Deinstalliere Combat Arms über Arbeitsplatz-->Software 2. Prüfe ob alle Ordner von Nexon auf der Festplatte gelöscht sind. Wenn nicht lösche...
MySro Error~>Microsoft Error Visual C++ Runtime...
08/18/2009 - SRO Private Server - 3 Replies
Hello, i have got a problem: http://image.cp-g.net/pics/4a8971bd15c0d.jpg. I have already installed Microsoft Visual C++ Runtime Library 2005 and after that i installed 2007. It didn´t work. Who can help me? thanks Alucard15



All times are GMT +1. The time now is 01:18.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.