What will I change in the config.php?

Results 1 to 12 of 12
  1. #1
    Apprentice rein03 is offline
    MemberRank
    May 2012 Join Date
    20Posts

    What will I change in the config.php?

    I need the exact instruction for this

    What will I Change in config.php in making flyff website?

    Sorry Im new in creating Flyff server, hope someone will help me

    Thanks


  2. #2
    Proficient Member MikeDecibel is offline
    MemberRank
    Jul 2010 Join Date
    MadrigalLocation
    160Posts

    Re: What will I change in the config.php?

    In order for us to help you it would be usefull if we have your config.php?

  3. #3
    Apprentice rein03 is offline
    MemberRank
    May 2012 Join Date
    20Posts

    Re: What will I change in the config.php?

    so here. Can you help me with this?



    Code:
    ?php
    	session_start();
    	define('MSSQL_HOST', 'YOUR SERVERS PC\SQLEXPRESS');	// MsSQL Host
    	define('MSSQL_USER', 'sa');						// MsSQL Username
    	define('MSSQL_PASS', 'root');					// MsSQL Password
    	$mssql = odbc_connect('Driver={SQL Server};Server='.MSSQL_HOST.';', MSSQL_USER, MSSQL_PASS); // This is to connect to the ODBC Server.
    	include('functions.inc.php');
    	$_CONFIG['pwdsalt'] = getConfigValue('pwdsalt', 'Your Salt'); // Change 'Your Salt' To your MD5 hash. E.g Kikugalanet or Serus.
    	$_CONFIG['webtitle'] = getConfigValue('webtitle', 'Server Name');
    ?>
    Last edited by rein03; 05-05-12 at 05:09 PM.

  4. #4
    The real deal. Supreme is offline
    MemberRank
    Jun 2011 Join Date
    930Posts

    Re: What will I change in the config.php?

    Use notepad+ and use this:

    Code:
    ...

  5. #5
    Enthusiast lordcasquenoir is offline
    MemberRank
    Sep 2010 Join Date
    franceLocation
    38Posts

    Re: What will I change in the config.php?

    To know your instance name and your pass,just open your MSSQL and look in left...



    "YOUR SERVERS PC\SQLEXPRESS" here you write "rein03\SQLEXPRESS" for example

    "define('MSSQL_USER', 'sa');" don't touch

    "define('MSSQL_PASS', 'root')" write the pass for your connection in mssql

    And in "$_CONFIG['pwdsalt'] = getConfigValue('pwdsalt', 'Your Salt');" change "Your Salt" by "kikugalanet" ...

  6. #6
    Apprentice rein03 is offline
    MemberRank
    May 2012 Join Date
    20Posts

    Re: What will I change in the config.php?

    Heres what it says

    screenshot_27.png

  7. #7
    Enthusiast lordcasquenoir is offline
    MemberRank
    Sep 2010 Join Date
    franceLocation
    38Posts

    Re: What will I change in the config.php?

    Did you change 'YOUR SERVERS PC\SQLEXPRESS' , 'root' and 'Your Salt' in your config.php ? and save it ?

  8. #8
    Apprentice rein03 is offline
    MemberRank
    May 2012 Join Date
    20Posts

    Re: What will I change in the config.php?

    Yes, Im done on it.But still got an error
    Last edited by rein03; 05-05-12 at 05:34 PM.

  9. #9
    Enthusiast lordcasquenoir is offline
    MemberRank
    Sep 2010 Join Date
    franceLocation
    38Posts

    Re: What will I change in the config.php?

    Look in serverstat.inc and erase the line after "| Total Online:" to the end.

  10. #10
    Apprentice rein03 is offline
    MemberRank
    May 2012 Join Date
    20Posts

    Re: What will I change in the config.php?

    I Think the error is in the ODBC? Not sure
    But it if its ODBC. What will I do to it?

  11. #11
    Proficient Member MikeDecibel is offline
    MemberRank
    Jul 2010 Join Date
    MadrigalLocation
    160Posts

    Re: What will I change in the config.php?

    Spoiler:

    define('MSSQL_HOST', 'YOUR SERVERS PC\SQLEXPRESS'); // Between the last '' you remove the YOUR SERVERS PC\SQLEXPRESS and replace it with your SQL login, make sure the \ is right.
    define('MSSQL_USER', 'sa'); // MsSQL Username, leave this.
    define('MSSQL_PASS', 'root'); // MsSQL Password, in this case remove root, and type your password here.
    $_CONFIG['pwdsalt'] = getConfigValue('pwdsalt', 'Your Salt'); // Change 'Your Salt' To the salt your file's are using, in most cases this is kikugalanet.
    $_CONFIG['webtitle'] = getConfigValue('webtitle', 'Server Name'); // change Server Name to your servername.


    If everything is filled in well, save the file and you're ready to go.

  12. #12
    audisbroder is offline
    MemberRank
    Aug 2011 Join Date
    Not foundLocation
    1,180Posts

    Re: What will I change in the config.php?

    You maybe need to get wamp to work with mssql. Here is a guide written by Error 404.
    http://forum.ragezone.com/f724/get-w...-mssql-673301/



Advertisement