I25 Community Virtual Machines: Difference between revisions

From OuroDev
 
(39 intermediate revisions by 3 users not shown)
Line 1: Line 1:
There are two i25 virtual machines currently hosted on OuroWiki. The HyperV one is newer.
Take a look at the [[i25_FAQ|Frequently Asked Questions]] to configure your server once it's up.


Take a look at the [[i25_FAQ|Frequently Asked Questions]] to configure your server once it's up.
==i26 Self Installer==


== Freedom Virtual Machine ==
*[magnet:?xt=urn:btih:ecd8d78079184bf9067bbc663aceb41238eb12b8&dn=COH-i25p2-Self-Installer-v2.7z&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.publicbt.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.btzoo.eu%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2fexodus.desync.com%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.istole.it%3a80%2fannounce&tr=udp%3a%2f%2fcoppersurfer.tk%3a6969%2fannounce i26 Self Installer]


* Windows 10 LTSB
A version of the self installer for those who wanted i25p2 (i26), the latest version of SCoRE that we have available.
* VMWare


[magnet:?xt=urn:btih:B82416B2F87ABA9805AAECAE099B47DEBF0249E9&dn=Freedom.7z&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce Freedom Virtual Machine]
==Self installer==


<pre>
===Introduction===
[MD5]    6980039CA6E929FD8AB548733AAC8034
[SHA-1]  D99D68D8CE31694EDB8D47EAD325D3F016D0ACC6
[SHA-256] 69881CA5582AAC7D348326A6390641D698B5B9046259544078F38F305794E84B
</pre>


* Instructions: (THIS IS FOR LOCAL)
:This package has been created in response to the need for an easy to deploy version of COH server which can be set up on an existing system. This has been developed and actively tested on Server 2012r2, Server 2016 and Windows 10. The installer should work on any server version 2012 and above, and any windows Version 8 and above, it will work with 64bit operating systems only.
# Download [https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html VMWare Player]
:It is based on SCoRE i25p2
# Add the VM to VMWare Player
# Once inside of Windows on the VM
#*    - Start Menu -> start dbserver -> start launcher
#*    - Right click the Start Menu, open a command prompt, and run the following<syntaxhighlight>powercfg.exe /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c</syntaxhighlight>
# On your system, start the client from Score (Cityofheroes\score.exe -patchdir score -patchversion 2019.04.19 -db <VM IP> -noversioncheck


== Windows 2012 R2 City of Heroes HyperV Image ==
===How to install===
[[File:I25 Community Server.png|thumb]]


* Windows Server 2012 R2 Standard
:Within the COH directory you will find this ReadMe.txt file along with an InitialSetup.bat script, unzip the whole contents of the zip file into a folder on your computer. Run the InitialSetup.bat to start the installation process.
* HyperV
:
:


[magnet:?xt=urn:btih:fe43bcae764f81c4090a5ea1d0114c18e0f4411d&dn=Win%202012%20R2%20-%20City%20of%20Heroes.7z Windows 2012 R2 City of Heroes HyperV Image]
===What Initial Setup does===


This is a full deployment of the i25 server with an XAMPP instance for Tequila and several useful tools. It is based on Windows Server 2012 R2 Standard. The default login is "Administrator" and "coh123!".
:InitialSetup.bat is a script that will prepare your computer to run the COH server, it calls Script.ps1 which performs the following actions.


<pre>
#Installs SQL Local DB
[MD5] EBCBF234CCAD4D1DE84164E397B43C8D
#Installs ODBC v13 for SQL
[SHA-1] B0BECE5F11DB0ABA18AEDF509A809DAF5A74ACA0
#Installs ODBC v17 for SQL
[SHA-256] 7A10B09602A8CB3A4D3EB0705B0F14AC2DF46CA056FD98B8ECFE66D27A2CE41A
#Installs SQL command line tools
[SHA-512] 53A1F64C8496B539249F707B25EAC70AE53E84529C0450C36F6E82985725021E043D6BDC190F530B8273E5D7C14FA66F31D9AF25827DD3DC3F8F19F341F89DEF
#Installs C++ Runtimes (2015 - 2019)
</pre>
#Creates the SQL databases for COH
#Creates a default instance of COH called Ouroboros
#Adds firewall rules for the server


# Add the VM to HyperV
===After install===
## Add new Virtual Machine
## Select Next and name the Name. Click Next
## Select Generation 2 and next.
## Set memory to 8192 or higher and click next.
## Select your HyperV LAN connection and click next.
## Choose "Use Existing Virtual Hard Disk" and navigate to the supplied VHDX. Click Finish.
## Right click on the new Virtual Machine and pick settings.
## Increase the number of processors supplied to the VM to at least 4. Click Ok.
## Right click on the virtual machine and click start.
# Once inside of Windows on the VM
## Follow the ReadMe on the desktop.
## Once finished with the ReadMe. Click "Start Up The Server" on the desktop. It should start up all the required programs.
# On your system, start the client from Score (Cityofheroes\score.exe -patchdir score -patchversion 2019.04.19 -db <VM IP> -noversioncheck


* You'll need to update the database for your public IP Address:
:In the COH folder after install you will find shortcuts to:
** UPDATE cohauth.dbo.server SET ip = 'YOURPUBLICIP' WHERE ID = 1;
:;Configure_Your_Server
* You'll allso need to update C:\COH\data\server\db\servers.cfg
:This allows you to set / change the IP address and Server name for your server, by default this is set for local computer play, but this can be changed to LAN or Internet play through this menu, the default server name is Ouroboros
** RouteIp YOURPUBLICIP
:;Account_Tool
* If you're feeling frisky update C:\COH\data\server\db\loadBalanceShardSpecific.cfg
:This launches a slightly modified version of the COHDBTool10 which allows you to create accounts for your server and manage existing accounts, characters and petitions. Note: This will only work after you have loaded the server for the first time as the server builds the database this application needs.
** HostRange 192.168.1.0 192.168.1.255
:;Startup_Server
:This script launches the server without any maps pre-loaded. Users may experience a short delay on entering into a new zone for the first time as the server loads the requested map.
:;Startup_Server_All_Maps
:This script launches the server with all of the listed maps. This enables your players to zone more quickly, but uses a lot more memory in your server, recommended for systems with 32GB of RAM or more.
:;Stop_Server
:This script shuts down the server applications.
:;Client
:This script launches the client and connects it to your server.


@DarkSynopsis: COHDBTools ( https://localhost/CoHDBTool/ )
===Playing on other computers===
: Manage Shard
:: Manage Accounts
::: See Account ID / Username
::: Create New Accounts
:: Manage Characters
::: Change character owner
::: Backup character
::: Import character
::: Change character access level


@Crust Fire:
:Share the Client directory with anyone you would like to be able to connect to your server, they will need to create a shortcut to ouroboros.exe with -auth <yourip> -patchdir ouro -noversioncheck in the target path.
* MakeAccount ( https://localhost/CrustFire/MakeAccount.php )
*: Generates SQL for making accounts.
* MakeConfigs ( https://localhost/CrustFire/MakeConfigs.php )
*: Generates basic configuration files.


@Aleena:
===SQL Details===
* Account Portal
*: Allow users to sign up for their own account with custom password.
*: Users can also change their password on the portal.
*: Display current number of accounts and characters on the server.
*: Supplies client download via Tequila and custom manifest.xml
*: Displays needed command line paramter to clients.


Join us on Discord! https://discord.gg/rPvHX26
:The connection string of your DB is (LocalDB)\MSSQLLocalDB with a trusted connection.


=== Setup HyperV Virtual Switch ===
::
: Setting up a virtual switch in HyperV is pretty straight forward.
: Select "Virtual Switch Manager" and you'll have the choice to create a new virtual switch.
: Select "External" from the list and then "Create Virtual Switch".
: Set the name of this new switch to "HyperV-LAN"
: Select a network adapter from "External Networks".
:: The important part here is if the NIC is dedicated or shared on the machine.
::: If you plan to share the NIC then check "Allow management operating system to share this network adapter".
::: If you plan to dedicate a NIC to the switch then do no check "Allow management operating system to share this network adapter" and it will disappear from the host.
:: Typically if your NIC can support it you want to enable SR-IOV.
: Click OK and the window will disappear.
: Now you can pick this network in the settings of Any VM under Network Adapter -> Virtual Switch.

Latest revision as of 13:58, 12 July 2022

Take a look at the Frequently Asked Questions to configure your server once it's up.

i26 Self Installer

A version of the self installer for those who wanted i25p2 (i26), the latest version of SCoRE that we have available.

Self installer

Introduction

This package has been created in response to the need for an easy to deploy version of COH server which can be set up on an existing system. This has been developed and actively tested on Server 2012r2, Server 2016 and Windows 10. The installer should work on any server version 2012 and above, and any windows Version 8 and above, it will work with 64bit operating systems only.
It is based on SCoRE i25p2

How to install

Within the COH directory you will find this ReadMe.txt file along with an InitialSetup.bat script, unzip the whole contents of the zip file into a folder on your computer. Run the InitialSetup.bat to start the installation process.

What Initial Setup does

InitialSetup.bat is a script that will prepare your computer to run the COH server, it calls Script.ps1 which performs the following actions.
  1. Installs SQL Local DB
  2. Installs ODBC v13 for SQL
  3. Installs ODBC v17 for SQL
  4. Installs SQL command line tools
  5. Installs C++ Runtimes (2015 - 2019)
  6. Creates the SQL databases for COH
  7. Creates a default instance of COH called Ouroboros
  8. Adds firewall rules for the server

After install

In the COH folder after install you will find shortcuts to:
Configure_Your_Server
This allows you to set / change the IP address and Server name for your server, by default this is set for local computer play, but this can be changed to LAN or Internet play through this menu, the default server name is Ouroboros
Account_Tool
This launches a slightly modified version of the COHDBTool10 which allows you to create accounts for your server and manage existing accounts, characters and petitions. Note: This will only work after you have loaded the server for the first time as the server builds the database this application needs.
Startup_Server
This script launches the server without any maps pre-loaded. Users may experience a short delay on entering into a new zone for the first time as the server loads the requested map.
Startup_Server_All_Maps
This script launches the server with all of the listed maps. This enables your players to zone more quickly, but uses a lot more memory in your server, recommended for systems with 32GB of RAM or more.
Stop_Server
This script shuts down the server applications.
Client
This script launches the client and connects it to your server.

Playing on other computers

Share the Client directory with anyone you would like to be able to connect to your server, they will need to create a shortcut to ouroboros.exe with -auth <yourip> -patchdir ouro -noversioncheck in the target path.

SQL Details

The connection string of your DB is (LocalDB)\MSSQLLocalDB with a trusted connection.