[Help] This Ip Can't Run Server

Results 1 to 10 of 10
  1. #1
    Account Upgraded | Title Enabled! EMOLISTA is online now
    MemberRank
    Apr 2010 Join Date
    Caloocan CityLocation
    778Posts

    [Help] This Ip Can't Run Server

    I tried the hexing the server files...still no luck. I just want to make it 192.168.2.100 but still it fails.



  2. #2
    Proficient Member johnywm1994 is offline
    MemberRank
    Jul 2011 Join Date
    160Posts

    Re: This Ip Can't Run Server

    what is ur ip..i hex for u

  3. #3
    Account Upgraded | Title Enabled! EMOLISTA is online now
    MemberRank
    Apr 2010 Join Date
    Caloocan CityLocation
    778Posts

    Re: This Ip Can't Run Server

    Now...trying to login on my own server but it fails...huhuhu
    Attached Thumbnails Attached Thumbnails ran20120221-0523-001.jpg  

  4. #4
    Account Upgraded | Title Enabled! UraGonZ is offline
    MemberRank
    Apr 2011 Join Date
    In Your Face :)Location
    244Posts

    Re: This Ip Can't Run Server

    what database are you using??
    the problem is in your database..

    you need to execute some script to the database..

  5. #5
    Account Upgraded | Title Enabled! ExisyServer is offline
    MemberRank
    Jan 2012 Join Date
    Occ MindoroLocation
    382Posts

    Re: This Ip Can't Run Server

    Execute This In SQL ..
    Make Sure ur server is down after execute this ..
    USE [RanUser]
    GO
    /****** Object: StoredProcedure [dbo].[user_verify] Script Date: 07/17/2011 09:58:24 ******/
    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,
    @proPass varchar(6), -- Ran dynamic password
    @proNum varchar(2), -- Ran dynamic password random number
    @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,
    @EndDate datetime,
    @StrSql nvarchar(100)

    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 check...
    IF @nUserNum = 0
    BEGIN
    SET @nReturn = 0
    RETURN @nReturn
    END
    ELSE
    BEGIN
    SET @nReturn = 1
    IF @nState = 1
    BEGIN
    SET @nReturn = 5
    RETURN @nReturn
    END
    END


    IF (SELECT COUNT(*) FROM BlockAddress WITH (NOLOCK) WHERE BlockAddress = @userIp) > 0

    BEGIN
    declare @params as nvarchar(100)
    SET @StrSQL = 'SELECT @ordercnt=count(userid) FROM Randpass WHERE userid='''+@userId+''' AND pwd'+@proNum + '='''+@proPass + ''''
    SET @params = '@ordercnt as int OUTPUT' -- OUTPUT ???? ??

    exec sp_executesql @StrSQL, @params, @ordercnt = @rowcount_var OUTPUT

    SELECT @error_var = @@ERROR
    IF @error_var = 0 AND @rowcount_var = 1
    BEGIN
    SET @nReturn = 1 -- Dynamic password correct
    END
    ELSE
    BEGIN
    SET @nReturn = 7 -- Dynamic password error
    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

  6. #6
    Account Upgraded | Title Enabled! flyhigh1 is offline
    MemberRank
    Dec 2011 Join Date
    554Posts

    Re: [Help] This Ip Can't Run Server

    EP7 client cant run in 1 PC, try to use virtual PC or VM ware..

  7. #7
    Enthusiast FTD is offline
    MemberRank
    Feb 2012 Join Date
    46Posts

    Re: [Help] This Ip Can't Run Server

    Quote Originally Posted by flyhigh1 View Post
    EP7 client cant run in 1 PC, try to use virtual PC or VM ware..
    Yea us Virtual PC r Vmware..

  8. #8
    Alpha Member Asero1933 is offline
    MemberRank
    Mar 2011 Join Date
    Here...Location
    1,696Posts

    Re: [Help] This Ip Can't Run Server

    i think this is like dynamic ip problem sometimes

  9. #9
    Member khai014 is offline
    MemberRank
    Aug 2011 Join Date
    77Posts

    Re: [Help] This Ip Can't Run Server

    use lan ip in your CFG and server files and use ur Static ip or Dynamic ip in param after that forward all the ports in your CFG's

  10. #10
    Account Upgraded | Title Enabled! EMOLISTA is online now
    MemberRank
    Apr 2010 Join Date
    Caloocan CityLocation
    778Posts

    Re: [Help] This Ip Can't Run Server

    Thanks for your suggestions and ideas...now its working. More powers to you especially Emman Roxas (jemce05) for teaching me on hexing and also to asero1993. Like it!



Advertisement