[Guide]Quick RANCP Installation

Page 1 of 4 1234 LastLast
Results 1 to 15 of 46
  1. #1
    Member ianotida is offline
    MemberRank
    Nov 2006 Join Date
    From Far Far AwLocation
    99Posts

    [Guide]Quick RANCP Installation

    MSSQL 2005 EXPRESS or MSSQL 2000 must be installed first and these
    RanGame1
    RanLog
    RanShop
    RanUser

    databases are already attached before you proceed this setup

    or in short , Making RAN Server Guide must be completed before you proceed this setup

    ======================================================
    RanWeb Requirements:
    ======================================================

    Install WAMP5 (Php engine is already included)
    PHP5 APACHE MYSQL for Windows : install WAMP5

    Install WAMP5 ZEND OPTIMIZER ADD ON
    SourceForge.net: Downloading ...

    Cimed's RANCP
    http://ianznet.110mb.com/ran/rancp.zip

    CONFIGURING WAMP5

    1. After installing, Start WAMP5 server then click the icon on the tray icons
    2. go to PHP settings menu > PHP extensions


    3. scroll down , click the php_mssql on menu


    - now WAMP5 server will automatically restart (not the PC)
    - after restart now mssql is now enabled and your DONE



    RANCP

    Extract your rancp.zip on www folder (usually: C:\wamp\www )


    CONFIGURE RANCP

    Your config.php must look like this:

    for Users using SQL 2005 EXPRESS
    <?php
    //
    $CONFIG['servername'] = "IaNz Ran Online"; //Web Name
    $CONFIG['dbaddress'] = "PCNAME\SQLEXPRESS"; //DB IP
    $CONFIG['dbuser'] = "sa"; //DB ID
    $CONFIG['dbpass'] = "1234"; //DB PASS
    $CONFIG['dbdbname'] = "RanUser";
    $CONFIG['dbdbname1'] = "RanGame1";
    $CONFIG['dbdbname2'] = "RanShop";
    $CONFIG['registration'] = "1";
    $CONFIG['maxaccounts'] = "0";
    $CONFIG['maxemail'] = "1";
    $CONFIG['email'] = "0";
    $CONFIG['emailaddress'] = "";
    $CONFIG['emailsmtp'] = "";
    $CONFIG['emailuser'] = "";
    $CONFIG['emailpass'] = "";
    ?>
    for Users using SQL 2000 Evaluation or SQL 2000 Enterprise Edition
    <?php
    //
    $CONFIG['servername'] = "IaNz Ran Online"; //Web Name
    $CONFIG['dbaddress'] = "PCNAME"; //DB IP
    $CONFIG['dbuser'] = "sa"; //DB ID
    $CONFIG['dbpass'] = "1234"; //DB PASS
    $CONFIG['dbdbname'] = "RanUser";
    $CONFIG['dbdbname1'] = "RanGame1";
    $CONFIG['dbdbname2'] = "RanShop";
    $CONFIG['registration'] = "1";
    $CONFIG['maxaccounts'] = "0";
    $CONFIG['maxemail'] = "1";
    $CONFIG['email'] = "0";
    $CONFIG['emailaddress'] = "";
    $CONFIG['emailsmtp'] = "";
    $CONFIG['emailuser'] = "";
    $CONFIG['emailpass'] = "";
    ?>
    After editing config.php, go to Internet explorer or Mozila Firefox
    You can type localhost/rancp to see your rancp page

    Note: WAMP5 automatically open all public IP available to use, so from IP 127.0.0.1 to public IP 192.xx.xx.xx whatever your IP its all set.
    Attached Thumbnails Attached Thumbnails rancp.jpg  
    Last edited by ianotida; 13-11-07 at 12:25 PM. Reason: Guide Corrections


  2. #2
    Enthusiast keldai is offline
    MemberRank
    Apr 2006 Join Date
    31Posts

    Re: [Guide]Quick RANCP Installation

    nothing much diff inside..
    just layout and webserver..
    but it easy to install..
    good job ianz...
    :)

  3. #3
    Thetsuya-Kun thetsuya is offline
    MemberRank
    Sep 2006 Join Date
    PilipinasLocation
    427Posts

    Re: [Guide]Quick RANCP Installation

    Thanks Ianz ^_^!!,

  4. #4
    uNiCeRAN [GAME DEV.] lucian0127 is offline
    MemberRank
    Apr 2006 Join Date
    philippinesLocation
    281Posts

    Re: [Guide]Quick RANCP Installation

    im using wamp5 too heheh ^_^ bcause it is easy to configure..

  5. #5
    Valued Member matrixpatch is offline
    MemberRank
    Sep 2007 Join Date
    ThailandLocation
    140Posts

    Re: [Guide]Quick RANCP Installation

    thank you

  6. #6
    PHP/MYSQL Developer skyblue is offline
    MemberRank
    Dec 2005 Join Date
    PhilippinesLocation
    263Posts

    Re: [Guide]Quick RANCP Installation

    can you help me with this error:

    Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: SERVER\SQLEXPRESS in C:\wamp\www\rancp\function.php on line 37

    Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in C:\wamp\www\rancp\function.php on line 38

  7. #7
    uNiCeRAN [GAME DEV.] lucian0127 is offline
    MemberRank
    Apr 2006 Join Date
    philippinesLocation
    281Posts

    Re: [Guide]Quick RANCP Installation

    Quote Originally Posted by skyblue View Post
    can you help me with this error:

    Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: SERVER\SQLEXPRESS in C:\wamp\www\rancp\function.php on line 37

    Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in C:\wamp\www\rancp\function.php on line 38
    replace mssql_connect() to mysql_connect()

    mssql_select_db() to mysql_select_db()

  8. #8
    Account Upgraded | Title Enabled! Zengetsu is offline
    MemberRank
    Aug 2006 Join Date
    Phoenix E-RoomLocation
    681Posts

    Re: [Guide]Quick RANCP Installation

    Nice Guide Already Installed The RanCP ^__^ Almost Finished Now!

    Thanks Ianotida

  9. #9
    Apprentice StationLui is offline
    MemberRank
    Nov 2007 Join Date
    16Posts

    Re: [Guide]Quick RANCP Installation

    WAMP directory: C:\wamp\www\
    RanCP directory: C:\wamp\www\rancp

    The default WAMP site works fine. http://192.168.0.114/ but when go to this http://192.168.0.114/rancp this is the result

    Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: SERVER\SQLEXPRESS in C:\wamp\www\rancp\function.php on line 37

    Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in C:\wamp\www\rancp\function.php on line 38


    Quote Originally Posted by lucian0127 View Post
    replace mssql_connect() to mysql_connect()
    mssql_select_db() to mysql_select_db()
    function connectdb($db, $dbaddress, $dbuser, $dbpass) {
    $dbconnect = mysql_connect ($dbaddress, $dbuser, $dbpass);
    mysql_select_db ($db, $dbconnect) or die (mysql_error());
    }

    Result:

    Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'SERVER\SQLEXPRESS' (11004) in C:\wamp\www\rancp\function.php on line 37

    Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C:\wamp\www\rancp\function.php on line 38
    Unknown MySQL server host 'SERVER\SQLEXPRESS' (11004)


    I need a clear and working guide. This isnt only for pro, make it userfriendly and newbie friendly guide.

  10. #10
    uNiCeRAN [GAME DEV.] lucian0127 is offline
    MemberRank
    Apr 2006 Join Date
    philippinesLocation
    281Posts

    Re: [Guide]Quick RANCP Installation

    Quote Originally Posted by StationLui View Post
    WAMP directory: C:\wamp\www\
    RanCP directory: C:\wamp\www\rancp

    The default WAMP site works fine. http://192.168.0.114/ but when go to this http://192.168.0.114/rancp this is the result

    Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: SERVER\SQLEXPRESS in C:\wamp\www\rancp\function.php on line 37

    Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in C:\wamp\www\rancp\function.php on line 38




    function connectdb($db, $dbaddress, $dbuser, $dbpass) {
    $dbconnect = mysql_connect ($dbaddress, $dbuser, $dbpass);
    mysql_select_db ($db, $dbconnect) or die (mysql_error());
    }

    Result:

    Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host 'SERVER\SQLEXPRESS' (11004) in C:\wamp\www\rancp\function.php on line 37

    Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C:\wamp\www\rancp\function.php on line 38
    Unknown MySQL server host 'SERVER\SQLEXPRESS' (11004)


    I need a clear and working guide. This isnt only for pro, make it userfriendly and newbie friendly guide.
    try to change SERVER\SQLEXPRESS to localhost..

  11. #11
    Member rej50n is offline
    MemberRank
    May 2007 Join Date
    99Posts

    Re: [Guide]Quick RANCP Installation

    I have this error,

    Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: ATHLON4800X2\SQLEXPRESS in C:\wamp\www\ran\function.php on line 37

    Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in C:\wamp\www\ran\function.php on line 38



  12. #12
    Apprentice StationLui is offline
    MemberRank
    Nov 2007 Join Date
    16Posts

    Re: [Guide]Quick RANCP Installation

    Quote Originally Posted by lucian0127 View Post
    try to change SERVER\SQLEXPRESS to localhost..
    huh? Local Host? are you sure?

    This is what's on the guide.

    $CONFIG['servername'] = "Ran-Shop"; //Web Name
    $CONFIG['dbaddress'] = "SERVER\SQLEXPRESS"; //DB IP
    $CONFIG['dbuser'] = "sa"; //DB ID
    $CONFIG['dbpass'] = "1234"; //DB PASS

    You want me to replace it with LocalHost?? SURE??????


    Result of your GUESS:

    $CONFIG['servername'] = "Ran-Shop"; //Web Name
    $CONFIG['dbaddress'] = "LocalHost"; //DB IP
    $CONFIG['dbuser'] = "sa"; //DB ID
    $CONFIG['dbpass'] = "1234"; //DB PASS

    Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: LocalHost in C:\wamp\www\rancp\function.php on line 37

    Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in C:\wamp\www\rancp\function.php on line 38


    Your just making a guess right?

  13. #13
    Account Upgraded | Title Enabled! programmer27 is offline
    MemberRank
    Sep 2006 Join Date
    429Posts

    Re: [Guide]Quick RANCP Installation

    pass also the port on ur dbaddress.
    localhost,mssql port using if ur using mssql to connect

    using mysql to connect just leave it as localhost it will do

  14. #14
    uNiCeRAN [GAME DEV.] lucian0127 is offline
    MemberRank
    Apr 2006 Join Date
    philippinesLocation
    281Posts

    Re: [Guide]Quick RANCP Installation

    Quote Originally Posted by StationLui View Post
    huh? Local Host? are you sure?

    This is what's on the guide.

    $CONFIG['servername'] = "Ran-Shop"; //Web Name
    $CONFIG['dbaddress'] = "SERVER\SQLEXPRESS"; //DB IP
    $CONFIG['dbuser'] = "sa"; //DB ID
    $CONFIG['dbpass'] = "1234"; //DB PASS

    You want me to replace it with LocalHost?? SURE??????


    Result of your GUESS:

    $CONFIG['servername'] = "Ran-Shop"; //Web Name
    $CONFIG['dbaddress'] = "LocalHost"; //DB IP
    $CONFIG['dbuser'] = "sa"; //DB ID
    $CONFIG['dbpass'] = "1234"; //DB PASS

    Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: LocalHost in C:\wamp\www\rancp\function.php on line 37

    Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link resource in C:\wamp\www\rancp\function.php on line 38


    Your just making a guess right?
    you're not using mssql server so use this
    $conn = mysql_connect("localhost","root","pass");
    $db = mysql_select_db("database");

    While localhost is the "ServerName" and root is the dbUsername, pass is the dbPassword and database is the dbName
    because wamp has mysql server not mssql server

  15. #15
    Enthusiast onatzzz is offline
    MemberRank
    Nov 2007 Join Date
    25Posts

    Cool Re: [Guide]Quick RANCP Installation

    sir ian, what if im using smartbro? is there no problem with this?



Page 1 of 4 1234 LastLast

Advertisement