Register for your free account! | Forgot your password?

You last visited: Today at 12:30

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

Advertisement



PROBLEM!!!

Discussion on PROBLEM!!! within the Dekaron Private Server forum part of the Dekaron category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2009
Posts: 47
Received Thanks: 9
PROBLEM!!!

nvm
spider9999 is offline  
Thanks
1 User
Old 01/22/2010, 20:17   #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
make sure you use the whole fix.
xfactorbowler is offline  
Thanks
1 User
Old 01/22/2010, 20:24   #3
 
elite*gold: 0
Join Date: Dec 2009
Posts: 47
Received Thanks: 9
l
spider9999 is offline  
Old 01/22/2010, 20:37   #4
 
elite*gold: 0
Join Date: Aug 2007
Posts: 554
Received Thanks: 136
no your not you took out the most important snippet of the code it self according to your code its not calling to go anywhere you need to keep

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
because its telling the snippet where to go.
xfactorbowler is offline  
Old 01/23/2010, 00:41   #5
 
NicoBlacktir's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 384
Received Thanks: 55
STOP WITH WAR !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!

make it again in query or make a video with that FAILED !!

Sincerely,

Me
NicoBlacktir is offline  
Old 01/23/2010, 01:07   #6
 
elite*gold: 0
Join Date: Aug 2007
Posts: 554
Received Thanks: 136
wow just tellin the guy what he's doing wrong and you come in with a moronic statement like that.
xfactorbowler is offline  
Old 01/23/2010, 07:13   #7
 
elite*gold: 0
Join Date: Nov 2009
Posts: 218
Received Thanks: 61
Quote:
Originally Posted by xfactorbowler View Post
wow just tellin the guy what he's doing wrong and you come in with a moronic statement like that.
Yea,LoL
This guy is funny..
He came here and just said stop with the war..
Wtf?Whic war
lol...Better chek if you got PTSP :P
[GM]Force is offline  
Old 01/24/2010, 02:17   #8
 
elite*gold: 0
Join Date: Dec 2009
Posts: 47
Received Thanks: 9
j
spider9999 is offline  
Old 01/24/2010, 04:03   #9
 
Decima's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,297
Received Thanks: 928
paste us the entire thing so we can look at it, including the top
Decima is offline  
Old 01/24/2010, 12:05   #10
 
elite*gold: 0
Join Date: Dec 2009
Posts: 47
Received Thanks: 9
o
spider9999 is offline  
Reply


Similar Threads Similar Threads
Having problem Wierd problem with [GUIDE-DETIALED] How to setup a server!
02/10/2010 - EO PServer Hosting - 1 Replies
Hellow, I just used this guide, to set up an EO private server. Everything is correct, but my AccountServer Keeps bugging. Can someOne help me ( via TeamViewer, .. ) ? Thnx, Greets Joris
[Problem] Problem with server starting - cannot find quest index for PaxHeader
12/22/2009 - Metin2 Private Server - 1 Replies
Hello! I have this same problem as here when i'm starting my server: http://www.elitepvpers.com/forum/metin2-pserver-di scussions-questions/307143-metin2-serverfiles-ques t-index-fehler.html But I didn't know the answer.. how to repair this? Greetings



All times are GMT +2. The time now is 12:30.


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.