[Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

Page 1 of 16 12345678911 ... LastLast
Results 1 to 25 of 377
  1. #1
    Elite Member ztimer is offline
    Member +Rank
    Jun 2014 Join Date
    EstoniaLocation
    114Posts

    [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    WarZ - Infestation MMO Server Setup Instructions

    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

    Source files can be found here: ( Updated: 28.07.2014 )
    https://mega.co.nz/#F!3RMm2aCY!8_cRAsHRd5Uj4k4KegMGHg

    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. Open 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.

    NOTE: If your computer name is not set to WarZ then use the computer name that you have set to the server. The second option is to type in the Server box localhost or 127.0.0.1 as pointed out by @NanayaQ

    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.
    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="WZ_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. Replace the whole code block with 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") ||
         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.!!!
    Last edited by ztimer; 28-07-14 at 10:40 PM. Reason: Changed source files link


  2. #2
    Newbie darragh118 is offline
    MemberRank
    Oct 2009 Join Date
    4Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    One quick question i have is i'm on IIS and when it says 12. Right click on api and select Convert to Application i do that on everything and it does not work even on application pool where it is suppose to be please help me?

  3. #3
    Elite Member ztimer is offline
    Member +Rank
    Jun 2014 Join Date
    EstoniaLocation
    114Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    @darragh118

    If you did every step as described. You must open your eyes and search for it on the screen. You will have it open.!
    api is under Sites -> Site -> api
    If you don't see it then you for some reason retracted Site tree. Please click on the + sign in front of Site

  4. #4
    Newbie darragh118 is offline
    MemberRank
    Oct 2009 Join Date
    4Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    @ztimer all i have is aspnet_client and warz once you click + on Site plus is IIS required for the server?

  5. #5
    Elite Member ztimer is offline
    Member +Rank
    Jun 2014 Join Date
    EstoniaLocation
    114Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    Thank you for pointing this out. I missed the creation of api folder. Please refresh the page. I updated the primary post to include this.

  6. #6
    Newbie darragh118 is offline
    MemberRank
    Oct 2009 Join Date
    4Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    @ztimer I had uninstalled my Windows SQL 2008 and attempted to reinstall it with the correct steps and now it continuously says that i already have the program installed and that's the only thing stopping me from continuing it please can you help?

  7. #7
    Elite Member ztimer is offline
    Member +Rank
    Jun 2014 Join Date
    EstoniaLocation
    114Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    @darragh118

    Im sorry to hear this. You are better off starting from scrach.! Do a clean windows install and follow the instructions.
    Im not going to help troubleshoot SQL installations and fixing windows for you. I mean no disrespect.

  8. #8
    Newbie leison54 is offline
    MemberRank
    Jun 2014 Join Date
    2Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    you can make a tutorial for windows 7 please?

    Thanks for this tutorial.
    Last edited by leison54; 22-06-14 at 12:05 PM.

  9. #9
    Elite Member ztimer is offline
    Member +Rank
    Jun 2014 Join Date
    EstoniaLocation
    114Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    Quote Originally Posted by leison54 View Post
    you can make a tutorial for windows 7 please?

    Thanks for this tutorial.
    To set this up on windows 7. Follow the same instructions but the main difference is the IIS installation.
    Install it from Control Panel -> Programs and features -> Turn windows features on or off. Select the same packages.
    Select also Microsoft .NET Framework 3.5.1
    Do not attempt this unless you are sure you will go trough with it and are unable to use Google as your helper.
    The source part is exactly the same.

    But the instructing you to set it up here would go off topic cause the tutorial is for server 2008 R2.

  10. #10
    Newbie leison54 is offline
    MemberRank
    Jun 2014 Join Date
    2Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    Quote Originally Posted by ztimer View Post
    To set this up on windows 7. Follow the same instructions but the main difference is the IIS installation.
    Install it from Control Panel -> Programs and features -> Turn windows features on or off. Select the same packages.
    Select also Microsoft .NET Framework 3.5.1
    Do not attempt this unless you are sure you will go trough with it and are unable to use Google as your helper.
    The source part is exactly the same.

    But the instructing you to set it up here would go off topic cause the tutorial is for server 2008 R2.
    Ok, I'll try, but if the difference is only in IIS 7 installation will not have problems.

  11. #11
    Elite Member ztimer is offline
    Member +Rank
    Jun 2014 Join Date
    EstoniaLocation
    114Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    @leison54

    Well there is also the php version that might be different and so on. I really don't remember all the packages that i used to see if i can get it working.
    Doing this and asking help, please make a new thread in the Help section not here.

    Use this video tutorials packages. Seems to work for him. The source part use the tutorial in this thread.
    http://www.youtube.com/watch?v=_prfX6_pBC0

  12. #12
    Grand Master Oosmar02 is offline
    Grand MasterRank
    Sep 2013 Join Date
    FranceLocation
    894Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    @ztimer I did everything the tutorial to fix the loot its still does not work

  13. #13
    Elite Member ztimer is offline
    Member +Rank
    Jun 2014 Join Date
    EstoniaLocation
    114Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    @Oosmar02

    I'm sure you did not do everything in the tutorial. If you did everything then you would not get this problem.
    I would recommend going to Internet Information Service IIS and navigate to Sites -> Site then open PHP Manager
    There I would suggest opening Enable or disable an extension. Look closely can you see php_sqlsrv.dll and state Enabled

    If not then:


    1. Open Web Platform Installer
    2. In the search box type Microsoft Drivers 3.0 for PHP v5.3 for SQL Server in IIS and on the keyboard press Enter
    3. From the search results select Microsoft Drivers 3.0 for PHP v5.3 for SQL Server in IIS and click Add
    4. Click Install
    5. Accept by clicking I Accept. The installation process begins.
    6. Click Finish. Now you can close the Web Platform Installer.

    Check if your problem is missing.!

  14. #14
    Newbie bankzazaos1 is offline
    MemberRank
    Jun 2014 Join Date
    14Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    Error 2 fatal error C1083: Cannot open include file: 'windows.h': No such file or directory c:\WZ\sre\eternity\include\r3dPCH.h 47 RSBuild

    Help me problem

    - - - Updated - - -

    Error 2 fatal error C1083: Cannot open include file: 'windows.h': No such file or directory c:\WZ\src\eternity\include\r3dPCH.h 47 RSBuild
    Punching me where I went wrong.

  15. #15
    Elite Member ztimer is offline
    Member +Rank
    Jun 2014 Join Date
    EstoniaLocation
    114Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    @bankzazaos1

    Hmm. should not have happened if you use the tutorial step by step and using only the source and files given here. I suppose you missed a step. Please try again. Can you give some more details on what part of the this tutorial you got stuck.

  16. #16
    Grand Master Oosmar02 is offline
    Grand MasterRank
    Sep 2013 Join Date
    FranceLocation
    894Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    Quote Originally Posted by ztimer View Post
    @Oosmar02

    I'm sure you did not do everything in the tutorial. If you did everything then you would not get this problem.
    I would recommend going to Internet Information Service IIS and navigate to Sites -> Site then open PHP Manager
    There I would suggest opening Enable or disable an extension. Look closely can you see php_sqlsrv.dll and state Enabled

    If not then:


    1. Open Web Platform Installer
    2. In the search box type Microsoft Drivers 3.0 for PHP v5.3 for SQL Server in IIS and on the keyboard press Enter
    3. From the search results select Microsoft Drivers 3.0 for PHP v5.3 for SQL Server in IIS and click Add
    4. Click Install
    5. Accept by clicking I Accept. The installation process begins.
    6. Click Finish. Now you can close the Web Platform Installer.

    Check if your problem is missing.!
    Ok is working ! THX man

  17. #17
    Newbie SmooshyCow is offline
    MemberRank
    Nov 2013 Join Date
    3Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    ./WarZLauncher is not recognized as an nternal or external command, operable progam or batch file

    CreateUpdater.bat isnt working do you know why? @ztimer

  18. #18
    Elite Member ztimer is offline
    Member +Rank
    Jun 2014 Join Date
    EstoniaLocation
    114Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    @SmooshyCow

    I assume the reason is because you did not follow the instructions here correctly. Or you have a different source and did come here to find a solution for the problem not caused by this tutorial.!

  19. #19
    Newbie SmooshyCow is offline
    MemberRank
    Nov 2013 Join Date
    3Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    firewal tz.

  20. #20
    Elite Member rollwow is offline
    Member +Rank
    Sep 2013 Join Date
    LisbonLocation
    153Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    Quote Originally Posted by ztimer View Post

    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

    2. Install the application. <- What Aplication ?

  21. #21
    Elite Member ztimer is offline
    Member +Rank
    Jun 2014 Join Date
    EstoniaLocation
    114Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    @rollwow

    Let me ref-raze it.

    1. Open wpilauncher.exe
    2. Install the application. ( The wpilauncher.exe file you just opened ).

    Hope it helps.

  22. #22
    Elite Member rollwow is offline
    Member +Rank
    Sep 2013 Join Date
    LisbonLocation
    153Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    @ztimer Sorry for this but i dont understand when you say Install the application wpilauncher.exe ... when i exec the "wpilauncher.exe" see this:


  23. #23
    Elite Member ztimer is offline
    Member +Rank
    Jun 2014 Join Date
    EstoniaLocation
    114Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    @rollwow

    Ok. Listen. The application i was talking about is the wplauncher.exe it will install itself as a Web Platform Installer. If its like this you see then its installed allready. Go ahead to nr. 4.

  24. #24
    Elite Member rollwow is offline
    Member +Rank
    Sep 2013 Join Date
    LisbonLocation
    153Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    Quote Originally Posted by ztimer View Post
    @rollwow

    Ok. Listen. The application i was talking about is the wplauncher.exe it will install itself as a Web Platform Installer. If its like this you see then its installed allready. Go ahead to nr. 4.
    OH yes omg... Sorry kkkk
    You right :\

    Thank you.

    - - - Updated - - -

    @ztimer Sorry again, but now you say to select the PHP 5.3.28 but dont exist 5.3.28
    Last edited by rollwow; 25-06-14 at 09:29 PM.

  25. #25
    Elite Member ztimer is offline
    Member +Rank
    Jun 2014 Join Date
    EstoniaLocation
    114Posts

    Re: [Tutorial] Setting up Infestation MMO server - RaGEZONE Community Edition!

    @rollwow

    Then go ahead and install PHP 5.3.19

    After this do this:

    1. In the search box type Microsoft Drivers 3.0 for PHP v5.3 for SQL Server in IIS and on the keyboard press Enter
    2. From the search results select Microsoft Drivers 3.0 for PHP v5.3 for SQL Server in IIS and click Add
    3. Click Install

    1. In the search box type PHP Manager and on the keyboard press Enter
    2. From the search results select PHP Manager and click Add
    3. Click Install

    You should be all good to proceed to next step.
    Last edited by ztimer; 26-06-14 at 12:10 AM. Reason: Corrected layout. Removed some "Bold"



Page 1 of 16 12345678911 ... LastLast

Advertisement