[Help] Compile WZ\scr\server\WarZ_Server.sln

Page 1 of 2 12 LastLast
Results 1 to 25 of 26
  1. #1
    Newbie Sandro Santos is offline
    MemberRank
    Jun 2014 Join Date
    9Posts

    [Help] Compile WZ\scr\server\WarZ_Server.sln

    Hello,


    I'm trying to create a warz server with DNC files.
    I follow all the steps but when I try the compilation of the file: Warz_Server.sln I got 300 errors, someone can give me a help?


    I appreciate if someone helps me.
    Last edited by DNC; 22-06-14 at 10:19 PM.


  2. #2
    Elite Member UNEXPECT is offline
    Member +Rank
    Jun 2014 Join Date
    C:/inetpubLocation
    175Posts

    Re: [HELP DNC] Compile WZ\scr\server\WarZ_Server.sln

    Do you compile as "debug"?

  3. #3
    Newbie Sandro Santos is offline
    MemberRank
    Jun 2014 Join Date
    9Posts

    Re: [HELP DNC] Compile WZ\scr\server\WarZ_Server.sln

    Yes man :C


  4. #4
    Newbie Davlik is offline
    MemberRank
    Apr 2013 Join Date
    10Posts

    Re: [HELP DNC] Compile WZ\scr\server\WarZ_Server.sln

    You got probably wrong extracted rar :) follow instructions

  5. #5
    Elite Member UNEXPECT is offline
    Member +Rank
    Jun 2014 Join Date
    C:/inetpubLocation
    175Posts

    Re: [HELP DNC] Compile WZ\scr\server\WarZ_Server.sln

    Do you have installed SP1 for Visual Studio? Are you sure that you use all updates and followed all instructions?

  6. #6
    Newbie Sandro Santos is offline
    MemberRank
    Jun 2014 Join Date
    9Posts

    Re: [HELP DNC] Compile WZ\scr\server\WarZ_Server.sln

    Yes UNEXPECT, I have SP1 for vb.
    I think yes :s

  7. #7
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: [Help] Compile WZ\scr\server\WarZ_Server.sln

    You should probably follow the instructions by @ztimer

    They are extremely detailed and the post is here:
    http://forum.ragezone.com/f791/tutor...erver-1010574/

  8. #8
    Elite Member UNEXPECT is offline
    Member +Rank
    Jun 2014 Join Date
    C:/inetpubLocation
    175Posts

    Re: [Help] Compile WZ\scr\server\WarZ_Server.sln

    "No such file or directory" It seems like you unpacked the archives wrong or so :D

    Try this:
    a) Create a folder in "C:/" called "WZ"
    b) Unpack "src.rar" so you have now: "C:/WZ/src"
    c) Unpack "External.rar" and put it in "C:/WZ/src", now you should have the direction: C:/WZ/src/external
    d) Unpack "RZCE.rar" in "C:/WZ" so now you have "C:/WZ/bin"
    e) Unpack "src_update1.rar" and override all files
    f) Unpack "src_update2.rar" and override all files again :)
    g) Now go to "C:/WZ/src/server" and open "WarZ_Server.sln" and compile it as debug :) Than it should work.

    EDIT: Sorry DNC :D I saw your post after posting :s

  9. #9
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: [Help] Compile WZ\scr\server\WarZ_Server.sln

    Don't worry about it.
    That will help get his folders situated.

    Never anything wrong with trying to help someone.
    I want you all to help each other.

    ;0)
    Keep up the sharing and caring.

  10. #10
    Elite Member UNEXPECT is offline
    Member +Rank
    Jun 2014 Join Date
    C:/inetpubLocation
    175Posts

    Re: [Help] Compile WZ\scr\server\WarZ_Server.sln

    Quote Originally Posted by DNC View Post
    Don't worry about it.
    That will help get his folders situated.

    Never anything wrong with trying to help someone.
    I want you all to help each other.

    ;0)
    Keep up the sharing and caring.
    Haha you are good man :D

  11. #11
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: [Help] Compile WZ\scr\server\WarZ_Server.sln

    English / Portuguese Instructions. (might make this easier. if my translation is no good. I apologize)

    Use the English instructions (follow along with Portuguese / keep in mind English is confirmed correct not Portuguese)


    WarZ - Infestation MMO Server Setup Instructions (ENGLISH)
    Spoiler:

    Credits
    This tutorial is based on DNC ’s RaGEZONE Community Edition release. All the credit goes to @DNC . I just made a more detailed instructions hoping he can spend more time working on improving the code and not wasting time on answering allready asked questions.

    Important
    Before you start you have to check if you have all the prerequisites necessary to set up a game server. This instruction begins after a clean installation of Windows Server 2008 R2 with all Windows Updates done, required drivers installed depending on your computer’s hardware and computer name is set to ā€žWarZā€œ.

    Main requirements:
    1. Ability to read and follow instructions.
    2. Not using a router.
    3. Windows server 2008 R2

    Note:
    The game can be set up on another operating system but this tutorial show's the way its done on Windows server 2008 R2.

    Required installation packages.
    1. Microsoft Visual Studio 2008 Professional Edition
    2. Microsoft Visual Studio 2008 Professional Edition Service Pack 1
    3. Microsoft SQL Server 2008 R2 RTM - Express with Management Tools ( 32 bit ) or ( 64 bit )
    4. DirectX 9.0c End-User Runtime
    5. DirectX Software Development Kit
    6. Microsoft Web Platform Installer 5.0
    7. WinRAR 5.10 ( 32 bit ) or ( 64 bit )

    Required source files
    1. RZCE.rar
    2. src.rar
    3. External.rar
    4. WarZ_SQL.rar
    5. Update1 -> src_Update1.rar
    6. Update2 -> src_Update2.rar
    7. WarZ_SQL_Update2.rar

    Link to source files can be found here:
    http://forum.ragezone.com/f790/relea...ition-1004759/

    Server prerequisites Installation

    Disable User Account Control (UAC)

    1. Open Start -> Run
    2. Type msconfig and click OK
    3. Select Tools tab. Select Change UAC Settings and press Launch
    4. Change settings to never notify and click OK
    5. You may close the System Configuration window by clicking OK
    6. Restart the computer for the setting to apply.

    Disable windows Firewall
    1. Open Start -> Run
    2. Type Netsh advfirewall set all state off and click OK

    Disable Internet Explorer Enhanced Security
    1. Open Server Manager
    2. On the main page. Select Configure IE ESC
    3. Change both settings to Off and click OK

    Internet Information Service IIS 7
    1. Open Server Manager and navigate to Roles
    2. Click Add Roles
    3. Skip the first page by clicking Next
    4. Select Web Server (IIS) and Application Server.
    In the popup window click Add Required Features
    This will add .NET Framework 3.5.1
    5. Click Next 4 times.
    6. In the Select Role Services you have to select only the following services:
    WEB Server -> Common HTTP Features
    - Static Content
    - Default Document
    - Directory Browsing
    - HTTP Errors
    WEB Server -> Application Development
    - ASP .NET
    - .NET Extensibility
    - ASP
    - CGI
    - ISAPI Extensions
    - ISAPI Filters
    WEB Server -> Health and Diagnostics
    - HTTP Logging
    - Logging Tools
    - Request Monitor
    - Custom Logging
    WEB Server -> Security
    - Request Filtering
    - IP and Domain Restrictions
    WEB Server -> Performance
    - Static Content Compression
    - Dynamic Content Compression
    Management Tools
    - IIS Management Console
    7. Click Next
    8. Click Install
    9. Wait until the installation process is done and click Close
    10. Restart the computer

    Web Platform Installer
    1. Open wpilauncher.exe
    2. Install the application.
    3. After the installation finishes the Web Platform Installer will stay open.
    4. In the search box type php and on the keyboard press Enter
    5. From the search results select PHP 5.3.28 and click Add
    6. The Web Platform Installer will add 2 extra items to install list
    1. PHP Manager for IIS
    2. Microsoft Drivers 3.0 for PHP v5.3 for SQL Server in IIS
    7. Click Install
    8. Accept by clicking I Accept. The installation process begins.
    9. Click Finish. Now you can close the Web Platform Installer.
    10. Restart the computer

    WinRAR 5.10
    1. Open wrar510.exe or winrar-x64-510.exe depending on your operating system.
    2. Install the application.

    DirectX 9.0c End-User Runtime
    1. Open dxwebsetup.exe and install it.

    DirectX Software Development Kit
    1. Open DXSDK_Jun10.exe and install it.

    Microsoft SQL Server 2008 R2 RTM - Express with Management Tools
    1. Open SQLEXPRWT_x86_ENU.exe or SQLEXPRWT_x64_ENU.exe depending on your operating system.
    2. The SQL Server Installation Center will open.
    3. Click on New installation or add features to an existing installation
    4. Check the box I accept the license terms and click Next
    5. Click Next
    6. Change the value in named instance to WarZ and click Next
    7. Click Next
    8. Change Authentication Mode to Mixed mode and enter a strong password to both boxes below and click Next to proceed.
    9. Click next and wait until the installation completes.
    10. Click Close. Also close the SQL Server Installation Center
    11. Restart the computer
    12. Open Start -> All Programs -> Microsoft SQL Server 2008 R2 -> Configuration Tools -> SQL Server Configuration Manager
    13. Navigate to SQL Server Network Configuration -> Protocols for WARZ
    14. Right click on TCP/IP and select Properties
    15. In the Protocols tab change Enabled value to Yes
    16. In the IP Addresses tab set every TCP Dynamic Ports value to blank (This means delete everything from the value box).
    17. In the IP Addresses tab set every TCP Port value to 1433
    18. Click OK to apply changes.
    19. Warning message will notify you that these changes will not take effect until you restart the service. Click OK to the message
    20. Navigate to SQL Server Services. Right click on SQL Server (WARZ) and select restart.
    21. You may close Sql Server Configuration Manager

    Main Release

    Preparing files and directories
    1. Create folder C:\WZ
    2. Extract bin folder from RZCE.rar WZ\
    3. Extract src.rar to WZ\src\
    4. Extract External.rar to WZ\src\
    5. Extract WarZ_SQL.rar to WZ\

    Internet Information Service IIS Configuration

    Note:
    Before continuing go to folder C:\inetpub\wwwroot and create a folder named api

    1. Opne Start -> Administrative Tools -> Internet Information Services (IIS) Manager
    2. Navigate to WARZ -> Sites and delete Default Web Site
    3. Right click on Sites and select Add Web Site...
    4. Set Site name: Site
    5. Set Application pool: DefaultAppPool
    6. Set Physical path: C:\inetpub\wwwroot
    7. Click OK
    8. Right click on Site and select Add Virtual Directory
    9. Set Alias: wz
    10. Set Physical path: C:\WZ\bin\build
    11. Click OK
    12. Right click on api and select Convert to Application
    13. Click OK
    14. Navigate to WarZ(WARZ\Administrator)
    15. Open feature Server Certificates
    16. From the right side menu. Select Create Self-Signed Certificate..
    17. Enter api as the name of the certificate and press OK to close.
    18. Right click on Site and select Edit Bindings..
    19. Click Add...
    20. Set Type: https
    21. Set SSL certificate: api
    22. Click OK
    23. Click Close
    24. Click on Site and open feature MIME Types
    25. From right side menu. Select Add...
    26. Set File name extension: .php
    27. Set MIME type: application/x-php
    28. Click OK
    29. Click on Site and from the right side menu click on Restart

    Creating user and database. Adding rights and importing tables.
    1. Open Start -> All Programs -> Microsoft SQL Server 2008 R2 -> SQL Server Management Studio
    2. Login using Authentication: Windows Authentication
    3. Navigate to Security -> Logins
    4. Right click on Logins and select New Login...
    5. Enter Login name: wz_api_user
    6. Select SQL Server authentication
    7. Enter password: 123456 Confirm password: 123456
    8. Unselect Enforce password policy
    9. Click OK
    10. Right click on Databases and select New Database...
    11. Enter Database name: WarZ
    12. Enter Owner: wz_api_user
    13. Click on the Options tab
    14. Set Recovery model: Full
    15. Click OK
    16. Navigate to Databases -> WarZ
    17. Right click on WarZ and select New Query
    18. Open the WZ\WarZ.sql file in notepad
    19. Select all and copy and paste to the query window
    20. Click F5 to execute the query.
    21. Close SQL Server Management Studio.

    Note: You don’t have to save the query when asked on closing the SQL Server Management Studio.

    Data Sources (ODBC)
    1. Open Start -> Run
    2. Type odbcad32.exe and click OK
    3. Select tab System DSN and click on Add…
    4. Select SQL Server Native Client 10.0 and click Finish
    5. A new window will open. In the name box type WarZ. You can leave the description empty.
    In the Server box type WarZ and click Next to proceed.
    6. Set the option to With SQL Server authentication using a login ID and password entered by the user.
    7. Enter Login ID: wz_api_user Password: 123456
    8. Click Next to proceed
    9. Select Change the default database to: and select WarZ as the value
    10. Click Next to proceed
    11. Click Finish
    12. Click Test Data Source to see if it works.

    Note: You should see ā€žTESTS COMPLETED SUCCESSFULLY!ā€œ If so you may close the window by clicking OK on all the open windows untill they all close.

    Microsoft Visual Studio 2008 Professional Edition
    1. Create a folder named Visual Studio 2008
    2. Extract VS2008ProEdition90dayTrialENUX1435622.iso to folder Visual Studio 2008 using Extract Here
    3. Wait untill the extraction is done.
    4. Navigate to the folder Visual Studio 2008 and open setup.exe
    5. Click on Install Visual Studio 2008
    6. Click Next to proceed.
    7. Accept the licence terms and click Next to proceed.
    8. Click Install and wait for the setup to complete.
    9. Click Finish. Click Exit to close the Visual Studio 2008 Setup

    Microsoft Visual Studio 2008 SP1
    1. Create a folder named Visual Studio 2008 SP1
    2. Extract VS2008SP1ENUX1512962.iso to folder Visual Studio 2008 SP1 using Extract Here
    3. Wait untill the extraction is done
    4. Navigate to the folder Visual Studio 2008 SP1\ vs90sp1 and open SPInstaller.exe
    5. Click Next to proceed.
    6. Accept the licence terms and click Next to proceed.
    7. Wait for the setup to complete then click Finish to exit the installer.

    Fix HackShield
    1. Navigate to WZ\src\External\
    2. Copy HShield folder to WZ\bin
    3. Navigate to WZ\bin\HShield and delete the following folders
    1. Doc
    2. Include
    3. Lib
    4. Sample
    4. Navigate to WZ\bin\HShield\Developer and delete the following folder
    1. Lib
    5. Navigate to WZ\bin\build
    6. Open RSBuild.xml in notepad. Select all and delete. Do not close the notepad.
    7. Select the code below and paste it to the open RSBuild.xml file and Save changes.

    <build>
    <output dir="build\data"/>

    <cdn url="http://127.0.0.1/wz/data/"/>

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


    <!-- include EULA file -->
    <include mask="eula-en.htm"/>
    <include mask="eula-en.rtf"/>
    <include mask="Data\LangPack\dictionary.txt"/>
    <!-- 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="game.ini"/>
    <exclude mask="reports.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="MasterServer_Rent.*"/>
    <exclude mask="RentFullDir.cfg"/>
    <exclude mask="GameServer.*"/>
    <exclude mask="SupervisorServer.*"/>
    <exclude mask="RSBuild.*"/>
    <exclude mask="RSUpdate.*"/>
    <exclude mask="Launcher.exe"/>
    <exclude mask="Launcher.exe_1.0.0.exe"/>
    <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"/>

    <!-- Dlls -->
    <exclude mask="PhysX3CharacterKinematic_x86.dll"/>
    <exclude mask="PhysX3CharacterKinematicCHECKED_x86.dll"/>
    <exclude mask="PhysX3CharacterKinematicDEBUG_x86.dll"/>
    <exclude mask="PhysX3CharacterKinematicPROFILE_x86.dll"/>
    <exclude mask="PhysX3CHECKED_x86.dll"/>
    <exclude mask="PhysX3CommonCHECKED_x86.dll"/>
    <exclude mask="PhysX3CommonDEBUG_x86.dll"/>
    <exclude mask="PhysX3CommonPROFILE_x86.dll"/>
    <exclude mask="PhysX3CookingCHECKED_x86.dll"/>
    <exclude mask="PhysX3CookingDEBUG_x86.dll"/>
    <exclude mask="PhysX3CookingPROFILE_x86.dll"/>
    <exclude mask="PhysX3DEBUG_x86.dll"/>
    <exclude mask="PhysX3GpuCHECKED_x86.dll"/>
    <exclude mask="PhysX3GpuDEBUG_x86.dll"/>
    <exclude mask="PhysX3GpuPROFILE_x86.dll"/>


    <!-- Dlls -->
    <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="PhysX3Common_x86.dll"/>
    <include mask="PhysX3Cooking_x86.dll"/>
    <include mask="PhysX3Gpu_x86.dll"/>
    <include mask="PhysX3PROFILE_x86.dll"/>
    <include mask="steam_api.dll"/>
    <include mask="VMProtectSDK32.dll"/>
    <include mask="APEX_Loader_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 for Hackshield directories -->
    <include mask="HackShield"/>
    <include mask="HShield"/>
    <include mask="*.ui"/>
    <include mask="*.aht"/>
    <include mask="*.ahc"/>
    <include mask="ahnrpt.ini"/>
    <include mask="bldinfo.ini"/>
    <include mask="Amazon.ini"/>
    <include mask="BldInfo.ini"/>
    <include mask="HSBGen.ini"/>
    <include mask="*.hsb"/>
    <include mask="*.id"/>
    <include mask="*.env"/>
    <include mask="*.mhe"/>
    <include mask="*.msd"/>
    <include mask="*.key"/>
    <include mask="*.scd"/>
    <include mask="*.uic"/>

    </build>

    8. Navigate to WZ\src\RSBuild\Sources
    9. Open r3dFSBuilder.cpp with visual studio
    10. Search for code below:

    DWORD r3dFSBuilder::DetectFileFlags(const char* fname)
    {
    if(pattern_match(fname, "*.exe") ||
    pattern_match(fname, "*.dll") ||
    pattern_match(fname, "DirectX.dll") ||
    pattern_match(fname, "d3d11x.dll") ||
    pattern_match(fname, "*.bmp") ||
    pattern_match(fname, "*.manifest") ||
    pattern_match(fname, "crashrpt*.ini"))
    {
    return r3dFS_FileEntry::FLAG_EXTRACT;
    }

    return 0;
    }



    11. Replace the whole code block with code below.

    DWORD r3dFSBuilder::DetectFileFlags(const char* fname)
    {
    if(pattern_match(fname, "*.exe") ||
    pattern_match(fname, "*.dll") ||
    pattern_match(fname, "DirectX.dll") ||
    pattern_match(fname, "d3d11x.dll") ||
    pattern_match(fname, "*.bmp") ||
    pattern_match(fname, "*.manifest") ||
    pattern_match(fname, "crashrpt*.ini") ||
    pattern_match(fname, "*.ui") ||
    pattern_match(fname, "*.aht") ||
    pattern_match(fname, "*.ahc") ||
    pattern_match(fname, "*.hsb") ||
    pattern_match(fname, "*.id") ||
    pattern_match(fname, "*.env") ||
    pattern_match(fname, "*.mhe") ||
    pattern_match(fname, "*.msd") ||
    pattern_match(fname, "*.key") ||
    pattern_match(fname, "*.scd") ||
    pattern_match(fname, "*.uic") ||
    pattern_match(fname, "ahnrpt.ini") ||
    pattern_match(fname, "bldinfo.ini") ||
    pattern_match(fname, "Amazon.ini") ||
    pattern_match(fname, "BldInfo.ini") ||
    pattern_match(fname, "HSBGen.ini")
    )
    {
    return r3dFS_FileEntry::FLAG_EXTRACT;
    }

    return 0;
    }
    12. Save changes and close the file.

    Changing IP addresses.
    1. WZ\src\EclipseStudio\Sources\Main.cpp
    Replace all records of 127.0.0.1 with xxx.xxx.xxx.xxx
    2. WZ\src\RSUpdate\Launcher.cfg
    Replace all records of localhost with xxx.xxx.xxx.xxx
    3. WZ\src\RSUpdate\LauncherConfig.cpp
    Replace all records of localhost and 127.0.0.1 with xxx.xxx.xxx.xxx
    4. WZ\src\server\SupervisorServer.cfg
    Replace all records of 127.0.0.1 with xxx.xxx.xxx.xxx
    5. WZ\src\server\WO_GameServer\Sources\ServerMain.cpp
    Change 127.0.0.1 to xxx.xxx.xxx.xxx
    6. WZ\bin\SupervisorServer.cfg
    Replace all records of 127.0.0.1 with xxx.xxx.xxx.xxx
    7. WZ\bin\game.ini
    Replace all records of 127.0.0.1 with xxx.xxx.xxx.xxx
    8. WZ\bin\build\rsbuild.xml
    Change 127.0.0.1 to xxx.xxx.xxx.xxx

    Note xxx.xxx.xxx.xxx -> to be replaced with actual IP address. Only if you plan on using the server as a public server.

    Building
    1. Open WZ\src\RSBuild\RSBuild.sln
    Select "Release" Wait until Updating IntelliSense is done and select from menu Build -> Build Solution
    Wait until "Build succeeded" and close the program.

    2. Open WZ\src\RSUpdate\RSUpdate.sln
    Select "Release" Wait until Updating IntelliSense is done and select from menu Build -> Build Solution
    Wait until "Build succeeded" and close the program.

    3. Open WZ\src\server\WarZ_Server.sln
    Select "Debug" Wait until Updating IntelliSense is done and select from menu Build -> Build Solution
    Wait until "Build succeeded" and close the program.

    4. Open WZ\src\eclipsestudio\WarZ.sln
    Select "Final" Wait until Updating IntelliSense is done and select from menu Build -> Build Solution
    Wait until "Build succeeded"
    Select "Release" Wait until Updating IntelliSense is done and select from menu Build -> Build Solution
    Wait until "Build succeeded" and close the program.

    5. Open WZ\src\Scripts\WZBackend-ASP.NET\WZBackend-ASP.NET.sln
    Select "Debug" Wait until Updating IntelliSense is done and select from menu Build -> Build Solution
    Wait until "Build succeeded"
    Select from menu Build -> Publish Web Site
    Set target Location to your api folder. For example mine is C:\inetpub\wwwroot\api
    Press OK to execute.
    Wait until ā€žPublish succeeded" and close the program.

    Creating bin files
    1. Open WZ\bin\RSBuild.exe and wait until the exe closes.
    It might take up to 30 minutes. Depending on the hardware and disk type.
    2. Open WZ\bin\build\updater\CreateUpdater.bat
    This will create WarZlauncher.exe_1.0.0.exe to WZ\bin\build\updater\
    3. Copy WarZlauncher.exe_1.0.0.exe to WZ\bin
    4. Copy WZ\bin\build\data\wz.xml to WZ\bin\build
    5. Copy WZ\bin\build\updater\api_getserverinfo.xml to C:\inetpub\wwwroot

    Running server
    1. Open WZ\bin\MasterServer.exe
    2. Open WZ\bin\SupervisorServer.exe

    Testing
    1. Copy the WarZlauncher.exe_1.0.0.exe to another computer to a folder and run it.
    2. Register account and wait until the updater downloads all the files.
    3. Start by pressing Play.
    4. Create a player and join the server to test if everything is working.

    UPDATE1

    Before updating close MasterServer.exe and SupervisorServer.exe if they are running.
    Also close all other open files that might require replacing by the updating.

    Preparing files and directories
    1. Extract src folder inside src_Update1.rar to C:\WZ replacing all the files and folders in WZ\src

    Building
    1. Open WZ\src\RSBuild\RSBuild.sln
    Select "Release" Wait until Updating IntelliSense is done and select from menu Build -> Rebuild Solution
    Wait until "Rebuild All succeeded" and close the program.

    2. Open WZ\src\RSUpdate\RSUpdate.sln
    Select "Release" Wait until Updating IntelliSense is done and select from menu Build -> Rebuild Solution
    Wait until "Rebuild All succeeded" and close the program.

    3. Open WZ\src\server\WarZ_Server.sln
    Select "Debug" Wait until Updating IntelliSense is done and select from menu Build -> Rebuild Solution
    Wait until "Rebuild All succeeded" and close the program.

    4. Open WZ\src\eclipsestudio\WarZ.sln
    Select "Final" Wait until Updating IntelliSense is done and select from menu Build -> Rebuild Solution
    Wait until "Rebuild All succeeded"
    Select "Release" Wait until Updating IntelliSense is done and select from menu Build -> Rebuild Solution
    Wait until "Rebuild All succeeded" and close the program.

    5. Open WZ\src\Scripts\WZBackend-ASP.NET\WZBackend-ASP.NET.sln
    Select "Debug" Wait until Updating IntelliSense is done and select from menu Build -> Rebuild Solution
    Wait until "Rebuild All succeeded"
    Select from menu Build -> Publish Web Site
    Set target Location to your api folder. For example mine is C:\inetpub\wwwroot\api
    Press OK to execute.

    Note:
    Application will ask your permission to delete the existing files in the api directory. Agree to it by selecting ā€žYesā€œ

    Wait until ā€žPublish succeeded" and close the program.

    Recreating .bin files
    1. Delete all .bin files in directory WZ\bin\build\data
    2. Open WZ\bin\RSBuild.exe and wait until the exe closes.
    It might take up to 30 minutes. Depending on the hardware and disk type.
    3. Open folder WZ\bin\build\updater\ and delete the file WarZlauncher.exe_1.0.0.exe
    4. Open folder WZ\bin and delete the file WarZlauncher.exe_1.0.0.exe
    5. Open WZ\bin\build\updater\CreateUpdater.bat
    This will create WarZlauncher.exe_1.0.0.exe to WZ\bin\build\updater\
    6. Copy WarZlauncher.exe_1.0.0.exe to WZ\bin replacing the old one
    7. Copy WZ\bin\build\data\wz.xml to WZ\bin\build replacing the old one

    Running server
    1. Open WZ\bin\MasterServer.exe
    2. Open WZ\bin\SupervisorServer.exe

    Testing
    1. Copy the new WarZlauncher.exe_1.0.0.exe to another computer to a new folder and run it.
    2. Login with your account and wait until the updater downloads all the files.
    3. Start by pressing Play.
    4. Test if everything is working.

    UPDATE2

    Before updating close MasterServer.exe and SupervisorServer.exe if they are running.
    Also close all other open files that might require replacing by the updating.

    Preparing files and directories
    1. Extract src folder inside src_Update2.rar to ā€žDesktopā€œ
    2. Select properties on the extracted folder and uncheck Read-only and apply.
    3. Copy the folder src from Desktop to WZ\ replacing all files and folders inside
    4. Extract WarZ.sql from WarZ_SQL_Update2.rar to WZ\ replacing the old WarZ.sql file

    Changing IP addresses.
    1. WZ\src\EclipseStudio\Sources\Main.cpp
    replace all records of 127.0.0.1 with xxx.xxx.xxx.xxx

    Note: xxx.xxx.xxx.xxx -> to be replaced with actual IP address. Only if you plan on using the server as a public server.

    Recreating database. Adding rights and importing tables.
    1. Open Start -> All Programs -> Microsoft SQL Server 2008 R2 -> SQL Server Management Studio
    2. Login using Authentication: Windows Authentication
    3. Select database named WarZ and delete it.
    4. Create a new database called WarZ selecting Owner wz_api_user
    5. Change Recovery model to Full at Options and hit "OK"
    6. Select database WarZ and "New Query"
    7. Select all from WZ\WarZ.sql opened in notepad and paste to the query and hit execute.
    Note:
    You will see some error messages like ā€žCannot drop the table 'dbo.********', because it does not exist or you do not have permissionā€œ. This is ok as the query is trying to drop the existing tables before creating them but as we just deleted everything then there is nothing to drop.
    8. Close SQL Server Management Studio.

    Note: You don’t have to save the query when asked on closing the SQL Server Management Studio.

    Building
    1. Open WZ\src\RSBuild\RSBuild.sln
    Select "Release" Wait until Updating IntelliSense is done and select from menu Build -> Rebuild Solution
    Wait until "Rebuild All succeeded" and close the program.

    2. Open WZ\src\RSUpdate\RSUpdate.sln
    Select "Release" Wait until Updating IntelliSense is done and select from menu Build -> Rebuild Solution
    Wait until "Rebuild All succeeded" and close the program.

    3. Open WZ\src\server\WarZ_Server.sln
    Select "Debug" Wait until Updating IntelliSense is done and select from menu Build -> Rebuild Solution
    Wait until "Rebuild All succeeded" and close the program.

    4. Open WZ\src\eclipsestudio\WarZ.sln
    Select "Final" Wait until Updating IntelliSense is done and select from menu Build -> Rebuild Solution
    Wait until "Rebuild All succeeded"
    Select "Release" Wait until Updating IntelliSense is done and select from menu Build -> Rebuild Solution
    Wait until "Rebuild All succeeded" and close the program.

    5. Open WZ\src\Scripts\WZBackend-ASP.NET\WZBackend-ASP.NET.sln
    Select "Debug" Wait until Updating IntelliSense is done and select from menu Build -> Rebuild Solution
    Wait until "Rebuild All succeeded"
    Select from menu Build -> Publish Web Site
    Set target Location to your api folder. For example mine is C:\inetpub\wwwroot\api
    Press OK to execute.

    Note:
    Application will ask your permission to delete the existing files in the api directory. Agree to it by selecting ā€žYesā€œ

    Wait until ā€žPublish succeeded" and close the program.

    Recreating .bin files
    1. Delete all .bin files in directory WZ\bin\build\data
    2. Open WZ\bin\RSBuild.exe and wait until the exe closes.
    It might take up to 30 minutes. Depending on the hardware and disk type.
    3. Open folder WZ\bin\build\updater\ and delete the file WarZlauncher.exe_1.0.0.exe
    4. Open folder WZ\bin and delete the file WarZlauncher.exe_1.0.0.exe
    5. Open WZ\bin\build\updater\CreateUpdater.bat
    This will create WarZlauncher.exe_1.0.0.exe to WZ\bin\build\updater\
    6. Copy WarZlauncher.exe_1.0.0.exe to WZ\bin replacing the old one
    7. Copy WZ\bin\build\data\wz.xml to WZ\bin\build replacing the old one

    Running server
    1. Open WZ\bin\MasterServer.exe
    2. Open WZ\bin\SupervisorServer.exe

    Testing
    1. Copy the new WarZlauncher.exe_1.0.0.exe to another computer to a new folder and run it.
    2. Register account and wait until the updater downloads all the files.
    3. Start by pressing Play.
    4. Create a player and join the server to test if everything is working.


    I will update this post if another update comes out.!!!


    ā€ƒ
    WarZ - instruções de configuração de servidor MMO de infestação (PORTUGUESE)
    Spoiler:

    CrƩditos
    Este tutorial é baseado na versão do RaGEZONE Community Edition do DNC. Todo o crédito vai para @DNC. Fiz um instruções mais detalhadas, esperando que ele possa passar mais tempo trabalhando em melhorar o código e não perder tempo com allready fez perguntas a responder.
    Importante
    Antes de começar você tem que verificar se você tem todos os pré-requisitos necessÔrios para configurar um servidor de jogo. Esta instrução começa após uma instalação limpa do Windows Server 2008 R2 com todas as atualizações do Windows, feito, drivers necessÔrios instalados dependendo do hardware do seu computador e o nome do computador é definida como "WarZ".
    Principais requisitos:
    1. capacidade de ler e seguir as instruƧƵes.
    2. não usando um roteador.
    3. o Windows server 2008 R2
    Nota:
    O jogo pode ser configurado em outro sistema operacional, mas este tutorial mostrar Ć© a forma como seu feito no Windows server 2008 R2.
    Pacotes de instalação necessÔrios.
    1. Microsoft Visual Studio 2008 Professional Edition
    2. Microsoft Visual Studio 2008 Professional Edition Service Pack 1
    3. Microsoft SQL Server 2008 R2 RTM - Express with Management Tools ( 32 bit ) or ( 64 bit )
    4. DirectX 9.0c End-User Runtime
    5. DirectX Software Development Kit
    6. Microsoft Web Platform Installer 5.0
    7. WinRAR 5.10 ( 32 bit ) or ( 64 bit )
    Arquivos de origem necessƔrios
    1. RZCE.rar
    2. src.rar
    3. External.rar
    4. WarZ_SQL.rar
    5. Update1 -> src_Update1.rar
    6. Update2 -> src_Update2.rar
    7. WarZ_SQL_Update2.rar
    Link para arquivos de origem pode ser encontrado aqui:
    [URL] http://forum.ragezone.com/f790/release-ragezone-community-edition-1004759/ [/ url]
    [TAMANHO = 5]Pré-requisitos servidor instalação [/ size]
    [TAMANHO = 2]
    Desativar User Account Control (UAC) [/ size]
    1. abra Iniciar -> executar
    2. digite msconfig e clique em OK
    3. Selecione a guia ferramentas selecione Alterar configuraƧƵes do UAC e clique em lanƧamento
    4. altere as configuraƧƵes para nunca notificar e clique em OK
    5. você pode fechar a janela de configuração do sistema, clicando em OK
    6. Reinicie o computador para aplicar a configuração.
    [TAMANHO = 2]Desativar o windows Firewall
    [/ SIZE]1. abra Iniciar -> executar
    2. digite Netsh advfirewall desencadeou todo o estado e clique em OK
    [TAMANHO = 2]Desativar o Internet Explorer Enhanced Security [/ size]
    1. Abra o Gerenciador de servidor
    2. na pƔgina principal. Selecione Configure IE ESC
    3. alterar ambas as configuraƧƵes para desativado e clique em OK
    [TAMANHO = 2]ServiƧo de informaƧƵes da Internet IIS 7 [/ size]
    1. Abra o Server Manager e navegue para papƩis
    2. clique em adicionar funƧƵes
    3. ignorar a primeira pƔgina clicando em Next
    4. Selecione o servidor Web (IIS) e servidor de aplicativos.
    Na janela pop-up, clique em Adicionar recursos necessƔrios
    Isso adicionarĆ” o .NET Framework 3.5.1
    5. clique em avanƧar quatro vezes.
    6. em selecionar serviços de função, você tem que selecionar apenas os seguintes serviços:
    Servidor WEB -> recursos HTTP comuns
    -Conteúdo estÔtico
    -Documento padrão
    -Diretório navegação
    -Erros HTTP
    Servidor WEB -> desenvolvimento de aplicativos
    -ASP .NET
    -Extensibilidade .NET
    -ASP
    -CGI
    -As extensƵes ISAPI
    -Filtros ISAPI
    Servidor WEB -> Saúde e diagnóstico
    -Log HTTP
    -Ferramentas
    -Monitor pedido
    -Log personalizado
    Servidor WEB -> seguranƧa
    -Filtragem de solicitação
    -IP e restriƧƵes de domƭnio
    Servidor WEB -> desempenho
    -Compactação de conteúdo estÔtica
    -Compactação de conteúdo dinâmica
    Ferramentas de gerenciamento
    -Console de gerenciamento do IIS
    7. clique em avanƧar
    8. clique em instalar
    9. Aguarde até que o processo de instalação é feito e clique em fechar
    10. Reinicie o computador
    Web Platform Installer
    1. Abra o wpilauncher.exe
    2. Instale o aplicativo.
    3. após a conclusão da instalação o Web Platform Installer vai ficar aberto.
    4. na caixa Pesquisar tipo php e no teclado, pressione Enter
    5. a partir de resultados de pesquisa, selecione PHP 5.3.28 e clique em Adicionar
    6. o Web Platform Installer irĆ” adicionar 2 itens extras para instalar lista
    1. PHP Manager para o IIS
    2. Microsoft Drivers 3.0 para PHP v 5.3 para o SQL Server no IIS
    7. clique em instalar
    8. aceitar clicando eu aceitar. Começa o processo de instalação.
    9. clique em concluir. Agora vocĆŖ pode fechar o Web Platform Installer.
    10. Reinicie o computador
    [TAMANHO = 2]WinRAR 5.10 [/ size]
    1. Abra o wrar510.exe ou winrar-x64-510.exe dependendo do seu sistema operacional.
    2. Instale o aplicativo.
    [TAMANHO = 2]DirectX 9.0c End-User Runtime
    [/ SIZE]1. Abra o dxwebsetup.exe e instalĆ”-lo.
    [TAMANHO = 2]Kit de desenvolvimento de Software de DirectX
    [/ SIZE]1. Abra o DXSDK_Jun10.exe e instalĆ”-lo.
    [TAMANHO = 2]Microsoft SQL Server 2008 R2 RTM - Express com ferramentas de gerenciamento [/ size]
    1. Abra o SQLEXPRWT_x86_ENU.exe ou SQLEXPRWT_x64_ENU.exe dependendo do seu sistema operacional.
    2. o centro de instalação do SQL Server irÔ abrir.
    3. clique em nova instalação ou adicionar recursos a uma instalação existente
    4. Marque a caixa aceito os termos de licenƧa e clique em avanƧar
    5. clique em avanƧar
    6. Altere o valor na instância nomeada para WarZ e clique em avançar
    7. clique em avanƧar
    8. mude o modo de autenticação de modo misto e digitar uma senha forte para as duas caixas abaixo e clique em avançar para prosseguir.
    9. clique em avançar e espere até a conclusão da instalação.
    10. clique em fechar. Também perto do centro de instalação do SQL Server
    11. Reinicie o computador
    12. abra Iniciar -> todos os programas -> Microsoft SQL Server 2008 R2 -> configuração de ferramentas -> SQL Server Configuration Manager
    13. Navegue para SQL configuração de servidor de rede -> protocolos para WARZ
    14. botão direito do mouse em TCP/IP e selecione Propriedades
    15. na guia protocolos altere o valor de Enabled para Sim
    16. nos endereços IP guia definir cada valor de portas TCP dinâmicas em branco (isso significa apagar tudo da caixa de valor).
    17. nos endereƧos IP guia deverƔ cada valor de porta TCP 1433
    18. clique em OK para aplicar as alteraƧƵes.
    19. aviso irÔ notificÔ-lo que estas alterações não terão efeito até que você reiniciar o serviço. Clique em OK para a mensagem
    20. Navegue até serviços de servidor SQL. Botão direito do mouse em SQL Server (WARZ) e selecione reiniciar.
    21. vocĆŖ pode fechar o Sql Server Configuration Manager
    [TAMANHO = 5]LanƧamento principal [/ size]
    Preparação de arquivos e diretórios
    1. criar a pasta C:\WZ
    2. extrair o dobrador do escaninho de WZ\ do RZCE.rar
    3. Extraia o src.rar para WZ\src\
    4. Extraia o External.rar para WZ\src\
    5. Extraia o WarZ_SQL.rar para WZ\
    Configuração do IIS do serviço de informações de Internet
    Novex
    Antes de continuar a ir a pasta C:\inetpub\wwwroot e crie uma pasta chamada api
    1. Opne Iniciar -> Ferramentas administrativas -> Internet Information Services (IIS) Manager
    2. Navegue até WARZ -> Sites e excluir o Site da Web padrão
    3. botão direito do mouse em Sites e selecione Adicionar Site...
    4. definir nome do Site: Site
    5. Configure o pool de aplicativos: DefaultAppPool
    6. Definir caminho fĆ­sico: c:\inetpub\wwwroot.
    7. clique em OK
    8. botão direito do mouse no Site e selecione o diretório Virtual
    9. definir Alias: wz
    10. Definir caminho fĆ­sico: C:\WZ\bin\build
    11. clique em OK
    12. botão direito do mouse na api e selecione converter para aplicação
    13. clique em OK
    14. Navegue atƩ WarZ(WARZ\Administrator)
    15. Abra o recurso de servidor de certificados
    16. a partir do menu do lado direito. Selecione criar um certificado auto-assinado.
    17. digite api como o nome do certificado e prima OK para fechar.
    18. botão direito do mouse no Site e selecione Editar ligações...
    19. clique em Adicionar...
    20. definir tipo: https
    21. set certificado SSL: api
    22. clique em OK
    23. clique em fechar
    24. Clique no Site e abrir recurso tipos MIME
    25. a partir de menu do lado direito. Selecione Adicionar...
    26. definir a extensão de nome de arquivo:. php
    27. definir o tipo MIME: application/x-php
    28. clique em OK
    29. Clique no Site e no menu do lado direito clique em Restart
    Criando usuÔrio e banco de dados. Adicionando os direitos e a importação de tabelas.
    1. abra Iniciar -> todos os programas -> Microsoft SQL Server 2008 R2 -> SQL Server Management Studio
    2. login usando autenticação: autenticação do Windows
    3. Navegue atƩ seguranƧa -> Logins
    4. botão direito do mouse em Logins e selecione New Login...
    5. Digite o nome de Login: wz_api_user
    6. Selecione a autenticação do SQL Server
    7. Digite a senha: 123456 Confirmar senha: 123456
    8. Desmarque aplicar diretiva de senha
    9. clique em OK
    10. botão direito do mouse em bancos de dados e selecione o novo banco de dados...
    11. Insira o nome de banco de dados: WarZ
    12. Insira o proprietƔrio: wz_api_user
    13. Clique na guia OpƧƵes
    14. definir modelo de recuperação: completo
    15. clique em OK
    16. Navegue para bancos de dados -> WarZ
    17. clique direito sobre WarZ e selecione Nova consulta
    18. Abra o arquivo WZ\WarZ.sql no bloco de notas
    19. selecionar tudo e copiar e colar na janela de consulta
    20. clique F5 para executar a consulta.
    21. Feche o SQL Server Management Studio.
    Nota: Você não tem que salvar a consulta, quando perguntado sobre o encerramento do SQL Server Management Studio.
    Fontes de dados (ODBC)
    1. abra Iniciar -> executar
    2. digite odbcad32.exe e clique em OK
    3. Selecione a guia DSN de sistema e clique em Adicionar...
    4. Selecione SQL Server Native Client 10.0 e clique em concluir
    5. uma nova janela abrirÔ. Na caixa nome, digite WarZ. Você pode deixar a descrição vazia.
    Na caixa servidor, digite WarZ e clique em avanƧar para prosseguir.
    6. defina a opção de autenticação com o servidor SQL usando um ID de login e a senha digitada pelo usuÔrio.
    7. Digite a ID de Login: wz_api_user senha: 123456
    8. clique em avanƧar para prosseguir
    9. Selecione alterar o banco de dados padrão para: e selecione WarZ como o valor
    10. clique em avanƧar para prosseguir
    11. clique em Finish
    12. clique em fonte de dados de teste para ver se funciona.
    Nota: Você deve ver "testes concluída com êxito!" Se assim você pode fechar a janela clicando em OK em todas as janelas abertas até fecharem todas.
    Microsoft Visual Studio 2008 Professional Edition
    1. Crie uma pasta chamada Visual Studio 2008
    2. Extraia o VS2008ProEdition90dayTrialENUX1435622.iso para a pasta Visual Studio 2008 usando extrair aqui
    3. espere até que a extração é feito.
    4. Navegue atƩ a pasta Visual Studio 2008 e abra setup.exe
    5. clique em [U] instalar Visual Studio 2008 [/ u]
    6. clique em avanƧar para prosseguir.
    7. aceite os termos de licenƧa e clique em avanƧar para prosseguir.
    8. clique em instalar e aguarde a instalação concluir.
    9. clique em concluir. Clique em sair para fechar a instalação do Visual Studio 2008
    Microsoft Visual Studio 2008 SP1
    1. Crie uma pasta chamada Visual Studio 2008 SP1
    2. Extraia o VS2008SP1ENUX1512962.iso a pasta Visual Studio 2008 SP1 usando extrair aqui
    3. espere até que a extração é feito
    4. Navegue atƩ a pasta Visual Studio 2008 SP1\ vs90sp1 e abra o SPInstaller.exe
    5. clique em avanƧar para prosseguir.
    6. aceite os termos de licenƧa e clique em avanƧar para prosseguir.
    7. aguarde a instalação completa, em seguida, clique em concluir para sair do instalador.
    Corrigir o HackShield
    1. Navegue atƩ WZ\src\External\
    2. Copie a pasta włanczało para WZ\bin
    3. Navegue atƩ WZ\bin\HShield e exclua as seguintes pastas
    1. doc
    2. incluir
    3. lib
    4. amostra
    4. Navegue atƩ WZ\bin\HShield\Developer e exclua a seguinte pasta
    1. lib
    5. Navegue atƩ WZ\bin\build
    6. Abra o RSBuild.xml no bloco de notas. Selecione tudo e exclua. NĆ£o feche o bloco de notas.
    7. Selecione o código abaixo e colÔ-lo para o arquivo de RSBuild.xml aberto e salvar as alterações.
    Code:
    <build>
     <output dir="build\data"/>
     
     <cdn url="http://127.0.0.1/wz/data/"/>
    
     <!--  set base archive for incremental update  -->
     <!-- <base file="build\data\wz4119100A"/>   -->
    
    
    <!-- include EULA file -->
    <include mask="eula-en.htm"/>
    <include mask="eula-en.rtf"/>
    <include mask="Data\LangPack\dictionary.txt"/>
    <!-- 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="game.ini"/>
    <exclude mask="reports.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="MasterServer_Rent.*"/>
    <exclude mask="RentFullDir.cfg"/>
    <exclude mask="GameServer.*"/>
    <exclude mask="SupervisorServer.*"/>
    <exclude mask="RSBuild.*"/>
    <exclude mask="RSUpdate.*"/>
    <exclude mask="Launcher.exe"/>
    <exclude mask="Launcher.exe_1.0.0.exe"/>
    <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"/> 
    
    <!-- Dlls -->
    <exclude mask="PhysX3CharacterKinematic_x86.dll"/> 
    <exclude mask="PhysX3CharacterKinematicCHECKED_x86.dll"/> 
    <exclude mask="PhysX3CharacterKinematicDEBUG_x86.dll"/> 
    <exclude mask="PhysX3CharacterKinematicPROFILE_x86.dll"/> 
    <exclude mask="PhysX3CHECKED_x86.dll"/> 
    <exclude mask="PhysX3CommonCHECKED_x86.dll"/> 
    <exclude mask="PhysX3CommonDEBUG_x86.dll"/> 
    <exclude mask="PhysX3CommonPROFILE_x86.dll"/> 
    <exclude mask="PhysX3CookingCHECKED_x86.dll"/> 
    <exclude mask="PhysX3CookingDEBUG_x86.dll"/> 
    <exclude mask="PhysX3CookingPROFILE_x86.dll"/> 
    <exclude mask="PhysX3DEBUG_x86.dll"/> 
    <exclude mask="PhysX3GpuCHECKED_x86.dll"/> 
    <exclude mask="PhysX3GpuDEBUG_x86.dll"/> 
    <exclude mask="PhysX3GpuPROFILE_x86.dll"/> 
    
    
    <!-- Dlls -->
    <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="PhysX3Common_x86.dll"/>
    <include mask="PhysX3Cooking_x86.dll"/>
    <include mask="PhysX3Gpu_x86.dll"/>
    <include mask="PhysX3PROFILE_x86.dll"/>
    <include mask="steam_api.dll"/>
    <include mask="VMProtectSDK32.dll"/>
    <include mask="APEX_Loader_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 for Hackshield directories -->
    <include mask="HackShield"/>
    <include mask="HShield"/>
    <include mask="*.ui"/>
    <include mask="*.aht"/>
    <include mask="*.ahc"/>
    <include mask="ahnrpt.ini"/>
    <include mask="bldinfo.ini"/>
    <include mask="Amazon.ini"/>
    <include mask="BldInfo.ini"/>
    <include mask="HSBGen.ini"/>
    <include mask="*.hsb"/>
    <include mask="*.id"/>
    <include mask="*.env"/>
    <include mask="*.mhe"/>
    <include mask="*.msd"/>
    <include mask="*.key"/>
    <include mask="*.scd"/>
    <include mask="*.uic"/>
    
    </build>
    8. Navigate to WZ\src\RSBuild\Sources
    9. Open r3dFSBuilder.cpp with visual studio
    10. Search for code below:
    Code:
    DWORD r3dFSBuilder::DetectFileFlags(const char* fname)
    {
      if(pattern_match(fname, "*.exe") || 
         pattern_match(fname, "*.dll") || 
                     pattern_match(fname, "DirectX.dll") || 
                     pattern_match(fname, "d3d11x.dll") || 
                     pattern_match(fname, "*.bmp") || 
         pattern_match(fname, "*.manifest") || 
         pattern_match(fname, "crashrpt*.ini"))
      {
        return r3dFS_FileEntry::FLAG_EXTRACT;
      }
       
      return 0;
    }
    11. Substitua o bloco de código inteiro com o código abaixo.
    Code:
    DWORD r3dFSBuilder::DetectFileFlags(const char* fname)
    {
      if(pattern_match(fname, "*.exe") || 
         pattern_match(fname, "*.dll") || 
         pattern_match(fname, "DirectX.dll") || 
         pattern_match(fname, "d3d11x.dll") || 
         pattern_match(fname, "*.bmp") || 
         pattern_match(fname, "*.manifest") || 
         pattern_match(fname, "crashrpt*.ini") ||
         pattern_match(fname, "*.ui") ||
         pattern_match(fname, "*.aht") ||
         pattern_match(fname, "*.ahc") ||
         pattern_match(fname, "*.hsb") ||
         pattern_match(fname, "*.id") ||
         pattern_match(fname, "*.env") ||
         pattern_match(fname, "*.mhe") ||
         pattern_match(fname, "*.msd") ||
         pattern_match(fname, "*.key") ||
         pattern_match(fname, "*.scd") ||
         pattern_match(fname, "*.uic") ||
         pattern_match(fname, "ahnrpt.ini") ||
         pattern_match(fname, "bldinfo.ini") ||
         pattern_match(fname, "Amazon.ini") ||
         pattern_match(fname, "BldInfo.ini") ||
         pattern_match(fname, "HSBGen.ini")
         )
      {
        return r3dFS_FileEntry::FLAG_EXTRACT;
      }
        
      return 0;
    }
    12. Salve as alteraƧƵes e feche o arquivo.
    Alteração de endereços IP.
    1. WZ\src\EclipseStudio\Sources\Main.cpp
    Substitua todos os registros de 127.0.0.1 xxx.xxx. xxx.xxx
    2. WZ\src\RSUpdate\Launcher.cfg
    Substitua todos os registros de localhost xxx.xxx. xxx.xxx
    3. WZ\src\RSUpdate\LauncherConfig.cpp
    Substitua todos os registros de localhost, 127.0.0.1 xxx.xxx. xxx.xxx
    4. WZ\src\server\SupervisorServer.cfg
    Substitua todos os registros de 127.0.0.1 xxx.xxx. xxx.xxx
    5. WZ\src\server\WO_GameServer\Sources\ServerMain.cpp
    MudanƧa 127.0.0.1 para xxx.xxx. xxx.xxx
    6. WZ\bin\SupervisorServer.cfg
    Substitua todos os registros de 127.0.0.1 xxx.xxx. xxx.xxx
    7. WZ\bin\game.ini
    Substitua todos os registros de 127.0.0.1 xxx.xxx. xxx.xxx
    8. WZ\bin\build\rsbuild.xml
    MudanƧa 127.0.0.1 para xxx.xxx. xxx.xxx
    Nota xxx.xxx. xxx.xxx -> para ser substituído com o endereço IP real. Somente se você planeja usar o servidor como um servidor público.
    EdifĆ­cio
    1. Abra o WZ\src\RSBuild\RSBuild.sln
    Selecione "Lançamento" espera até atualização IntelliSense é feito e selecione menu Build -> Build Solution
    Espere até "Compilação foi bem-sucedida" e fechar o programa.
    2. Abra o WZ\src\RSUpdate\RSUpdate.sln
    Selecione "Lançamento" espera até atualização IntelliSense é feito e selecione menu Build -> Build Solution
    Espere até "Compilação foi bem-sucedida" e fechar o programa.
    3. Abra o WZ\src\server\WarZ_Server.sln
    Selecione "Depurar" espera até atualização IntelliSense é feito e selecione menu Build -> Build Solution
    Espere até "Compilação foi bem-sucedida" e fechar o programa.
    4. Abra o WZ\src\eclipsestudio\WarZ.sln
    Selecione "Final" espera até atualização IntelliSense é feito, e selecione do menu Build -> Build Solution
    Espere atƩ "Compilar efetuada com sucesso"
    Selecione "Lançamento" espera até atualização IntelliSense é feito e selecione menu Build -> Build Solution
    Espere até "Compilação foi bem-sucedida" e fechar o programa.
    5. Abra o WZ\src\Scripts\WZBackend-ASP.NET\WZBackend-ASP.NET.sln
    Selecione "Depurar" espera até atualização IntelliSense é feito e selecione menu Build -> Build Solution
    Espere atƩ "Compilar efetuada com sucesso"
    Selecione o menu Build -> Publish Web Site
    Conjunto alvo localização para sua pasta api. Por exemplo, o meu é C:\inetpub\wwwroot\api
    Pressione OK para executar.
    Espere atƩ "bem sucedido" e a fechar o programa.
    Criando arquivos bin
    1. Abra o WZ\bin\RSBuild.exe e esperar atƩ que o exe fecha.
    Pode levar atƩ 30 minutos. Dependendo do tipo de hardware e disco.
    2. Abra o WZ\bin\build\updater\CreateUpdater.bat
    Isto irĆ” criar WarZlauncher.exe_1.0.0.exe para WZ\bin\build\updater\
    3. Copie o WarZlauncher.exe_1.0.0.exe para WZ\bin
    4. Copie o WZ\bin\build\data\wz.xml para WZ\bin\build
    5. Copie o WZ\bin\build\updater\api_getserverinfo.xml para c:\inetpub\wwwroot.
    Servidor em execução
    1. Abra o WZ\bin\MasterServer.exe
    2. Abra o WZ\bin\SupervisorServer.exe
    Teste
    1. Copie o WarZlauncher.exe_1.0.0.exe para outro computador em uma pasta e executĆ”-lo.
    2. registrar a conta e esperar atƩ que o atualizador downloads todos os arquivos.
    3. iniciar pressionando Play.
    4. criar um jogador e entrar no servidor para testar se tudo estĆ” funcionando.
    [TAMANHO = 5]UPDATE1 [/ SIZE]
    Antes de atualizar de perto MasterServer.exe e SupervisorServer.exe, se eles estão executando.
    Feche também todos os outros arquivos abertos que podem exigir a substituição pela actualização.
    Preparação de arquivos e diretórios
    1. Extraia a pasta src dentro src_Update1.rar para substituir todos os arquivos e pastas em WZ\src C:\WZ
    EdifĆ­cio
    1. Abra o WZ\src\RSBuild\RSBuild.sln
    Selecione "Lançamento" espera até atualização IntelliSense é feito e selecione menu Build -> Rebuild Solution
    Esperar atƩ "Reconstruir tudo bem-sucedida" e fechar o programa.
    2. Abra o WZ\src\RSUpdate\RSUpdate.sln
    Selecione "Lançamento" espera até atualização IntelliSense é feito e selecione menu Build -> Rebuild Solution
    Esperar atƩ "Reconstruir tudo bem-sucedida" e fechar o programa.
    3. Abra o WZ\src\server\WarZ_Server.sln
    Selecione "Depurar" espera até atualização IntelliSense é feito e selecione menu Build -> Rebuild Solution
    Esperar atƩ "Reconstruir tudo bem-sucedida" e fechar o programa.
    4. Abra o WZ\src\eclipsestudio\WarZ.sln
    Selecione "Final" espera até atualização IntelliSense é feito, e selecione do menu Build -> Rebuild Solution
    Esperar atƩ "Reconstruir tudo bem-sucedida"
    Selecione "Lançamento" espera até atualização IntelliSense é feito e selecione menu Build -> Rebuild Solution
    Esperar atƩ "Reconstruir tudo bem-sucedida" e fechar o programa.
    5. Abra o WZ\src\Scripts\WZBackend-ASP.NET\WZBackend-ASP.NET.sln
    Selecione "Depurar" espera até atualização IntelliSense é feito e selecione menu Build -> Rebuild Solution
    Esperar atƩ "Reconstruir tudo bem-sucedida"
    Selecione o menu Build -> Publish Web Site
    Conjunto alvo localização para sua pasta api. Por exemplo, o meu é C:\inetpub\wwwroot\api
    Pressione OK para executar.
    Nota:
    Aplicativo pedirÔ sua permissão para excluir os arquivos existentes no diretório api. Concordar com isso, selecionando "Sim"
    Espere atƩ "bem sucedido" e a fechar o programa.
    Recriando arquivos. bin
    1. exclua todos os arquivos. bin no diretório WZ\bin\build\data
    2. Abra o WZ\bin\RSBuild.exe e esperar atƩ que o exe fecha.
    Pode levar atƩ 30 minutos. Dependendo do tipo de hardware e disco.
    3. Abra a pasta WZ\bin\build\updater\ e exclua o arquivo WarZlauncher.exe_1.0.0.exe
    4. Abra a pasta WZ\bin e exclua o arquivo WarZlauncher.exe_1.0.0.exe
    5. Abra o WZ\bin\build\updater\CreateUpdater.bat
    Isto irĆ” criar WarZlauncher.exe_1.0.0.exe para WZ\bin\build\updater\
    6. Copie WarZlauncher.exe_1.0.0.exe para WZ\bin, substituindo o antigo
    7. Copie WZ\bin\build\data\wz.xml para WZ\bin\build, substituindo o antigo
    Servidor em execução
    1. Abra o WZ\bin\MasterServer.exe
    2. Abra o WZ\bin\SupervisorServer.exe
    Teste
    1. Copie o novo WarZlauncher.exe_1.0.0.exe para outro computador para uma nova pasta e executĆ”-lo.
    2. faƧa o login com sua conta e espere atƩ que o atualizador downloads todos os arquivos.
    3. iniciar pressionando Play.
    4. teste se tudo estĆ” funcionando.
    [TAMANHO = 5]UPDATE2 [/ SIZE]
    Antes de atualizar de perto MasterServer.exe e SupervisorServer.exe, se eles estão executando.
    Feche também todos os outros arquivos abertos que podem exigir a substituição pela actualização.
    Preparação de arquivos e diretórios
    1. Extraia a pasta src dentro src_Update2.rar para "Desktop"
    2. selecione Propriedades na pasta extraída e desmarque a opção somente leitura e aplicar.
    3. Copie a pasta src do Desktop para substituir todos os arquivos e pastas dentro de WZ\
    4. extrair o WarZ.sql de WarZ_SQL_Update2.rar para WZ\, substituindo o arquivo antigo de WarZ.sql
    Alteração de endereços IP.
    1. WZ\src\EclipseStudio\Sources\Main.cpp
    Substitua todos os registros de 127.0.0.1 xxx.xxx. xxx.xxx
    Nota: xxx.xxx. xxx.xxx -> para ser substituído com o endereço IP real. Somente se você planeja usar o servidor como um servidor público.
    Recriar o banco de dados. Adicionando os direitos e a importação de tabelas.
    1. abra Iniciar -> todos os programas -> Microsoft SQL Server 2008 R2 -> SQL Server Management Studio
    2. login usando autenticação: autenticação do Windows
    3. Selecione o banco de dados chamado WarZ e excluĆ­-lo.
    4. criar um novo banco de dados chamado WarZ selecionando proprietƔrio wz_api_user
    5. mudança de recuperação modelo para completo em opções e clique "OK"
    6. Selecione o banco de dados WarZ e "Nova consulta"
    7. Selecione tudo de WZ\WarZ.sql aberto no bloco de notas e colar para a consulta e bateu executar.
    Nota:
    Você verÔ algumas mensagens de erro como "Não é possível descartar a tabela 'dbo.* * *', porque ele não existe ou você não tem permissão". Isso estÔ ok, pois a consulta estÔ tentando abandonar as tabelas existentes antes de criÔ-los, mas como nós só apaguei tudo então não hÔ nada para cair.
    8. Feche o SQL Server Management Studio.
    Nota: Você não tem que salvar a consulta, quando perguntado sobre o encerramento do SQL Server Management Studio.
    EdifĆ­cio
    1. Abra o WZ\src\RSBuild\RSBuild.sln
    Selecione "Lançamento" espera até atualização IntelliSense é feito e selecione menu Build -> Rebuild Solution
    Esperar atƩ "Reconstruir tudo bem-sucedida" e fechar o programa.
    2. Abra o WZ\src\RSUpdate\RSUpdate.sln
    Selecione "Lançamento" espera até atualização IntelliSense é feito e selecione menu Build -> Rebuild Solution
    Esperar atƩ "Reconstruir tudo bem-sucedida" e fechar o programa.
    3. Abra o WZ\src\server\WarZ_Server.sln
    Selecione "Depurar" espera até atualização IntelliSense é feito e selecione menu Build -> Rebuild Solution
    Esperar atƩ "Reconstruir tudo bem-sucedida" e fechar o programa.
    4. Abra o WZ\src\eclipsestudio\WarZ.sln
    Selecione "Final" espera até atualização IntelliSense é feito, e selecione do menu Build -> Rebuild Solution
    Esperar atƩ "Reconstruir tudo bem-sucedida"
    Selecione "Lançamento" espera até atualização IntelliSense é feito e selecione menu Build -> Rebuild Solution
    Esperar atƩ "Reconstruir tudo bem-sucedida" e fechar o programa.
    5. Abra o WZ\src\Scripts\WZBackend-ASP.NET\WZBackend-ASP.NET.sln
    Selecione "Depurar" espera até atualização IntelliSense é feito e selecione menu Build -> Rebuild Solution
    Esperar atƩ "Reconstruir tudo bem-sucedida"
    Selecione o menu Build -> Publish Web Site
    Conjunto alvo localização para sua pasta api. Por exemplo, o meu é C:\inetpub\wwwroot\api
    Pressione OK para executar.
    Novex
    Aplicativo pedirÔ sua permissão para excluir os arquivos existentes no diretório api. Concordar com isso, selecionando "Sim"
    Espere atƩ "bem sucedido" e a fechar o programa.
    Recriando arquivos. bin
    1. exclua todos os arquivos. bin no diretório WZ\bin\build\data
    2. Abra o WZ\bin\RSBuild.exe e esperar atƩ que o exe fecha.
    Pode levar atƩ 30 minutos. Dependendo do tipo de hardware e disco.
    3. Abra a pasta WZ\bin\build\updater\ e exclua o arquivo WarZlauncher.exe_1.0.0.exe
    4. Abra a pasta WZ\bin e exclua o arquivo WarZlauncher.exe_1.0.0.exe
    5. Abra o WZ\bin\build\updater\CreateUpdater.bat
    Isto irĆ” criar WarZlauncher.exe_1.0.0.exe para WZ\bin\build\updater\
    6. Copie WarZlauncher.exe_1.0.0.exe para WZ\bin, substituindo o antigo
    7. Copie WZ\bin\build\data\wz.xml para WZ\bin\build, substituindo o antigo
    Servidor em execução
    1. Abra o WZ\bin\MasterServer.exe
    2. Abra o WZ\bin\SupervisorServer.exe
    Teste
    1. Copie o novo WarZlauncher.exe_1.0.0.exe para outro computador para uma nova pasta e executĆ”-lo.
    2. registrar a conta e esperar atƩ que o atualizador downloads todos os arquivos.
    3. iniciar pressionando Play.
    4. criar um jogador e entrar no servidor para testar se tudo estĆ” funcionando.
    Vou atualizar este post se sai outra atualização.!!!

  12. #12
    Newbie Sandro Santos is offline
    MemberRank
    Jun 2014 Join Date
    9Posts

    Re: [Help] Compile WZ\scr\server\WarZ_Server.sln

    Im portuguese but I know some English, thank you man!
    One question, I have got windows 7 ultimate, can I open the server? What is the difference on the setup?

  13. #13
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: [Help] Compile WZ\scr\server\WarZ_Server.sln

    Win 7 ultimate is fine.
    Follow the same instructions.
    Sorry, I generally go the extra step making both languages available, if I think it may help.
    ;0)
    Cheers

    Just use the Like button, instead of thank you messages.
    Like my signature says. ;0)
    Last edited by DNC; 22-06-14 at 11:02 PM.

  14. #14
    Newbie Sandro Santos is offline
    MemberRank
    Jun 2014 Join Date
    9Posts

    Re: [Help] Compile WZ\scr\server\WarZ_Server.sln

    #RESOLVED #

    Hi again,
    I'm having problems in create launcher.
    I did all the steps but I got the error: '. \ WarZlauncher' is not recognized as an internal or external command.
    What can I do?
    Last edited by Sandro Santos; 23-06-14 at 01:20 AM.

  15. #15
    Elite Member UNEXPECT is offline
    Member +Rank
    Jun 2014 Join Date
    C:/inetpubLocation
    175Posts

    Re: [Help] Compile WZ\scr\server\WarZ_Server.sln

    Quote Originally Posted by Sandro Santos View Post
    #RESOLVED #

    Hi again,
    I'm having problems in create launcher.
    I did all the steps but I got the error: '. \ WarZlauncher' is not recognized as an internal or external command.
    What can I do?
    Is your problem now resolved? I“m not sure :D

  16. #16
    Member Alp Erdur is offline
    MemberRank
    Apr 2014 Join Date
    80Posts

    Re: [Help] Compile WZ\scr\server\WarZ_Server.sln

    @Sandro Santos

    you need to first rsupdate.sln after double click to creater.bat

  17. #17
    Newbie Sandro Santos is offline
    MemberRank
    Jun 2014 Join Date
    9Posts

    Re: [Help] Compile WZ\scr\server\WarZ_Server.sln

    Yes thank you :)
    Now I just need create database, But I'm with problems :C
    Can I use SQL Server 2012?

  18. #18
    Elite Member UNEXPECT is offline
    Member +Rank
    Jun 2014 Join Date
    C:/inetpubLocation
    175Posts

  19. #19
    Newbie Sandro Santos is offline
    MemberRank
    Jun 2014 Join Date
    9Posts

    Re: [Help] Compile WZ\scr\server\WarZ_Server.sln

    I can't install SQL Database 2008, gave me a error on registry and in framework.




  20. #20
    Elite Member UNEXPECT is offline
    Member +Rank
    Jun 2014 Join Date
    C:/inetpubLocation
    175Posts

    Re: [Help] Compile WZ\scr\server\WarZ_Server.sln

    Try this

  21. #21
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: [Help] Compile WZ\scr\server\WarZ_Server.sln

    Then you'll need to google that.
    Unfortunately, if you are not able to install SQL Server 2008 R2 Service Pack 1.
    You're not going to get the database to install successfully, so that both the database <--to--> code can communicate.
    No other versions of Visual Studio or SQL Server will work together.


    http://support.microsoft.com/kb/955404 <--- Microsoft KB article on manually uninstalling SQL Server 2008

    You also need to have ALL other versions of SQL Server Uninstalled.
    This means Express, Standard, Professional (Any and All SQL Server installs)
    .

  22. #22
    Newbie Sandro Santos is offline
    MemberRank
    Jun 2014 Join Date
    9Posts

    Re: [Help] Compile WZ\scr\server\WarZ_Server.sln

    I ll try ur solutions :)

    - - - Updated - - -

    No, I cant install :(
    I continue with the same problem on setup SQL Server 2008 R2.

  23. #23
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: [Help] Compile WZ\scr\server\WarZ_Server.sln

    Unfortunately, if you are not able to install SQL Server 2008 R2 Service Pack 1.
    You're not going to get the database to install successfully, so that both the database <--to--> code can communicate.
    No other versions of Visual Studio or SQL Server will work together.


    http://support.microsoft.com/kb/955404 <--- Microsoft KB article on manually uninstalling SQL Server 2008

    You also need to have ALL other versions of SQL Server Uninstalled.
    This means Express, Standard, Professional (Any and All SQL Server installs)
    .

    If following the above instructions still leaves you without the ability to install.
    There is nothing further that we can do to assist you.
    Without the Required Software (exact versions), there is no way you will be able to utilize this code.

  24. #24
    Newbie Sandro Santos is offline
    MemberRank
    Jun 2014 Join Date
    9Posts

    Re: [Help] Compile WZ\scr\server\WarZ_Server.sln

    #RESOLVED # -> I did all the steps but still the same.

    Now I have another problem :s




    Last edited by Sandro Santos; 24-06-14 at 12:47 AM.

  25. #25
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,493Posts

    Re: [Help] Compile WZ\scr\server\WarZ_Server.sln

    This is not WarZ / Infestation Help.
    You need to seek the Microsoft Windows Help for this.

    No one is going to walk through fixing a windows environment.

    I don't want to sound mean, but this isn't Microsoft bro. ;0)



Page 1 of 2 12 LastLast

Advertisement