What am I doing wrong?

Results 1 to 11 of 11
  1. #1
    Your average Dutch guy Laenoar is offline
    MemberRank
    Apr 2013 Join Date
    The NetherlandsLocation
    384Posts

    What am I doing wrong?

    First of all, if you are going to read this thread completely, thank you.

    Basically I've been trying to set up a server for approximately over a month now. I've restarted from scratch more than 3 times now, and I thought this fourth time I got it... nope! Getting a HTTP timeout. So here I am, asking you guys for help.

    By the way, I know some things are double (eg. Vars.h), but I just opened every .sln file and posted all the tabs I used. Also; if you need anything more from me, please... tell me!

    My API: http://dadapi.nazuka.net/


    Server --> Bin --> Bin --> Build --> data
    Spoiler:
    wz.xml
    Spoiler:
    <p> <d ver="891032110" base="http://dadapi.nazuka.net/wz/wz351C122E0" inc="http://dadapi.nazuka.net/wz/wz351C122E"/>
    </p>



    Server --> Bin --> Bin --> Build --> updater
    Spoiler:
    api_getserverinfo.xml
    Spoiler:
    <info><news>
    <news name="Up and running!" url="http://dayafterdead.comlu.com/forum/showthread.php?tid=2" date="05.23.2013"/>
    <news name="Game is almost ready!" url="http://dayafterdead.comlu.com/forum/showthread.php?tid=3" date="05.24.2013"/>
    </news>
    <SurveyIn link=""/>
    <SurveyOut link=""/>
    <ServerInfo status="ONLINE"/>
    </info>

    Spoiler:
    Launcher.cfg
    Spoiler:
    [Launcher]serialBuyURL = Day after Dead: The Survivor MMO Zombie Game coming to you soon!
    serialExpiredBuyURL = Day after Dead: The Survivor MMO Zombie Game coming to you soon!


    accountForgotPasswordURL = Web hosting, domain names, VPS - 000webhost.com(I AM AWARE THIS LINK IS NOT WORKING)


    myAccountURL = Day after Dead Forums
    forumsURL = Day after Dead Forums
    supportURL = Day after Dead Forums
    youtubeURL = youtube.com/user/LaenoarPlayZ
    facebookURL = https://www.facebook.com/pages/Dayaf...58628284318927
    twitterURL = https://twitter.com/day_after_dead


    accountUnknownStatusMessage = Unknown account status
    accountDeletedMessage = Your account was deleted because your payment was refunded or cancelled\n\nPlease contact your payment provider
    accountBannedMessage = Your account has been permanently banned
    accountFrozenMessage = Your account has been temporarily frozen\n\nYou will be able to continue to use the service in %d hours
    accountCreateFailedMessage = Account creation failed, please try again later
    accountCreateEmailTakenMessage = There is already registered account with that email!\nPlease note that you must use unique email per The War Z account
    accountCreateInvalidSerialMessage = Serial Key is not valid after Serial Key Check


    webAPIDomainIP = Index of /api
    webAPIDomainBaseUrl = /Site/
    webAPIDomainPort = 21
    webAPIDomainUseSSL = 0


    tosURL = http://dadapi.nazuka.net/rules/TOS.rtf
    eulaURL = http://dadapi.nazuka.net/rules/EULA.rtf


    updateLauncherDataHostURL = Index of /wz/updater


    updateGameDataURL = http://dadapi.nazuka.net/wz/wz.xml
    updateLauncherDataURL = http://dadapi.nazuka.net/wz/updater/woupd.xml


    serverInfoURL = http://dadapi.nazuka.net/wz/updater/...serverinfo.xml

    Spoiler:
    woupd.xml
    Spoiler:
    <p> <u url="http://dadapi.nazuka.net/wz/updater/WarZlauncher.exe_0.10_Alpha.exe" crc="1144145304" ver="0.10_Alpha" size="8350208"/>
    </p>



    Server --> bin --> build
    Spoiler:
    RSBuild.xml
    Spoiler:
    <build> <output dir="bin\build\data"/>

    <cdn url="http://dadapi.nazuka.net/wz/"/>


    <!-- set base archive for incremental update -->
    <base file="bin\build\data\wz31381531"/>




    <!-- include EULA file -->
    <include mask="eula-en.htm"/>
    <include mask="eula-en.rtf"/>
    <!-- excludes for this package files (just in case they was created in this dir -->
    <exclude mask="WZ_*.bin"/>




    <!-- excludes for debug files -->
    <exclude mask="r3dlog.txt"/>
    <exclude mask="MasterServer_ccu.txt"/>
    <exclude mask="*.pdb"/>
    <exclude mask="*.exp"/>
    <exclude mask="*.lib"/>
    <exclude mask="*.bat"/>
    <exclude mask="*.vmp"/>

    <!-- excludes for other binaries -->
    <exclude mask="Studio*.*"/>
    <exclude mask="MasterServer.*"/>
    <exclude mask="WZ_GameServer.*"/>
    <exclude mask="SupervisorServer.*"/>
    <exclude mask="RSBuild.*"/>
    <exclude mask="RSUpdate.*"/>
    <exclude mask="WZAdmin.*"/>
    <exclude mask="WarZ_unpack.exe"/>
    <exclude mask="*.log"/>
    <exclude mask="*.suo"/>
    <exclude mask="*.bat"/>
    <exclude mask="gameSettings.ini"/>
    <exclude mask="local.ini"/>
    <exclude mask="windows_error_report_mapping.xml"/>
    <exclude mask="Launcher.cfg"/>
    <exclude mask="APEX_Common_Legacy_x86.dll"/>
    <exclude mask="APEX_Common_LegacyCHECKED_x86.dll"/>
    <exclude mask="APEX_Common_LegacyPROFILE_x86.dll"/>
    <exclude mask="APEX_Destructible_Legacy_x86.dll"/>
    <exclude mask="APEX_Destructible_LegacyCHECKED_x86.dll"/>
    <exclude mask="APEX_Destructible_LegacyPROFILE_x86.dll"/>
    <exclude mask="APEX_Destructible_x86.dll"/>
    <exclude mask="APEX_DestructibleCHECKED_x86.dll"/>
    <exclude mask="APEX_DestructiblePROFILE_x86.dll"/>
    <exclude mask="APEX_Framework_Legacy_x86.dll"/>
    <exclude mask="APEX_Framework_LegacyPROFILE_x86.dll"/>
    <exclude mask="APEX_Framework_LegacyCHECKED_x86.dll"/>
    <exclude mask="ApexFramework_x86.dll"/>
    <exclude mask="ApexFrameworkCHECKED_x86.dll"/>
    <exclude mask="ApexFrameworkPROFILE_x86.dll"/>
    <exclude mask="avutil-50.dll"/>
    <exclude mask="PhysX3CharacterKinematic_x86.dll"/>
    <exclude mask="PhysX3CharacterKinematicCHECKED_x86.dll"/>
    <exclude mask="PhysX3CharacterKinematicPROFILE_x86.dll"/>
    <exclude mask="PhysX3CHECKED_x86.dll"/>
    <exclude mask="PhysX3CommonCHECKED_x86.dll"/>
    <exclude mask="PhysX3CommonPROFILE_x86.dll"/>
    <exclude mask="PhysX3CookingCHECKED_x86.dll"/>
    <exclude mask="PhysX3CookingPROFILE_x86.dll"/>
    <exclude mask="PhysX3GpuCHECKED_x86.dll"/>
    <exclude mask="PhysX3GpuPROFILE_x86.dll"/>


    <!-- excludes for build directories -->
    <exclude mask="1"/>
    <exclude mask="build"/>
    <exclude mask="logs"/>
    <exclude mask="bin"/>
    <exclude mask="server"/>
    <exclude mask="tools"/>
    <exclude mask="logs"/>
    <exclude mask="logms"/>
    <exclude mask="logss"/>
    <exclude mask="logsv"/>


    <include mask="ApexFramework_x86.dll"/>
    <include mask="avcodec-52.dll"/>
    <include mask="avformat-52.dlll"/>
    <include mask="avutil-50.dll"/>
    <include mask="CrashRpt1301.dll"/>
    <include mask="cudart32_32_16.dll"/>
    <include mask="dbghelp.dll"/>
    <include mask="fmod_event.dll"/>
    <include mask="fmod_event_net.dll"/>
    <include mask="fmod_event_netL.dll"/>
    <include mask="fmod_eventL.dll"/>
    <include mask="fmodex.dll"/>
    <include mask="fmoxedL.dll"/>
    <include mask="icudt46.dll"/>
    <include mask="PhysX3_x86.dll"/>
    <include mask="PhysX3_Common_x86.dll"/>
    <include mask="PhysX3Coooking_x86.dll"/>
    <include mask="PhysX3Gpu_x86.dll"/>
    <include mask="PhysX3PROFILE_x86.dll"/>
    <include mask="steam_api.dll"/>
    <include mask="VMProtectSDK32.dll"/>
    </build>



    Server --> bin --> server --> src --> WarZ_Server.sln
    Spoiler:
    Vars.h
    Spoiler:
    REG_VAR( g_serverip, "192.168.178.14", 0 ); // 66.180.197.56 - IP of dev server where we host dev master\supervisor
    REG_VAR( g_api_ip, "http://dadapi.nazuka.net", 0);

    Spoiler:
    WOBackendAPI.cpp
    Spoiler:
    #ifndef FINAL_BUILD // automatically switch to local site version
    if(stricmp(g_api_ip->GetString(), "http://dadapi.nazuka.net/api") == 0)
    {
    gDomainBaseUrl= "/Site/";
    gDomainPort = 21;
    gDomainUseSSL = false;
    }

    Spoiler:
    3rdDebug.cpp
    Spoiler:
    ifdef FINAL_BUILD info.pszAppName = L"WarZ";
    #else
    info.pszAppName = L"Studio";
    #endif
    info.pszAppVersion = L"1.0";
    info.pszEmailTo = NULL;

    info.pszUrl = L"http://dadapi.nazuka.net/api/Site/php/api_CrashRpt.php";

    info.pszCrashSenderPath = NULL;
    info.pfnCrashCallback = &r3dCrashRptCallback;
    info.uPriorities[CR_HTTP] = 1;
    info.uPriorities[CR_SMTP] = CR_NEGATIVE_PRIORITY; // skip it
    info.uPriorities[CR_SMAPI] = CR_NEGATIVE_PRIORITY; // skip it
    info.dwFlags |= CR_INST_ALL_EXCEPTION_HANDLERS;
    info.dwFlags |= CR_INST_HTTP_BINARY_ENCODING;
    info.dwFlags |= CR_INST_SEND_QUEUED_REPORTS;
    //we should not restart app, as GNA using command line to pass login info
    //info.dwFlags |= CR_INST_APP_RESTART;
    //info.pszRestartCmdLine = __r3dCmdLine;
    info.pszPrivacyPolicyURL = L"https://api1.thewarinc.com/PrivacyPolicy_WarZ.htm";
    info.pszLangFilePath = langFile;


    int res = crInstallW(&info);
    if(res !=0)
    {
    // Something goes wrong. Get error message.
    TCHAR szErrorMsg[512] = _T("");
    crGetLastErrorMsg(szErrorMsg, 512);
    r3dOutToLog(("%s\n"), szErrorMsg);
    //return 1;
    }



    Server --> bin --> server --> src --> Scripts --> WZBackend-ASP.NET
    Spoiler:
    php/dbinfo.inc.php
    Spoiler:
    $db_apikey = "ACOR4823G%sjYU*@476xnDvYaK@!56"; function db_connect()
    {
    $db_user = "CANT TELL" (but I can connect using Microsoft SQL Server 2008 R2)
    $db_pass = "CANT TELL"; (but I can connect using Microsoft SQL Server 2008 R2)
    $db_dbname = "WarZ";


    $db_serverName = "192.168.178.14,1433";
    $db_connectionInfo = array(
    "UID" => $db_user,
    "PWD" => $db_pass,
    "Database" => $db_dbname,
    "CharacterSet" => "UTF-8"
    //"ReturnDatesAsStrings" => true
    );



    Server --> bin --> src --> EclipseStudio --> WarZ.sln
    Spoiler:
    r3dDebug.cpp
    Spoiler:
    #endif info.pszAppVersion = L"1.0";
    info.pszEmailTo = NULL;

    info.pszUrl = L"http://dadapi.nazuka.net/api/Site/php/api_CrashRpt.php";

    info.pszCrashSenderPath = NULL;
    info.pfnCrashCallback = &r3dCrashRptCallback;
    info.uPriorities[CR_HTTP] = 1;
    info.uPriorities[CR_SMTP] = CR_NEGATIVE_PRIORITY; // skip it
    info.uPriorities[CR_SMAPI] = CR_NEGATIVE_PRIORITY; // skip it
    info.dwFlags |= CR_INST_ALL_EXCEPTION_HANDLERS;
    info.dwFlags |= CR_INST_HTTP_BINARY_ENCODING;
    info.dwFlags |= CR_INST_SEND_QUEUED_REPORTS;
    //we should not restart app, as GNA using command line to pass login info
    //info.dwFlags |= CR_INST_APP_RESTART;
    //info.pszRestartCmdLine = __r3dCmdLine;
    info.pszPrivacyPolicyURL = L"https://api1.thewarinc.com/PrivacyPolicy_WarZ.htm";
    info.pszLangFilePath = langFile;


    int res = crInstallW(&info);
    if(res !=0)
    {
    // Something goes wrong. Get error message.
    TCHAR szErrorMsg[512] = _T("");
    crGetLastErrorMsg(szErrorMsg, 512);
    r3dOutToLog(("%s\n"), szErrorMsg);
    //return 1;
    }

    Spoiler:
    Main.cpp
    Spoiler:
    #ifndef FINAL_BUILD
    case Menu_AppSelect::bUpdateDB:
    g_bEditMode = false;
    UpdateDB("http://dadapi.nazuka.net/api/Site/", "Data/Weapons/itemsDB.xml");
    MessageBox(0, "Successfully updated English DB!", "Result", MB_OK);
    break;
    #endif


    case Menu_AppSelect::bStartGamePublic:
    // override server settings if special key isn't set
    if(strstr(__r3dCmdLine, "-ffgrtvzdf") == NULL)
    {
    // hardcoded IP for now
    g_serverip->SetString("192.168.178.14");
    }


    // override API settings
    g_api_ip->SetString("http://dadapi.nazuka.net");
    case Menu_AppSelect::bStartGameSVN:
    g_bEditMode = false;
    ExecuteNetworkGame();
    break;

    Spoiler:
    WOBackendAPI.cpp
    Spoiler:
    #ifndef FINAL_BUILD // automatically switch to local site version
    if(stricmp(g_api_ip->GetString(), "http://dadapi.nazuka.net/api") == 0)
    {
    gDomainBaseUrl= "/Site/";
    gDomainPort = 21;
    gDomainUseSSL = false;
    }

    Spoiler:
    Vars.h
    Spoiler:
    REG_VAR( g_serverip, "192.168.178.14", 0 ); // 66.180.197.56 - IP of dev server where we host dev master\supervisor
    REG_VAR( g_api_ip, "http://dadapi.nazuka.net", 0);



    Server --> bin --> src --> Eternity --> Eternity.sln
    Spoiler:
    Vars.h
    Spoiler:
    REG_VAR( g_serverip, "192.168.178.14", 0 ); // 66.180.197.56 - IP of dev server where we host dev master\supervisor
    REG_VAR( g_api_ip, "http://dadapi.nazuka.net", 0);

    Spoiler:
    r3dDebug.cpp
    Spoiler:
    #endif info.pszAppVersion = L"1.0";
    info.pszEmailTo = NULL;

    info.pszUrl = L"http://dadapi.nazuka.net/api/Site/php/api_CrashRpt.php";

    info.pszCrashSenderPath = NULL;
    info.pfnCrashCallback = &r3dCrashRptCallback;
    info.uPriorities[CR_HTTP] = 1;
    info.uPriorities[CR_SMTP] = CR_NEGATIVE_PRIORITY; // skip it
    info.uPriorities[CR_SMAPI] = CR_NEGATIVE_PRIORITY; // skip it
    info.dwFlags |= CR_INST_ALL_EXCEPTION_HANDLERS;
    info.dwFlags |= CR_INST_HTTP_BINARY_ENCODING;
    info.dwFlags |= CR_INST_SEND_QUEUED_REPORTS;
    //we should not restart app, as GNA using command line to pass login info
    //info.dwFlags |= CR_INST_APP_RESTART;
    //info.pszRestartCmdLine = __r3dCmdLine;
    info.pszPrivacyPolicyURL = L"https://api1.thewarinc.com/PrivacyPolicy_WarZ.htm";
    info.pszLangFilePath = langFile;


    int res = crInstallW(&info);
    if(res !=0)
    {
    // Something goes wrong. Get error message.
    TCHAR szErrorMsg[512] = _T("");
    crGetLastErrorMsg(szErrorMsg, 512);
    r3dOutToLog(("%s\n"), szErrorMsg);
    //return 1;
    }



    Server --> bin --> src --> RSBuild.sln
    Spoiler:
    Vars.h
    Spoiler:
    REG_VAR( g_serverip, "192.168.178.14", 0 ); // 66.180.197.56 - IP of dev server where we host dev master\supervisor
    REG_VAR( g_api_ip, "http://dadapi.nazuka.net", 0);

    Spoiler:
    r3dDebug.cpp
    Spoiler:
    #endif info.pszAppVersion = L"1.0";
    info.pszEmailTo = NULL;

    info.pszUrl = L"http://dadapi.nazuka.net/api/Site/php/api_CrashRpt.php";

    info.pszCrashSenderPath = NULL;
    info.pfnCrashCallback = &r3dCrashRptCallback;
    info.uPriorities[CR_HTTP] = 1;
    info.uPriorities[CR_SMTP] = CR_NEGATIVE_PRIORITY; // skip it
    info.uPriorities[CR_SMAPI] = CR_NEGATIVE_PRIORITY; // skip it
    info.dwFlags |= CR_INST_ALL_EXCEPTION_HANDLERS;
    info.dwFlags |= CR_INST_HTTP_BINARY_ENCODING;
    info.dwFlags |= CR_INST_SEND_QUEUED_REPORTS;
    //we should not restart app, as GNA using command line to pass login info
    //info.dwFlags |= CR_INST_APP_RESTART;
    //info.pszRestartCmdLine = __r3dCmdLine;
    info.pszPrivacyPolicyURL = L"https://api1.thewarinc.com/PrivacyPolicy_WarZ.htm";
    info.pszLangFilePath = langFile;


    int res = crInstallW(&info);
    if(res !=0)
    {
    // Something goes wrong. Get error message.
    TCHAR szErrorMsg[512] = _T("");
    crGetLastErrorMsg(szErrorMsg, 512);
    r3dOutToLog(("%s\n"), szErrorMsg);
    //return 1;
    }



    Server --> bin --> src --> RSUpdate.sln
    Spoiler:
    Vars.h
    Spoiler:
    REG_VAR( g_serverip, "192.168.178.14", 0 ); // 66.180.197.56 - IP of dev server where we host dev master\supervisor
    REG_VAR( g_api_ip, "http://dadapi.nazuka.net", 0);

    Spoiler:
    UPDATER_CONFIG.cpp
    Spoiler:
    #include "r3dPCH.h"#include "r3d.h"


    bool UPDATER_UPDATER_ENABLED = 1;
    char UPDATER_VERSION[512] = "0.10_Alpha";
    char UPDATER_VERSION_SUFFIX[512] = "";
    char UPDATER_BUILD[512] = __DATE__ " " __TIME__;


    char BASE_RESOURSE_NAME[512] = "WZ";
    char GAME_EXE_NAME[512] = "DaD.exe";
    char GAME_TITLE[512] = "Day after Dead";


    // updater (xml and exe) and game info on our server.
    char UPDATE_DATA_URL[512] = "http://dadapi.nazuka.net/wz/wz.xml"; // url for data update
    char UPDATE_UPDATER_URL[512] = "http://dadapi.nazuka.net/wz/updater/woupd.xml";


    // HIGHWIND CDN
    char UPDATE_UPDATER_HOST[512] = "http://dadapi.nazuka.net/wz/updater/";


    // LOCAL TESTING
    //http://arktos.pandonetworks.com/Arktos
    //char UPDATE_DATA_URL[512] = "http://dadapi.nazuka.net/wz/wz.xml"; // url for data update
    //char UPDATE_UPDATER_HOST[512] = "http://dadapi.nazuka.net/wz/updater/"; // url for updater .xml


    char EULA_URL[512] = "http://dadapi.nazuka.net/rules/EULA.rtf";
    char TOS_URL[512] = "http://dadapi.nazuka.net/rules/TOS.rtf";
    char GETSERVERINFO_URL[512] = "http://dadapi.nazuka.net/api/Site/api_getserverinfo.xml";






    bool UPDATER_STEAM_ENABLED = false;

    Spoiler:
    r3dDebug.cpp
    Spoiler:
    #endif info.pszAppVersion = L"1.0";
    info.pszEmailTo = NULL;

    info.pszUrl = L"http://dadapi.nazuka.net/api/Site/php/api_CrashRpt.php";

    info.pszCrashSenderPath = NULL;
    info.pfnCrashCallback = &r3dCrashRptCallback;
    info.uPriorities[CR_HTTP] = 1;
    info.uPriorities[CR_SMTP] = CR_NEGATIVE_PRIORITY; // skip it
    info.uPriorities[CR_SMAPI] = CR_NEGATIVE_PRIORITY; // skip it
    info.dwFlags |= CR_INST_ALL_EXCEPTION_HANDLERS;
    info.dwFlags |= CR_INST_HTTP_BINARY_ENCODING;
    info.dwFlags |= CR_INST_SEND_QUEUED_REPORTS;
    //we should not restart app, as GNA using command line to pass login info
    //info.dwFlags |= CR_INST_APP_RESTART;
    //info.pszRestartCmdLine = __r3dCmdLine;
    info.pszPrivacyPolicyURL = L"https://api1.thewarinc.com/PrivacyPolicy_WarZ.htm";
    info.pszLangFilePath = langFile;


    int res = crInstallW(&info);
    if(res !=0)
    {
    // Something goes wrong. Get error message.
    TCHAR szErrorMsg[512] = _T("");
    crGetLastErrorMsg(szErrorMsg, 512);
    r3dOutToLog(("%s\n"), szErrorMsg);
    //return 1;
    }

    Spoiler:
    WOBackendAPI.cpp
    Spoiler:
    #ifndef FINAL_BUILD // automatically switch to local site version
    if(stricmp(g_api_ip->GetString(), "http://dadapi.nazuka.net/api") == 0)
    {
    gDomainBaseUrl= "/Site/";
    gDomainPort = 21;
    gDomainUseSSL = false;
    }



    Server --> bin
    Spoiler:
    MasterServer.cfg
    Spoiler:
    [MasterServer]masterport=34000
    clientPort=34001
    masterCCU=20
    serverId=1


    [WarZGames]
    numGames = 1
    maxPlayers = 64


    [PermGame3]
    map = MAPID_WZ_Colorado DOESNOTHING GBNET_REGION_US_West 0 0
    data = 32 0 0


    g_api_ip=http://dadapi.nazuka.net

    Spoiler:
    SupervisorServer.cfg
    Spoiler:
    [SupervisorServer]
    masterPort=34000
    masterIp=192.168.178.14
    serverGroup=1
    serverName=WarZGames
    maxPlayers=1024
    maxGames=32
    portStart=34010
    gameServerExe=WZ_GameServer.exe
    externalIp=192.168.178.14
    masterIp=192.168.178.14
    webAPIDomainIP=31.170.167.180 (I THINK it has to be this, because: http://gyazo.com/b2eaa6dd17d1aca7e813c7fc4edca24d.png)
    uploadLogs=0
    webAPIDomainBaseURL=/api/Site/
    webAPIDomainPort=21
    webAPIDomainUseSSL=0
    webAPIServerKey=bvx425698dg6GsnxwedszF

    Spoiler:
    game.ini
    Spoiler:
    d_walk_speed_scale 5
    d_sun_rotate 0
    r_near_plane 0.5
    r_far_plane 64000
    r_cloud_lod_start 9000
    r_cloud_lod_end 15000

    Spoiler:
    local.ini
    Spoiler:
    d_walk_speed_scale 5
    d_sun_rotate 0
    r_near_plane 0.5
    r_far_plane 64000
    r_cloud_lod_start 9000
    r_cloud_lod_end 15000




    Questions:
    Do I need to change anything in here?
    Server --> bin --> server --> src --> Scripts --> WZBackend-ASP.NET
    Spoiler:
    App_Code/IPLocationCheck.cs
    Spoiler:
    // exclude IP from checks if (strIpAddress.StartsWith("31.25.224.")) // Syncopate servers 31.25.224.0/22
    return false;
    else if (strIpAddress == "81.177.30.7")
    return false;
    else if (strIpAddress == "194.190.17.173") // Syncopate office
    return false;


    Do I need to change anything in here?
    Server --> bin --> server --> src --> Scripts --> WZFirstDataPayment-ASP.NET
    Spoiler:
    App_Code/SQLBase.cs
    Spoiler:
    public class SQLBase
    {
    string server = "";
    string user = "";
    string pass = "";
    string workdb = "";


    SqlConnection conn_ = null;


    public SQLBase(string in_user, string in_pass, string in_workdb)
    {
    server = "db1.thewarinc.com,11433";
    user = in_user;
    pass = in_pass;
    workdb = in_workdb;
    }


    ~SQLBase()
    {
    Disconnect();
    }
    Last edited by Laenoar; 29-05-13 at 09:44 PM.


  2. #2
    Skilled mapper Hypoflex is offline
    MemberRank
    May 2012 Join Date
    NetherlandsLocation
    256Posts

    Re: What am I doing wrong?

    follow ikusu's youtube tutorial man no need to ask this,
    found on DNC's thread

  3. #3
    Your average Dutch guy Laenoar is offline
    MemberRank
    Apr 2013 Join Date
    The NetherlandsLocation
    384Posts

    Re: What am I doing wrong?

    Quote Originally Posted by Hypoflex View Post
    follow ikusu's youtube tutorial man no need to ask this,
    found on DNC's thread
    Thing is; I exactly did what he did.

  4. #4
    Proficient Member MadScripter is offline
    MemberRank
    Apr 2013 Join Date
    187Posts

    Re: What am I doing wrong?

    Change in:


    Launcher.cfg:


    Code:
    webAPIDomainIP = dadapi.nazuka.net
    webAPIDomainBaseUrl = /api/
    webAPIDomainPort = 80
    webAPIDomainUseSSL = 0

    Quote Originally Posted by Laenoar View Post
    Code:
    [Launcher]
    serverInfoURL = http://dadapi.nazuka.net/wz/updater/api_getserverinfo.xml

    ^ Where's this file?


    ######################################################################


    Vars.h:


    Code:
    REG_VAR( g_api_ip, "dadapi.nazuka.net", 0);

    ######################################################################


    Main.cpp:


    Code:
    // override API settings
    g_api_ip->SetString("dadapi.nazuka.net");
    case Menu_AppSelect::bStartGameSVN:
    g_bEditMode = false;
    ExecuteNetworkGame();
    break;

    ######################################################################


    UPDATER_CONFIG.cpp:


    Code:
    char GETSERVERINFO_URL[512] = "http://dadapi.nazuka.net/api/Site/api_getserverinfo.xml";

    ^ Where is it?


    ######################################################################


    MasterServer.cfg:


    Code:
    g_api_ip=http://dadapi.nazuka.net

    Remove this.


    ######################################################################


    SupervisorServer.cfg:


    Code:
    [SupervisorServer]
    externalIp=192.168.178.14 (Should be set to your server ip)
    masterIp=192.168.178.14 (should be set to localhost)
    serverName=WarZGames
    masterPort=34000
    serverGroup=1
    maxPlayers=1024
    maxGames=32
    gameServerExe=WZ_GameServer.exe
    portStart=34010
    uploadLogs=0
    
    
    webAPIDomainIP=dadapi.nazuka.net
    webAPIDomainBaseURL=/api/
    webAPIDomainPort=80
    webAPIDomainUseSSL=0
    webAPIServerKey=bvx425698dg6GsnxwedszF

    ######################################################################


    game.ini


    Code:
    d_walk_speed_scale    5
    d_sun_rotate         0
    r_near_plane         0.5
    r_far_plane         64000
    r_cloud_lod_start     9000
    r_cloud_lod_end     15000
    g_serverip         YOUR SERVER IP
    g_api_ip        dadapi.nazuka.net
    Last edited by MadScripter; 30-05-13 at 07:50 PM.

  5. #5
    Your average Dutch guy Laenoar is offline
    MemberRank
    Apr 2013 Join Date
    The NetherlandsLocation
    384Posts

    Re: What am I doing wrong?

    Thank you so, so much. I will try it right now and edit this post once I'm done. Also, answers to your questions:

    Quote Originally Posted by MadScripter View Post
    Change in:
    Launcher.cfg:


    [Launcher]serverInfoURL = http://dadapi.nazuka.net/wz/updater/...serverinfo.xml
    ^ Where's this file?
    http://gyazo.com/272464f296afe8d7efd6186fecbd83cf.png




    UPDATER_CONFIG.cpp:

    Code:
    char GETSERVERINFO_URL[512] = "http://dadapi.nazuka.net/api/Site/api_getserverinfo.xml";
    ^ Where is it?
    http://s21.postimg.org/tuhoj684m/getserverinfo_url.jpg


    update

    Well, I'm past Login FAILED, code: 8.
    Instead I'm getting Login FAILED, code: 9
    Here is my complete 3rdlog.txt: http://gyazo.com/de797eeaa6604eaf00fd753a2629d788.png

    If you know how I can fix this, thank you, if not, thank you for helping me anyways :)

    PS. do you maybe have Skype? (if you feel comfortable giving this to me)

  6. #6
    DarKGunZ Owner WooAf is offline
    MemberRank
    Dec 2007 Join Date
    CanadaLocation
    485Posts

    Re: What am I doing wrong?

    Want a hint ? you're trying to install the API over a shared hosting on linux that don't even allow aspx, mssql etc.


    Fatal error: Call to undefined function sqlsrv_connect() in /home/u686448130/public_html/api/php/dbinfo.inc.php on line 17

    http://dadapi.nazuka.net/api/api_AccRegister.aspx


    You need a dedicated server for that or a VPS, also WarZ is using A LOT of ressource, so I suggest you to buy a dedicated server, install IIS with PHP.


    btw i'm DevCore, you are spamming my website with your server and i'm still trying to help you.
    Last edited by WooAf; 31-05-13 at 12:58 AM.

  7. #7
    Your average Dutch guy Laenoar is offline
    MemberRank
    Apr 2013 Join Date
    The NetherlandsLocation
    384Posts

    Re: What am I doing wrong?

    Quote Originally Posted by WooAf View Post
    Want a hint ? you're trying to install the API over a shared hosting on linux that don't even allow aspx, mssql etc.


    Fatal error: Call to undefined function sqlsrv_connect() in /home/u686448130/public_html/api/php/dbinfo.inc.php on line 17

    http://dadapi.nazuka.net/api/api_AccRegister.aspx


    You need a dedicated server for that or a VPS, also WarZ is using A LOT of ressource, so I suggest you to buy a dedicated server, install IIS with PHP.


    btw i'm DevCore, you are spamming my website with your server and i'm still trying to help you.
    Thanks for helping me, I appreciate it. But actually the Fatal error means it wasn't connecting to my SQL database correctly, which I fixed already. And also, I know you're DevCore, but I am banned from your website... how can I spam it?

  8. #8
    DarKGunZ Owner WooAf is offline
    MemberRank
    Dec 2007 Join Date
    CanadaLocation
    485Posts

    Re: What am I doing wrong?

    Quote Originally Posted by Laenoar View Post
    Thanks for helping me, I appreciate it. But actually the Fatal error means it wasn't connecting to my SQL database correctly, which I fixed already. And also, I know you're DevCore, but I am banned from your website... how can I spam it?
    I banned you because you wew spamming it and sending your server url in pm

    Sent from my Galaxy Nexus using Tapatalk 4 Beta

  9. #9
    Your average Dutch guy Laenoar is offline
    MemberRank
    Apr 2013 Join Date
    The NetherlandsLocation
    384Posts

    Re: What am I doing wrong?

    Quote Originally Posted by WooAf View Post
    I banned you because you wew spamming it and sending your server url in pm

    Sent from my Galaxy Nexus using Tapatalk 4 Beta
    Where's the proof? I never ever did that.

  10. #10
    DarKGunZ Owner WooAf is offline
    MemberRank
    Dec 2007 Join Date
    CanadaLocation
    485Posts

    Re: What am I doing wrong?

    I'm not here to create any drama over RZ.

    Sent from my Google Nexus

  11. #11
    Your average Dutch guy Laenoar is offline
    MemberRank
    Apr 2013 Join Date
    The NetherlandsLocation
    384Posts

    Re: What am I doing wrong?

    Quote Originally Posted by WooAf View Post
    I'm not here to create any drama over RZ.

    Sent from my Google Nexus
    Okay then, just PM me or reply on Skype :)



Advertisement