Help With Flyff CMS for v15

Results 1 to 10 of 10
  1. #1
    Apprentice Fallenout is offline
    MemberRank
    Nov 2009 Join Date
    14Posts

    sad Help With Flyff CMS for v15

    can anyone help me create a flyff register site for v15?
    i know it sounds kinda stupid but im lacking sleep and ive been so close to getting it to work and I've been through so many posts..but none that actually fully tell you what to do and what to change for your site to actually be running..
    so..can anyone help me?
    and please keep smart remarks out of my topic..thanks..

    ---------- Post added at 02:43 PM ---------- Previous post was at 01:04 PM ----------

    c'mon guys Dx
    help me out here..this is the last thing i need to do before my entire flyff is perfect for me D:
    anybody help..im practically begging now..
    help! make a small guide or tell me what to do or something o.o;
    Last edited by Fallenout; 19-09-10 at 03:13 PM.


  2. #2
    Apprentice 1nf4m0us is offline
    MemberRank
    Jan 2010 Join Date
    21Posts

    Re: Help With Flyff CMS for v15

    Same for me I have troubles with websites, Im good at making private servers for like almost anything but I can never make websites :(
    And if you guys can please look at my other post the one with the GM sign I think there cool and I have troubles making it like that :P Please :)

  3. #3
    i sell platypus Improved is offline
    MemberRank
    Jun 2009 Join Date
    DenmarkLocation
    2,819Posts

    Re: Help With Flyff CMS for v15

    In the RELEASE SECTION. find the REGISTER script. edit the VALUES. If you opened it, your brain would say "pop" there it is! If you actually read the tread/comments you would know.

  4. #4
    Apprentice 1nf4m0us is offline
    MemberRank
    Jan 2010 Join Date
    21Posts

    Re: Help With Flyff CMS for v15

    Dude, you dont know me, Ive looked at videos ive read posts everything I CANT DO IT I use wampserver I get the pserver website files in the www directory I try to go onto local host nothing I get a hamchi IP nothing.

  5. #5
    Apprentice Fallenout is offline
    MemberRank
    Nov 2009 Join Date
    14Posts

    Re: Help With Flyff CMS for v15

    i have edited values and stuff
    im not exactly the worlds best with php coding
    but i know what goes where when it says to put it there..
    im not blind -.-;
    i just cant get the damn thing to work..
    ive done hours of searching..still nothing
    i might sound like an idiot to you..
    but ive only been making a flyff server for 2 or 3 days..
    ive got v15 up and edit the rates and everything just by looking through the stupid files..but what gets me is php..i cant do a damn thing with it..so if you or anybody could/want to help me
    i'd be greatful..if not..then wow..the help forum on ragezone completely blows and is pretty much useless if people are gonna act like this, right? lol

    i just need someone to atleast show me 1 time and i'll be able to get it..
    Last edited by Fallenout; 20-09-10 at 02:36 AM.

  6. #6
    Apprentice tworatz is offline
    MemberRank
    Apr 2008 Join Date
    14Posts

    Re: Help With Flyff CMS for v15

    I have the same problem i already looked and search everywhere cant find a working website files for mssql i have done some website with mysql i saw a lot of post about website but its not coded or not ready functions are not working if someone could make a tutorial how to make a working wedsite and atleast give some downoad site for the files needed will be much appriciated .

  7. #7
    Account Upgraded | Title Enabled! Satan is offline
    MemberRank
    Jul 2010 Join Date
    Hells Gates ;<Location
    406Posts

    Re: Help With Flyff CMS for v15

    Okay, here's your request.


    Firstly, open up your 'Mssql' login, and Right click on ACCOUNT_DBF then 'new query'
    Code:
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    CREATE PROCEDURE [dbo].[createaccount] 
    @account VARCHAR(15),
    @password VARCHAR(32)
    
    AS
    
    SET NOCOUNT ON
    
    DECLARE @DateActivated AS CHAR(8)
    
    IF NOT EXISTS (SELECT account FROM ACCOUNT_TBL WHERE account = @account) BEGIN
    INSERT INTO ACCOUNT_TBL (account, [password], id_no2, isuse, member, realname) 
    VALUES (@account, @password, @password, 'T', 'A', 'F')
    
    SET @DateActivated = CONVERT(CHAR(8), GETDATE()-1, 112 ) --Is the date today - 1
    --UPDATE ACCOUNT_TBL_DETAIL SET BlockTime = @DateYesterday WHERE account = @userid	
    --INSERT INTO ACCOUNT_TBL_DETAIL (account, gamecode, tester, m_chLoginAuthority, regdate, BlockTime, EndTime, WebTime, isuse)
    --	VALUES (@account, 'A000', '2', 'F', GETDATE(), '20990101', '20990101', '20050101', 'O')
    
    INSERT INTO ACCOUNT_TBL_DETAIL (account, gamecode, tester, m_chLoginAuthority, regdate, BlockTime, EndTime, WebTime, isuse)
    VALUES (@account, 'A000', '2', 'F', GETDATE(), @DateActivated, '20990101', '20050101', 'O')
    
    END
    Enter that script there, and then 'execute'. After execution, make sure that it appearings in.. ACCOUNT_DBF > Programmability > Stored Procedures > createaccount or something of sort. So you may need to refresh the MSSQL a few times *f5* =].

    #2 After that worked, you need to go into your HTDOCs / Xampp and make a new .txt *Note, this is the way I do it* then inside that .txt enter this script:

    Code:
    <?php
    
    #############################
    ##Copyright (c) TheJacob#####
    ##All Rights Reserved########
    ##thejacobpollack@gmail.com##
    #############################
    
    #############################
    #############################
    
    ##Configuration##
    $mssql_server = ""; //MSSQL server name or IP
    $mssql_username = ""; //MSSQL username
    $mssql_password = ""; //MSSQL password
    $mssql_account_db = "ACCOUNT_DBF"; //MSSQL account database name
    $mssql_character_01_db = "CHARACTER_01_DBF"; //MSSQL character database name
    $mssql_account_table = "account_tbl"; //MSSQL account table name
    $mssql_username_column = "account"; //MSSQL username column in account table
    $mssql_password_column = "password"; //MSSQL password column in account table
    $hash = ""; //Hash code
    $random_text_text = "e=mc2"; //Random text they must enter to register
    
    #############################
    #############################
    
    ##MSSQL Connect Function##
    function mssql_connect_ini($mssql_server,$mssql_username,$mssql_password) {
    $mssql_connect = mssql_connect($mssql_server, $mssql_username, $mssql_password) or die ("<strong>Cannot connect to the MSSQL server.</strong>");
    	if ((strlen($mssql_server) == 0) || (strlen($mssql_username) == 0) || (strlen($mssql_password) == 0)) {
    	echo "<strong>The connection configuration settings are invalid. Please make sure you've entered them in correctly.</strong>";
    	}
    }
    
    ##MSSQL Account Database Select Function##
    function mssql_account_ini($mssql_account_db) {
    $mssql_select_db = mssql_select_db($mssql_account_db) or die ("<strong>Cannot select the Account database.</strong>");
    	if (strlen($mssql_account_db) == 0) {
    	echo "<strong>The account database configuration setting is invalid. Please make sure you've entered it correctly.</strong>";
    	}
    }
    
    #############################
    #############################
    
    ##MSSQL Core Functionality##
    mssql_connect_ini($mssql_server,$mssql_username,$mssql_password);
    mssql_account_ini($mssql_account_db);
    
    #############################
    #############################
    
    $pusername = @$_POST['username']; //Post wsername
    $ppassword = @$_POST['password']; //Post password
    $prpassword = @$_POST['rpassword']; //Post re-enter password
    $random_text = @$_POST['random_text']; //Random text
    
    if (isset($_POST['submit']) == true) {
    $username = preg_replace("/[^a-zA-Z0-9\-\_\!\$\#\@\^\&\*\(\)\^\+\ \.\?]/", "", $pusername);
    $password = preg_replace("/[^a-zA-Z0-9\-\_\!\$\#\@\^\&\*\(\)\^\+\ \.\?]/", "", $ppassword);
    
    if ((isset($_POST['submit']) == true) and (strlen($pusername) < 3) || (strlen($pusername) > 15)) {
    echo "Your username must be between 3 and 15 characters in length.";
    }
    
    else if ((isset($_POST['submit']) == true) and ((strlen($ppassword) < 3) || (strlen($ppassword) > 15) || (strlen($prpassword) < 3) || (strlen($prpassword) > 15))) {
    echo "The password must be between 3 and 15 characters in length.";
    }
    
    else if ((isset($_POST['submit']) == true) and ($ppassword != $prpassword)) {
    echo "The passwords must be the same.";
    }
    
    else if ((isset($_POST['submit']) == true) and (($pusername == $ppassword) || ($pusername == $prpassword))) {
    echo "The username and password cannot be the same.";
    }
    
    else if ((isset($_POST['submit']) == true) and ($random_text != $random_text_text)) {
    echo "The random text must be filled in correctly. Please take another look at the random text.";
    }
    
    else if (mssql_num_rows(mssql_query("SELECT * FROM $mssql_account_table WHERE $mssql_username_column = '$username'")) == '0') {
    $stmt = mssql_init('createaccount');
    mssql_bind($stmt, '@account', $username, SQLVARCHAR, false, false, 15);
    mssql_bind($stmt, '@password', md5($hash . $password), SQLVARCHAR, false, false, 36);
    mssql_execute($stmt) or die ("<strong>Error occurred while executing the statement.</strong>");
    mssql_free_statement($stmt);
    echo "You've been successfully registered as <strong>" . $username . "</strong>!";
    } else {
    echo "The username already exists.";
    }
    }
    
    ?>
    
    <br>
    <center>
    <form method ="post" action="#">
    <table>
    
    <tr>
    <td><strong>Username</strong></td>
    </tr>
    <tr>
    <td><input name="username" type="username"></td>
    </tr>
    <tr>
    <td><strong>Password</strong></td>
    </tr>
    <tr>
    <td><input name="password" type="password"></td>
    </tr>
    <tr>
    <td><strong>Re-enter Password</strong></td>
    </tr>
    <tr>
    <td><input name="rpassword" type="password"></td>
    </tr>
    <tr>
    <td><strong>Please enter "<?php echo $random_text_text ?>" without the brackets below</strong></td>
    </tr>
    <tr>
    <td><input name="random_text" type="text"></td>
    </tr>
    <tr>
    <td><input name="submit" type="submit" value="Register"></td>
    </tr>
    
    </table>
    </form>
    </center>
    The part highlighted in red is the most important. So I'll help you out a little bit, even though it's basic.

    $mssql_server = "YOURPCNAME\SQLEXPRESS"; //MSSQL server name or IP
    $mssql_username = "sa"; //MSSQL username
    $mssql_password = "yourmssqlPW"; //MSSQL password
    $mssql_account_db = "ACCOUNT_DBF"; //MSSQL account database name
    $mssql_character_01_db = "CHARACTER_01_DBF"; //MSSQL character database name
    $mssql_account_table = "account_tbl"; //MSSQL account table name
    $mssql_username_column = "account"; // <<< Leave it as account
    $mssql_password_column = "password"; //<< Leave it as password
    $hash = "serus"; //Hash code << Leave it if V15 =]
    $random_text_text = "e=mc2"; // What you want to be entered! <<<

    Then Save As, 'All files' and then make it 'register.php' so when you go to your localhost/register.php it should work. Hope I helped. =]

  8. #8
    Proficient Member foxzone33 is offline
    MemberRank
    Jul 2010 Join Date
    PhilippinesLocation
    162Posts

    Re: Help With Flyff CMS for v15

    Hmmmm dont you need some other files tho?

  9. #9
    Proficient Member Spetsnaz is offline
    MemberRank
    Oct 2010 Join Date
    156Posts

    Re: Help With Flyff CMS for v15

    i get this
    Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\flyff\index.php on line 29

  10. #10
    Proficient Member foxzone33 is offline
    MemberRank
    Jul 2010 Join Date
    PhilippinesLocation
    162Posts

    Re: Help With Flyff CMS for v15

    i get the same error too.. could anyone can help me to fix it?

    ---------- Post added at 02:27 PM ---------- Previous post was at 01:19 PM ----------

    its not working for me...

    i get an error

    Fatal error: Call to undefined function mssql_connect() in D:\wamp\www\register.php on line 29

    i really need your help



Advertisement