Am I missing something?

Results 1 to 19 of 19
  1. #1
    Alpha Member GlaphanKing is offline
    MemberRank
    Sep 2008 Join Date
    World of MorrowLocation
    2,594Posts

    Am I missing something?

    OK before you start, yes I am using the v11 files to start deving some custom items and get some packets, so shut up about that. We are all the same when it comes to this.

    So I'm setting up the servers. I hate MSSQL by the way. MySQL i can do in my sleep but this is bull. Here's what I got:

    1. ODBC Connectors for login, character01, log01, etc. Set up MSSQL 2008 express because 2005 is outdated for my OS. I set up a dummy account called flyff. I can connect successfully when I test the connection but when i turn on the account server, it won't connect. The log error says my user login with name 'flyff' failed.

    Did I miss something? The ini's are setup with local ip's (127.0.0.1). C'mon its not this difficult. I bet I'm missing something stupid.


    Help me out people and be descriptive.


  2. #2
    Account Upgraded | Title Enabled! jason145 is offline
    MemberRank
    Sep 2008 Join Date
    My Computer, AULocation
    350Posts

    Re: Am I missing something?

    Did you add the account into Account__tbl and account_tbl_detail

  3. #3
    Alpha Member GlaphanKing is offline
    MemberRank
    Sep 2008 Join Date
    World of MorrowLocation
    2,594Posts

    Re: Am I missing something?

    can you elaborate?

    it won't even connect to the database so I don't see the need for that yet.

  4. #4
    3D Dev heathj is offline
    MemberRank
    Sep 2008 Join Date
    UKLocation
    497Posts

    Re: Am I missing something?

    Quote Originally Posted by GlaphanKing View Post
    OK before you start, yes I am using the v11 files to start deving some custom items and get some packets, so shut up about that. We are all the same when it comes to this.

    So I'm setting up the servers. I hate MSSQL by the way. MySQL i can do in my sleep but this is bull. Here's what I got:

    1. ODBC Connectors for login, character01, log01, etc. Set up MSSQL 2008 express because 2005 is outdated for my OS. I set up a dummy account called flyff. I can connect successfully when I test the connection but when i turn on the account server, it won't connect. The log error says my user login with name 'flyff' failed.

    Did I miss something? The ini's are setup with local ip's (127.0.0.1). C'mon its not this difficult. I bet I'm missing something stupid.


    Help me out people and be descriptive.
    so your account servers ini should look like this
    Code:
    TEST
    AddTail( -1, 1, "Test", "127.0.0.1", 0, 1, 0 );
       AddTail( 1, 1, "Channel 1-1", "127.0.0.1", 0, 1, 600 );
    
    DSN_NAME_LOGIN			"login"
    DB_ADMIN_ID_LOGIN		"login"
    
    DSN_NAME_LOG			"log01"
    DB_ADMIN_ID_LOG			"log01"
    
    MSG_VER				"20070712"
    
    DB_PWD_LOGIN			""
    DB_PWD_LOG			""
    your odbc should be set to "SQL Server" not native client as i had problems with it on around page 3 of its setup there should be an option at the top with default database you want to set log01 default database to LOG_01_DBF character01 to CHARACTER_01_DBF and login to ACCOUNT_DBF, im a little fuzzy what you mean by the flyff account is it a mssql login?

  5. #5
    Valued Member Mohanddo is offline
    MemberRank
    Dec 2008 Join Date
    114Posts

    Re: Am I missing something?

    Why not just use windows authentication? :S

  6. #6
    Apprentice KingNoobie is offline
    MemberRank
    Sep 2009 Join Date
    13Posts

    Re: Am I missing something?

    Glaphan i'll make a guide for you, would be nice if you came on msn too, or i'll just pm it

  7. #7
    Account Upgraded | Title Enabled! jason145 is offline
    MemberRank
    Sep 2008 Join Date
    My Computer, AULocation
    350Posts

    Re: Am I missing something?

    Quote Originally Posted by GlaphanKing View Post
    can you elaborate?

    it won't even connect to the database so I don't see the need for that yet.
    Ok. Forget what i said the first time. Can you post of a copy of you AccountServer.ini please.

  8. #8
    Alpha Member GlaphanKing is offline
    MemberRank
    Sep 2008 Join Date
    World of MorrowLocation
    2,594Posts

    Re: Am I missing something?

    Code:
    AddTail (-1, 1, "Glaphan", "192.168.2.2", 0, 1, 0);
    AddTail (1, 1, "King", "192.168.2.2", 0, 1, 1100);
    
    DSN_NAME_LOGIN            "login"
    DB_ADMIN_ID_LOGIN        "flyff"
    
    DSN_NAME_LOG "log01"
    DB_ADMIN_ID_LOG "log01"
    
    // 6
    //MSG_VER        "19791221"
    //MSG_VER        "19731109"
    //MSG_VER        "19731110"
    MSG_VER        "20070712"
    // 6
    DB_PWD_LOGIN    "pass"
    DB_PWD_LOG    "pass"
    the passwords are not pass. flyff is the test user to connect to ODBC for MSSQL.

  9. #9
    0xC0FFEE spikensbror is offline
    MemberRank
    Dec 2006 Join Date
    SwedenLocation
    1,855Posts

    Re: Am I missing something?

    I don't think you need to specify the DB_ADMIN_ID_LOGIN since the userdata is stored inside ODBC already. Not sure though, but try to change it to "account". That's what i have mine set as. ^^

  10. #10
    Alpha Member GlaphanKing is offline
    MemberRank
    Sep 2008 Join Date
    World of MorrowLocation
    2,594Posts

    Re: Am I missing something?

    bear in mind I'm running Windows 7 Ultimate 64Bit. Oh, yeah! MSSQL 2008 Express.

  11. #11
    Game Developer MisterKid is offline
    MemberRank
    Jun 2009 Join Date
    1,585Posts

    Re: Am I missing something?

    found it
    min

    AddTail( -1, 1, "IFLYFF", "5.150.27.168", 0, 1, 0 );
    AddTail( 1, 1, "BETA", "5.150.27.168", 0, 1, 1100 );

    DSN_NAME_LOGIN "flyff"<--
    DB_ADMIN_ID_LOGIN "account"

    DSN_NAME_LOG "account"
    DB_ADMIN_ID_LOG "log01"

    // 6
    //MSG_VER "19791221"
    //MSG_VER "19731109"
    //MSG_VER "19731110"
    MSG_VER "20070712"
    // 6
    DB_PWD_LOGIN ""
    DB_PWD_LOG ""

    it say's DSN_NAME_LOGIN that should be your odbc connection (flyff)
    Last edited by MisterKid; 26-10-09 at 10:18 PM.

  12. #12
    Alpha Member GlaphanKing is offline
    MemberRank
    Sep 2008 Join Date
    World of MorrowLocation
    2,594Posts

    Re: Am I missing something?

    Code:
    2009/10/26	17:01:55
    query:login
    SQLSTATE:28000 error:[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'account'.
    Always get this error.

  13. #13
    Game Developer MisterKid is offline
    MemberRank
    Jun 2009 Join Date
    1,585Posts

    Re: Am I missing something?

    Quote Originally Posted by GlaphanKing View Post
    Code:
    2009/10/26	17:01:55
    query:login
    SQLSTATE:28000 error:[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'account'.
    Always get this error.
    nvm. uhm let me check 1 sec xD
    I use windows authentication (or how ever you spell it)
    Last edited by MisterKid; 26-10-09 at 10:13 PM.

  14. #14
    Valued Member Mohanddo is offline
    MemberRank
    Dec 2008 Join Date
    114Posts

    Re: Am I missing something?

    Quote Originally Posted by MisterKid View Post
    found it
    min

    AddTail( -1, 1, "IFLYFF", "5.150.27.168", 0, 1, 0 );
    AddTail( 1, 1, "BETA", "5.150.27.168", 0, 1, 1100 );

    DSN_NAME_LOGIN "flyff"<--
    DB_ADMIN_ID_LOGIN "account"

    DSN_NAME_LOG "account"
    DB_ADMIN_ID_LOG "log01"

    // 6
    //MSG_VER "19791221"
    //MSG_VER "19731109"
    //MSG_VER "19731110"
    MSG_VER "20070712"
    // 6
    DB_PWD_LOGIN ""
    DB_PWD_LOG ""

    it say's DSN_NAME_LOGIN that should be your odbc connection (flyff)

    forgot to say don't change DB_ADMIN_ID_LOG sql files create them in database if im not wrong o.O
    I believe DSN_NAME_LOGIN should stay login... That line is for the name of your odbc connecting to your account table.

  15. #15
    Game Developer MisterKid is offline
    MemberRank
    Jun 2009 Join Date
    1,585Posts

    Re: Am I missing something?

    Quote Originally Posted by Mohanddo View Post
    I believe DSN_NAME_LOGIN should stay login... That line is for the name of your odbc connecting to your account table.
    idk didn;t he use flyff as login o.o im confused xD but your right about that it should connect to your account db

    DB_ADMIN_ID_LOGIN "sa"

    DB_PWD_LOGIN "blablabla"

    never used this function to connect o.0
    Winblows authentication (or however you spelled don't need these information O.o only
    DSN_NAME_LOGIN and with database(account) XP
    Damn its bed time X.x night.

    Good luck GlaphanKing
    Last edited by MisterKid; 26-10-09 at 10:20 PM.

  16. #16
    0xC0FFEE spikensbror is offline
    MemberRank
    Dec 2006 Join Date
    SwedenLocation
    1,855Posts

    Re: Am I missing something?

    Quote Originally Posted by GlaphanKing View Post
    bear in mind I'm running Windows 7 Ultimate 64Bit. Oh, yeah! MSSQL 2008 Express.
    So do i, but I'm running MSSQL 2005.
    And I've got mine set up as i said. ^^

  17. #17
    Valued Member Mohanddo is offline
    MemberRank
    Dec 2008 Join Date
    114Posts

    Re: Am I missing something?

    So glaphan are you saying you have a user called flyff under security->users in the account database?

  18. #18
    Account Upgraded | Title Enabled! gunnerone is offline
    MemberRank
    Jan 2008 Join Date
    Indiana USALocation
    879Posts

    Re: Am I missing something?

    O hi!
    Check out my image. I use windows auth only on all the server configs and then just set everything to the odbc dns name. so login and character01 and log01 are the only things i use in the inis. I'm just having issues getting hung up at @ character screen no biggy i'm just packet capturing lol.
    Attached Thumbnails Attached Thumbnails untitled.png  

  19. #19
    Alpha Member GlaphanKing is offline
    MemberRank
    Sep 2008 Join Date
    World of MorrowLocation
    2,594Posts

    Re: Am I missing something?

    OK. Figured it out. When I set up the connection I forgot to point it to the database like a dumbass.

    Solved it.



Advertisement