- Joined
- Jan 19, 2014
- Messages
- 136
- Reaction score
- 126
Yes friends of Ragezone, we are in 2020 and still people still ask me how to create a warz server, even with all the friends committed to tutorials and releases. There are still people who don't know how to install a server. So I'm making available the manuscript that I learned to install a server, and also a video in PT-BR but that is perfect for any language, just follow the steps .... Come on without further ado.
Powered by GoogleTranslate
Tutorial US-EN
Code:
[B]Credits[/B]
This tutorial is based on DNC ’s RaGEZONE Community Edition release. All the credit goes to @[B]DNC [/B]. 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.
[B]Important[/B]
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“.
[B]Main requirements:[/B]
1. Ability to read and follow instructions.
2. Not using a router.
3. Windows server 2016
[B]Note:[/B]
The game can be set up on another operating system but this tutorial show's the way its done on Windows server 2008 R2.
LINK DOWNLOAD https://drive.google.com/drive/u/2/folders/1J76nKztF88aJGUPCCROfFFr9-jw66i3t
Source files can be found here: ( Updated: 28.07.2014 )
[URL]https://mega.co.nz/#F!3RMm2aCY!8_cRAsHRd5Uj4k4KegMGHg[/URL]
[B]Server prerequisites Installation
Disable User Account Control (UAC)[/B]
1. Open [B]Start[/B] -> [B]Run[/B]
2. Type [B]msconfig[/B] and click [B]OK[/B]
3. Select [B]Tools[/B] tab. Select [B]Change UAC Settings[/B] and press [B]Launch[/B]
4. Change settings to never notify and click [B]OK[/B]
5. You may close the System Configuration window by clicking [B]OK[/B]
6. Restart the computer for the setting to apply.
[B]Disable windows Firewall[/B]
1. Open [B]Start[/B] -> [B]Run[/B]
2. Type [B]Netsh advfirewall set all state off[/B] and click [B]OK
Disable Internet Explorer Enhanced Security[/B]
1. Open Server Manager
2. On the main page. Select [B]Configure IE ESC[/B]
3. Change both settings to [B]Off [/B]and click [B]OK
Internet Information Service IIS 7[/B]
1. Open [B]Server Manager[/B] and navigate to [B]Roles[/B]
2. Click [B]Add Roles[/B]
3. Skip the first page by clicking [B]Next[/B]
4. Select Web Server (IIS) and Application Server.
In the popup window click [B]Add Required Features[/B]
This will add .NET Framework 3.5.1
5. Click [B]Next[/B] 4 times.
6. In the [B]Select Role Services[/B] you have to select only the following services:
[B]WEB Server -> Common HTTP Features[/B]
- Static Content
- Default Document
- Directory Browsing
- HTTP Errors
[B]WEB Server -> Application Development[/B]
- ASP .NET
- .NET Extensibility
- ASP
- CGI
- ISAPI Extensions
- ISAPI Filters
[B]WEB Server -> Health and Diagnostics[/B]
- HTTP Logging
- Logging Tools
- Request Monitor
- Custom Logging
[B]WEB Server -> Security[/B]
- Request Filtering
- IP and Domain Restrictions
[B]WEB Server -> Performance[/B]
- Static Content Compression
- Dynamic Content Compression
[B]Management Tools[/B]
- IIS Management Console
7. Click [B]Next[/B]
8. Click [B]Install[/B]
9. Wait until the installation process is done and click [B]Close[/B]
10. Restart the computer
[B]Web Platform Installer[/B]
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 [B]Enter[/B]
5. From the search results select [B]PHP 5.3.28[/B] and click [B]Add[/B]
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 [B]Install[/B]
8. Accept by clicking [B]I Accept[/B]. The installation process begins.
9. Click [B]Finish[/B]. Now you can close the Web Platform Installer.
10. Restart the computer
[B]WinRAR 5.10[/B]
1. Open [B]wrar510.exe[/B] or [B]winrar-x64-510.exe[/B] depending on your operating system.
2. Install the application.
[B]DirectX 9.0c End-User Runtime[/B]
1. Open [B]dxwebsetup.exe[/B] and install it.
[B]DirectX Software Development Kit[/B]
1. Open [B]DXSDK_Jun10.exe[/B] and install it.
[B]Microsoft SQL Server 2008 R2 RTM - Express with Management Tools[/B]
1. Open [B]SQLEXPRWT_x86_ENU.exe[/B] or [B]SQLEXPRWT_x64_ENU.exe[/B] depending on your operating system.
2. The [B]SQL Server Installation Center[/B] will open.
3. Click on [B]New installation or add features to an existing installation[/B]
4. Check the box [B]I accept the license terms[/B] and click [B]Next[/B]
5. Click [B]Next[/B]
6. Change the value in named instance to [B]WarZ[/B] and click [B]Next[/B]
7. Click [B]Next[/B]
8. Change Authentication Mode to Mixed mode and enter a strong password to both boxes below and click [B]Next[/B] to proceed.
9. Click [B]next[/B] and wait until the installation completes.
10. Click [B]Close[/B]. Also close the [B]SQL Server Installation Center[/B]
11. Restart the computer
12. Open [B]Start[/B] -> [B]All Programs[/B] -> [B]Microsoft SQL Server 2008 R2[/B] -> [B]Configuration Tools[/B] -> [B]SQL Server Configuration Manager[/B]
13. Navigate to SQL Server Network Configuration -> Protocols for WARZ
14. Right click on [B]TCP/IP[/B] and select [B]Properties[/B]
15. In the [B]Protocols[/B] tab change [B]Enabled[/B] value to [B]Yes[/B]
16. In the [B]IP Addresses[/B] tab set every [B]TCP Dynamic Ports[/B] value to blank (This means delete everything from the value box).
17. In the [B]IP Addresses[/B] tab set every [B]TCP Po[/B]rt value to [B]1433[/B]
18. Click [B]OK[/B] to apply changes.
19. Warning message will notify you that these changes will not take effect until you restart the service. Click [B]OK[/B] to the message
20. Navigate to [B]SQL Server Services[/B]. Right click on [B]SQL Server (WARZ) [/B]and select restart.
21. You may close Sql Server Configuration Manager
[B]Main Release
Preparing files and directories[/B]
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\
[B]Internet Information Service IIS Configuration
Note: [/B]
Before continuing go to folder [B]C:\inetpub\wwwroot[/B] and create a folder named [B]api[/B]
1. Open [B]Start [/B]-> [B]Administrative Tools[/B] -> [B]Internet Information Services (IIS) Manager[/B]
2. Navigate to [B]WARZ[/B] -> [B]Sites[/B] and delete [B]Default Web Site[/B]
3. Right click on Sites and select [B]Add Web Site...[/B]
4. Set [B]Site name:[/B] Site
5. Set [B]Application pool:[/B] DefaultAppPool
6. Set [B]Physical path:[/B] C:\inetpub\wwwroot
7. Click [B]OK[/B]
8. Right click on [B]Site[/B] and select [B]Add Virtual Directory[/B]
9. Set [B]Alias:[/B] wz
10. Set [B]Physical path:[/B] C:\WZ\bin\build
11. Click [B]OK[/B]
12. Right click on [B]api[/B] and select Convert to Application
13. Click [B]OK[/B]
14. Navigate to WarZ(WARZ\Administrator)
15. Open feature [B]Server Certificates[/B]
16. From the right side menu. Select [B]Create Self-Signed Certificate..[/B]
17. Enter [B]api[/B] as the name of the certificate and press [B]OK[/B] to close.
18. Right click on [B]Site[/B] and select [B]Edit Bindings..[/B]
19. Click [B]Add...[/B]
20. Set [B]Type:[/B] https
21. Set [B]SSL certificate:[/B] api
22. Click [B]OK[/B]
23. Click [B]Close[/B]
24. Click on [B]Site[/B] and open feature [B]MIME Types[/B]
25. From right side menu. Select [B]Add...[/B]
26. Set [B]File name extension: [/B].php
27. Set [B]MIME type:[/B] application/x-php
28. Click [B]OK[/B]
29. Click on [B]Site[/B] and from the right side menu click on [B]Restart
Creating user and database. Adding rights and importing tables.[/B]
1. Open [B]Start[/B] -> [B]All Programs[/B] -> [B]Microsoft SQL Server 2008 R2[/B] -> [B]SQL Server Management Studio[/B]
2. Login using Authentication: Windows Authentication
3. Navigate to [B]Security[/B] -> [B]Logins[/B]
4. Right click on [B]Logins[/B] and select [B]New Login...[/B]
5. Enter [B]Login name:[/B] wz_api_user
6. Select SQL Server authentication
7. Enter password: 123456 Confirm password: 123456
8. Unselect [B]Enforce password policy[/B]
9. Click [B]OK[/B]
10. Right click on [B]Databases[/B] and select [B]New Database...[/B]
11. Enter Database name: WarZ
12. Enter Owner: wz_api_user
13. Click on the [B]Options[/B] tab
14. Set Recovery model: [B]Full[/B]
15. Click [B]OK[/B]
16. Navigate to [B]Databases[/B] -> [B]WarZ[/B]
17. Right click on [B]WarZ[/B] and select [B]New Query[/B]
18. Open the WZ\WarZ.sql file in notepad
19. Select all and [B]copy[/B] and [B]paste[/B] to the query window
20. Click [B]F5 [/B]to execute the query.
21. Close SQL Server Management Studio.
[B]Note:[/B] You don’t have to save the query when asked on closing the SQL Server Management Studio.
[B]Data Sources (ODBC)[/B]
1. Open [B]Start[/B] -> [B]Run[/B]
2. Type [B]odbcad32.exe [/B]and click [B]OK[/B]
3. Select tab [B]System DSN [/B]and click on [B]Add…[/B]
4. Select [B]SQL Server Native Client 10.0[/B] and click [B]Finish[/B]
5. A new window will open. In the name box type WarZ. You can leave the description empty.
In the Server box type [B]WarZ [/B]and click [B]Next[/B] to proceed.
[B]NOTE:[/B] If your computer name [B]is not [/B]set to [B]WarZ[/B] then use the computer name that you have set to the server. The second option is to type in the Server box [B]localhost[/B] or [B]127.0.0.1[/B] as pointed out by @[I][B][URL="https://forum.ragezone.com/members/1333420647.html"]NanayaQ[/URL][/B][/I]
6. Set the option to With SQL Server authentication using a login ID and password entered by the user.
7. Enter [B]Login ID:[/B] wz_api_user [B]Password:[/B] 123456
8. Click [B]Next[/B] to proceed
9. Select Change the default database to: and select [B]WarZ[/B] as the value
10. Click [B]Next[/B] to proceed
11. Click [B]Finish[/B]
12. Click [B]Test Data Source[/B] to see if it works.
[B]Note:[/B] You should see „TESTS COMPLETED SUCCESSFULLY!“ If so you may close the window by clicking [B]OK [/B]on all the open windows untill they all close.
[B]Microsoft Visual Studio 2008 Professional Edition[/B]
1. Create a folder named [B]Visual Studio 2008[/B]
2. Extract [B]VS2008ProEdition90dayTrialENUX1435622.iso[/B] to folder [B]Visual Studio 2008[/B] using [B]Extract Here[/B]
3. Wait untill the extraction is done.
4. Navigate to the folder [B]Visual Studio 2008[/B] and open [B]setup.exe[/B]
5. Click on [U]Install Visual Studio 2008[/U]
6. Click [B]Next[/B] to proceed.
7. Accept the licence terms and click [B]Next [/B]to proceed.
8. Click [B]Install[/B] and wait for the setup to complete.
9. Click [B]Finish[/B]. Click [B]Exit[/B] to close the Visual Studio 2008 Setup
[B]Microsoft Visual Studio 2008 SP1[/B]
1. Create a folder named [B]Visual Studio 2008 SP1[/B]
2. Extract [B]VS2008SP1ENUX1512962.iso[/B] to folder [B]Visual Studio 2008 SP1[/B] using [B]Extract Here[/B]
3. Wait untill the extraction is done
4. Navigate to the folder [B]Visual Studio 2008 SP1\[/B] [B]vs90sp1[/B] and open SPInstaller.exe
5. Click [B]Next[/B] to proceed.
6. Accept the licence terms and click [B]Next [/B]to proceed.
7. Wait for the setup to complete then click [B]Finish[/B] to exit the installer.
[B]Fix HackShield[/B]
1. Navigate to WZ\src\External\
2. Copy [B]HShield[/B] 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.
[B]Changing IP addresses.[/B]
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.
[B]Building[/B]
1. Open WZ\src\RSBuild\RSBuild.sln
Select "[B]Release[/B]" Wait until Updating IntelliSense is done and select from menu [B]Build [/B]-> [B]Build Solution[/B]
Wait until "[B]Build succeeded[/B]" and close the program.
2. Open WZ\src\RSUpdate\RSUpdate.sln
Select "[B]Release[/B]" Wait until Updating IntelliSense is done and select from menu [B]Build[/B] -> [B]Build Solution[/B]
Wait until "[B]Build succeeded[/B]" and close the program.
3. Open WZ\src\server\WarZ_Server.sln
Select "[B]Debug[/B]" Wait until Updating IntelliSense is done and select from menu [B]Build[/B] -> [B]Build Solution[/B]
Wait until "[B]Build succeeded[/B]" and close the program.
4. Open WZ\src\eclipsestudio\WarZ.sln
Select "[B]Final[/B]" Wait until Updating IntelliSense is done and select from menu [B]Build[/B] -> [B]Build Solution[/B]
Wait until "[B]Build succeeded[/B]"
Select "Release" Wait until Updating IntelliSense is done and select from menu [B]Build[/B] -> [B]Build Solution[/B]
Wait until "[B]Build succeeded[/B]" and close the program.
5. Open WZ\src\Scripts\WZBackend-ASP.NET\WZBackend-ASP.NET.sln
Select "[B]Debug[/B]" Wait until Updating IntelliSense is done and select from menu [B]Build[/B] -> [B]Build Solution[/B]
Wait until "[B]Build succeeded[/B]"
Select from menu [B]Build[/B] -> [B]Publish Web Site[/B]
Set target Location to your api folder. For example mine is C:\inetpub\wwwroot\api
Press [B]OK[/B] to execute.
Wait until „[B]Publish succeeded[/B]" and close the program.
[B]Creating bin files[/B]
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
[B]Running server[/B]
1. Open WZ\bin\MasterServer.exe
2. Open WZ\bin\SupervisorServer.exe
[B]Testing[/B]
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.
LINK DOWNLOAD >>
You must be registered to see links
Tutorial audio PT-BR 2021
Last edited: