MKZ MMOFPS [Files-Database-Client [EN] Complete]

Page 12 of 32 FirstFirst ... 2456789101112131415161718192022 ... LastLast
Results 166 to 180 of 466
  1. #166
    Account Upgraded | Title Enabled! DELUXX is offline
    MemberRank
    Jun 2012 Join Date
    HDDLocation
    293Posts

    Re: MKZ MMOFPS [Files-Database-Client [EN] Complete]

    Quote Originally Posted by papra View Post
    Good
    here i release my simple ranking script

    im not a aspx coder but i got a brain so this is how the script will work

    top.aspx

    PHP Code:
    <SCRIPT LANGUAGE="Javascript">
    browsernavigator.appName;
    if (
    browser == "Netscape")
    window.location="http://127.0.0.1/mkztop/"; else window.location="http://127.0.0.1/mkztop/"
    </SCRIPT> 
    index.php
    PHP Code:
    <body bgcolor="black">
    <center>
    <h1 class="style1"><p style='color: #ffffff; '> Ranking </p>
    </h1>
    <?php
        $msconnect 
    mssql_connect("192.168.0.104,1433","as","");
        
    $msdb mssql_select_db("MKZStatDB"$msconnect);
        
    $plist "SELECT TOP 100 dwPlayerName,dwRank FROM [MKZ_UserTable] WHERE Admin = '0' AND dwRank > '0' order by dwExp desc";
        
    $pplist mssql_query($plist);

        echo 
    "<table width='400' height='1'><tr valign='top'>";
        echo 
    "

    <td width='5%'><b>
    <h3>
    <p style='color: #0066ff; '>
    Name
    </p>
    </h3>
    </b>
    </td>
    <td></td><td></td>
    <td width='5%'><b>
    <h3>
    <p style='color: #0066ff; '>

    Rank
    </p>
    </h3>
    </b></td></tr><tr valign='top'>

    "
    ;

        while(
    $list mssql_fetch_array($pplist)){
        if(
    $list[''] == "0"){
        
    $char "";
        }
        elseif(
    $list[''] == "1"){

        }
        else

        echo 
    "

    <td width='5%'>
    <p style='color: #FFFFFF; '>
    "
    ;
        echo 
    $list['dwPlayerName'];
        echo 
    "
    </p>
    </td>"
    ;    
        
        echo 
    "<td></td><td></td><td width='5%'><p style='color: #FFFFFF; '>";
        echo 
    $list['dwRank'];
        echo 
    "</p></td></tr><tr>";
        }
        echo 
    "</tr></table>";
    ?>
    </center><br><br>

    </body>
    after that execute this Query

    PHP Code:
    USE [MKZStatDB]
    GO

    IF  EXISTS (SELECT FROM dbo.sysobjects WHERE id OBJECT_ID(N'[DF_MKZ_UserTable_Admin]') AND type 'D')
    BEGIN
    ALTER TABLE 
    [dbo].[MKZ_UserTableDROP CONSTRAINT [DF_MKZ_UserTable_Admin]
    END

    GO

    USE [MKZStatDB]
    GO

    /****** Object:  Table [dbo].[MKZ_UserTable]    Script Date: 06/30/2012 20:44:29 ******/
    IF  EXISTS (SELECT FROM sys.objects WHERE object_id OBJECT_ID(N'[dbo].[MKZ_UserTable]') AND type in (N'U'))
    DROP TABLE [dbo].[MKZ_UserTable]
    GO

    USE [MKZStatDB]
    GO

    /****** Object:  Table [dbo].[MKZ_UserTable]    Script Date: 06/30/2012 20:44:29 ******/
    SET ANSI_NULLS ON
    GO

    SET QUOTED_IDENTIFIER ON
    GO

    SET ANSI_PADDING ON
    GO

    CREATE TABLE 
    [dbo].[MKZ_UserTable](
        [
    dwGlobalID] [intNULL,
        [
    DwCoin] [bigintNULL,
        [
    dwPlayerName] [varchar](50NULL,
        [
    dwExp] [bigintNULL,
        [
    dwRank] [bigintNULL,
        [
    dwPoint] [bigintNULL,
        [
    Admin] [nchar](1NULL
    ON [PRIMARY]

    GO

    SET ANSI_PADDING OFF
    GO

    ALTER TABLE 
    [dbo].[MKZ_UserTableADD  CONSTRAINT [DF_MKZ_UserTable_Admin]  DEFAULT ((0)) FOR [Admin]
    GO 

  2. #167
    Less Post, More Work ModGift is offline
    MemberRank
    Sep 2011 Join Date
    261Posts

    Re: MKZ MMOFPS [Files-Database-Client [EN] Complete]

    Quote Originally Posted by randym View Post
    Mod, thats actually pretty easy ;). You give your server a local ip and let the router or the Firewall do the NAT and give you an external ip...
    I have dedicated server, but not have local ip only wan ip. I now try on vmware. Thank you for your interest

  3. #168
    Member randym is offline
    MemberRank
    Jun 2011 Join Date
    76Posts

    Re: MKZ MMOFPS [Files-Database-Client [EN] Complete]

    So you dont have a firewall infront of your dedicated server? ;)
    Because that would do the job. Otherwise you can try to map the wan ip to your localhost...

  4. #169
    Account Upgraded | Title Enabled! DELUXX is offline
    MemberRank
    Jun 2012 Join Date
    HDDLocation
    293Posts

    Re: MKZ MMOFPS [Files-Database-Client [EN] Complete]

    Quote Originally Posted by ModGift View Post
    I have dedicated server, but not have local ip only wan ip. I now try on vmware. Thank you for your interest
    yes you have a lan ip lolz all pc have one

  5. #170
    { print }' /etc*/passwd str8killa is offline
    MemberRank
    Feb 2007 Join Date
    369Posts

    Re: MKZ MMOFPS [Files-Database-Client [EN] Complete]

    Quote Originally Posted by DELUXX View Post
    maby next time wen some one make a tutorial you will follow that tutorial exactly, your problem is that you don`t use 192.168.0.104
    i told you that does not matter i changed all the ips in the database to my lan

  6. #171
    Less Post, More Work ModGift is offline
    MemberRank
    Sep 2011 Join Date
    261Posts

    Re: MKZ MMOFPS [Files-Database-Client [EN] Complete]

    Quote Originally Posted by DELUXX View Post
    yes you have a lan ip lolz all pc have one
    my lan = wan okay?

    Quote Originally Posted by randym View Post
    So you dont have a firewall infront of your dedicated server? ;)
    Because that would do the job. Otherwise you can try to map the wan ip to your localhost...
    I try vmvare, i open ports.

  7. #172
    Account Upgraded | Title Enabled! DELUXX is offline
    MemberRank
    Jun 2012 Join Date
    HDDLocation
    293Posts

    Re: MKZ MMOFPS [Files-Database-Client [EN] Complete]

    Quote Originally Posted by str8killa View Post
    i told you that does not matter i changed all the ips in the database to my lan
    that matter alot that why you server is not working bcaz of some ip`s that you din`t changed

  8. #173
    Account Upgraded | Title Enabled! DELUXX is offline
    MemberRank
    Jun 2012 Join Date
    HDDLocation
    293Posts

    Re: MKZ MMOFPS [Files-Database-Client [EN] Complete]

    @papra

    how you fix this ?

    error.jpeg

  9. #174
    { print }' /etc*/passwd str8killa is offline
    MemberRank
    Feb 2007 Join Date
    369Posts

    Re: MKZ MMOFPS [Files-Database-Client [EN] Complete]



    how do you get rid of this error?

  10. #175
    Account Upgraded | Title Enabled! DELUXX is offline
    MemberRank
    Jun 2012 Join Date
    HDDLocation
    293Posts

    Re: MKZ MMOFPS [Files-Database-Client [EN] Complete]

    Quote Originally Posted by str8killa View Post


    how do you get rid of this error?
    thats new lol

  11. #176
    { print }' /etc*/passwd str8killa is offline
    MemberRank
    Feb 2007 Join Date
    369Posts

    Re: MKZ MMOFPS [Files-Database-Client [EN] Complete]

    Quote Originally Posted by DELUXX View Post
    thats new lol
    server has a dumb ping checker i think, gotta find a way to disable it.

  12. #177
    Account Upgraded | Title Enabled! DELUXX is offline
    MemberRank
    Jun 2012 Join Date
    HDDLocation
    293Posts

    Re: MKZ MMOFPS [Files-Database-Client [EN] Complete]

    Quote Originally Posted by DELUXX View Post
    @papra

    how you fix this ?

    error.jpeg
    anyone fix this ? and how?

  13. #178
    { print }' /etc*/passwd str8killa is offline
    MemberRank
    Feb 2007 Join Date
    369Posts

    Re: MKZ MMOFPS [Files-Database-Client [EN] Complete]

    Quote Originally Posted by DELUXX View Post
    anyone fix this ? and how?
    try this :

    USE [MKZLOG]
    GO
    TRUNCATE TABLE UserLog_LoginAndLogout
    GO
    ALTER TABLE UserLog_LoginAndLogout ALTER COLUMN EventTime datetime
    try that some 1 posted

  14. #179
    Account Upgraded | Title Enabled! DELUXX is offline
    MemberRank
    Jun 2012 Join Date
    HDDLocation
    293Posts

    Re: MKZ MMOFPS [Files-Database-Client [EN] Complete]

    Quote Originally Posted by str8killa View Post
    try that some 1 posted
    don`t work

  15. #180
    Apprentice papra is offline
    MemberRank
    Jun 2009 Join Date
    22Posts

    Re: MKZ MMOFPS [Files-Database-Client [EN] Complete]

    @papra

    how you fix this ?

    error.jpeg
    open
    MKZ_LGameDB_30

    open
    StoredProcedure
    _DBI_UserLogout
    _DBI_UserLogoutEx
    _DBI_UserLogoutEx2
    _DBI_UserLogoutEx2_Abort
    _LDBI_UserLogout
    _LDBI_UserLogout_Abort
    _RDBI_UserLogout
    _RDBI_UserLogout_Abort
    _RDBI_UserLogout_YP


    Modify
    insert into GameLogDB..T_PlayedUser (F_ID,F_UserID,F_UserName,F_LoginTime,F_LogoutTime,F_LoginIP,F_GameIP,F_GamePort,F_GSID,F_FeeType,F_Desc,F_ParentID,F_FileIndex,F_AreaID)
    values (@gClientID,@userid,@username,@logintime,@Date,@userip,'',0,@GSID,@FeeType,@logoutDesc,@ParentID,@FileIndex,@AreaID)

    --- insert into GameLogDB..T_PlayedUser (F_ID,F_UserID,F_UserName,F_LoginTime,F_LogoutTime,F_LoginIP,F_GameIP,F_GamePort,F_GSID,F_FeeType,F_Desc,F_ParentID,F_FileIndex,F_AreaID)
    --- values (@gClientID,@userid,@username,@logintime,@Date,@userip,'',0,@GSID,@FeeType,@logoutDesc,@ParentID,@FileIndex,@AreaID)
    Sorry
    I do not speak English



Advertisement