[Guide]Converting EP3 DB to EP4 DB

Page 1 of 3 123 LastLast
Results 1 to 15 of 35
  1. #1
    Omega Male Abry is offline
    MemberRank
    May 2008 Join Date
    4,500Posts

    [Guide]Converting EP3 DB to EP4 DB

    REMINDERS BACK UP FIRST YOUR DATA BASE

    1.ADD COLLUMS In rangame1>ChaInfo.. ChaSex [Int] Nulls , ChaHairStyle [Int] Nulls, ChaHairColor [Int] Nulls,

    2.DOWNLOAD THE EP4 RanGame1 DATABASE SCRIPT AND EXECUTE
    THIS SCRIPT DONT HAVE PET TABLE OR SP_PETS

    CLICK HERE TO DOWNLOAD

    3.OPEN MSSQL THEN OPEN THE TABLE OF RANUSER>Programmability>Stored Procedures>dbo.user_verify right click then MODIFY

    THEN REPLACE THIS SCRIPT...

    Code:
    USE [RanUser]
    GO
    /****** Object: StoredProcedure [dbo].[user_verify] Script Date: 06/28/2008 00:18:31 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    
    ALTER PROCEDURE [dbo].[user_verify]
    @userId char(25),
    @userPass char(25),
    @userIp char(25),
    @SvrGrpNum int,
    @SvrNum int,
    @dummy1 int,
    @dummy2 int,
    @nReturn int OUTPUT
    AS
    DECLARE @nAvailable int,
    @nUserNum int,
    @nState int,
    -- Declare variables used in error checking.
    @error_var int,
    @rowcount_var int,
    @nBlock int,
    @BlockDate datetime
    
    SET NOCOUNT ON
    
    SET @nReturn = 0
    SET @nUserNum = 0
    
    SELECT @nUserNum=UserInfo.UserNum,
    @nState=UserInfo.UserLoginState,
    @nBlock=UserInfo.UserBlock,
    @BlockDate=UserInfo.UserBlockDate
    FROM UserInfo
    WHERE UserID = @userId AND UserPass = @userPass AND UserAvailable = 1
    
    -----------------------------------------------------------------
    -- ID / PWD 眉农...
    IF @nUserNum = 0
    BEGIN
    -- ID / PWD 阂老摹 肚绰 荤侩阂啊瓷惑怕
    SET @nReturn = 0
    RETURN @nReturn
    END
    ELSE
    BEGIN
    -- ID / PWD 老摹
    SET @nReturn = 1
    -- 5 吝汗立加, 捞固 立加登绢 乐澜
    IF @nState = 1
    BEGIN
    SET @nReturn = 5
    RETURN @nReturn
    END
    END
    
    -----------------------------------------------------------------
    -- IP Address 眉农
    IF (SELECT COUNT(*) FROM IPInfo WITH (NOLOCK) WHERE ipAddress = @userIp) > 0
    -- IP 沥焊 乐澜
    BEGIN
    SELECT @nAvailable = useAvailable
    FROM IPInfo
    WHERE ipAddress = @userIp
    
    IF @nAvailable = 1
    BEGIN
    SET @nReturn = 2 -- ID/PWD 啊 老摹窍绊, IP 啊 荤侩啊瓷
    END
    ELSE
    BEGIN
    SET @nReturn = 4 -- ID/PWD 啊 老摹窍绊, IP 啊 荤侩阂啊瓷 惑怕
    END
    END
    ELSE
    -- IP 沥焊 绝澜
    BEGIN
    SET @nReturn = 3 -- ID/PWD 啊 老摹窍绊, IP 沥焊绰 绝澜
    END
    
    -----------------------------------------------------------------
    -- Block 咯何 魄窜
    IF (@nBlock = 1)
    BEGIN
    IF (@BlockDate > GetDate())
    BEGIN
    SET @nReturn = 6
    END
    ELSE
    BEGIN
    UPDATE UserInfo
    SET UserBlock=0
    WHERE UserNum = @nUserNum
    
    SET @nReturn = 2
    END
    END
    
    -----------------------------------------------------------------
    -- 荤侩磊 荤侩矫埃 眉农
    IF (@nReturn = 1) OR (@nReturn = 2) OR (@nReturn = 3)
    BEGIN
    -- 荤侩吝, 付瘤阜 肺弊牢矫埃 技泼
    UPDATE UserInfo
    SET UserLoginState=1, LastLoginDate=getdate(), SGNum=@SvrGrpNum, SvrNum=@SvrNum
    WHERE UserNum = @nUserNum
    
    -- 立加肺弊 巢扁扁
    INSERT INTO LogLogin (UserNum, UserID, LogInOut, LogIpAddress)
    VALUES (@nUserNum, @userId, 1, @userIp)
    
    -- 烹拌 诀单捞飘
    UPDATE StatLogin
    SET LCount = LCount+1
    WHERE LYear=Year(GetDate()) AND LMonth=Month(GetDate()) AND LDay=Day(GetDate()) AND LHour=DatePart(hour, GetDate())
    
    SELECT @error_var = @@ERROR, @rowcount_var = @@ROWCOUNT
    IF @error_var <> 0 OR @rowcount_var = 0
    BEGIN
    INSERT INTO StatLogin (LYEAR)
    VALUES (YEAR(GetDate()))
    END
    END
    
    SET NOCOUNT OFF
    
    RETURN @nReturn
    4.DOWNLOAD THIS PHP SCRIPT TO CHANGE THE NORMAL PASSWORD TO MD5 HASH PASSWORD ALL USERACCOUNT



    MEDIAFIRE = CLICK HERE TO DOWNLOAD


    AND TRY TO LOG IN..
    haha:punch:

    Credits:

    PDF Team
    RZ EP4 Team


    Attached Files Attached Files
    Last edited by Abry; 19-01-09 at 06:02 AM.


  2. #2
    Valued Member zeizce is offline
    MemberRank
    Dec 2006 Join Date
    134Posts

    Re: [guide]convert ep3 database to ep4 database

    bahhh, this thread is already discussed too, take note... he didnt put any credits..

  3. #3
    YouEatShit! mike915 is offline
    MemberRank
    Aug 2007 Join Date
    Ran OnlineLocation
    381Posts

    Re: [guide]convert ep3 database to ep4 database

    nice copy men.... keep it up...

  4. #4
    Saucepan ImAwesome is offline
    MemberRank
    Jun 2008 Join Date
    Where you liveLocation
    1,139Posts

    Re: [guide]convert ep3 database to ep4 database

    Copy again how many copies you will do???

  5. #5
    Valued Member zeizce is offline
    MemberRank
    Dec 2006 Join Date
    134Posts

    Re: [guide]convert ep3 database to ep4 database

    he'll keep on copying files.. lets make a bet, not only ragezone forum he'll gonna post some leech ^_^

  6. #6
    CrypticWorld denverporia19 is offline
    MemberRank
    Feb 2008 Join Date
    Lupon, Davao OrientalLocation
    226Posts

    Re: [guide]convert ep3 database to ep4 database

    nyay copy and paste wakokokok

  7. #7
    Account Upgraded | Title Enabled! clever is offline
    MemberRank
    Oct 2007 Join Date
    EXE FileLocation
    574Posts

    Re: [guide]convert ep3 database to ep4 database

    not so bad....always make a review of this guide every week

  8. #8
    Valued Member zeizce is offline
    MemberRank
    Dec 2006 Join Date
    134Posts

    Re: [guide]convert ep3 database to ep4 database

    well lets just say, a review.. but the prob is.. ders no credit, i know hus the original poster of that.. ^_^

  9. #9
    Valued Member enzokeen is offline
    MemberRank
    Mar 2007 Join Date
    120Posts

    Re: [guide]convert ep3 database to ep4 database

    @TS

    nice copy..

  10. #10

    Re: [guide]convert ep3 database to ep4 database

    >.<
    That's why I always have my guide on a picture file...
    To avoid rippers...
    >.<

  11. #11
    Account Upgraded | Title Enabled! `CcyClOnE` is offline
    MemberRank
    Jul 2008 Join Date
    USLocation
    270Posts

    Re: [guide]convert ep3 database to ep4 database

    @TS
    y u always leeching files?

  12. #12
    Omega Male Abry is offline
    MemberRank
    May 2008 Join Date
    4,500Posts

    Re: [guide]convert ep3 database to ep4 database

    sorry i promise i will never do it again promise=)
    peace be with you^^:kisss:

  13. #13

    Re: [guide]convert ep3 database to ep4 database

    Promises are meant to be broken...
    It's not about how you say it...
    It's on how you do it...
    >.<

  14. #14
    Omega Male Abry is offline
    MemberRank
    May 2008 Join Date
    4,500Posts

    Re: [guide]convert ep3 database to ep4 database

    yah sir i am sincere^^
    i promise it sir
    no leech!!
    sorry to all=)

  15. #15

    Re: [guide]convert ep3 database to ep4 database

    Put the credits to whoever made it...
    And I'll be putting it up to important links...



Page 1 of 3 123 LastLast

Advertisement