SQL2005下载点
或者
EP4服务端、數據庫与修改工具
密碼:laklakbangi
EP4韓Game.exe
http://www.fileserve.com/file/MpHwZJG (死點)
注意:韓國的 param.ini 要使用 PDF Checkfile 來解密。
ODBC与图文教学
安装SQL2005前需安装
--------------------------------------------------------接下来就是教学了------------------------------------------------
數據庫教學 1. 把下面那三排加入 dbo.UserInfo @ RanUser 2. 加入這個腳本UserAge - int - nullOfflineTime - datetime - no null - default value = 1970-02-01GameTime - datetime - no null - default value = 1970-02-01 **別的都跟著:http://www.ranyong.com/p/ep4.htmlUSE [RanUser]GO/****** Object: StoredProcedure [dbo].[user_logout] Script Date: 07/28/2009 03:01:26 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOALTER Procedure [dbo].[user_logout]@userId char(25),@usernum int,@gametime int,@chanum int,@svrgrp int,@svrnum int,@extra int,@nReturn int OUTPUTASSET NOCOUNT ONDECLARE-- Declare variables used in error checking.@error_var int,@rowcount_var int-- ???, ??? ????? ??UPDATE UserInfoSET UserLoginState=0, LastLoginDate=getdate()WHERE UserNum = @usernum-- ???? ??? 1 : ??? 0 : ????INSERT INTO LogLogin (UserNum, UserID, LogInOut)VALUES (@usernum, @userId, 0)-- ???? ???INSERT INTO LogGameTime (UserNum, UserID, GameTime, ChaNum, SGNum, SvrNum)VALUES (@usernum, @userId, @gametime, @chanum, @svrgrp, @svrnum)-- ???? ?? ????UPDATE StatGameTimeSET GTime=GTime+@gametimeWHERE GYear=Year(GetDate()) AND GMonth=Month(GetDate()) AND GDay=Day(GetDate())SELECT @error_var = @@ERROR, @rowcount_var = @@ROWCOUNTIF @error_var <> 0 OR @rowcount_var = 0BEGININSERT INTO StatGameTime (GYear, GMonth, GDay, GTime)VALUES (Year(GetDate()), Month(GetDate()), Day(GetDate()), @gametime)ENDSET NOCOUNT OFF |
亂Online EP4 韓國版 架設教程
订阅:
博文 (Atom)