Untouched Source V3 Terrain Full Pack
Update #1:
SQL small fix (you can now buy character -> price $/GC with the correct picture)
https://mega.nz/#!OFEBmJzY!aLB2bXVW7PYzEHZFGxWBbfkv_2VcEeObQ03uSblfnig
Source:
https://mega.nz/#F!3RMm2aCY!8_cRAsHRd5Uj4k4KegMGHg
TUTORIAL SETUP PRIVATE SERVER:
Antes de começar certifique-se que tem instalado o Windows Server 2008 R2 com todos os updates mais recentes e mais importantes. Altere o nome do computador para WarZ. Todas as drivers atualizadas.
Pode instalar a Source em qualquer sistema operativo sendo que o método altera entre cada um. Este vai ser para o Windows Server 2008 R2.
Até agora não tentei no Windows 10 mas no 7 funciona.
Downloads Obrigatórios:
Microsoft Visual Studio 2008 Professional Edition
Microsoft Visual Studio 2008 Professional Edition Service Pack 1
Microsoft SQL Server 2008 R2 RTM - Express with Management Tools ( 32 bit )
Microsoft SQL Server 2008 R2 RTM - Express with Management Tools ( 64 bit )
DirectX 9.0c End-User Runtime
DirectX Software Development Kit
Microsoft Web Platform Installer 5.0
WinRAR 5.10 ( 32 bit )
WinRAR 5.10 ( 64 bit )
Disable User Account Control (UAC)
1. Clique em Start -> Run
2. Escreva msconfig e clique OK
3. Selecione a tabela Tools. Selecione Change UAC Settings e pressione Launch
4. Altera as definições para never notify e clique OK
5. Pode fechar a janela System Configuration clicando OK
6. Reinicie o computador
Disable windows Firewall
1. Abra Start -> Run
2. Escreva Netsh advfirewall set all state off e clique OK
Disable Internet Explorer Enhanced Security
1. Abra o Server Manager
2. Na página principal. Selecione Configure IE ESC
3. Altere ambas as definições para Off e clique OK
Internet Information Service IIS 7
1. Abra o Server Manager e navegue até Roles
2. Clique em Add Roles.
3. Clique Next na primeira página.
4. Selecione Web Server (IIS) e Application Server.
Irá aparecer uma janela popup clique em Add Required Features.
Isto irá adicionar .NET Framework 3.5.1
5. Clique Next 4 vezes.
6. Em Select Role Services selecione os seguintes Serviços:
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. Clique Next
8. Click Install
9. Espere que a instalação termine.
10. Reinicie o computador.
Web Platform Installer
1. Abra wpilauncher.exe
2. Instale a aplicação.
3. Quando terminar a instalação o Web Platform Installer irá continuar aberto.
4. Na search box escreva php e pressione Enter
5. Dos resultados escolha o PHP 5.3.28 e click Ad
6. O Web Platform Installer irá adicionar 2 extra items na lista para instalar.
1. PHP Manager for IIS
2. Microsoft Drivers 3.0 for PHP v5.3 for SQL Server in IIS
7. Click Install
8. Aceite. E a instalação irá começar
9. Clique Finish. E pode fechar o Web Platform
10. Reinicie o computador
WinRAR 5.10
1. Abra o wrar510.exe ou winrar-x64-510.exe dependendo do seu sistema.
2. Instale.
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. Abra o SQLEXPRWT_x86_ENU.exe ou SQLEXPRWT_x64_ENU.exe dependendo do sistema.
2. O SQL Server Installation Center irá abrir.
3. Clique em New installation or add features to an existing installation
4. Clique na box I accept the license terms e clique Next
5. Clique Next
6. Altera o value em named instance para WarZ e clique Next
7. Clique Next
8. Altere o Authentication Mode para Mixed mode e insitra uma palavra pass forte para ambas as boxes em baixo e clique em next.
9. Clique next e espere até terminar a instalação.
10. Clique Close. E feche o SQL Server Installation Center
11. Reinicie o PC
12. Abra Start -> All Programs -> Microsoft SQL Server 2008 R2 -> Configuration Tools -> SQL Server Configuration Manager
13. Navegue até SQL Server Network Configuration -> Protocols for WARZ
14. Right click em TCP/IP e selecione Properties
15. Nos Protocols tab altere Enabled value para Yes
16. Em IP Addresses tab coloque todos os TCP Dynamic Ports value to blank (Apague tudo da value box).
17. Em IP Addresses tab coloque todos os TCP Port value to 1433
18. Click OK para aplicar todas as alterações.
19. Clique OK na mensagem que irá surgir a dizer que terá que reiniciar o pc.
20. Navegue até SQL Server Services. Right click em SQL Server (WARZ) e selecione restart.
21. Pode fechar o Sql Server Configuration Manager
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\
Extrair o bin para C:\WZ e o src para C:\WZ\src
Internet Information Service IIS Configuration
Antes de continuar vá a C:\inetpub\wwwroot e crie uma nova pasta com o nome api
1. Abra Start -> Administrative Tools -> Internet Information Services (IIS) Manager
2. Navegue até WARZ -> Sites e apague Default Web Site
3. Right click em Sites e selecione 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 em Site e selecione Add Virtual Directory
9. Set Alias: wz
10. Set Physical path: C:\WZ\bin\build
11. Click OK
12. Right click em api e selecione Convert to Application
13. Click OK
14. Navigate to WarZ(WARZ\Administrator)
15. Abra feature Server Certificates
16. Do menu do lado direito. Selecione Create Self-Signed Certificate..
17. Enter api para o nome do certificado e pressione OK para fechar.
18. Right click em Site e selecione Edit Bindings..
19. Click Add...
20. Set Type: https
21. Set SSL certificate: api
22. Click OK
23. Click Close
24. Click em Site e abra a feature MIME Types
25. Do menu do lado direito Select Add...
26. Set File name extension: .php
27. Set MIME type: application/x-php
28. Click OK
29. Click em Site e no menu do lado direito clique em restart
Creating user and database. Adding rights and importing tables.
1. Abra Start -> All Programs -> Microsoft SQL Server 2008 R2 -> SQL Server Management Studio
2. Login using Authentication: Windows Authentication
3. Navegue até Security -> Logins
4. Right click em Logins e selecione New Login...
5. Insira o Login name: wz_api_user
6. Selecione SQL Server authentication
7. Enter password: 123456 Confirm password: 123456
8. Unselect Enforce password policy
9. Click OK
10. Right click em Databases e selecione New Database...
11. Enter Database name: WarZ
12. Enter Owner: wz_api_user
13. Click em Options tab
14. Set Recovery model: Full
15. Click OK
16. Navegue até Databases -> WarZ
17. Right click em WarZ e selecione t New Query
18. Abra o WZ\WarZ.sql file no notepad
19. Selecione tudo e copie para o query window
20. Click F5 para executar a query.
21. Feche o SQL Server Management Studio.
Data Sources (ODBC)
1. Abra Start -> Run
2. Escreva odbcad32.exe e clique OK
3. Selecione a tab System DSN e click em Add…
4. Selecione SQL Server Native Client 10.0 e clique em Finish
5. Irá surgir uma nova janela no nome coloque WarZ. A descrição pode deixar em branco.
No Server Box escreva WarZ e clique em next.
Nota: Se o nome do computador não for WarZ. Utilize o nome que está a utilizar para o Servidor. Uma outra opção é no ServerBox colocar localhost ou 127.0.0.1
6. Escolha a opção com SQL Server authentication usando o seu Login e Password.
7. Insira Login ID: wz_api_user Password: 123456
8. Click Next
9. Selecione Change the default database to: e escolha o WarZ como valor.
10. Click Next.
11. Click Finish
12. Click Test Data Source para ver se funciona.
Note: Deve ver " TESTS COMPLETED SUCCESSFULLY! " Clique OK em todas as janelas para fechar.
Microsoft Visual Studio 2008 Professional Edition
1. Crie uma pasta chamada Visual Studio 2008
2. Extraia o VS2008ProEdition90dayTrialENUX1435622.iso para a pasta
3. Espere que termine.
4. Navegue até à pasta e clique em setup.exe
5. Instale
6. Click Next
7. Aceite as licenças e clique em next.
8. Click Install
9. Click Finish. Click Exit.
Microsoft Visual Studio 2008 SP1
1. Crie uma pasta Visual Studio 2008 SP1
2. Extraia o VS2008SP1ENUX1512962.iso para Visual Studio 2008 SP1
3. Espere que termine.
4. Navuegue até Visual Studio 2008 SP1\ vs90sp1 e abra o SPInstaller.exe
5. Click Next
6. Aceite as licenças e clique em next.
7. Click Finish. Click Exit.
Fix HackShield
1. Navegue até WZ\src\External\
2. Copie HShield para a pasta WZ\bin
3. Navegue até WZ\bin\HShield e apague os seguintes ficheiros:
1. Doc
2. Include
3. Lib
4. Sample
4. Navegue até WZ\bin\HShield\Developer e apague o ficheiro:
1. Lib
5. Navegue até WZ\bin\build
6. Abra o RSBuild.xml no. Selecione tudo e apague. Do not close the notepad.
7. Selecione o código em baixo e post it no RSBuild.xml file e Save changes.
8. Navegue até WZ\src\RSBuild\Sources
9. Abra o r3dFSBuilder.cpp com o visual studio
10. Procure o código em baixo:
11. Substitua por:
12. Salve e feche.
Altere o IP Se quiser Meter Public:
1. WZ\src\EclipseStudio\Sources\Main.cpp
Altere todos os valores 127.0.0.1 por xxx.xxx.xxx.xxx
2. WZ\src\RSUpdate\Launcher.cfg
Altere todos os valores localhost por xxx.xxx.xxx.xxx
3. WZ\src\RSUpdate\LauncherConfig.cpp
Altere todos os valores localhost e 127.0.0.1 por xxx.xxx.xxx.xxx
4. WZ\src\server\SupervisorServer.cfg
Altere todos os valores 127.0.0.1 por xxx.xxx.xxx.xxx
5. WZ\src\server\WO_GameServer\Sources\ServerMain.cpp
Altere127.0.0.1 por xxx.xxx.xxx.xxx
6. WZ\bin\SupervisorServer.cfg
Altere todos os valores 127.0.0.1 por xxx.xxx.xxx.xxx
7. WZ\bin\game.ini
Altere todos os valores 127.0.0.1 por xxx.xxx.xxx.xxx
8. WZ\bin\build\rsbuild.xml
Altere 127.0.0.1 por xxx.xxx.xxx.xxx
Note: xxx.xxx.xxx.xxx -> altere para o seu IP.
Building
1. Abra o WZ\src\RSBuild\RSBuild.sln
Selecione "Release" aguarde até a IntelliSense terminar e selecione do menu Build -> Build Solution
Espere até "Build succeeded" e feche o programa.
2. AbraWZ\src\RSUpdate\RSUpdate.sln
Selecione "Release" aguarde até a Updating IntelliSense terminar e selecione do menu Build -> Build Solution
Espere até "Build succeeded" e feche o programa.
3. Abra WZ\src\server\WarZ_Server.sln
Selecione "Debug" aguarde até a Updating IntelliSense terminar e selecione do menu Build -> Build Solution
Espere até "Build succeeded" e feche o programa.
4. Abra WZ\src\eclipsestudio\WarZ.sln
Selecione "Final" aguarde até a Updating IntelliSense terminar e selecione do menu Build -> Build Solution
Espere até "Build succeeded"
Selecione "Release" aguarde até a Updating IntelliSense terminar e selecione do menu Build -> Build Solution
Espere até "Build succeeded" e feche o programa.
5. Abra WZ\src\Scripts\WZBackend-ASP.NET\WZBackend-ASP.NET.sln
Selecione "Debug" aguarde até a Updating IntelliSense terminar e selecione do menu Build -> Build Solution
Espere até "Build succeeded"
Selecione do menu Build -> Publish Web Site
Escolha o target Location para a sua pasta api. Por exemplo a minha é C:\inetpub\wwwroot\api
Ok para executar.
Espere até "Publish succeeded" e feche o programa.
Creating bin files
1. Abra WZ\bin\RSBuild.exe espere até o exe terminar.
Pode demorar 30minutos.
2. Abra WZ\bin\build\updater\CreateUpdater.bat
Isto irá criar o WarZlauncher.exe_1.0.0.exe em WZ\bin\build\updater\
3. Copy WarZlauncher.exe_1.0.0.exe para WZ\bin
4. Copy WZ\bin\build\data\wz.xml para WZ\bin\build
5. Copy WZ\bin\build\updater\api_getserverinfo.xml para C:\inetpub\wwwroot
Running server
1. Abra WZ\bin\MasterServer.exe
2. Abra WZ\bin\SupervisorServer.exe
Testing (Apenas se não tiver em localhost)
1. Copy o WarZlauncher.exe_1.0.0.exe para outro PC e corra.
2. Registe uma conta e faça o update do launcher.
3. Play
4. Crie o jogador e veja se funciona.
(Em breve irei colocar o Update 1 e Update 2)
Créditos: FrageDev, ztimer, RageZone, WarZ Team
Apenas traduzi.
Um Pequeno Pré-Aviso a todos os jovens que vão olhar para isto e pensar. Oh meu deus vou fazer bue guita e abrir um servidor.
1) Isto precisa de trabalho e conhecimento... não é o Metin2 que é procurar armas novas e surge logo.
2) É complicado manter um servidor decente de WarZ aberto durante muito tempo devido à Team do "NewZ" ser bastante ativa no controlo de Servidores sem licença.
3) Se não sabem programar a um nível decente nem vale a pena tentar.