Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

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

Initiate Mage
Joined
Jun 22, 2014
Messages
9
Reaction score
0
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 a moderator:
Junior Spellweaver
Joined
Jun 22, 2014
Messages
175
Reaction score
87
Re: [HELP DNC] Compile WZ\scr\server\WarZ_Server.sln

Do you compile as "debug"?
 
Upvote 0
Initiate Mage
Joined
Jun 22, 2014
Messages
9
Reaction score
0
Re: [HELP DNC] Compile WZ\scr\server\WarZ_Server.sln

Yes man :C

Sandro Santos - [Help] Compile WZ\scr\server\WarZ_Server.sln - RaGEZONE Forums
 
Upvote 0
Initiate Mage
Joined
Apr 14, 2013
Messages
10
Reaction score
1
Re: [HELP DNC] Compile WZ\scr\server\WarZ_Server.sln

You got probably wrong extracted rar :) follow instructions
 
Upvote 0
Junior Spellweaver
Joined
Jun 22, 2014
Messages
175
Reaction score
87
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?
 
Upvote 0
Initiate Mage
Joined
Jun 22, 2014
Messages
9
Reaction score
0
Re: [HELP DNC] Compile WZ\scr\server\WarZ_Server.sln

Yes UNEXPECT, I have SP1 for vb.
I think yes :s
 
Upvote 0
Junior Spellweaver
Joined
Jun 22, 2014
Messages
175
Reaction score
87
"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
 
  • Like
Reactions: DNC
Upvote 0
Junior Spellweaver
Joined
Jun 22, 2014
Messages
175
Reaction score
87
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
 
Upvote 0
Joined
Oct 28, 2011
Messages
2,465
Reaction score
1,257
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)
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.
2.
3. Microsoft SQL Server 2008 R2 RTM - Express with Management Tools ( ) or ( )
4.
5.
6.
7. WinRAR 5.10 ( ) or ( )

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/release-ragezone-community-edition-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)
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.
2.
3. Microsoft SQL Server 2008 R2 RTM - Express with Management Tools ( ) or ( )
4.
5.
6.
7. WinRAR 5.10 ( ) or ( )
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:
http://forum.ragezone.com/f790/rel... post se sai outra atualização.!!! [/spoiler]
 
Upvote 0
Initiate Mage
Joined
Jun 22, 2014
Messages
9
Reaction score
0
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?
 
Upvote 0
Joined
Oct 28, 2011
Messages
2,465
Reaction score
1,257
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:
Upvote 0
Initiate Mage
Joined
Jun 22, 2014
Messages
9
Reaction score
0
#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:
Upvote 0
Junior Spellweaver
Joined
Jun 22, 2014
Messages
175
Reaction score
87
No. Use SQL Database 2008 with SP1,SP2 & SP3.
Database:
SP1:
SP2:
SP3:
 
Upvote 0
Back
Top