Registration troubles, Please answer?

Results 1 to 7 of 7
  1. #1
    Apprentice mugenman is offline
    MemberRank
    Apr 2007 Join Date
    15Posts

    Registration troubles, Please answer?

    I know you guys are probably going to tell me to use "Search", but I have many times. I've tried both of these.

    http://forum.ragezone.com/f245/relea...-0-2-a-233745/

    http://forum.ragezone.com/f245/tut-c...-100-a-207578/

    I can't connect to my server with neither, I don't know my sql DB username and password so I use "Windows Authentication" mode to login. I leave the User and Password string blank "". But even when I attempt to login I can never connect to my server.

    This is what I get when I attempt to connect:



    Does anyone see anything wrong with this code?
    Code:
    $srvip = "24.60.164.31";
    $srvport = "6000";
    $mssql_user = "";
    $mssql_pass = "";
    $mssql_database = "GunzDB";
    $mssql_host = "Z-IRKEN32\SQLEXPRESS";
    $conn = mssql_connect($mssql_host, $mssql_user, $mssql_pass);
    mssql_select_db($mssql_database);
    Thank you for reading, I hope someone can help me.


  2. #2
    Account Upgraded | Title Enabled! willianmorvan is offline
    MemberRank
    Jan 2007 Join Date
    225Posts

    Re: Registration troubles, Please answer?




    Example:

    $srvip = "24.60.164.31";
    $srvport = "6000";
    $mssql_user = "yourlogin";
    $mssql_pass = "yourpassword";
    $mssql_database = "GunzDB";
    $mssql_host = "WILLIAN";
    $conn = mssql_connect($mssql_host, $mssql_user, $mssql_pass);
    mssql_select_db($mssql_database);

  3. #3
    Apprentice mugenman is offline
    MemberRank
    Apr 2007 Join Date
    15Posts

    Re: Registration troubles, Please answer?

    Ya, I disconnected then reconnect to extract my server from that same text box. What's displayed in my code is what mine is named. I still can't connect, is the code itself incorrectly setup? Does anyone know of any other code which provides better results?


  4. #4
    Apprentice mugenman is offline
    MemberRank
    Apr 2007 Join Date
    15Posts

    Question Re: Registration troubles, Please answer?

    I now have a username and password, but still can't connect to my server. I went to:

    MMOGuides.org - GunZ Online Port Check PHP

    Which resulted in:

    No response from MSSQL (1433 TCP) 24.60.55.30!
    24.60.55.30 HTTP (Apache - 80 TCP) OK!
    24.60.55.30 GunZ Server Port 1 (6000 TCP) OK!
    No response from GunZ Server Port 2 (8900 TCP) 24.60.55.30!
    24.60.55.30 GunZ Server Port 3 (6000 TCP) OK!


    Is that right? There's no response from MSSQL on port 1433? What can I do to allow a response? Can someone please help me? I've read all the topics in search and tried everything. I would really appreciate help. :sad_1:

  5. #5
    Enthusiast weijian95 is offline
    MemberRank
    Apr 2007 Join Date
    Infront of my com :DLocation
    45Posts

    Re: Registration troubles, Please answer?

    Maybe you did not allow port 80 TCP in firewall? :(

  6. #6
    The beer?? Its here !!! Rotana is offline
    MemberRank
    Jan 2007 Join Date
    The NetherlandsLocation
    1,733Posts

    Re: Registration troubles, Please answer?

    its not needed to have respone on port 1433 thats only for remote connection to the database

    try to download an newer ntwdblib.dll it posted here several times, The most of the times it will help you

  7. #7
    Enthusiast weijian95 is offline
    MemberRank
    Apr 2007 Join Date
    Infront of my com :DLocation
    45Posts

    Re: Registration troubles, Please answer?

    ya, Rotana helped me wif the new ntwdblib.dll



Advertisement