https://wiki.ourodev.com/api.php?action=feedcontributions&user=Methril&feedformat=atomOuroDev - User contributions [en]2024-03-29T08:26:26ZUser contributionsMediaWiki 1.41.0https://wiki.ourodev.com/index.php?title=User:Plutocracy&diff=1421User:Plutocracy2019-08-05T02:28:16Z<p>Methril: </p>
<hr />
<div>== Methril ==<br />
=== Was Here ===<br />
<br />
== Useful Snippets ==<br />
====== Change Character Archetype ======<br />
: <syntaxhighlight lang="SQL" line='line'>UPDATE [cohdb].[dbo].[Ents] SET [Class] = ARCHETYPE WHERE [Name] = 'CHARACTER'</syntaxhighlight><br />
: Replace CHARACTER with the target character's name and ARCHETYPE with any of the following:<br />
: {|<br />
<syntaxhighlight>1 Blaster<br />
2 Controller<br />
3 Defender<br />
4 Scrapper<br />
5 Tanker<br />
7076 Warshade<br />
7018 Peacebringer<br />
9198 Mastermind<br />
9200 Stalker<br />
9201 Brute<br />
9700 Dominator<br />
10929 Corruptor<br />
37071 Arachnos Soldier<br />
37072 Arachnos Widow</syntaxhighlight><br />
|}<br />
:* Note: You will NOT be able to choose primary/secondary powers on level up or respec unless you change back to your original AT.<br />
<br />
====== Move Character Between Accounts ======<br />
: {|<br />
<syntaxhighlight lang="SQL" line='line'>UPDATE [cohdb].[dbo].[Ents]<br />
SET Active = '1', AuthId='<ID>', AuthName='<Accname>'<br />
WHERE Name = '<character name>'</syntaxhighlight><br />
|}<br />
====== Set Access Level 10 (Admin) for Character ======<br />
<br />
: <syntaxhighlight lang="SQL" line='line'>UPDATE [cohdb].[dbo].[Ents] SET [AccessLevel] = 10 WHERE [Name] = 'charnamehere'</syntaxhighlight><br />
<br />
====== Adding Transient Flags to maps.db ======<br />
: Adding {{ms|Transient 1}} to zones' Containers in mabs.db allows their mapserver instances to unload, useful for solo servers or hosting with low RAM/disk space. You can easily edit every container in maps.db with the following regex.<br />
:: {|<br />
<syntaxhighlight>Find: ^.+End<br />
Replace: \tTransient 1\n$0</syntaxhighlight><br />
|}<br />
::* May cause unexpected behavior with door mission entrances.<br />
<br />
====== Disable mapserver.exe Popups ======<br />
<br />
: <syntaxhighlight>MapServerParams "-nopopup"</syntaxhighlight><br />
: in servers.cfg, line is commented out by default<br />
<br />
====== Increased EXP Rate ======<br />
: <syntaxhighlight>XPScale 2.0</syntaxhighlight><br />
: in servers.cfg, does exactly what it says on the tin</div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_turnstile_server.cfg&diff=1086I25 turnstile server.cfg2019-05-22T00:56:41Z<p>Methril: </p>
<hr />
<div><pre><br />
dbserver 10.0.48.75 127.0.0.1 7000 Ouroboros 1 1<br />
</pre></div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_mission_server.cfg&diff=1085I25 mission server.cfg2019-05-22T00:55:48Z<p>Methril: </p>
<hr />
<div><pre><br />
Shard Ouroboros 10.0.48.75 WW<br />
</pre></div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_loadBalanceShardSpecific.cfg&diff=1084I25 loadBalanceShardSpecific.cfg2019-05-22T00:54:50Z<p>Methril: </p>
<hr />
<div>=== Single Launcher Setup ===<br />
<syntaxhighlight lang="text"><br />
// Server definitions<br />
// If loadBalanceShardSpecific.cfg is found, it's values override the above values<br />
// and it's servers get inserted *before* the ones in this file.<br />
// When finding the role of a server, the first server role definition that<br />
// has an IP range that matches will be used, so the defaults here will<br />
// only be used if all other roles don't match<br />
//<br />
// Example:<br />
//<br />
//ServerRole<br />
// // Host IP range<br />
// HostRange 0.0.0.0 255.255.255.255<br />
// // Or, host name:<br />
// Host qamain<br />
//<br />
// // Primary role, can be:<br />
// // Monitor - Just monitors performance, i.e. DbServer, ArenaServer, etc<br />
// // Mission - Just launches mission maps<br />
// // CityZone - Just launches static maps<br />
// // Mission CityZone - Launches any kind of map<br />
// PrimaryRole CityZone Mission<br />
//<br />
// // Secondary role, can be:<br />
// // None<br />
// // Mission - launches mission maps if all of the primary mission map servers are full<br />
// // CityZone - launches static maps if all of the primary static map servers are full<br />
// // Mission CityZone - launches maps only if the primary are full (might be useful on a QA DbServer?)<br />
// SecondaryRole None<br />
//<br />
// // Any number of Server Applications to run<br />
// // These are only valid if this is on a single host, not a range<br />
// Server<br />
// // Command to launch<br />
// Command RaidServer.exe<br />
// // Optional flag: specifies not to ever launch a new process, but just monitor<br />
// // existing ones (use this for DbServer.exe, ServerMonitor.exe)<br />
// MonitorOnly 1<br />
// End<br />
//End<br />
ServerRole<br />
HostRange 10.0.48.75<br />
PrimaryRole CityZone Mission<br />
SecondaryRole Monitor<br />
Server<br />
Command "ChatServer.exe -noreserved"<br />
End<br />
Server<br />
Command "AccountServer.exe -nolastauthor"<br />
End<br />
Server<br />
Command "auctionserver.exe"<br />
End<br />
Server<br />
Command "MissionServer.exe"<br />
End<br />
Server<br />
Command "arenaserver.exe -db 10.0.48.75"<br />
End<br />
Server<br />
Command "raidserver.exe -db 10.0.48.75"<br />
End<br />
Server<br />
Command "statserver.exe -db 10.0.48.75"<br />
End<br />
Server<br />
Command "TurnstileServer.exe"<br />
End<br />
Server<br />
Command "QueueServer.exe -db 10.0.48.75"<br />
End<br />
End<br />
</syntaxhighlight><br />
<br />
=== Multiple Launcher Setup ===<br />
<syntaxhighlight lang="text"><br />
// Server definitions<br />
// If loadBalanceShardSpecific.cfg is found, it's values override the above values<br />
// and it's servers get inserted *before* the ones in this file.<br />
// When finding the role of a server, the first server role definition that<br />
// has an IP range that matches will be used, so the defaults here will<br />
// only be used if all other roles don't match<br />
//<br />
// Example:<br />
//<br />
//ServerRole<br />
// // Host IP range<br />
// HostRange 0.0.0.0 255.255.255.255<br />
// // Or, host name:<br />
// Host qamain<br />
//<br />
// // Primary role, can be:<br />
// // Monitor - Just monitors performance, i.e. DbServer, ArenaServer, etc<br />
// // Mission - Just launches mission maps<br />
// // CityZone - Just launches static maps<br />
// // Mission CityZone - Launches any kind of map<br />
// PrimaryRole CityZone Mission<br />
//<br />
// // Secondary role, can be:<br />
// // None<br />
// // Mission - launches mission maps if all of the primary mission map servers are full<br />
// // CityZone - launches static maps if all of the primary static map servers are full<br />
// // Mission CityZone - launches maps only if the primary are full (might be useful on a QA DbServer?)<br />
// SecondaryRole None<br />
//<br />
// // Any number of Server Applications to run<br />
// // These are only valid if this is on a single host, not a range<br />
// Server<br />
// // Command to launch<br />
// Command RaidServer.exe<br />
// // Optional flag: specifies not to ever launch a new process, but just monitor<br />
// // existing ones (use this for DbServer.exe, ServerMonitor.exe)<br />
// MonitorOnly 1<br />
// End<br />
//End<br />
ServerRole<br />
HostRange 10.0.48.75<br />
PrimaryRole Monitor<br />
SecondaryRole None<br />
Server<br />
Command "ChatServer.exe -noreserved"<br />
End<br />
Server<br />
Command "AccountServer.exe -nolastauthor"<br />
End<br />
Server<br />
Command "auctionserver.exe"<br />
End<br />
Server<br />
Command "MissionServer.exe"<br />
End<br />
Server<br />
Command "arenaserver.exe -db 10.0.48.75"<br />
End<br />
Server<br />
Command "raidserver.exe -db 10.0.48.75"<br />
End<br />
Server<br />
Command "statserver.exe -db 10.0.48.75"<br />
End<br />
Server<br />
Command "TurnstileServer.exe"<br />
End<br />
Server<br />
Command "QueueServer.exe -db 10.0.48.75"<br />
End<br />
End<br />
ServerRole<br />
HostRange 10.0.48.72<br />
PrimaryRole CityZone Mission<br />
SecondaryRole None<br />
Server<br />
Command "mapserver.exe -db 10.0.48.75 -tsr2 -tsrdbconnect"<br />
End<br />
End<br />
ServerRole<br />
HostRange 10.0.48.73<br />
PrimaryRole CityZone Mission<br />
SecondaryRole None<br />
Server<br />
Command "mapserver.exe -db 10.0.48.75 -tsr2 -tsrdbconnect"<br />
End<br />
End<br />
ServerRole<br />
HostRange 10.0.48.74<br />
PrimaryRole CityZone Mission<br />
SecondaryRole None<br />
Server<br />
Command "mapserver.exe -db 10.0.48.75 -tsr2 -tsrdbconnect"<br />
End<br />
End<br />
</syntaxhighlight></div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_loadBalanceDefault.cfg&diff=1083I25 loadBalanceDefault.cfg2019-05-22T00:52:57Z<p>Methril: </p>
<hr />
<div><syntaxhighlight lang="text"><br />
// Load Balancing Default Configuration<br />
<br />
// The configuration values in this file control how the dbserver<br />
// tries to balance workload amongst the various host machines<br />
// made available to it through launcher connections.<br />
// <br />
// The dbserver uses these settings in conjunction with metrics<br />
// on host utilization and status supplied by the launchers to<br />
// make decisions on where to best launch server processes such<br />
// as mission maps and static zones.<br />
//<br />
// The load balancing settings presented here should reflect the<br />
// provisioning of the launcher host machine and its environment;<br />
// e.g., network capacity, cpu cores, available virtual memory, disk speed etc.<br />
//<br />
// The primary goal of the load balancing is to insure survivability<br />
// of the service and host stability. These settings, in conjunction with<br />
// servers.cfg settings, can be used to setup an occupancy limits on<br />
// host machine resources. When those limits are exceeded the service will <br />
// suspend using individual hosts and even enter a system wide overload<br />
// protection mode.<br />
//<br />
// The secondary goal is to provide adequate Quality of Service (QoS)<br />
// to the players by distributing load to make the service sufficiently<br />
// responsive. <br />
//<br />
// The Live environment consists of pool of host machines that are<br />
// shared by all the dbservers. Load balancing is more challenging<br />
// in this scenario as an individual dbserver is unaware of the<br />
// impact of the actions of the other dbservers until it receives<br />
// new status updates from mahcines in the host pool. <br />
// The quality of the status snapshot last received<br />
// on a particular host degrades as the number of dbservers sharing<br />
// that host increase and also during periods of high map launch rates.<br />
//<br />
// Thus, it is best for an individual dbserver working in this configuration<br />
// to treat its knowledge of host status as imperfect and only an approximation.<br />
// Load balancing strategies which employ some randomization can be used to<br />
// improve balancing in this situation.<br />
//<br />
// Note: the most important configuration values are listed first<br />
<br />
<br />
// A load balancing "mode" is set by selecting a balancing strategy and<br />
// an associated heuristic for the strategy to use if applicable.<br />
//<br />
// Supported Strategies:<br />
//<br />
// Sequential - balance by round robin assignment to the set of available launchers<br />
// Random - balance by randomly choosing amongst available launchers<br />
// RandomChoice - balance by randomly choosing a set of launchers and selecting the one with minimum heuristic<br />
// Search - balance by walking the set of launchers and selecting the one with minimum heuristic<br />
//<br />
// Supported Heuristics:<br />
//<br />
// Utilization - a measure of host machine resource utilization (i.e., cpu, etc)<br />
// TotalOccupancy - total hosted server count<br />
// TypeOccupancy - total hosted server count of a given type (e.g., static or mission)<br />
//<br />
// It is useful to customize the load balancing strategy employed<br />
// according to the type of role a new server process will play.<br />
// Mission maps and bases are inherently transient and usually service<br />
// a small number of players. On the other hand static map zone<br />
// instances can persist indefinitely and can grow to service<br />
// a large number of players.<br />
<br />
BalanceModeZone Sequential<br />
BalanceModeMission RandomChoice Utilization<br />
<br />
// Maximum number of maps we allow to start on a given machine. <br />
// Once this limit is reached the host will be suspended and no more<br />
// launches will be permitted.<br />
// The limit applies to the combined static and mission maps counts,<br />
// including maps that are starting up.<br />
// A value of zero disables this check.<br />
MaxMapservers 400<br />
<br />
// If the amount of virtual memory available to commit (in MB) on the host<br />
// drops below this value the host will be suspended from launching.<br />
// For system stability a generous amount of virtual memory should be available at all times.<br />
// A value of zero disables this check.<br />
MinAvailVirtualMemory 3000 // set to 0 for internal use, but production servers should set to something real like 3000<br />
<br />
// Maximum host utilization estimate allowed on a host before it is suspended<br />
// from launching any more server processes.<br />
// Individual launcher host utilization is calculated from host performance<br />
// metrics and influenced by settings which follow.<br />
// In general the goal is have a host load of 100 represent that the host<br />
// is humming along at capacity doing 100% useful work.<br />
// However, the host load can be such that it is actually overloaded and the<br />
// host is spending resources paging and servicing too many processes.<br />
// In this case the host utilization values will climb up over 100.<br />
// Host utilization should generally be in the 0 - 200% range.<br />
// See confluence documentation for more details on the calculation<br />
// of this value and guidelines for setting an appropriate maximum.<br />
// A value of 0 disables this form of capacity suspension.<br />
MaxHostUtilization 0<br />
<br />
// Defines a range of hard fault pages per second that is used to<br />
// map the current paging rate to a percentage which is then added<br />
// to host utilization. This updates utilization when the system<br />
// is busy paging instead of doing real work. Hard faults will<br />
// generally occur as new maps load data and will increase significantly<br />
// once physical memory is exhausted and there are active processes<br />
// that need to have pages swapped into their working sets to operate.<br />
PagingLoadLow 200<br />
PagingLoadHigh 30000<br />
<br />
// If the amount of available physical memory (in MB) on the host drops below<br />
// this threshold then the associated bias will be applied to the host utilization<br />
// calculation. For example, a bias of .1 implies a 10% increase in host utilization.<br />
MinAvailPhysicalMemory 1000<br />
MinAvailPhysicalMemoryBias 0.10<br />
<br />
// Amount of memory (in MB) we assume a static/zone map will take once it finishes starting<br />
StartingStaticMemBias 600<br />
<br />
// Amount of CPU (1 = 100%) we assume a static/zone map will take once it finishes starting<br />
StartingStaticCPUBias 0.30<br />
<br />
// Amount of memory (in MB) we assume a mission map will take once it finishes starting<br />
StartingMissionMemBias 150<br />
<br />
// Amount of CPU (1 = 100%) we assume a mission map will take once it finishes starting<br />
StartingMissionCPUBias 0.01<br />
<br />
// Amount of CPU (1 = 100%) to bias a server by if considering it for it's secondary role<br />
// If a secondary machine has this many more CPUs available (1.00 = 1 CPU at 100% usage)<br />
// then the secondary machine will be used instead<br />
// 0.5 is enough so that all of the initial city zones will start on these machines, and the<br />
// rest should balance nicely<br />
// @todo - deprecated, remove<br />
SecondaryRoleBias 0.5<br />
<br />
// How much CPU we add on for each static mapserver understanding that they will probably need it. In the past this was 10%. That's too high now<br />
StaticCPUBias 0<br />
<br />
// Amount of time (in seconds) a launcher is suspended if it has a large number of consecutive <br />
// crashes and/or delinks.<br />
// Launchers are also suspended if they stop responding, which gets cleared upon a DbServer restart<br />
TroubleSuspensionTime 1800<br />
</syntaxhighlight></div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_loadBalanceDefault.cfg&diff=1082I25 loadBalanceDefault.cfg2019-05-22T00:51:55Z<p>Methril: </p>
<hr />
<div><syntaxhighlight lang="text"><br />
// Load Balancing Default Configuration<br />
<br />
// The configuration values in this file control how the dbserver<br />
// tries to balance workload amongst the various host machines<br />
// made available to it through launcher connections.<br />
// <br />
// The dbserver uses these settings in conjunction with metrics<br />
// on host utilization and status supplied by the launchers to<br />
// make decisions on where to best launch server processes such<br />
// as mission maps and static zones.<br />
//<br />
// The load balancing settings presented here should reflect the<br />
// provisioning of the launcher host machine and its environment;<br />
// e.g., network capacity, cpu cores, available virtual memory, disk speed etc.<br />
//<br />
// The primary goal of the load balancing is to insure survivability<br />
// of the service and host stability. These settings, in conjunction with<br />
// servers.cfg settings, can be used to setup an occupancy limits on<br />
// host machine resources. When those limits are exceeded the service will <br />
// suspend using individual hosts and even enter a system wide overload<br />
// protection mode.<br />
//<br />
// The secondary goal is to provide adequate Quality of Service (QoS)<br />
// to the players by distributing load to make the service sufficiently<br />
// responsive. <br />
//<br />
// The Live environment consists of pool of host machines that are<br />
// shared by all the dbservers. Load balancing is more challenging<br />
// in this scenario as an individual dbserver is unaware of the<br />
// impact of the actions of the other dbservers until it receives<br />
// new status updates from mahcines in the host pool. <br />
// The quality of the status snapshot last received<br />
// on a particular host degrades as the number of dbservers sharing<br />
// that host increase and also during periods of high map launch rates.<br />
//<br />
// Thus, it is best for an individual dbserver working in this configuration<br />
// to treat its knowledge of host status as imperfect and only an approximation.<br />
// Load balancing strategies which employ some randomization can be used to<br />
// improve balancing in this situation.<br />
//<br />
// Note: the most important configuration values are listed first<br />
<br />
<br />
// A load balancing "mode" is set by selecting a balancing strategy and<br />
// an associated heuristic for the strategy to use if applicable.<br />
//<br />
// Supported Strategies:<br />
//<br />
// Sequential - balance by round robin assignment to the set of available launchers<br />
// Random - balance by randomly choosing amongst available launchers<br />
// RandomChoice - balance by randomly choosing a set of launchers and selecting the one with minimum heuristic<br />
// Search - balance by walking the set of launchers and selecting the one with minimum heuristic<br />
//<br />
// Supported Heuristics:<br />
//<br />
// Utilization - a measure of host machine resource utilization (i.e., cpu, etc)<br />
// TotalOccupancy - total hosted server count<br />
// TypeOccupancy - total hosted server count of a given type (e.g., static or mission)<br />
//<br />
// It is useful to customize the load balancing strategy employed<br />
// according to the type of role a new server process will play.<br />
// Mission maps and bases are inherently transient and usually service<br />
// a small number of players. On the other hand static map zone<br />
// instances can persist indefinitely and can grow to service<br />
// a large number of players.<br />
<br />
BalanceModeZone Sequential<br />
BalanceModeMission RandomChoice Utilization<br />
<br />
// Maximum number of maps we allow to start on a given machine. <br />
// Once this limit is reached the host will be suspended and no more<br />
// launches will be permitted.<br />
// The limit applies to the combined static and mission maps counts,<br />
// including maps that are starting up.<br />
// A value of zero disables this check.<br />
MaxMapservers 400<br />
<br />
// If the amount of virtual memory available to commit (in MB) on the host<br />
// drops below this value the host will be suspended from launching.<br />
// For system stability a generous amount of virtual memory should be available at all times.<br />
// A value of zero disables this check.<br />
MinAvailVirtualMemory 3000 // set to 0 for internal use, but production servers should set to something real like 3000<br />
<br />
// Maximum host utilization estimate allowed on a host before it is suspended<br />
// from launching any more server processes.<br />
// Individual launcher host utilization is calculated from host performance<br />
// metrics and influenced by settings which follow.<br />
// In general the goal is have a host load of 100 represent that the host<br />
// is humming along at capacity doing 100% useful work.<br />
// However, the host load can be such that it is actually overloaded and the<br />
// host is spending resources paging and servicing too many processes.<br />
// In this case the host utilization values will climb up over 100.<br />
// Host utilization should generally be in the 0 - 200% range.<br />
// See confluence documentation for more details on the calculation<br />
// of this value and guidelines for setting an appropriate maximum.<br />
// A value of 0 disables this form of capacity suspension.<br />
MaxHostUtilization 0<br />
<br />
// Defines a range of hard fault pages per second that is used to<br />
// map the current paging rate to a percentage which is then added<br />
// to host utilization. This updates utilization when the system<br />
// is busy paging instead of doing real work. Hard faults will<br />
// generally occur as new maps load data and will increase significantly<br />
// once physical memory is exhausted and there are active processes<br />
// that need to have pages swapped into their working sets to operate.<br />
PagingLoadLow 200<br />
PagingLoadHigh 30000<br />
<br />
// If the amount of available physical memory (in MB) on the host drops below<br />
// this threshold then the associated bias will be applied to the host utilization<br />
// calculation. For example, a bias of .1 implies a 10% increase in host utilization.<br />
MinAvailPhysicalMemory 1000<br />
MinAvailPhysicalMemoryBias 0.10<br />
<br />
// Amount of memory (in MB) we assume a static/zone map will take once it finishes starting<br />
StartingStaticMemBias 600<br />
<br />
// Amount of CPU (1 = 100%) we assume a static/zone map will take once it finishes starting<br />
StartingStaticCPUBias 0.30<br />
<br />
// Amount of memory (in MB) we assume a mission map will take once it finishes starting<br />
StartingMissionMemBias 150<br />
<br />
// Amount of CPU (1 = 100%) we assume a mission map will take once it finishes starting<br />
StartingMissionCPUBias 0.01<br />
<br />
// Amount of CPU (1 = 100%) to bias a server by if considering it for it's secondary role<br />
// If a secondary machine has this many more CPUs available (1.00 = 1 CPU at 100% usage)<br />
// then the secondary machine will be used instead<br />
// 0.5 is enough so that all of the initial city zones will start on these machines, and the<br />
// rest should balance nicely<br />
// @todo - deprecated, remove<br />
SecondaryRoleBias 0.5<br />
<br />
// How much CPU we add on for each static mapserver understanding that they will probably need it. In the past this was 10%. That's too high now<br />
StaticCPUBias 0<br />
<br />
// Amount of time (in seconds) a launcher is suspended if it has a large number of consecutive <br />
// crashes and/or delinks.<br />
// Launchers are also suspended if they stop responding, which gets cleared upon a DbServer restart<br />
TroubleSuspensionTime 1800<br />
<br />
// Server definitions<br />
// If loadBalanceShardSpecific.cfg is found, it's values override the above values<br />
// and it's servers get inserted *before* the ones in this file.<br />
// When finding the role of a server, the first server role definition that<br />
// has an IP range that matches will be used, so the defaults here will<br />
// only be used if all other roles don't match<br />
//<br />
// Example:<br />
//<br />
//ServerRole<br />
// // Host IP range<br />
// HostRange 0.0.0.0 255.255.255.255<br />
// // Or, host name:<br />
// Host qamain<br />
//<br />
// // Primary role, can be:<br />
// // Monitor - Just monitors performance, i.e. DbServer, ArenaServer, etc<br />
// // Mission - Just launches mission maps<br />
// // CityZone - Just launches static maps<br />
// // Mission CityZone - Launches any kind of map<br />
// PrimaryRole CityZone Mission<br />
//<br />
// // Secondary role, can be:<br />
// // None<br />
// // Mission - launches mission maps if all of the primary mission map servers are full<br />
// // CityZone - launches static maps if all of the primary static map servers are full<br />
// // Mission CityZone - launches maps only if the primary are full (might be useful on a QA DbServer?)<br />
// SecondaryRole None<br />
//<br />
// // Any number of Server Applications to run<br />
// // These are only valid if this is on a single host, not a range<br />
// Server<br />
// // Command to launch<br />
// Command RaidServer.exe<br />
// // Optional flag: specifies not to ever launch a new process, but just monitor<br />
// // existing ones (use this for DbServer.exe, ServerMonitor.exe)<br />
// MonitorOnly 1<br />
// End<br />
//End<br />
</syntaxhighlight></div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_chat_server.cfg&diff=1081I25 chat server.cfg2019-05-22T00:51:26Z<p>Methril: </p>
<hr />
<div><syntaxhighlight lang="text"><br />
SqlDbName cohchat<br />
SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=COH-MSSQL\MSSQL;UID=MSSQLUSERNAMEHERE;PWD=MSSQLPASSWORDHERE;"<br />
</syntaxhighlight></div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_Servers.cfg&diff=1080I25 Servers.cfg2019-05-22T00:50:56Z<p>Methril: </p>
<hr />
<div><pre><br />
LocalIp 10.0.48.75<br />
<br />
AuthServer 10.0.48.75 2104<br />
ChatServer 10.0.48.75<br />
DBServer 10.0.48.75 7000<br />
<br />
XPScale 1.0<br />
<br />
ShardName Ouroboros<br />
DefaultAccessLevel 0<br />
<br />
AuthnameLimiterEnabled 0<br />
AuthnameLimiterAccessLevel 20<br />
LoginsPerMinute 5<br />
<br />
MapServerParams "-productionmode -nopopup"<br />
MapserverIdleUpkeep 20<br />
MapserverIdleExit 20<br />
#MapserverDailyUpkeep 0<br />
<br />
UseLogServer 0<br />
#LogServer 10.0.48.75<br />
#LogDir .\log<br />
BackupDays 0<br />
<br />
CompleteBrokenTasks 0<br />
DroppedPacketLogging 0<br />
AuthBadPacketReconnect 1<br />
<br />
BlockFreePlayersIfNoAccountServer 0<br />
IsBetaShard 0<br />
IsVIPShard 0<br />
MaxPlayers 200<br />
AssertMode Fulldump<br />
UseQueueServer 1<br />
UseLogServer 0<br />
OverrideAuthBit RogueAccess<br />
<br />
KarmaEventHistoryDays 30<br />
FastStart 1<br />
MaxLevel 50<br />
MaxCoHLevel 50<br />
MaxCoVLevel 50<br />
MaxPlayerSlots 12<br />
MaxDualSlots 12<br />
AuctionInvMaxLastLoginDays 1000<br />
<br />
#LOCALE_ID_ENGLISH, // 0<br />
#LOCALE_ID_TEST, // 1<br />
#LOCALE_ID_CHINESE_TRADITIONAL, // 2<br />
#LOCALE_ID_KOREAN, // 3<br />
#LOCALE_ID_JAPANESE, // 4<br />
#LOCALE_ID_GERMAN, // 5<br />
#LOCALE_ID_FRENCH, // 6<br />
#LOCALE_ID_SPANISH, // 7<br />
#LOCALE_ID_COUNT, // 8<br />
Locale 0<br />
<br />
MetricsEnable 0<br />
#MetricsIPAddress 10.0.48.75<br />
#MetricsPortNumber 3306<br />
#MetricsMQType 0<br />
#MetricsHighWaterMark<br />
<br />
MasterBeaconServer 10.0.48.75<br />
RequestBeaconServerCount 0<br />
BeaconRequestCacheDir "C:\COH\beaconizer\cache"<br />
DoNotLaunchBeaconMasterServer 0<br />
DoNotLaunchBeaconClients 1<br />
DoNotLaunchMapserverTSRs 0<br />
<br />
SetLogLevel "Auction" -2<br />
SetLogLevel "Chat" 1<br />
SetLogLevel "Admin" -2<br />
SetLogLevel "Bug" -2<br />
SetLogLevel "CharSlotApply" -2<br />
SetLogLevel "Debug" -2<br />
SetLogLevel "Delete" -2<br />
SetLogLevel "deletion" -2<br />
SetLogLevel "entity" -2<br />
SetLogLevel "Error" -2<br />
SetLogLevel "cheaters" -2<br />
SetLogLevel "MARTY" -2<br />
SetLogLevel "Offline" -2<br />
SetLogLevel "Powers" -2<br />
SetLogLevel "Rewards" -2<br />
SetLogLevel "SuperGroup" -2<br />
SetLogLevel "SystemSpecs" -2<br />
SetLogLevel "sze_rewards" -2<br />
SetLogLevel "turnstile" -2<br />
SetLogLevel "cmds" -2<br />
SetLogLevel "internalcmds" 1<br />
<br />
SqlDbProvider mssql<br />
SqlDbName cohdb<br />
SqlAllowDDL 1<br />
SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=COH-MSSQL\MSSQL;UID=MSSQLUSERNAMEHERE;PWD=MSSQLPASSWORDHERE;"<br />
SqlInit 1<br />
</pre></div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_account_server.cfg&diff=1079I25 account server.cfg2019-05-22T00:50:41Z<p>Methril: </p>
<hr />
<div><syntaxhighlight lang="text"><br />
ShardName<br />
ShardName Ouroboros<br />
ShardId 1<br />
Address 10.0.48.75<br />
NoXferOut<br />
NoXferIn<br />
XferDestinations 0 <br />
ShardEnd<br />
MtxEnvironment Test<br />
MtxSecretKey Test<br />
MtxIOThreads 1<br />
PlayNCAdminWebPageSecretKey Test<br />
##PostBackRelay 127.0.0.1 0<br />
SqlDbName cohacc<br />
SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=COH-MSSQL\MSSQL;UID=MSSQLUSERNAMEHERE;PWD=MSSQLPASSWORDHERE;"<br />
PlaySpanServerRetryFreqSecs 15<br />
PlaySpanRelayServerAckAlarmSecs 45<br />
PlaySpanRelayServerAckAlarmRepeatSecs 30<br />
PlaySpanMakeTimeStampedDigest 1<br />
CatalogTimeStampTestOffsetDays 0<br />
PlaySpanStoreFlags NoLocalization<br />
PlaySpanAuthTimeoutMins 60<br />
PlaySpanAuthRekeyIntervalMins 19<br />
PlaySpanDomain www.example.com<br />
##PlaySpanCatalog NCSF<br />
PlaySpanURL_Home http://www.example.com/home<br />
PlaySpanURL_CategoryView http://www.example.com/category<br />
PlaySpanURL_ItemView http://www.example.com/item<br />
PlaySpanURL_ShowCart http://www.example.com/cart<br />
PlaySpanURL_AddToCart http://www.example.com/addtocart<br />
PlaySpanURL_ManageAccount http://www.example.com/manage<br />
PlaySpanURL_SupportPage http://www.example.com/support<br />
PlaySpanURL_SupportPageDE http://www.example.com/supportde<br />
PlaySpanURL_SupportPageFR http://www.example.com/supportfr<br />
PlaySpanURL_UpgradeToVIP http://www.example.com/upgrade<br />
cohURL_NewFeatures http://www.example.com/news<br />
cohURL_NewFeaturesUpdate http://www.example.com/update<br />
#ArchiveMerged<br />
#CompMode<br />
clientAuthTimeout 1800<br />
ShardXfersDayMemory 14<br />
ShardXfersAllowedInMemory 0<br />
#FreeShardXfersOnlyEnabled<br />
GrantSKUFromList<br />
#GrantAllSKU<br />
MinLoyaltyPoints 5<br />
#AutoBuyProducts<br />
</syntaxhighlight></div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_auction_server.cfg&diff=1078I25 auction server.cfg2019-05-22T00:49:38Z<p>Methril: </p>
<hr />
<div><syntaxhighlight lang="text"><br />
SqlDbName cohauc<br />
SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=COH-MSSQL\MSSQL;UID=MSSQLUSERNAMEHERE;PWD=MSSQLPASSWORDHERE;"<br />
ShardIP 10.0.48.75<br />
</syntaxhighlight></div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_auction_server.cfg&diff=1077I25 auction server.cfg2019-05-22T00:49:21Z<p>Methril: </p>
<hr />
<div><syntaxhighlight lang="text"><br />
SqlDbName cohrebirthauc<br />
SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=COH-MSSQL\MSSQL;UID=MSSQLUSERNAMEHERE;PWD=MSSQLPASSWORDHERE;"<br />
ShardIP 10.0.48.75<br />
</syntaxhighlight></div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_Servers.cfg&diff=1076I25 Servers.cfg2019-05-22T00:48:10Z<p>Methril: </p>
<hr />
<div><pre><br />
LocalIp 10.0.48.75<br />
<br />
AuthServer 10.0.48.75 2104<br />
ChatServer 10.0.48.75<br />
DBServer 10.0.48.75 7000<br />
<br />
XPScale 1.0<br />
<br />
ShardName Paragon<br />
DefaultAccessLevel 0<br />
<br />
AuthnameLimiterEnabled 0<br />
AuthnameLimiterAccessLevel 20<br />
LoginsPerMinute 5<br />
<br />
MapServerParams "-productionmode -nopopup"<br />
MapserverIdleUpkeep 20<br />
MapserverIdleExit 20<br />
#MapserverDailyUpkeep 0<br />
<br />
UseLogServer 0<br />
#LogServer 10.0.48.75<br />
#LogDir .\log<br />
BackupDays 0<br />
<br />
CompleteBrokenTasks 0<br />
DroppedPacketLogging 0<br />
AuthBadPacketReconnect 1<br />
<br />
BlockFreePlayersIfNoAccountServer 0<br />
IsBetaShard 0<br />
IsVIPShard 0<br />
MaxPlayers 200<br />
AssertMode Fulldump<br />
UseQueueServer 1<br />
UseLogServer 0<br />
OverrideAuthBit RogueAccess<br />
<br />
KarmaEventHistoryDays 30<br />
FastStart 1<br />
MaxLevel 50<br />
MaxCoHLevel 50<br />
MaxCoVLevel 50<br />
MaxPlayerSlots 12<br />
MaxDualSlots 12<br />
AuctionInvMaxLastLoginDays 1000<br />
<br />
#LOCALE_ID_ENGLISH, // 0<br />
#LOCALE_ID_TEST, // 1<br />
#LOCALE_ID_CHINESE_TRADITIONAL, // 2<br />
#LOCALE_ID_KOREAN, // 3<br />
#LOCALE_ID_JAPANESE, // 4<br />
#LOCALE_ID_GERMAN, // 5<br />
#LOCALE_ID_FRENCH, // 6<br />
#LOCALE_ID_SPANISH, // 7<br />
#LOCALE_ID_COUNT, // 8<br />
Locale 0<br />
<br />
MetricsEnable 0<br />
#MetricsIPAddress 10.0.48.75<br />
#MetricsPortNumber 3306<br />
#MetricsMQType 0<br />
#MetricsHighWaterMark<br />
<br />
MasterBeaconServer 10.0.48.75<br />
RequestBeaconServerCount 0<br />
BeaconRequestCacheDir "C:\COH\beaconizer\cache"<br />
DoNotLaunchBeaconMasterServer 0<br />
DoNotLaunchBeaconClients 1<br />
DoNotLaunchMapserverTSRs 0<br />
<br />
SetLogLevel "Auction" -2<br />
SetLogLevel "Chat" 1<br />
SetLogLevel "Admin" -2<br />
SetLogLevel "Bug" -2<br />
SetLogLevel "CharSlotApply" -2<br />
SetLogLevel "Debug" -2<br />
SetLogLevel "Delete" -2<br />
SetLogLevel "deletion" -2<br />
SetLogLevel "entity" -2<br />
SetLogLevel "Error" -2<br />
SetLogLevel "cheaters" -2<br />
SetLogLevel "MARTY" -2<br />
SetLogLevel "Offline" -2<br />
SetLogLevel "Powers" -2<br />
SetLogLevel "Rewards" -2<br />
SetLogLevel "SuperGroup" -2<br />
SetLogLevel "SystemSpecs" -2<br />
SetLogLevel "sze_rewards" -2<br />
SetLogLevel "turnstile" -2<br />
SetLogLevel "cmds" -2<br />
SetLogLevel "internalcmds" 1<br />
<br />
SqlDbProvider mssql<br />
SqlDbName cohdb<br />
SqlAllowDDL 1<br />
SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=COH-MSSQL\MSSQL;UID=MSSQLUSERNAMEHERE;PWD=MSSQLPASSWORDHERE;"<br />
SqlInit 1<br />
</pre></div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_Servers.cfg&diff=1075I25 Servers.cfg2019-05-22T00:47:34Z<p>Methril: </p>
<hr />
<div><pre><br />
LocalIp 10.0.48.75<br />
<br />
AuthServer 10.0.48.75 2104<br />
ChatServer 10.0.48.75<br />
DBServer 10.0.48.75 7000<br />
<br />
XPScale 1.0<br />
<br />
ShardName Rebirth<br />
DefaultAccessLevel 0<br />
<br />
AuthnameLimiterEnabled 0<br />
AuthnameLimiterAccessLevel 20<br />
LoginsPerMinute 5<br />
<br />
MapServerParams "-productionmode -nopopup"<br />
MapserverIdleUpkeep 20<br />
MapserverIdleExit 20<br />
#MapserverDailyUpkeep 0<br />
<br />
UseLogServer 0<br />
#LogServer 10.0.48.75<br />
#LogDir .\log<br />
BackupDays 0<br />
<br />
CompleteBrokenTasks 0<br />
DroppedPacketLogging 0<br />
AuthBadPacketReconnect 1<br />
<br />
BlockFreePlayersIfNoAccountServer 0<br />
IsBetaShard 0<br />
IsVIPShard 0<br />
MaxPlayers 200<br />
AssertMode Fulldump<br />
UseQueueServer 1<br />
UseLogServer 0<br />
OverrideAuthBit RogueAccess<br />
<br />
KarmaEventHistoryDays 30<br />
FastStart 1<br />
MaxLevel 50<br />
MaxCoHLevel 50<br />
MaxCoVLevel 50<br />
MaxPlayerSlots 12<br />
MaxDualSlots 12<br />
AuctionInvMaxLastLoginDays 1000<br />
<br />
#LOCALE_ID_ENGLISH, // 0<br />
#LOCALE_ID_TEST, // 1<br />
#LOCALE_ID_CHINESE_TRADITIONAL, // 2<br />
#LOCALE_ID_KOREAN, // 3<br />
#LOCALE_ID_JAPANESE, // 4<br />
#LOCALE_ID_GERMAN, // 5<br />
#LOCALE_ID_FRENCH, // 6<br />
#LOCALE_ID_SPANISH, // 7<br />
#LOCALE_ID_COUNT, // 8<br />
Locale 0<br />
<br />
MetricsEnable 0<br />
#MetricsIPAddress 10.0.48.75<br />
#MetricsPortNumber 3306<br />
#MetricsMQType 0<br />
#MetricsHighWaterMark<br />
<br />
MasterBeaconServer 10.0.48.75<br />
RequestBeaconServerCount 0<br />
BeaconRequestCacheDir "C:\COH\beaconizer\cache"<br />
DoNotLaunchBeaconMasterServer 0<br />
DoNotLaunchBeaconClients 1<br />
DoNotLaunchMapserverTSRs 0<br />
<br />
SetLogLevel "Auction" -2<br />
SetLogLevel "Chat" 1<br />
SetLogLevel "Admin" -2<br />
SetLogLevel "Bug" -2<br />
SetLogLevel "CharSlotApply" -2<br />
SetLogLevel "Debug" -2<br />
SetLogLevel "Delete" -2<br />
SetLogLevel "deletion" -2<br />
SetLogLevel "entity" -2<br />
SetLogLevel "Error" -2<br />
SetLogLevel "cheaters" -2<br />
SetLogLevel "MARTY" -2<br />
SetLogLevel "Offline" -2<br />
SetLogLevel "Powers" -2<br />
SetLogLevel "Rewards" -2<br />
SetLogLevel "SuperGroup" -2<br />
SetLogLevel "SystemSpecs" -2<br />
SetLogLevel "sze_rewards" -2<br />
SetLogLevel "turnstile" -2<br />
SetLogLevel "cmds" -2<br />
SetLogLevel "internalcmds" 1<br />
<br />
SqlDbProvider mssql<br />
SqlDbName cohdb<br />
SqlAllowDDL 1<br />
SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=COH-MSSQL\MSSQL;UID=MSSQLUSERNAMEHERE;PWD=MSSQLPASSWORDHERE;"<br />
SqlInit 1<br />
</pre></div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_Servers.cfg&diff=1074I25 Servers.cfg2019-05-22T00:47:12Z<p>Methril: </p>
<hr />
<div>LocalIp 10.0.48.75<br />
<br />
AuthServer 10.0.48.75 2104<br />
ChatServer 10.0.48.75<br />
DBServer 10.0.48.75 7000<br />
<br />
XPScale 1.0<br />
<br />
ShardName Rebirth<br />
DefaultAccessLevel 0<br />
<br />
AuthnameLimiterEnabled 0<br />
AuthnameLimiterAccessLevel 20<br />
LoginsPerMinute 5<br />
<br />
MapServerParams "-productionmode -nopopup"<br />
MapserverIdleUpkeep 20<br />
MapserverIdleExit 20<br />
#MapserverDailyUpkeep 0<br />
<br />
UseLogServer 0<br />
#LogServer 10.0.48.75<br />
#LogDir .\log<br />
BackupDays 0<br />
<br />
CompleteBrokenTasks 0<br />
DroppedPacketLogging 0<br />
AuthBadPacketReconnect 1<br />
<br />
BlockFreePlayersIfNoAccountServer 0<br />
IsBetaShard 0<br />
IsVIPShard 0<br />
MaxPlayers 200<br />
AssertMode Fulldump<br />
UseQueueServer 1<br />
UseLogServer 0<br />
OverrideAuthBit RogueAccess<br />
<br />
KarmaEventHistoryDays 30<br />
FastStart 1<br />
MaxLevel 50<br />
MaxCoHLevel 50<br />
MaxCoVLevel 50<br />
MaxPlayerSlots 12<br />
MaxDualSlots 12<br />
AuctionInvMaxLastLoginDays 1000<br />
<br />
#LOCALE_ID_ENGLISH, // 0<br />
#LOCALE_ID_TEST, // 1<br />
#LOCALE_ID_CHINESE_TRADITIONAL, // 2<br />
#LOCALE_ID_KOREAN, // 3<br />
#LOCALE_ID_JAPANESE, // 4<br />
#LOCALE_ID_GERMAN, // 5<br />
#LOCALE_ID_FRENCH, // 6<br />
#LOCALE_ID_SPANISH, // 7<br />
#LOCALE_ID_COUNT, // 8<br />
Locale 0<br />
<br />
MetricsEnable 0<br />
#MetricsIPAddress 10.0.48.75<br />
#MetricsPortNumber 3306<br />
#MetricsMQType 0<br />
#MetricsHighWaterMark<br />
<br />
MasterBeaconServer 10.0.48.75<br />
RequestBeaconServerCount 0<br />
BeaconRequestCacheDir "C:\COH\beaconizer\cache"<br />
DoNotLaunchBeaconMasterServer 0<br />
DoNotLaunchBeaconClients 1<br />
DoNotLaunchMapserverTSRs 0<br />
<br />
SetLogLevel "Auction" -2<br />
SetLogLevel "Chat" 1<br />
SetLogLevel "Admin" -2<br />
SetLogLevel "Bug" -2<br />
SetLogLevel "CharSlotApply" -2<br />
SetLogLevel "Debug" -2<br />
SetLogLevel "Delete" -2<br />
SetLogLevel "deletion" -2<br />
SetLogLevel "entity" -2<br />
SetLogLevel "Error" -2<br />
SetLogLevel "cheaters" -2<br />
SetLogLevel "MARTY" -2<br />
SetLogLevel "Offline" -2<br />
SetLogLevel "Powers" -2<br />
SetLogLevel "Rewards" -2<br />
SetLogLevel "SuperGroup" -2<br />
SetLogLevel "SystemSpecs" -2<br />
SetLogLevel "sze_rewards" -2<br />
SetLogLevel "turnstile" -2<br />
SetLogLevel "cmds" -2<br />
SetLogLevel "internalcmds" 1<br />
<br />
SqlDbProvider mssql<br />
SqlDbName cohdb<br />
SqlAllowDDL 1<br />
SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=COH-MSSQL\MSSQL;UID=MSSQLUSERNAMEHERE;PWD=MSSQLPASSWORDHERE;"<br />
SqlInit 1</div>Methrilhttps://wiki.ourodev.com/index.php?title=User:JATMN&diff=998User:JATMN2019-05-17T19:19:43Z<p>Methril: </p>
<hr />
<div>=== Source Code ===<br />
<div class="mw-collapsible mw-collapsed"><div class="mw-collapsible-toggle" style="float: none;"><br />
* [magnet:?xt=urn:btih:3B469CCE745CBC6777AB3413ABD43CCC7BA73F6A&dn=SCORE.zip&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce SCoRE Source] - [Expand]<br />
</div><br />
<div class="mw-collapsible-content"><br />
* <br />
'''Name:''' SCORE.zip<br />
'''Description:''' Scrubbed source release (not a leak as originally assumed) for what is presently considered i25.<br />
'''Folders:''' 0<br />
'''Files:''' 1 ''(SCORE.zip, containing 3149 Folders and 49573 Files)''<br />
'''Size:''' 513781261 bytes 489 MiB ''(archived)''<br />
'''MD5:''' 57B62FD53E64EF2974EA2E002E6F45B9<br />
'''SHA1:''' ECAD79CB40605E031740422BDCE2A4992CDA50D5<br />
'''SHA256:''' D3E9558094AB28D72A0D935D7DA901731F82749D24F99F8E6E59EC727E69D354<br />
'''SHA512:''' 0A196269657558EFE0C138AA99DDFA4383BD3785A677EE12FA58CA5916AE3DD45CC2A6759C7B2C03651260D3ADB1E4583182DA3F3611667384F19A882ACE2DA6<br />
</div></div><br />
<br />
<div class="mw-collapsible mw-collapsed"><div class="mw-collapsible-toggle" style="float: none;"><br />
* [magnet:?xt=urn:btih:e0ca6eeb2ef221a5a38508f63a648c063cb87587&dn=coh_isyou.7z&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce 2500 Source] - [Expand]<br />
</div><br />
<div class="mw-collapsible-content"><br />
:: {| class="wikitable"<br />
|-<br />
! scope="row" style="text-align:left;"| Name <br />
| coh_isyou.7z<br />
|-<br />
! scope="row" style="text-align:left;"| Released Date<br />
| ''(unknown)''<br />
|-<br />
! scope="row" style="text-align:left;"| Description<br />
| Assumed to be a more current version of 2500 Source without edits by SCORE - Game, Updater, Server and various utilities.<br />
|-<br />
! scope="row" style="text-align:left;"| Folders<br />
| 0<br />
|-<br />
! scope="row" style="text-align:left;"| Files<br />
| 1 ''(coh_isyou.7z, containing 3335 Folders and 50070 Files)''<br />
|-<br />
! scope="row" style="text-align:left;"| Size<br />
| 408119947 bytes 390MiB ''(archived)''<br />
|-<br />
! scope="row" style="text-align:left;"| MD5<br />
| 24a2efa2617f54f22b5805f1c251d4ef<br />
|-<br />
! scope="row" style="text-align:left;"| SHA1<br />
| 92b30d983bbc9de6737e8b7f02f269bd263fee5c<br />
|-<br />
! scope="row" style="text-align:left;"| SHA256<br />
| 40d8b12092e5a349597192b1944ecf0332295c662e8c84ddf560245878ead7c5<br />
|-<br />
! scope="row" style="text-align:left;"| SHA512<br />
| 83bc8f839d93de96360800583a901cc945649377aad94d00b6ed5bfb523442044866df8fe605eaa5c5e7ccb5bffe4bf58d3cfeb4b91476a3dcb0e36ee76f8b85<br />
|}<br />
</div></div></div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_FAQ&diff=946I25 FAQ2019-05-15T00:01:40Z<p>Methril: /* How do I enter a task force solo? */</p>
<hr />
<div>== Server Administration ==<br />
=== How do I disable logging system specs? ===<br />
; This is an extremely easy process. <br />
: Open up your servers.cfg and find the line <br />
:: "SetLogLevel "SystemSpecs" 1<br />
: Change this to -2<br />
:: "SetLogLevel "SystemSpecs" -2<br />
: You'll no longer get system spec logs!<br />
<br />
=== How do I create an account? ===<br />
; You can use the PowerShell script in downloads or execute a query against the database manually.<br />
: Create NEW USER: test / password<br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.user_account (account, uid, forum_id, pay_stat) VALUES ('test', 1, 1, 1014);</syntaxhighlight > <br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.user_auth (account, password, salt, hash_type) VALUES ('test', CONVERT(BINARY(128),'46ffce3efcfe83bfa205b076d7c2084b9dcf04cdb26f9019103cde29779d26a85216b2c0f43ba1a8fb9b7fa22f05a949bf4edc314af27629e8fc23014e77a24d'), 0, 1);</syntaxhighlight > <br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.user_data (uid, user_data) VALUES (1, 0x0080C2E000D00B0C000000000CB40058);</syntaxhighlight ><br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.user_server_group (uid, server_group_id) VALUES (1, 1);</syntaxhighlight ><br />
: [http://cohstuff.dreamhosters.com/makeaccount.php Crust First's web-based tool for generating SQL queries to create new accounts] [http://cohstuff.dreamhosters.com/makeaccount.phps (Source)]<br />
<br />
=== How do I make a GM Character? ===<br />
* Update the character in the database<br />
:: <syntaxhighlight lang="SQL" line='line'> UPDATE [cohdb].[dbo].[Ents] SET [AccessLevel] = 11 WHERE [Name] = 'charnamehere'</syntaxhighlight ><br />
* You can also set DefaultAccessLevel to 11 in servers.cfg, <br />
:: This will only work for characters made after you make this change.<br />
:: All characters after this change will be a GM.<br />
:: You'll also need to restart or reload the DBServer after this change.<br />
* Login to the game and type /mmm to bring up an admin menu. <br />
:: While /mmm only requires AccessLevel 10 to run, some of the commands available in the menu require AccessLevel 11 to successfully execute.<br />
:: Most commands are also listed in Commands.cfg, which can be typed in game via chat.<br />
<br />
=== How do I change my server's message of the day? ===<br />
<br />
: Edit message.txt in the chatdb folder, it accepts basic HTML formatting tags.<br />
<br />
=== How come my server says "Paragon" and how do I change it? ===<br />
:The name displayed in the client is dependent on the server ID in the database, not the shard's name, and corresponds to the hardcoded list below:<br />
<ol start="0"><br />
<li>(empty server list) </li><br />
<li>Paragon </li><br />
<li>Cryptic</li><br />
<li>Bree</li><br />
<li>Undying</li><br />
<li>Phoenix</li><br />
<li>Rebirth</li><br />
<li>Resurgence</li><br />
<li>Titan</li><br />
<li> Unity</li><br />
<li>Torchbearer</li><br />
<li>Unstoppable</li><br />
<li>Perseverant</li><br />
<li>Indomitable</li><br />
<li>Timeless</li><br />
<li>Everlasting</li><br />
<li>Excelsior</li><br />
<li>CoHWorldServer_17</li><br />
<li>CoHWorldServer_18</li><br />
</ol><br />
:* These values reside in clientmessages-en.bin in the client<br />
<br />
:Examples:<br />
:* Changes Server name to Paragon<br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'Paragon', '127.0.0.1', '127.0.0.1', 0, 0, 1);</syntaxhighlight><br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.worldstatus (idx, status) VALUES (1, 1);</syntaxhighlight><br />
<br />
----<br />
<br />
:* Changes Server name to Cryptic<br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (2, 'Cryptic', '127.0.0.1', '127.0.0.1', 0, 0, 1);</syntaxhighlight><br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.worldstatus (idx, status) VALUES (2, 1);</syntaxhighlight><br />
<br />
=== How do I start Events? ===<br />
: In-Game you can use the following commands to start events.<br />
:: <syntaxhighlight lang="text"> /shardeventstart scriptdefs/Holiday_11_Event.scriptdef</syntaxhighlight><br />
:: <syntaxhighlight lang="text"> /shardeventstart scriptdefs/Halloween_11_Event.scriptdef</syntaxhighlight><br />
:: <syntaxhighlight lang="text"> /shardeventstart ScriptDefs/SpringFlingEvent.scriptdef</syntaxhighlight><br />
:: <syntaxhighlight lang="text"> /shardeventstart ScriptDefs/NemesisPlotShard.scriptdef</syntaxhighlight><br />
:: {|<br />
<syntaxhighlight lang="text"> /zoneeventstart RiktiInvasion<br />
Then followed by<br />
/zoneeventsignal "RiktiInvasion" "Prelude"<br />
wait for 10 seconds<br />
/zoneeventsignal "RiktiInvasion" "RunMe"</syntaxhighlight><br />
|}<br />
: There is also "/shardeventstop" to stop said events<br />
<br />
=== How do I move characters between accounts? ===<br />
: SQL to move character to another account. Useful if you want to move characters created on fakeauth to an actual authserver account.<br />
: <br />
: SYNTAX:<br />
: <syntaxhighlight lang="SQL" line='line'> UPDATE [cohdb].[dbo].[Ents] SET [AuthId] = your account id, [AuthName] = 'your account name' WHERE [Name] = 'your hero name'</syntaxhighlight><br />
: <br />
: EXAMPLE:<br />
: <syntaxhighlight lang="SQL" line='line'> UPDATE [cohdb].[dbo].[Ents] SET [AuthId] = 1, [AuthName] = 'AccountName' WHERE [Name] = 'HeroName'</syntaxhighlight><br />
: <br />
: You can view characters in the database by doing:<br />
: <syntaxhighlight lang="SQL" line='line'> SELECT * FROM [cohdb].[dbo].[Ents]</syntaxhighlight><br />
<br />
=== How do I "seed" the Auction House with items? ===<br />
: See [[I25 Populate Auction Server]], requires GM accesslevel ingame.<br />
<br />
=== How do I enter a task force solo? ===<br />
: There are two commands /gettask and /getstoryarc.<br />
:; Example /gettask command:<br />
::: <syntaxhighlight lang="test">/gettask BAF_Entry </syntaxhighlight><br />
:; Other possible tasks:<br />
::: Lambda_Entry, Keyes_Entry, Underground_Entry, TPN_Entry, MindsOfMayhem_Entry, DilemmaDiabolique_Entry, Magisterium_Entry, Halloween2011_Entry, BloodyBay_Entry, SummerEvent2012_Entry<br />
:; Example /getarc command:<br />
::: <syntaxhighlight lang="test">/getstoryarc scripts.loc/Test/Tasks/ChrisB_StoryArc.storyarc </syntaxhighlight><br />
<br />
== Cheating ==<br />
<br />
=== How do I win the game? ===<br />
: If your character is an admin type /autoenhance, /autoenhanceio, or /autoenhanceset. <br />
:: You can find many of commands in C:\COH\data\server\db\commands.cfg <br />
: You can also type /mmm, scroll down to Design Testing, EnhanceAndInspire, Enhancements, and give yourself whatever you want.<br />
:; You can level the character up to level 50 with the below command:<br />
:: /experience_add 39149119<br />
:; You can also visit this website for a list of other commands.<br />
:: [https://paste.pc-logix.com/ekohikayaz.pl CoH Server Commands]<br />
:: OR<br />
:: [https://github.com/cohdevver/cohdocs/blob/master/All_current_GM_commands.txt All Current GM Commands]<br />
<br />
=== How do I increase Experience Rates? ===<br />
: Add the following line to servers.cfg<br />
:: <pre>XPScale 2.0</pre><br />
: The number is a direct multiplier to experience gains, change it to whatever you like, and then restart the server.<br />
: Also increases influence/infamy gains.<br />
<br />
=== Can I easily change my character alignment? ===<br />
: Null the Gull in Pocket D has a new i25 dialog option to instantly switch a character's alignment.<br />
<br />
=== How do I increase drop rates of Salvage/Recipes/etc? ===<br />
: There is no currently known method of accomplishing this on an i25 server.<br />
<br />
=== How do I change respawn times? ===<br />
: There is no currently known method of accomplishing this on an i25 server.<br />
<br />
=== How do I unlock all the good medals? ===<br />
# You can give yourself any of the badge below by typing /badge_add BadgeNameHere.<br />
#* AtlasSet (Received the Atlas Medallion) (Tourist) (Atlas Shrugged) [Adds 'The Atlas Medallion' passive power]<br />
#* Marshal (Ex-Marshal) (Marshal) [Adds the 'Marshal' passive power]<br />
#* DimensionalHopperSet (Portal Jockey) [Adds 'Portal Jockey' passive power]<br />
#* BornInBattle (Born in Battle) [Adds the 'Born In Battle' passive power]<br />
#* FreedomPhalanxSet (Freedom Phalanx Reserve Member) (Freedom Phalanx Fallen) [Adds 'Freedom Phalanx Reserve' passive power]<br />
#* HighPainThreshold (Gotten Soft) (High Pain Threshold) [Adds 'High Pain Threshold' passive power]<br />
#* TaskForceCommander (Task Force Commander) (Task Force Abandoner) [Adds 'Task Force Commander' passive power]<br />
#* MayhemInvader (Return Visitor) (Invader) [Adds 'Invader' passive power]<br />
#* Paragon (Paragon) [Unlocks 'Assemble the Team' power in the P2W Vendor under 'Prestige Powers > Travel > Teleport']<br />
#* UnbrokenSpirit (The Unbroken Spirit) [Unlocks 'Renewal of Light' power in the P2W Vendor under 'Prestige Powers > Utility > Miscellaneous']<br />
#* P_Relentless (Relentless) [Unlocks 'Return to Battle' power in the P2W Vendor under 'Prestige Powers > Utility > Miscellaneous']<br />
#* InventorAccolade (Field Crafter) [Adds 'Portable Workbench' power]<br />
#* ArchitectAccolade (Mission Engineer) [Adds 'Architect Comlink' power]<br />
#* GoldClub (Pocket D VIP Gold Club Member) [Adds 'Pocket D VIP Pass' power]<br />
#* CreySet (Conspiracy Theorist) [Adds the 'Crey CBX-9 Pistol' power]<br />
#* HeadlineStealer (Yesterday's News) [Adds 'Stolen Immobilizer Ray' power]<br />
#* RIWEAccolade (Watchwoman) [Adds 'Elusive Mind' power]<br />
#* MagusSet (Archmage) (Arch-Mage of Agony) [Adds 'Eye of the Magus' power]<br />
#* Demonic (Exorcised) (Demonic) [Adds 'Demonic Aura' power]<br />
#* Megalomaniac (In Therapy) (Megalomaniac) [Adds 'Megalomaniac' power]<br />
#* RiktiWarSet (Vanguard) [Adds 'Vanguard Medal' power]<br />
#* GeasoftheKindOnes (Geas of the Kind Ones) [Adds 'Geas of the Kind Ones' power]<br />
#* MayhemForceOfNature (Force of Nature) (Uninsurable) [Adds 'Force of Nature' power]<br />
<br />
== Common Issues ==<br />
<br />
=== Why does my server show offline? ===<br />
* First make sure you've added your server into the database. You can do so with the code below.<br />
** <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'Paragon', 'EXTERNAL IP', 'INTERNAL IP', 0, 0, 1);</syntaxhighlight ><br />
** <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.worldstatus (idx, status) VALUES (1, 1);</syntaxhighlight ><br />
<br />
=== Why does my AuthServer say "Non-registered world server X.X.X.X"? ===<br />
* Make sure the server is in the cohauth and set to online with the following queries<br />
** <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'Paragon', 'EXTERNAL IP', 'INTERNAL IP', 0, 0, 1);</syntaxhighlight ><br />
** <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.worldstatus (idx, status) VALUES (1, 1);</syntaxhighlight ><br />
<br />
=== Why does my AuthServer keep opening an ODBC window asking for a username and password? ===<br />
:Make sure AuthDB.dsn was saved into the Documents folder, or move it there and then restart the AuthServer.<br />
<br />
=== Why does my DBServer say "login failed for user sa" when starting? ===<br />
* Most likely you've entered the string wrong in servers.cfg([[i25 Server.cfg]]) or another file.<br />
* It could be that the sa account is still disabled as well. Double check SMSS to verify.<br />
* If you've entered it correctly make sure restarted the service after the changes from the guide.<br />
<br />
=== Why does my DBServer say "invalid login to DBServer" when I try to join my server? ===<br />
* Most likely you forgot to change the launch parameters of your client when you moved away from using NoAuth.<br />
:: <syntaxhighlight lang="text"> -patchdir score -patchversion 2019.04.19 -auth IPOFYOURSERVER -noversioncheck</syntaxhighlight ><br />
<br />
=== My AuctionServer is running but why players can't list items?===<br />
* Most likely your auction_server.cfg is incorrect.<br />
:: {|<br />
<pre>ShardIp 127.0.0.1<br />
SqlDbName cohauc<br />
SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=localhost\SQLEXPRESS;Uid=sa;Pwd=YOURL33TPASS;"</pre><br />
* Start AuctionServer64.exe<br />
|}<br />
<br />
=== Why is my MapServer displaying popups? ===<br />
* Most likely your servers.cfg([[i25 Server.cfg]]) is set to -filedebug. Change to this -nopopup to no longer see windows from it.<br />
<br />
=== How can I prevent MapServer from getting popups that prevent loading until acknowledged? ===<br />
: Add this to servers.cfg([[i25 Server.cfg]]):<br />
<br />
:: MapServerParams "-nopopup"<br />
<br />
=== Why aren't my Architect Missions aren't publishing? ===<br />
* Most likely you are missing the "missionserver" folder. Create one in the root of your server directory and start MissionServer again. For me this is C:\COH\missionserver.<br />
<br />
=== What configuration files do I need to create? ===<br />
: You need to create auction_server.cfg([[i25 auction_server.cfg]]), account_server.cfg([[i25 account_server.cfg]]), chat_server.cfg([[i25 chat_server.cfg]]), and servers.cfg([[i25 Server.cfg]]). Crust Fire created a php script which will make these for you.<br />
: [http://cohstuff.dreamhosters.com/makeconfigs.php Crust Fire's Auto Config Generator] [http://cohstuff.dreamhosters.com/makeconfigs.phps (Source)]<br />
<br />
=== What Operating System do I need to host this? ===<br />
: So far users have tried many different combinations without issue! Below are a few of the most common.<br />
:; Operating systems:<br />
:: Windows 2012 Server R2 Standard<br />
:: Windows 2016 Server Standard<br />
:: Windows 2019 Server Standard<br />
:: Windows 10 Home<br />
:: Windows 10 Professional<br />
:: Windows 7<br />
:; SQL Server<br />
:: SQL Server 2017 Express<br />
:: SQL Server 2017 Dev Edition<br />
:: SQL Server 2012<br />
<br />
=== Why is i25 using the wrong network adapter? ===<br />
: If you have two NICs you might find that the i25 is using the wrong one. Some users have performed a hex edit to MapServer to correct this.<br />
: https://cdn.discordapp.com/attachments/570656952166907924/571282349526876211/SkipIPFlip.png<br />
<br />
=== Why am I getting an error when trying to setup the AuthDB? === <br />
: Most likely it is a named piped issue. The article below has helped a few users.<br />
: [https://www.techcrumble.net/2017/07/sql-odbc-connection-failure-sqlstate-08001-sql-server-error-2/ SQL Error 08001]<br />
<br />
=== When I run AuthServer.exe I get an error about config.txt ===<br />
: The fix for this is pretty straight forward. For some reason you are missing config.txt. This file for me is in c:\coh\etc\config.txt<br />
:: [https://pastebin.com/VSv2JPVY config.txt]<br />
:: https://cdn.discordapp.com/attachments/570656952166907924/571845926704906240/unknown.png<br />
<br />
=== How do I add AuthServer to the Community VM? ===<br />
: Open up ODBC Data Sources.<br />
:* Click File DSN then click add to the right.<br />
:* Choose ODBC Driver 17 for SQL Server. Click Next.<br />
:* Enter AuthDB into the box and hit next then finish.<br />
:* It will then say something like ‘Which SQL Server would you like to connect to?’<br />
:** Type localhost\SQLEXPRESS and hit next.<br />
:* Choose with SQL Auth enter sa into username and the password you use previously.<br />
:* Tick choose change default database to and select cohauth and hit next.<br />
:* After this hit finish then ‘Test Data source’ this will test the auth database connection to your main database.<br />
:* Next you need to update your servers.cfg([[i25 Server.cfg]]).<br />
;:* It should currently look like below code.<br />
:::: {|<br />
<nowiki><br />
DBServer 127.0.0.1 18717<br />
ShardName ShardName<br />
//AuthServer 127.0.0.1 2104<br />
DefaultAccessLevel 0<br />
NoStats 1<br />
UseFakeAuth 1<br />
</nowiki><br />
;:* Change to look like the below code<br />
<nowiki><br />
DBServer 127.0.0.1 18717<br />
ShardName ShardName<br />
AuthServer 127.0.0.1 2104<br />
DefaultAccessLevel 0<br />
NoStats 1<br />
//UseFakeAuth 1<br />
</nowiki><br />
|}<br />
:* Start AuthServer.exe and update your game icon to use -auth vs -db.<br />
<br />
=== What is different in i25 from i24? ===<br />
<br />
[https://docs.google.com/document/d/11cLJiSYlfueJheOumRywG8Evip2Mjmu_30Y6ePaetqY/edit i25 Patch Notes on Google Docs]<br />
<br />
=== Where is the i25 source and how do I get it? ===<br />
: The source for i25 is now available on the [https://git.ourodev.com/CoX/Source Ouroboros Git]. However keep in mind this code is considered "End of Life" and will not be maintained. Where the code is at right now is likely where it will remain.</div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_FAQ&diff=945I25 FAQ2019-05-15T00:01:04Z<p>Methril: /* Server Administration */</p>
<hr />
<div>== Server Administration ==<br />
=== How do I disable logging system specs? ===<br />
; This is an extremely easy process. <br />
: Open up your servers.cfg and find the line <br />
:: "SetLogLevel "SystemSpecs" 1<br />
: Change this to -2<br />
:: "SetLogLevel "SystemSpecs" -2<br />
: You'll no longer get system spec logs!<br />
<br />
=== How do I create an account? ===<br />
; You can use the PowerShell script in downloads or execute a query against the database manually.<br />
: Create NEW USER: test / password<br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.user_account (account, uid, forum_id, pay_stat) VALUES ('test', 1, 1, 1014);</syntaxhighlight > <br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.user_auth (account, password, salt, hash_type) VALUES ('test', CONVERT(BINARY(128),'46ffce3efcfe83bfa205b076d7c2084b9dcf04cdb26f9019103cde29779d26a85216b2c0f43ba1a8fb9b7fa22f05a949bf4edc314af27629e8fc23014e77a24d'), 0, 1);</syntaxhighlight > <br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.user_data (uid, user_data) VALUES (1, 0x0080C2E000D00B0C000000000CB40058);</syntaxhighlight ><br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.user_server_group (uid, server_group_id) VALUES (1, 1);</syntaxhighlight ><br />
: [http://cohstuff.dreamhosters.com/makeaccount.php Crust First's web-based tool for generating SQL queries to create new accounts] [http://cohstuff.dreamhosters.com/makeaccount.phps (Source)]<br />
<br />
=== How do I make a GM Character? ===<br />
* Update the character in the database<br />
:: <syntaxhighlight lang="SQL" line='line'> UPDATE [cohdb].[dbo].[Ents] SET [AccessLevel] = 11 WHERE [Name] = 'charnamehere'</syntaxhighlight ><br />
* You can also set DefaultAccessLevel to 11 in servers.cfg, <br />
:: This will only work for characters made after you make this change.<br />
:: All characters after this change will be a GM.<br />
:: You'll also need to restart or reload the DBServer after this change.<br />
* Login to the game and type /mmm to bring up an admin menu. <br />
:: While /mmm only requires AccessLevel 10 to run, some of the commands available in the menu require AccessLevel 11 to successfully execute.<br />
:: Most commands are also listed in Commands.cfg, which can be typed in game via chat.<br />
<br />
=== How do I change my server's message of the day? ===<br />
<br />
: Edit message.txt in the chatdb folder, it accepts basic HTML formatting tags.<br />
<br />
=== How come my server says "Paragon" and how do I change it? ===<br />
:The name displayed in the client is dependent on the server ID in the database, not the shard's name, and corresponds to the hardcoded list below:<br />
<ol start="0"><br />
<li>(empty server list) </li><br />
<li>Paragon </li><br />
<li>Cryptic</li><br />
<li>Bree</li><br />
<li>Undying</li><br />
<li>Phoenix</li><br />
<li>Rebirth</li><br />
<li>Resurgence</li><br />
<li>Titan</li><br />
<li> Unity</li><br />
<li>Torchbearer</li><br />
<li>Unstoppable</li><br />
<li>Perseverant</li><br />
<li>Indomitable</li><br />
<li>Timeless</li><br />
<li>Everlasting</li><br />
<li>Excelsior</li><br />
<li>CoHWorldServer_17</li><br />
<li>CoHWorldServer_18</li><br />
</ol><br />
:* These values reside in clientmessages-en.bin in the client<br />
<br />
:Examples:<br />
:* Changes Server name to Paragon<br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'Paragon', '127.0.0.1', '127.0.0.1', 0, 0, 1);</syntaxhighlight><br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.worldstatus (idx, status) VALUES (1, 1);</syntaxhighlight><br />
<br />
----<br />
<br />
:* Changes Server name to Cryptic<br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (2, 'Cryptic', '127.0.0.1', '127.0.0.1', 0, 0, 1);</syntaxhighlight><br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.worldstatus (idx, status) VALUES (2, 1);</syntaxhighlight><br />
<br />
=== How do I start Events? ===<br />
: In-Game you can use the following commands to start events.<br />
:: <syntaxhighlight lang="text"> /shardeventstart scriptdefs/Holiday_11_Event.scriptdef</syntaxhighlight><br />
:: <syntaxhighlight lang="text"> /shardeventstart scriptdefs/Halloween_11_Event.scriptdef</syntaxhighlight><br />
:: <syntaxhighlight lang="text"> /shardeventstart ScriptDefs/SpringFlingEvent.scriptdef</syntaxhighlight><br />
:: <syntaxhighlight lang="text"> /shardeventstart ScriptDefs/NemesisPlotShard.scriptdef</syntaxhighlight><br />
:: {|<br />
<syntaxhighlight lang="text"> /zoneeventstart RiktiInvasion<br />
Then followed by<br />
/zoneeventsignal "RiktiInvasion" "Prelude"<br />
wait for 10 seconds<br />
/zoneeventsignal "RiktiInvasion" "RunMe"</syntaxhighlight><br />
|}<br />
: There is also "/shardeventstop" to stop said events<br />
<br />
=== How do I move characters between accounts? ===<br />
: SQL to move character to another account. Useful if you want to move characters created on fakeauth to an actual authserver account.<br />
: <br />
: SYNTAX:<br />
: <syntaxhighlight lang="SQL" line='line'> UPDATE [cohdb].[dbo].[Ents] SET [AuthId] = your account id, [AuthName] = 'your account name' WHERE [Name] = 'your hero name'</syntaxhighlight><br />
: <br />
: EXAMPLE:<br />
: <syntaxhighlight lang="SQL" line='line'> UPDATE [cohdb].[dbo].[Ents] SET [AuthId] = 1, [AuthName] = 'AccountName' WHERE [Name] = 'HeroName'</syntaxhighlight><br />
: <br />
: You can view characters in the database by doing:<br />
: <syntaxhighlight lang="SQL" line='line'> SELECT * FROM [cohdb].[dbo].[Ents]</syntaxhighlight><br />
<br />
=== How do I "seed" the Auction House with items? ===<br />
: See [[I25 Populate Auction Server]], requires GM accesslevel ingame.<br />
<br />
=== How do I enter a task force solo? ===<br />
: There are two commands /gettask and /getstoryarc.<br />
; Example /gettask command:<br />
:: <syntaxhighlight lang="test">/gettask BAF_Entry </syntaxhighlight><br />
; Other possible tasks:<br />
:: Lambda_Entry, Keyes_Entry, Underground_Entry, TPN_Entry, MindsOfMayhem_Entry, DilemmaDiabolique_Entry, Magisterium_Entry, Halloween2011_Entry, BloodyBay_Entry, SummerEvent2012_Entry<br />
; Example /getarc command:<br />
:: <syntaxhighlight lang="test">/getstoryarc scripts.loc/Test/Tasks/ChrisB_StoryArc.storyarc </syntaxhighlight><br />
<br />
== Cheating ==<br />
<br />
=== How do I win the game? ===<br />
: If your character is an admin type /autoenhance, /autoenhanceio, or /autoenhanceset. <br />
:: You can find many of commands in C:\COH\data\server\db\commands.cfg <br />
: You can also type /mmm, scroll down to Design Testing, EnhanceAndInspire, Enhancements, and give yourself whatever you want.<br />
:; You can level the character up to level 50 with the below command:<br />
:: /experience_add 39149119<br />
:; You can also visit this website for a list of other commands.<br />
:: [https://paste.pc-logix.com/ekohikayaz.pl CoH Server Commands]<br />
:: OR<br />
:: [https://github.com/cohdevver/cohdocs/blob/master/All_current_GM_commands.txt All Current GM Commands]<br />
<br />
=== How do I increase Experience Rates? ===<br />
: Add the following line to servers.cfg<br />
:: <pre>XPScale 2.0</pre><br />
: The number is a direct multiplier to experience gains, change it to whatever you like, and then restart the server.<br />
: Also increases influence/infamy gains.<br />
<br />
=== Can I easily change my character alignment? ===<br />
: Null the Gull in Pocket D has a new i25 dialog option to instantly switch a character's alignment.<br />
<br />
=== How do I increase drop rates of Salvage/Recipes/etc? ===<br />
: There is no currently known method of accomplishing this on an i25 server.<br />
<br />
=== How do I change respawn times? ===<br />
: There is no currently known method of accomplishing this on an i25 server.<br />
<br />
=== How do I unlock all the good medals? ===<br />
# You can give yourself any of the badge below by typing /badge_add BadgeNameHere.<br />
#* AtlasSet (Received the Atlas Medallion) (Tourist) (Atlas Shrugged) [Adds 'The Atlas Medallion' passive power]<br />
#* Marshal (Ex-Marshal) (Marshal) [Adds the 'Marshal' passive power]<br />
#* DimensionalHopperSet (Portal Jockey) [Adds 'Portal Jockey' passive power]<br />
#* BornInBattle (Born in Battle) [Adds the 'Born In Battle' passive power]<br />
#* FreedomPhalanxSet (Freedom Phalanx Reserve Member) (Freedom Phalanx Fallen) [Adds 'Freedom Phalanx Reserve' passive power]<br />
#* HighPainThreshold (Gotten Soft) (High Pain Threshold) [Adds 'High Pain Threshold' passive power]<br />
#* TaskForceCommander (Task Force Commander) (Task Force Abandoner) [Adds 'Task Force Commander' passive power]<br />
#* MayhemInvader (Return Visitor) (Invader) [Adds 'Invader' passive power]<br />
#* Paragon (Paragon) [Unlocks 'Assemble the Team' power in the P2W Vendor under 'Prestige Powers > Travel > Teleport']<br />
#* UnbrokenSpirit (The Unbroken Spirit) [Unlocks 'Renewal of Light' power in the P2W Vendor under 'Prestige Powers > Utility > Miscellaneous']<br />
#* P_Relentless (Relentless) [Unlocks 'Return to Battle' power in the P2W Vendor under 'Prestige Powers > Utility > Miscellaneous']<br />
#* InventorAccolade (Field Crafter) [Adds 'Portable Workbench' power]<br />
#* ArchitectAccolade (Mission Engineer) [Adds 'Architect Comlink' power]<br />
#* GoldClub (Pocket D VIP Gold Club Member) [Adds 'Pocket D VIP Pass' power]<br />
#* CreySet (Conspiracy Theorist) [Adds the 'Crey CBX-9 Pistol' power]<br />
#* HeadlineStealer (Yesterday's News) [Adds 'Stolen Immobilizer Ray' power]<br />
#* RIWEAccolade (Watchwoman) [Adds 'Elusive Mind' power]<br />
#* MagusSet (Archmage) (Arch-Mage of Agony) [Adds 'Eye of the Magus' power]<br />
#* Demonic (Exorcised) (Demonic) [Adds 'Demonic Aura' power]<br />
#* Megalomaniac (In Therapy) (Megalomaniac) [Adds 'Megalomaniac' power]<br />
#* RiktiWarSet (Vanguard) [Adds 'Vanguard Medal' power]<br />
#* GeasoftheKindOnes (Geas of the Kind Ones) [Adds 'Geas of the Kind Ones' power]<br />
#* MayhemForceOfNature (Force of Nature) (Uninsurable) [Adds 'Force of Nature' power]<br />
<br />
== Common Issues ==<br />
<br />
=== Why does my server show offline? ===<br />
* First make sure you've added your server into the database. You can do so with the code below.<br />
** <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'Paragon', 'EXTERNAL IP', 'INTERNAL IP', 0, 0, 1);</syntaxhighlight ><br />
** <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.worldstatus (idx, status) VALUES (1, 1);</syntaxhighlight ><br />
<br />
=== Why does my AuthServer say "Non-registered world server X.X.X.X"? ===<br />
* Make sure the server is in the cohauth and set to online with the following queries<br />
** <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'Paragon', 'EXTERNAL IP', 'INTERNAL IP', 0, 0, 1);</syntaxhighlight ><br />
** <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.worldstatus (idx, status) VALUES (1, 1);</syntaxhighlight ><br />
<br />
=== Why does my AuthServer keep opening an ODBC window asking for a username and password? ===<br />
:Make sure AuthDB.dsn was saved into the Documents folder, or move it there and then restart the AuthServer.<br />
<br />
=== Why does my DBServer say "login failed for user sa" when starting? ===<br />
* Most likely you've entered the string wrong in servers.cfg([[i25 Server.cfg]]) or another file.<br />
* It could be that the sa account is still disabled as well. Double check SMSS to verify.<br />
* If you've entered it correctly make sure restarted the service after the changes from the guide.<br />
<br />
=== Why does my DBServer say "invalid login to DBServer" when I try to join my server? ===<br />
* Most likely you forgot to change the launch parameters of your client when you moved away from using NoAuth.<br />
:: <syntaxhighlight lang="text"> -patchdir score -patchversion 2019.04.19 -auth IPOFYOURSERVER -noversioncheck</syntaxhighlight ><br />
<br />
=== My AuctionServer is running but why players can't list items?===<br />
* Most likely your auction_server.cfg is incorrect.<br />
:: {|<br />
<pre>ShardIp 127.0.0.1<br />
SqlDbName cohauc<br />
SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=localhost\SQLEXPRESS;Uid=sa;Pwd=YOURL33TPASS;"</pre><br />
* Start AuctionServer64.exe<br />
|}<br />
<br />
=== Why is my MapServer displaying popups? ===<br />
* Most likely your servers.cfg([[i25 Server.cfg]]) is set to -filedebug. Change to this -nopopup to no longer see windows from it.<br />
<br />
=== How can I prevent MapServer from getting popups that prevent loading until acknowledged? ===<br />
: Add this to servers.cfg([[i25 Server.cfg]]):<br />
<br />
:: MapServerParams "-nopopup"<br />
<br />
=== Why aren't my Architect Missions aren't publishing? ===<br />
* Most likely you are missing the "missionserver" folder. Create one in the root of your server directory and start MissionServer again. For me this is C:\COH\missionserver.<br />
<br />
=== What configuration files do I need to create? ===<br />
: You need to create auction_server.cfg([[i25 auction_server.cfg]]), account_server.cfg([[i25 account_server.cfg]]), chat_server.cfg([[i25 chat_server.cfg]]), and servers.cfg([[i25 Server.cfg]]). Crust Fire created a php script which will make these for you.<br />
: [http://cohstuff.dreamhosters.com/makeconfigs.php Crust Fire's Auto Config Generator] [http://cohstuff.dreamhosters.com/makeconfigs.phps (Source)]<br />
<br />
=== What Operating System do I need to host this? ===<br />
: So far users have tried many different combinations without issue! Below are a few of the most common.<br />
:; Operating systems:<br />
:: Windows 2012 Server R2 Standard<br />
:: Windows 2016 Server Standard<br />
:: Windows 2019 Server Standard<br />
:: Windows 10 Home<br />
:: Windows 10 Professional<br />
:: Windows 7<br />
:; SQL Server<br />
:: SQL Server 2017 Express<br />
:: SQL Server 2017 Dev Edition<br />
:: SQL Server 2012<br />
<br />
=== Why is i25 using the wrong network adapter? ===<br />
: If you have two NICs you might find that the i25 is using the wrong one. Some users have performed a hex edit to MapServer to correct this.<br />
: https://cdn.discordapp.com/attachments/570656952166907924/571282349526876211/SkipIPFlip.png<br />
<br />
=== Why am I getting an error when trying to setup the AuthDB? === <br />
: Most likely it is a named piped issue. The article below has helped a few users.<br />
: [https://www.techcrumble.net/2017/07/sql-odbc-connection-failure-sqlstate-08001-sql-server-error-2/ SQL Error 08001]<br />
<br />
=== When I run AuthServer.exe I get an error about config.txt ===<br />
: The fix for this is pretty straight forward. For some reason you are missing config.txt. This file for me is in c:\coh\etc\config.txt<br />
:: [https://pastebin.com/VSv2JPVY config.txt]<br />
:: https://cdn.discordapp.com/attachments/570656952166907924/571845926704906240/unknown.png<br />
<br />
=== How do I add AuthServer to the Community VM? ===<br />
: Open up ODBC Data Sources.<br />
:* Click File DSN then click add to the right.<br />
:* Choose ODBC Driver 17 for SQL Server. Click Next.<br />
:* Enter AuthDB into the box and hit next then finish.<br />
:* It will then say something like ‘Which SQL Server would you like to connect to?’<br />
:** Type localhost\SQLEXPRESS and hit next.<br />
:* Choose with SQL Auth enter sa into username and the password you use previously.<br />
:* Tick choose change default database to and select cohauth and hit next.<br />
:* After this hit finish then ‘Test Data source’ this will test the auth database connection to your main database.<br />
:* Next you need to update your servers.cfg([[i25 Server.cfg]]).<br />
;:* It should currently look like below code.<br />
:::: {|<br />
<nowiki><br />
DBServer 127.0.0.1 18717<br />
ShardName ShardName<br />
//AuthServer 127.0.0.1 2104<br />
DefaultAccessLevel 0<br />
NoStats 1<br />
UseFakeAuth 1<br />
</nowiki><br />
;:* Change to look like the below code<br />
<nowiki><br />
DBServer 127.0.0.1 18717<br />
ShardName ShardName<br />
AuthServer 127.0.0.1 2104<br />
DefaultAccessLevel 0<br />
NoStats 1<br />
//UseFakeAuth 1<br />
</nowiki><br />
|}<br />
:* Start AuthServer.exe and update your game icon to use -auth vs -db.<br />
<br />
=== What is different in i25 from i24? ===<br />
<br />
[https://docs.google.com/document/d/11cLJiSYlfueJheOumRywG8Evip2Mjmu_30Y6ePaetqY/edit i25 Patch Notes on Google Docs]<br />
<br />
=== Where is the i25 source and how do I get it? ===<br />
: The source for i25 is now available on the [https://git.ourodev.com/CoX/Source Ouroboros Git]. However keep in mind this code is considered "End of Life" and will not be maintained. Where the code is at right now is likely where it will remain.</div>Methrilhttps://wiki.ourodev.com/index.php?title=Main_Page&diff=860Main Page2019-05-08T05:22:40Z<p>Methril: </p>
<hr />
<div><!--<br />
Notes area.<br />
<br />
Stole some of the layout inspiration from gametech emugen wiki.<br />
<br />
TODO: Adapt the structure of the main page to move Howtos to their own sections, and also consolidate specific component topics. I sent the below suggested basic structure to TMC earlier. This is simply a concept for content and organization, and it doesn't have to be followed to the letter, but these are my thoughts in any case. --Bevinsky<br />
<br />
Walkthroughs<br />
- [[Basic i24 Walkthrough]]<br />
- [[Basic i25 Walkthrough]]<br />
<br />
# i24 and i25 are very similar. Instead of having separate pages<br />
# for each of these items, it might be better to cover differences on each page.<br />
# -- Perhaps this is not a desired idea?<br />
<br />
# document directory structure:<br />
# - Executable/datadir structure<br />
# - other dirs, such as C:\coh_data\attributes?<br />
[[Directories]] <br />
<br />
# Should assemble magnet links for specific assets?<br />
[[Assets]] # explain client piggs/bins, server bins, maps, SpawnAreas, script.loc<br />
- [[maps.db]] # Usage, format and directives<br />
- [[Templates & Attributes]] # template purpose, usage, generation method, and syntax<br />
<br />
# Document for each:<br />
# - Location<br />
# - Purpose, usage<br />
# - Full directive reference / file format<br />
Configurations<br />
- [[gamedatadir.txt]]<br />
- [[servers.cfg]]<br />
- [[loadBalance]] # for both loadBalanceDefault.cfg and loadBalanceShardSpecific.cfg<br />
- [[auction_server.cfg]]<br />
- [[account_server.cfg]]<br />
- [[chat_server.cfg]]<br />
- [[commands.cfg]]<br />
- [[weeklytf.cfg]] # shouldn't this be "weeklyTF.cfg"? is this changed in i25 or is it case-insensitive?<br />
- [[version.ini]]<br />
<br />
# Document for each component:<br />
# - basic purpose, usage<br />
# - command line flags reference<br />
# - common issues<br />
# - etc.<br />
[[Servers]] # Architecture description?<br />
- [[DBserver]]<br />
- [[Mapserver]]<br />
- [[Launcher]]<br />
- [[Chatserver]]<br />
- [[Authserver]]<br />
- [[Accountserver]]<br />
- [[Arenaserver]]<br />
- [[Missionserver]]<br />
- [[Auctionserver]]<br />
- etc? are there more?<br />
<br />
Tools<br />
- [[pig.exe]]<br />
- [[ServerMonitor]]<br />
<br />
Protocols?<br />
- Inter-server?<br />
- ?<br />
- Server-client?<br />
- [[Client-to-authserver]]<br />
- [[Client-to-dbserver]]<br />
- [[Client-to-mapserver]]<br />
<br />
Formats?<br />
- [[PIGG]] # pig.exe<br />
- [[Parse6]]<br />
- [[Parse7]]<br />
<br />
<br />
<br />
--><br />
{| style="width:100%; background:#4a2a2a; margin-top: 0.6em; border:1px solid #a2a9b1; text-align:center; font-weight:bold"<br />
||<br />
Note: OuroDev is purely a not-for-profit, volunteer group. Anyone asking for donations on behalf of OuroDev or any of its contributors does not represent the group and should be ignored.<br />
|}<br />
<br />
{| style="width:100%; background:#2a2a2a; margin-top: 0.6em; border:1px solid #a2a9b1; padding: 0 8%;"<br />
| style="width:15%;" |<br />
<br />
{| style="width:100px; border:none; background:none;"<br />
| style="text-align:center; white-space:nowrap;" |<br />
<div style="font-size:162%; border:none; padding:.1em;">Welcome to OuroWiki,</div><br />
<div style="top:+0.2em; font-size:95%;">the Ouroboros Project wiki.</div><br />
<div id="articlecount" style="width:100%; text-align:center; font-size:85%;">There are [[Special:Statistics|{{NUMBEROFARTICLES}}]] articles already. Why not explore them?</div><br />
|}<br />
<br />
| style="width:40%; font-size:85%; padding:0.6em; padding-right:5%" |<br />
The '''Ouroboros Project''' is an ongoing volunteer effort that is taking a three-pronged approach to making City of Heroes available to the public:<br />
# Actively providing documentation and support for setting up private deployments using released 'i25' binaries and 'i24' source.<br />
# Maintaining and releasing stable builds of the 'i24' client and server, including a public git repo and public bug tracker.<br />
# Providing a public wiki for documentation and transparency.<br />
<br />
| style="width:10%; font-size:120%; white-space:nowrap;" |<br />
: [[File:Gitea.png|30px|link=https://git.ourodev.com/CoX/Source]] [https://git.ourodev.com/CoX/Source Gitea]<br />
: [[File:Mantis.png|30px|link=https://bugs.ourodev.com/]] [https://bugs.ourodev.com/ Mantis]<br />
: [[File:Discord.png|30px|link=OuroDev Discord]] [[OuroDev Discord|Discord]]<br />
|}<br />
<br />
{| style="width:100%; margin-top: 0.6em"<br />
| style="width:75%;vertical-align:top;padding-right:0.6em" |<br />
{| style="width:100%; background:#2a2a2a; border:1px solid #a2a9b1; padding:0.6em; vertical-align:top"<br />
| style="width:100%" colspan=4 |<br />
<h2 style="padding-top:0;margin-top:0">[[Server Architecture]]</h2><br />
|-<br />
| style="width:25%; vertical-align:top" |<br />
<h3 style="padding-top:0;margin-top:0"> Assets </h3><br />
* [[Server directory structure|Directory structure]]<br />
==== Binary assets ====<br />
* [[BCN maps]]<br />
==== Textual assets ====<br />
* [[maps.db]] ''configuration?''<br />
* [[script.loc]]<br />
* [[SpawnArea]]<br />
* [[Templates]]<br />
<br />
| style="width:25%; vertical-align:top" |<br />
<h3 style="padding-top:0;margin-top:0"> Components </h3><br />
* [[dbserver]]<br />
* [[mapserver]]<br />
* [[launcher]]<br />
* [[chatserver]]<br />
* [[authserver]]<br />
* [[accountserver]]<br />
* [[arenaserver]]<br />
* [[missionserver]]<br />
* [[auctionserver]]<br />
* [[queueserver]]<br />
<br />
| style="width:25%; vertical-align:top" |<br />
<h3 style="padding-top:0;margin-top:0"> Configurations </h3><br />
* [[servers.cfg]]<br />
* [[loadBalance]]<br />
* [[auction_server.cfg]]<br />
* [[account_server.cfg]]<br />
* [[chat_server.cfg]]<br />
* [[commands.cfg]]<br />
* [[weeklytf.cfg]]<br />
* [[Other configurations]]<br />
<br />
| style="width:25%;vertical-align:top" |<br />
<h3 style="padding-top:0;margin-top:0"> Tools </h3><br />
* [[pig.exe]]<br />
* [[ServerMonitor]]<br />
* [[dbquery.exe]]<br />
<br />
=== Protocols ===<br />
* [[Network protocol]]<br />
==== Client-server protocols ''Does this need its own page?'' ====<br />
* [[Client-to-authserver]]<br />
* [[Client-to-dbserver]]<br />
* [[Client-to-mapserver]]<br />
==== Server protocols ====<br />
* [[Dbserver-protocols]]<br />
<br />
|}<br />
| style="width:25%;vertical-align:top" |<br />
{| style="width:100%; background:#2a2a2a; border:1px solid #a2a9b1; padding:0.6em; vertical-align:top"<br />
| style="width:100%" colspan=1 |<br />
<h2 style="padding-top:0;margin-top:0">[[Client Architecture]]</h2><br />
|-<br />
| style="width:100%;" |<br />
<h3 style="padding-top:0;margin-top:0"> TODO </h3><br />
* TODO<br />
|}<br />
<br />
|}<br />
<br />
{| style="width:100%; background:#2a2a2a; margin-top: 0.6em; border:1px solid #a2a9b1; text-align:center; font-size:130%"<br />
| style="width:50%" |<br />
[[i24 install guide|I want to help develop!]]<br />
| style="width:50%" |<br />
[[i25 Community Virtual Machines|I just want to run a server!]]<br />
|}<br />
<br />
{| style="width:100%; margin-top: 0.6em"<br />
| style="width:50%; background:#2a2a2a; border:1px solid #a2a9b1; padding:0.6em; vertical-align:top" |<br />
<br />
<h2 style="margin-top:0;padding-top:0">Issue 24</h2><br />
Issue 24 (stylized as i24) was the last publicly accessible version of the game before it was shut down. i24 was deployed on the test server, but had not yet been released to live servers.<br />
<br />
== OuroDev Volume 2 Development ==<br />
=== Details ===<br />
* [[OuroDev_Volume_2_Vision|OuroDev Volume 2 Vision]]<br />
* [[OuroDev_Volume_2_Roadmap|OuroDev Volume 2 Roadmap]]<br />
<br />
=== Workflow ===<br />
* [[OuroDev_Git_Workflow|OuroDev Git Workflow]] <br />
* [[OuroDev_issue_tracker_workflow| OuroDev Issue Tracker Workflow]]<br />
* [[OuroDev_QA_workflow|OuroDev QA Workflow]]<br />
<br />
=== Guidelines ===<br />
* [[OuroDev_Code_Style_Guide|OuroDev Code Style Guide]]<br />
* [[OuroDev_Bug_Report_Guidelines|OuroDev Bug report Guidelines]]<br />
<br />
== General i24 Development ==<br />
=== Guides ===<br />
* [[source locations|Where to get the source]]<br />
* [[i24_install_guide|Install guide for setting up i24]]<br />
* [[i24 Common Setup Issues]]<br />
* [[i24 Commands|i24 admin commands (in-game)]]<br />
* [[Server Configuration Values]]<br />
* [[Server Executable Flags]]<br />
* [[Using /mmm]] (in-game console)<br />
<br />
=== Documentation ===<br />
* [[system_architecture_image|System Architecture Image]]<br />
* [[map_server_overview|Map Server]]<br />
<br />
=== Tools Needed ===<br />
* An installation of Windows (verified working: 10 Pro, Server 2019 Standard)<br />
* [http://download.microsoft.com/download/D/B/C/DBC11267-9597-46FF-8377-E194A73970D6/vs_proweb.exe Visual Studio 2010 Professional] Web download<br />
* [https://www.microsoft.com/en-us/download/details.aspx?id=29062 Microsoft® SQL Server® 2012 Express]<br />
* [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SQL Server Management Studio] (SMSS)<br />
<br />
=== Torrent links ===<br />
* [[magnet links]]<br />
<br />
=== Useful Future Links? ===<br />
* [https://cohrevival.com/codex/models.html Model Index]<br />
<br />
| style="width:50%; background:#2a2a2a; border:1px solid #a2a9b1; padding:0.6em; vertical-align:top" |<br />
<br />
<h2 style="margin-top:0;padding-top:0">[[i25 Main Page|Issue 25]]</h2><br />
Issue 25 (stylized as i25) was extended from an i24 base by SCoRE (Secret Cabal of Reverse Engineers) over the course of six years. It included additional content for i24 power sets, added the P2W Vendor, and fixed a good number of bugs.<br />
<br />
=== Client Setup Guide ===<br />
* [[i25 Client Setup]]<br />
<br />
=== Server Setup Guide ===<br />
* [[i25 Server Setup]]<br />
* [[i25 Multiple Server Setup]]<br />
* [[i25 Community Virtual Machines]]<br />
* [https://gofile.io/?c=w56I8R Video Guide from scratch]<br />
<br />
=== Commonly Asked Questions/Problems ===<br />
* [[i25 FAQ]]<br />
* [[i25 Current Status]]<br />
* [[i25 Command Lists]]<br />
<br />
=== Downloads and Community Tools ===<br />
* [[i25 Downloads]]<br />
* [[i25 Populate Auction Server]]<br />
<br />
=== Reference Documents ===<br />
* [https://drive.google.com/file/d/1eZqIZnhEYDoRAJeoCotyKhWZZG07mrft/view City of Heroes Document]<br />
* [[Cryptic Reference Document]]<br />
<br />
=== i25 Patch Notes ===<br />
* [https://docs.google.com/document/d/11cLJiSYlfueJheOumRywG8Evip2Mjmu_30Y6ePaetqY i25 Patch Notes]<br />
<br />
|}<br />
<br />
{| style="width:100%; background:#2a2a2a; margin-top: 0.6em; border:1px solid #a2a9b1; padding:0.6em; vertical-align: top"<br />
| style="width:100%; vertical-align:top" |<br />
<br />
== Quality of Life ==<br />
* [[VidiotMaps]] (suitable for use with either i24 or i25)<br />
* [[Account_Portal]] (A PHP application to allow users to create their own accounts and change their passwords.)<br />
<br />
|}<br />
<br />
__NOTOC__<br />
__NOEDITSECTION__<br />
<!-- Hide page title. For better results use an extension like NoTitle. --><br />
{{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}</div>Methrilhttps://wiki.ourodev.com/index.php?title=Cryptic_Reference_Document&diff=859Cryptic Reference Document2019-05-08T05:21:53Z<p>Methril: </p>
<hr />
<div>== Information ==<br />
* This is a 1000+ Page PDF document.<br />
<br />
== Mirrors ==<br />
; MegaZ:<br />
:: [https://mega.nz/#!EppB2SpD!d5BwLFJ_L-eTVWZ-KMYebHR9XP3cWjZ54roz_qmPyzc Cryptic Reference Document]<br />
; HTTPS:<br />
:: <br />
::</div>Methrilhttps://wiki.ourodev.com/index.php?title=Cryptic_Reference_Document&diff=858Cryptic Reference Document2019-05-08T04:55:35Z<p>Methril: Created page with "== Information == * This is a 1000+ Page PDF document. == Mirrors == ; MegaZ: :: [https://docs.google.com/document/d/1N63pPUfll-PAiElfGatSqCvX7GHZ8ygHWHAYbAV5il0/edit Origina..."</p>
<hr />
<div>== Information ==<br />
* This is a 1000+ Page PDF document.<br />
<br />
== Mirrors ==<br />
; MegaZ:<br />
:: [https://docs.google.com/document/d/1N63pPUfll-PAiElfGatSqCvX7GHZ8ygHWHAYbAV5il0/edit Original Setup Instructions on Google Drive]<br />
; HTTPS:<br />
:: <br />
::</div>Methrilhttps://wiki.ourodev.com/index.php?title=Main_Page&diff=857Main Page2019-05-08T04:53:39Z<p>Methril: </p>
<hr />
<div><!--<br />
Notes area.<br />
<br />
Stole some of the layout inspiration from gametech emugen wiki.<br />
<br />
TODO: Adapt the structure of the main page to move Howtos to their own sections, and also consolidate specific component topics. I sent the below suggested basic structure to TMC earlier. This is simply a concept for content and organization, and it doesn't have to be followed to the letter, but these are my thoughts in any case. --Bevinsky<br />
<br />
Walkthroughs<br />
- [[Basic i24 Walkthrough]]<br />
- [[Basic i25 Walkthrough]]<br />
<br />
# i24 and i25 are very similar. Instead of having separate pages<br />
# for each of these items, it might be better to cover differences on each page.<br />
# -- Perhaps this is not a desired idea?<br />
<br />
# document directory structure:<br />
# - Executable/datadir structure<br />
# - other dirs, such as C:\coh_data\attributes?<br />
[[Directories]] <br />
<br />
# Should assemble magnet links for specific assets?<br />
[[Assets]] # explain client piggs/bins, server bins, maps, SpawnAreas, script.loc<br />
- [[maps.db]] # Usage, format and directives<br />
- [[Templates & Attributes]] # template purpose, usage, generation method, and syntax<br />
<br />
# Document for each:<br />
# - Location<br />
# - Purpose, usage<br />
# - Full directive reference / file format<br />
Configurations<br />
- [[gamedatadir.txt]]<br />
- [[servers.cfg]]<br />
- [[loadBalance]] # for both loadBalanceDefault.cfg and loadBalanceShardSpecific.cfg<br />
- [[auction_server.cfg]]<br />
- [[account_server.cfg]]<br />
- [[chat_server.cfg]]<br />
- [[commands.cfg]]<br />
- [[weeklytf.cfg]] # shouldn't this be "weeklyTF.cfg"? is this changed in i25 or is it case-insensitive?<br />
- [[version.ini]]<br />
<br />
# Document for each component:<br />
# - basic purpose, usage<br />
# - command line flags reference<br />
# - common issues<br />
# - etc.<br />
[[Servers]] # Architecture description?<br />
- [[DBserver]]<br />
- [[Mapserver]]<br />
- [[Launcher]]<br />
- [[Chatserver]]<br />
- [[Authserver]]<br />
- [[Accountserver]]<br />
- [[Arenaserver]]<br />
- [[Missionserver]]<br />
- [[Auctionserver]]<br />
- etc? are there more?<br />
<br />
Tools<br />
- [[pig.exe]]<br />
- [[ServerMonitor]]<br />
<br />
Protocols?<br />
- Inter-server?<br />
- ?<br />
- Server-client?<br />
- [[Client-to-authserver]]<br />
- [[Client-to-dbserver]]<br />
- [[Client-to-mapserver]]<br />
<br />
Formats?<br />
- [[PIGG]] # pig.exe<br />
- [[Parse6]]<br />
- [[Parse7]]<br />
<br />
<br />
<br />
--><br />
{| style="width:100%; background:#4a2a2a; margin-top: 0.6em; border:1px solid #a2a9b1; text-align:center; font-weight:bold"<br />
||<br />
Note: OuroDev is purely a not-for-profit, volunteer group. Anyone asking for donations on behalf of OuroDev or any of its contributors does not represent the group and should be ignored.<br />
|}<br />
<br />
{| style="width:100%; background:#2a2a2a; margin-top: 0.6em; border:1px solid #a2a9b1; padding: 0 8%;"<br />
| style="width:15%;" |<br />
<br />
{| style="width:100px; border:none; background:none;"<br />
| style="text-align:center; white-space:nowrap;" |<br />
<div style="font-size:162%; border:none; padding:.1em;">Welcome to OuroWiki,</div><br />
<div style="top:+0.2em; font-size:95%;">the Ouroboros Project wiki.</div><br />
<div id="articlecount" style="width:100%; text-align:center; font-size:85%;">There are [[Special:Statistics|{{NUMBEROFARTICLES}}]] articles already. Why not explore them?</div><br />
|}<br />
<br />
| style="width:40%; font-size:85%; padding:0.6em; padding-right:5%" |<br />
The '''Ouroboros Project''' is an ongoing volunteer effort that is taking a three-pronged approach to making City of Heroes available to the public:<br />
# Actively providing documentation and support for setting up private deployments using released 'i25' binaries and 'i24' source.<br />
# Maintaining and releasing stable builds of the 'i24' client and server, including a public git repo and public bug tracker.<br />
# Providing a public wiki for documentation and transparency.<br />
<br />
| style="width:10%; font-size:120%; white-space:nowrap;" |<br />
: [[File:Gitea.png|30px|link=https://git.ourodev.com/CoX/Source]] [https://git.ourodev.com/CoX/Source Gitea]<br />
: [[File:Mantis.png|30px|link=https://bugs.ourodev.com/]] [https://bugs.ourodev.com/ Mantis]<br />
: [[File:Discord.png|30px|link=OuroDev Discord]] [[OuroDev Discord|Discord]]<br />
|}<br />
<br />
{| style="width:100%; margin-top: 0.6em"<br />
| style="width:75%;vertical-align:top;padding-right:0.6em" |<br />
{| style="width:100%; background:#2a2a2a; border:1px solid #a2a9b1; padding:0.6em; vertical-align:top"<br />
| style="width:100%" colspan=4 |<br />
<h2 style="padding-top:0;margin-top:0">[[Server Architecture]]</h2><br />
|-<br />
| style="width:25%; vertical-align:top" |<br />
<h3 style="padding-top:0;margin-top:0"> Assets </h3><br />
* [[Server directory structure|Directory structure]]<br />
==== Binary assets ====<br />
* [[BCN maps]]<br />
==== Textual assets ====<br />
* [[maps.db]] ''configuration?''<br />
* [[script.loc]]<br />
* [[SpawnArea]]<br />
* [[Templates]]<br />
<br />
| style="width:25%; vertical-align:top" |<br />
<h3 style="padding-top:0;margin-top:0"> Components </h3><br />
* [[dbserver]]<br />
* [[mapserver]]<br />
* [[launcher]]<br />
* [[chatserver]]<br />
* [[authserver]]<br />
* [[accountserver]]<br />
* [[arenaserver]]<br />
* [[missionserver]]<br />
* [[auctionserver]]<br />
* [[queueserver]]<br />
<br />
| style="width:25%; vertical-align:top" |<br />
<h3 style="padding-top:0;margin-top:0"> Configurations </h3><br />
* [[servers.cfg]]<br />
* [[loadBalance]]<br />
* [[auction_server.cfg]]<br />
* [[account_server.cfg]]<br />
* [[chat_server.cfg]]<br />
* [[commands.cfg]]<br />
* [[weeklytf.cfg]]<br />
* [[Other configurations]]<br />
<br />
| style="width:25%;vertical-align:top" |<br />
<h3 style="padding-top:0;margin-top:0"> Tools </h3><br />
* [[pig.exe]]<br />
* [[ServerMonitor]]<br />
* [[dbquery.exe]]<br />
<br />
=== Protocols ===<br />
* [[Network protocol]]<br />
==== Client-server protocols ''Does this need its own page?'' ====<br />
* [[Client-to-authserver]]<br />
* [[Client-to-dbserver]]<br />
* [[Client-to-mapserver]]<br />
==== Server protocols ====<br />
* [[Dbserver-protocols]]<br />
<br />
|}<br />
| style="width:25%;vertical-align:top" |<br />
{| style="width:100%; background:#2a2a2a; border:1px solid #a2a9b1; padding:0.6em; vertical-align:top"<br />
| style="width:100%" colspan=1 |<br />
<h2 style="padding-top:0;margin-top:0">[[Client Architecture]]</h2><br />
|-<br />
| style="width:100%;" |<br />
<h3 style="padding-top:0;margin-top:0"> TODO </h3><br />
* TODO<br />
|}<br />
<br />
|}<br />
<br />
{| style="width:100%; background:#2a2a2a; margin-top: 0.6em; border:1px solid #a2a9b1; text-align:center; font-size:130%"<br />
| style="width:50%" |<br />
[[i24 install guide|I want to help develop!]]<br />
| style="width:50%" |<br />
[[i25 Community Virtual Machines|I just want to run a server!]]<br />
|}<br />
<br />
{| style="width:100%; margin-top: 0.6em"<br />
| style="width:50%; background:#2a2a2a; border:1px solid #a2a9b1; padding:0.6em; vertical-align:top" |<br />
<br />
<h2 style="margin-top:0;padding-top:0">Issue 24</h2><br />
Issue 24 (stylized as i24) was the last publicly accessible version of the game before it was shut down. i24 was deployed on the test server, but had not yet been released to live servers.<br />
<br />
== OuroDev Volume 2 Development ==<br />
=== Details ===<br />
* [[OuroDev_Volume_2_Vision|OuroDev Volume 2 Vision]]<br />
* [[OuroDev_Volume_2_Roadmap|OuroDev Volume 2 Roadmap]]<br />
<br />
=== Workflow ===<br />
* [[OuroDev_Git_Workflow|OuroDev Git Workflow]] <br />
* [[OuroDev_issue_tracker_workflow| OuroDev Issue Tracker Workflow]]<br />
* [[OuroDev_QA_workflow|OuroDev QA Workflow]]<br />
<br />
=== Guidelines ===<br />
* [[OuroDev_Code_Style_Guide|OuroDev Code Style Guide]]<br />
* [[OuroDev_Bug_Report_Guidelines|OuroDev Bug report Guidelines]]<br />
<br />
== General i24 Development ==<br />
=== Guides ===<br />
* [[source locations|Where to get the source]]<br />
* [[i24_install_guide|Install guide for setting up i24]]<br />
* [[i24 Common Setup Issues]]<br />
* [[i24 Commands|i24 admin commands (in-game)]]<br />
* [[Server Configuration Values]]<br />
* [[Server Executable Flags]]<br />
* [[Using /mmm]] (in-game console)<br />
<br />
=== Documentation ===<br />
* [[system_architecture_image|System Architecture Image]]<br />
* [[map_server_overview|Map Server]]<br />
<br />
=== Tools Needed ===<br />
* An installation of Windows (verified working: 10 Pro, Server 2019 Standard)<br />
* [http://download.microsoft.com/download/D/B/C/DBC11267-9597-46FF-8377-E194A73970D6/vs_proweb.exe Visual Studio 2010 Professional] Web download<br />
* [https://www.microsoft.com/en-us/download/details.aspx?id=29062 Microsoft® SQL Server® 2012 Express]<br />
* [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SQL Server Management Studio] (SMSS)<br />
<br />
=== Torrent links ===<br />
* [[magnet links]]<br />
<br />
=== Useful Future Links? ===<br />
* [https://cohrevival.com/codex/models.html Model Index]<br />
<br />
| style="width:50%; background:#2a2a2a; border:1px solid #a2a9b1; padding:0.6em; vertical-align:top" |<br />
<br />
<h2 style="margin-top:0;padding-top:0">[[i25 Main Page|Issue 25]]</h2><br />
Issue 25 (stylized as i25) was extended from an i24 base by SCoRE (Secret Cabal of Reverse Engineers) over the course of six years. It included additional content for i24 power sets, added the P2W Vendor, and fixed a good number of bugs.<br />
<br />
=== Client Setup Guide ===<br />
* [[i25 Client Setup]]<br />
<br />
=== Server Setup Guide ===<br />
* [[i25 Server Setup]]<br />
* [[i25 Multiple Server Setup]]<br />
* [[i25 Community Virtual Machines]]<br />
* [https://gofile.io/?c=w56I8R Video Guide from scratch]<br />
* [[Cryptic Reference Document]]<br />
<br />
=== Commonly Asked Questions/Problems ===<br />
* [[i25 FAQ]]<br />
* [[i25 Current Status]]<br />
* [[i25 Command Lists]]<br />
<br />
=== Downloads and Community Tools ===<br />
* [[i25 Downloads]]<br />
* [[i25 Populate Auction Server]]<br />
<br />
=== Reference Documents ===<br />
* [https://drive.google.com/file/d/1eZqIZnhEYDoRAJeoCotyKhWZZG07mrft/view City of Heroes Document]<br />
* [https://mega.nz/#!EppB2SpD!d5BwLFJ_L-eTVWZ-KMYebHR9XP3cWjZ54roz_qmPyzc Cryptic Reference Document]<br />
<br />
=== i25 Patch Notes ===<br />
* [https://docs.google.com/document/d/11cLJiSYlfueJheOumRywG8Evip2Mjmu_30Y6ePaetqY i25 Patch Notes]<br />
<br />
|}<br />
<br />
{| style="width:100%; background:#2a2a2a; margin-top: 0.6em; border:1px solid #a2a9b1; padding:0.6em; vertical-align: top"<br />
| style="width:100%; vertical-align:top" |<br />
<br />
== Quality of Life ==<br />
* [[VidiotMaps]] (suitable for use with either i24 or i25)<br />
* [[Account_Portal]] (A PHP application to allow users to create their own accounts and change their passwords.)<br />
<br />
|}<br />
<br />
__NOTOC__<br />
__NOEDITSECTION__<br />
<!-- Hide page title. For better results use an extension like NoTitle. --><br />
{{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}</div>Methrilhttps://wiki.ourodev.com/index.php?title=Main_Page&diff=856Main Page2019-05-08T04:52:09Z<p>Methril: </p>
<hr />
<div><!--<br />
Notes area.<br />
<br />
Stole some of the layout inspiration from gametech emugen wiki.<br />
<br />
TODO: Adapt the structure of the main page to move Howtos to their own sections, and also consolidate specific component topics. I sent the below suggested basic structure to TMC earlier. This is simply a concept for content and organization, and it doesn't have to be followed to the letter, but these are my thoughts in any case. --Bevinsky<br />
<br />
Walkthroughs<br />
- [[Basic i24 Walkthrough]]<br />
- [[Basic i25 Walkthrough]]<br />
<br />
# i24 and i25 are very similar. Instead of having separate pages<br />
# for each of these items, it might be better to cover differences on each page.<br />
# -- Perhaps this is not a desired idea?<br />
<br />
# document directory structure:<br />
# - Executable/datadir structure<br />
# - other dirs, such as C:\coh_data\attributes?<br />
[[Directories]] <br />
<br />
# Should assemble magnet links for specific assets?<br />
[[Assets]] # explain client piggs/bins, server bins, maps, SpawnAreas, script.loc<br />
- [[maps.db]] # Usage, format and directives<br />
- [[Templates & Attributes]] # template purpose, usage, generation method, and syntax<br />
<br />
# Document for each:<br />
# - Location<br />
# - Purpose, usage<br />
# - Full directive reference / file format<br />
Configurations<br />
- [[gamedatadir.txt]]<br />
- [[servers.cfg]]<br />
- [[loadBalance]] # for both loadBalanceDefault.cfg and loadBalanceShardSpecific.cfg<br />
- [[auction_server.cfg]]<br />
- [[account_server.cfg]]<br />
- [[chat_server.cfg]]<br />
- [[commands.cfg]]<br />
- [[weeklytf.cfg]] # shouldn't this be "weeklyTF.cfg"? is this changed in i25 or is it case-insensitive?<br />
- [[version.ini]]<br />
<br />
# Document for each component:<br />
# - basic purpose, usage<br />
# - command line flags reference<br />
# - common issues<br />
# - etc.<br />
[[Servers]] # Architecture description?<br />
- [[DBserver]]<br />
- [[Mapserver]]<br />
- [[Launcher]]<br />
- [[Chatserver]]<br />
- [[Authserver]]<br />
- [[Accountserver]]<br />
- [[Arenaserver]]<br />
- [[Missionserver]]<br />
- [[Auctionserver]]<br />
- etc? are there more?<br />
<br />
Tools<br />
- [[pig.exe]]<br />
- [[ServerMonitor]]<br />
<br />
Protocols?<br />
- Inter-server?<br />
- ?<br />
- Server-client?<br />
- [[Client-to-authserver]]<br />
- [[Client-to-dbserver]]<br />
- [[Client-to-mapserver]]<br />
<br />
Formats?<br />
- [[PIGG]] # pig.exe<br />
- [[Parse6]]<br />
- [[Parse7]]<br />
<br />
<br />
<br />
--><br />
{| style="width:100%; background:#4a2a2a; margin-top: 0.6em; border:1px solid #a2a9b1; text-align:center; font-weight:bold"<br />
||<br />
Note: OuroDev is purely a not-for-profit, volunteer group. Anyone asking for donations on behalf of OuroDev or any of its contributors does not represent the group and should be ignored.<br />
|}<br />
<br />
{| style="width:100%; background:#2a2a2a; margin-top: 0.6em; border:1px solid #a2a9b1; padding: 0 8%;"<br />
| style="width:15%;" |<br />
<br />
{| style="width:100px; border:none; background:none;"<br />
| style="text-align:center; white-space:nowrap;" |<br />
<div style="font-size:162%; border:none; padding:.1em;">Welcome to OuroWiki,</div><br />
<div style="top:+0.2em; font-size:95%;">the Ouroboros Project wiki.</div><br />
<div id="articlecount" style="width:100%; text-align:center; font-size:85%;">There are [[Special:Statistics|{{NUMBEROFARTICLES}}]] articles already. Why not explore them?</div><br />
|}<br />
<br />
| style="width:40%; font-size:85%; padding:0.6em; padding-right:5%" |<br />
The '''Ouroboros Project''' is an ongoing volunteer effort that is taking a three-pronged approach to making City of Heroes available to the public:<br />
# Actively providing documentation and support for setting up private deployments using released 'i25' binaries and 'i24' source.<br />
# Maintaining and releasing stable builds of the 'i24' client and server, including a public git repo and public bug tracker.<br />
# Providing a public wiki for documentation and transparency.<br />
<br />
| style="width:10%; font-size:120%; white-space:nowrap;" |<br />
: [[File:Gitea.png|30px|link=https://git.ourodev.com/CoX/Source]] [https://git.ourodev.com/CoX/Source Gitea]<br />
: [[File:Mantis.png|30px|link=https://bugs.ourodev.com/]] [https://bugs.ourodev.com/ Mantis]<br />
: [[File:Discord.png|30px|link=OuroDev Discord]] [[OuroDev Discord|Discord]]<br />
|}<br />
<br />
{| style="width:100%; margin-top: 0.6em"<br />
| style="width:75%;vertical-align:top;padding-right:0.6em" |<br />
{| style="width:100%; background:#2a2a2a; border:1px solid #a2a9b1; padding:0.6em; vertical-align:top"<br />
| style="width:100%" colspan=4 |<br />
<h2 style="padding-top:0;margin-top:0">[[Server Architecture]]</h2><br />
|-<br />
| style="width:25%; vertical-align:top" |<br />
<h3 style="padding-top:0;margin-top:0"> Assets </h3><br />
* [[Server directory structure|Directory structure]]<br />
==== Binary assets ====<br />
* [[BCN maps]]<br />
==== Textual assets ====<br />
* [[maps.db]] ''configuration?''<br />
* [[script.loc]]<br />
* [[SpawnArea]]<br />
* [[Templates]]<br />
<br />
| style="width:25%; vertical-align:top" |<br />
<h3 style="padding-top:0;margin-top:0"> Components </h3><br />
* [[dbserver]]<br />
* [[mapserver]]<br />
* [[launcher]]<br />
* [[chatserver]]<br />
* [[authserver]]<br />
* [[accountserver]]<br />
* [[arenaserver]]<br />
* [[missionserver]]<br />
* [[auctionserver]]<br />
* [[queueserver]]<br />
<br />
| style="width:25%; vertical-align:top" |<br />
<h3 style="padding-top:0;margin-top:0"> Configurations </h3><br />
* [[servers.cfg]]<br />
* [[loadBalance]]<br />
* [[auction_server.cfg]]<br />
* [[account_server.cfg]]<br />
* [[chat_server.cfg]]<br />
* [[commands.cfg]]<br />
* [[weeklytf.cfg]]<br />
* [[Other configurations]]<br />
<br />
| style="width:25%;vertical-align:top" |<br />
<h3 style="padding-top:0;margin-top:0"> Tools </h3><br />
* [[pig.exe]]<br />
* [[ServerMonitor]]<br />
* [[dbquery.exe]]<br />
<br />
=== Protocols ===<br />
* [[Network protocol]]<br />
==== Client-server protocols ''Does this need its own page?'' ====<br />
* [[Client-to-authserver]]<br />
* [[Client-to-dbserver]]<br />
* [[Client-to-mapserver]]<br />
==== Server protocols ====<br />
* [[Dbserver-protocols]]<br />
<br />
|}<br />
| style="width:25%;vertical-align:top" |<br />
{| style="width:100%; background:#2a2a2a; border:1px solid #a2a9b1; padding:0.6em; vertical-align:top"<br />
| style="width:100%" colspan=1 |<br />
<h2 style="padding-top:0;margin-top:0">[[Client Architecture]]</h2><br />
|-<br />
| style="width:100%;" |<br />
<h3 style="padding-top:0;margin-top:0"> TODO </h3><br />
* TODO<br />
|}<br />
<br />
|}<br />
<br />
{| style="width:100%; background:#2a2a2a; margin-top: 0.6em; border:1px solid #a2a9b1; text-align:center; font-size:130%"<br />
| style="width:50%" |<br />
[[i24 install guide|I want to help develop!]]<br />
| style="width:50%" |<br />
[[i25 Community Virtual Machines|I just want to run a server!]]<br />
|}<br />
<br />
{| style="width:100%; margin-top: 0.6em"<br />
| style="width:50%; background:#2a2a2a; border:1px solid #a2a9b1; padding:0.6em; vertical-align:top" |<br />
<br />
<h2 style="margin-top:0;padding-top:0">Issue 24</h2><br />
Issue 24 (stylized as i24) was the last publicly accessible version of the game before it was shut down. i24 was deployed on the test server, but had not yet been released to live servers.<br />
<br />
== OuroDev Volume 2 Development ==<br />
=== Details ===<br />
* [[OuroDev_Volume_2_Vision|OuroDev Volume 2 Vision]]<br />
* [[OuroDev_Volume_2_Roadmap|OuroDev Volume 2 Roadmap]]<br />
<br />
=== Workflow ===<br />
* [[OuroDev_Git_Workflow|OuroDev Git Workflow]] <br />
* [[OuroDev_issue_tracker_workflow| OuroDev Issue Tracker Workflow]]<br />
* [[OuroDev_QA_workflow|OuroDev QA Workflow]]<br />
<br />
=== Guidelines ===<br />
* [[OuroDev_Code_Style_Guide|OuroDev Code Style Guide]]<br />
* [[OuroDev_Bug_Report_Guidelines|OuroDev Bug report Guidelines]]<br />
<br />
== General i24 Development ==<br />
=== Guides ===<br />
* [[source locations|Where to get the source]]<br />
* [[i24_install_guide|Install guide for setting up i24]]<br />
* [[i24 Common Setup Issues]]<br />
* [[i24 Commands|i24 admin commands (in-game)]]<br />
* [[Server Configuration Values]]<br />
* [[Server Executable Flags]]<br />
* [[Using /mmm]] (in-game console)<br />
<br />
=== Documentation ===<br />
* [[system_architecture_image|System Architecture Image]]<br />
* [[map_server_overview|Map Server]]<br />
<br />
=== Tools Needed ===<br />
* An installation of Windows (verified working: 10 Pro, Server 2019 Standard)<br />
* [http://download.microsoft.com/download/D/B/C/DBC11267-9597-46FF-8377-E194A73970D6/vs_proweb.exe Visual Studio 2010 Professional] Web download<br />
* [https://www.microsoft.com/en-us/download/details.aspx?id=29062 Microsoft® SQL Server® 2012 Express]<br />
* [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SQL Server Management Studio] (SMSS)<br />
<br />
=== Torrent links ===<br />
* [[magnet links]]<br />
<br />
=== Useful Future Links? ===<br />
* [https://cohrevival.com/codex/models.html Model Index]<br />
<br />
| style="width:50%; background:#2a2a2a; border:1px solid #a2a9b1; padding:0.6em; vertical-align:top" |<br />
<br />
<h2 style="margin-top:0;padding-top:0">[[i25 Main Page|Issue 25]]</h2><br />
Issue 25 (stylized as i25) was extended from an i24 base by SCoRE (Secret Cabal of Reverse Engineers) over the course of six years. It included additional content for i24 power sets, added the P2W Vendor, and fixed a good number of bugs.<br />
<br />
=== Client Setup Guide ===<br />
* [[i25 Client Setup]]<br />
<br />
=== Server Setup Guide ===<br />
* [[i25 Server Setup]]<br />
* [[i25 Multiple Server Setup]]<br />
* [[i25 Community Virtual Machines]]<br />
* [https://gofile.io/?c=w56I8R Video Guide from scratch]<br />
* [https://docs.google.com/document/d/1N63pPUfll-PAiElfGatSqCvX7GHZ8ygHWHAYbAV5il0/edit Original Setup Instructions on Google Drive]<br />
<br />
=== Commonly Asked Questions/Problems ===<br />
* [[i25 FAQ]]<br />
* [[i25 Current Status]]<br />
* [[i25 Command Lists]]<br />
<br />
=== Downloads and Community Tools ===<br />
* [[i25 Downloads]]<br />
* [[i25 Populate Auction Server]]<br />
<br />
=== Reference Documents ===<br />
* [https://drive.google.com/file/d/1eZqIZnhEYDoRAJeoCotyKhWZZG07mrft/view City of Heroes Document]<br />
* [https://mega.nz/#!EppB2SpD!d5BwLFJ_L-eTVWZ-KMYebHR9XP3cWjZ54roz_qmPyzc Cryptic Reference Document]<br />
<br />
=== i25 Patch Notes ===<br />
* [https://docs.google.com/document/d/11cLJiSYlfueJheOumRywG8Evip2Mjmu_30Y6ePaetqY i25 Patch Notes]<br />
<br />
|}<br />
<br />
{| style="width:100%; background:#2a2a2a; margin-top: 0.6em; border:1px solid #a2a9b1; padding:0.6em; vertical-align: top"<br />
| style="width:100%; vertical-align:top" |<br />
<br />
== Quality of Life ==<br />
* [[VidiotMaps]] (suitable for use with either i24 or i25)<br />
* [[Account_Portal]] (A PHP application to allow users to create their own accounts and change their passwords.)<br />
<br />
|}<br />
<br />
__NOTOC__<br />
__NOEDITSECTION__<br />
<!-- Hide page title. For better results use an extension like NoTitle. --><br />
{{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}</div>Methrilhttps://wiki.ourodev.com/index.php?title=City_of_Heroes_Database_Tool&diff=853City of Heroes Database Tool2019-05-07T21:43:04Z<p>Methril: /* Download Links */</p>
<hr />
<div>== CoHDBTool by DarkSynopsis ==<br />
: This is a tool written by a discord member.<br />
: Features:<br />
;: Manage Shards<br />
::: Add Shard<br />
::: Delete Shard<br />
::: Change Server IP (External)<br />
::: Change Server Inner_IP (local)<br />
;: Manage Accounts<br />
::: Add Account<br />
;: Manage Characters<br />
::: Swap Owner(Account-to-Account Character Transfer)<br />
::: Export Character<br />
::: Import Character<br />
::: Delete Character<br />
::: Set Access Level(0-11)<br />
::: Ban Character<br />
<br />
== Download Links ==<br />
* [https://mega.nz/#!4oxGCChS!bDHI-Z7Av4MXdEfKYqhbBqFavhVlipuFKj0epbBr2RE CoHDBTool version 4]<br />
* [https://mega.nz/#!81gFxKzR!DwelrC7V4dekMQ24hWvlaBrQWm_n88wVKql-tWJMM_8 CoHDBTool version 5]<br />
* [https://mega.nz/#!Y5InHaYB!RE5ytvfiJGXjWiDZWXcvF55DIif31pi39d3qRHveEWA CoHDBTool Version 6]<br />
* [https://mega.nz/#!ctwTRCCb!QdzS9LbqZ34DcJ2kOZ9JRsPVDyJgLVcyUenD9mI9M7I CoHDBTool Version 7]<br />
* [https://mega.nz/#!49wGHCCa!eDcMukX33T9nPnSWvQETGSmX8XLb2lHWvZWSUfD2O_M CoHDBTool Version 8]</div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_Multiple_Server_Setup&diff=850I25 Multiple Server Setup2019-05-07T02:10:50Z<p>Methril: </p>
<hr />
<div>== Setup Multiple Servers ==<br />
: This is going to be a very basic guide on how to cluster the servers together. Some of the actions I take in the guide are not required but will produce a better server environment.<br />
: This guide also assumes you've completed a normal server setup already. If not head over to [[I25 Server Setup]] to get started.<br />
: First I separated MS SQL Server onto its own machine. I did this for stability reasons and organization.<br />
: Next update all of your CFG files to point at the Central SQL Server.<br />
:: While updating CFG files also update the IP addresses inside. Any 127.0.0.1 entries need to be changed to the machines IP.<br />
: Then update your database to ensure it isn't using 127.0.0.1.<br />
:: <syntaxhighlight lang="SQL" line='line'> UPDATE cohauth.dbo.server SET inner_ip = 'MACHINELANIP' WHERE ID = 1; </syntaxhighlight><br />
: Now copy your C:\CoH from the primary server(CoH-SERVER) to your secondary server(CoH-MAPSrv01).<br />
:: Update your CFG files so they have the correct LAN ip address.<br />
: On CoH-SERVER change how you are launching launcher.exe. It will now need to start with a different paramenter.<br />
:: <syntaxhighlight lang="SQL" line='line'> START C:\coh\bin\dbserver.exe -startall -zonelaunchers 2 </syntaxhighlight><br />
: At this point everything should be ready to start up! <br />
:: Fire up Launcher.exe on CoH-MAPSrvr01<br />
:: CoH-SERVER's launcher should automatically start all of its required applications as well if you have configured in load balance files.<br />
: The launcher should start starting maps on both servers. Give it a few minutes as there is a lot to start up.</div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_Server_Setup&diff=836I25 Server Setup2019-05-06T21:41:31Z<p>Methril: /* Patched AuthServer */</p>
<hr />
<div>== Server Setup From Scratch ==<br />
=== i25 Configuration Files ===<br />
* [[i25 Servers.cfg]]<br />
* [[i25 auction_server.cfg]]<br />
* [[i25 account_server.cfg]]<br />
* [[i25 chat_server.cfg]]<br />
* [[i25 turnstile_server.cfg]]<br />
* [[i25 loadBalanceDefault.cfg]]<br />
* [[i25 loadBalanceShardSpecific.cfg]]<br />
* [[i25 mission_server.cfg]]<br />
<br />
=== Setup Local Server ===<br />
: 1. Install [https://www.microsoft.com/en-gb/sql-server/sql-server-editions-express SQL Server 2017 Express Edition]<br />
: 2. Choose Basic when installing and when given the option choose to install [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SSMS(SQL Server Manager Suite)].<br />
: 3. Move your [[I25_Downloads|i25 Binaries]] to C:\CoH<br />
: 4. Navigate to C:\CoH\data\server\db<br />
: 5. Open up auction_server.cfg([[I25_auction_server.cfg]]), account_server.cfg([[I25_account_server.cfg]]), chat_server.cfg([[I25_chat_server.cfg]]), and servers.cfg([[I25_Server.cfg]]).<br />
:: You can change the password to whatever you would like. For this example I will be just using "YOURL33TPASS!".<br />
::; You will see something like this.<br />
::: <syntaxhighlight lang="SQL" line='line'> SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=NS319069\SCORE;Uid=sa;Pwd=FinallyFree!;" </syntaxhighlight ><br />
::; Change this to <br />
::: <syntaxhighlight lang="SQL" line='line'> SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=localhost\SQLEXPRESS;Uid=sa;Pwd=YOURL33TPASS!;" </syntaxhighlight > <br />
::; While you have servers.cfg and auction_server.cfg open. Change all the ips to 127.0.0.1. <br />
<br />
: 6. Extract the dbschema.rar found in C:\CoH\dbschema.rar.<br />
: 7. Open up SQL Server Management Studio (SSMS which you installed in the first step). Hit Connect on the screen that pops up to and connect with windows authentication.<br />
:: [[File:SQL Connect.png|thumb|none]]<br />
: 8. We need to enable the sa login so that server can login to the database.<br />
::; If you look to the left panel you will see the object explorer and your connection. Right click it and select properties.<br />
:::: [[File:SQL Properties.png|thumb|none]]<br />
::: When this window comes up hit Security to the left and enable "sql server and windows authentication". Then click ok.<br />
:::: [[File:SQL Security.png|thumb|none]]<br />
::: In the same panel you used before navigate to Security -> Logins then right click and enter properties the sa user.<br />
:::: [[File:SA Properties.png|thumb|none]]<br />
::: In this window set the password to the same password you set back at step 4<br />
:::: [[File:Login Props.png|thumb|none]]<br />
::: Choose Status from the left panel in this same window and set login to enabled and hit ok.<br />
:::: [[File:Login Status.png|thumb|none]]<br />
::: Right click the connection in the object explorer again and click Restart.<br />
:::: [[File:SQL Restart.png|thumb|none]]<br />
: 9. Click File, Select Open, navigate back to C:\CoH, open the dbschema folder, and select cohauc.sql in SQL Server Management Studio.<br />
:: [[File:SSMS File Open.png|thumb|none]]<br />
:: [[File:SSMS Open DBSchema.png|thumb|none]]<br />
: You will see these 2 lines at the top of the file opened<br />
:: [[File:SSMS DBSchema SQL SRV STR.png|thumb|none]]<br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc', FILENAME = N'C:\mssql\MSSQL11.SCORE\MSSQL\DATA\cohauc.mdf' , SIZE = 157440KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) </syntaxhighlight><br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc_log', FILENAME = N'C:\mssql\MSSQL11.SCORE\MSSQL\DATA\cohauc_log.ldf' , SIZE = 353216KB , MAXSIZE = 2048GB , FILEGROWTH = 10%) </syntaxhighlight><br />
: 10. What you want to do is set the first part of these directory listings to where your SQL Server is located for example, I set my to D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL because that is where my SQL Server is. So my would become:<br />
:: [[File:SSMS DBSchema SQL SRV STR CORRECT.png|thumb|none]]<br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc', FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\DATA\cohauc.mdf' , SIZE = 157440KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) </syntaxhighlight><br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc_log', FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\DATA\cohauc_log.ldf' , SIZE = 353216KB , MAXSIZE = 2048GB , FILEGROWTH = 10%) </syntaxhighlight><br />
: 11. Once done click the Execute button. And do this again for both the cohauth and cohchat.<br />
:: [[File:SSMS Execute.png|thumb|none]]<br />
: 12. Open up ODBC Data Sources (32-bit).<br />
:* Type 'ODBC' in Windows search, or run directly from C:\Windows\SysWOW64\odbcad32.exe<br />
::* Do NOT use 64-bit!<br />
:* Click File DSN then click add to the right.<br />
:*: [[File:ODBC File DSN.png|thumb|none]]<br />
:* Choose ODBC Driver 17 for SQL Server. Click Next.<br />
:*: [[File:ODBC Add Auth 1.png|thumb|none]]<br />
:* Enter AuthDB into the box and hit next then finish.<br />
:*: [[File:ODBC Add Auth 2.png|thumb|none]]<br />
:* It will then say something like ‘Which SQL Server would you like to connect to?’<br />
:** Type localhost\SQLEXPRESS and hit next.<br />
:**: [[File:ODBC Add Auth 3.png|thumb|none]]<br />
:* Choose with SQL Auth enter sa into username and the password you use previously.<br />
:*: [[File:ODBC Add Auth 4.png|thumb|none]]<br />
:* Tick choose change default database to and select cohauth and hit next.<br />
:*: [[File:ODBC Add Auth 5.png|thumb|none]]<br />
:*: [[File:ODBC Add Auth 6.png|thumb|none]]<br />
:* After this hit finish then ‘Test Data source’ this will test the auth database connection to your main database if it successful congrats :D<br />
:*: [[File:ODBC Add Auth 7.png|thumb|none]]<br />
:*: [[File:ODBC Add Auth 8.png|thumb|none]]<br />
<br />
: 13. Once you have done that you can now start up your server. Navigate back to C:\CoH and create a bat file to start your server.<br />
::: {| <br />
<syntaxhighlight lang="bat"> <br />
@echo off<br />
echo Starting Auth Server<br />
START C:\coh\bin\authserver.exe<br />
TIMEOUT 2<br />
echo Starting DB Server<br />
START C:\coh\bin\dbserver.exe -zonelaunchers 1<br />
TIMEOUT 2<br />
echo Starting Launcher Server<br />
START C:\coh\bin\launcher64.exe -noversioncheck<br />
TIMEOUT 2<br />
echo Everything should be launched! Go enjoy COH.<br />
TIMEOUT 10<br />
</syntaxhighlight > <br />
|}<br />
: 14. Go to your City of Heroes folder and make a shortcut of score.exe.<br />
:* Add the string below to the shortcut if playing locally on the hosting machine.<br />
:*: <syntaxhighlight lang="text"> score.exe -patchdir score -patchversion 2019.04.19 -auth 127.0.0.1 -noversioncheck -console </syntaxhighlight > <br />
:* Add the string below to the shortcut if playing over the network. Note you'll need the hosting machines IP for this. (CMD -> IPConfig)<br />
:*: <syntaxhighlight lang="text"> score.exe -patchdir score -patchversion 2019.04.19 -auth <HOSTIPADDRESS> -noversioncheck -console </syntaxhighlight > <br />
: 15. Login and Enjoy!<br />
<br />
== Port Forwards ==<br />
; TCP Ports<br />
: Port 11228<br />
:* <br />
; UDP Ports<br />
: Ports 18717 through 18917<br />
:*<br />
<br />
== Setup Internet Facing Server ==<br />
: Patching the DBServer allows it to return the correct IP address for MapServers to the client.<br />
: dbserver.exe needs to be patched to read its external IP from a config file, a patched version can be downloaded from [http://cohstuff.dreamhosters.com/dbservernat.php here] or from the following magnet link<br />
:::::::::::::::::: [magnet:?xt=urn:btih:BE2D888C9F6B6B19A13780B265FC556EE59769C1&dn=dbserver-nat-fix.zip&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce dbserver nat fix.zip]<br />
: <pre>dbserver.exe [MD5] c66842d15bc94f6b6b2a282331c01e3f | dbserver.exe [SHA1] 9ba7c9774de2f75cd72efb604c44c3a86cbd24eb</pre><br />
: From SQL Sever Manager Studio(SSMS) run the query below.<br />
: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'ShardName', 'Public IP', '127.0.0.1', 0, 0, 1); </syntaxhighlight><br />
: Replace the existing dbserver.exe with the patched one and add the RouteIp line to servers.cfg with your server's public IP.<br />
: <syntaxhighlight lang="text"> RouteIp YOURPUBLICIPADDRESS </syntaxhighlight><br />
<br />
== Patched AuthServer ==<br />
; This is a an optional step and shouldn't be required to get online play going. It can be skipped and returned to if actually needed. In 98% of cases it will not be needed.<br />
: [magnet:?xt=urn:btih:c5d7542b4a3cc0ec8f8d7dab028e67608f8a36f3&dn=patched-authserver.7z Patched AuthServer]<br />
: For use alongside the patched dbserver, reads first RouteIp in servers.cfg as externalIP and second RouteIp in servers.cfg as internal IP, rather than from cohauth<br />
: Patched authserver<br />
: <center><syntaxhighlight lang="text"> MD5: kuF0O1e/K3iT6tcXKA0xmQ== | SHA1: +7IdIglCD1EEM9xNcZUyYRuZ9Ec= | SHA256: 7A370DAB25CBEA30A0BCA3333F6BBD971315604E98218B71BEDCC2F415918285 </syntaxhighlight></center><br />
<br />
: Example configuration:<br />
::: {|<br />
<syntaxhighlight lang="text"> <br />
// First RouteIP is External (WAN) IP<br />
RouteIp 123.123.123.123<br />
// Second RouteIP is Internal (LAN) IP<br />
RouteIp 192.168.0.0<br />
<br />
// Uncomment the following line to use IPs from cohauth<br />
//AuthDBIP 1<br />
</syntaxhighlight><br />
|}<br />
<br />
== Setup TurnstileServer ==<br />
: Making the changes below will put your server into "production" mode. This will require things like mission_server.cfg to be created.<br />
: First make sure your turnstile_server.cfg is correct. Below you'll find an example.<br />
;: Example turnstile_server.cfg<br />
::: <syntaxhighlight lang="text"> DbServer LAN WAN 7000 ShardName ShardID ShardAuthID</syntaxhighlight> <br />
::: <syntaxhighlight lang="text"> DbServer 127.0.0.1 127.0.0.1 7000 Paragon 1 1</syntaxhighlight> <br />
;: Example mission_server.cfg<br />
::: <syntaxhighlight lang="text"> Shard NAME WAN REGION</syntaxhighlight> <br />
::: <syntaxhighlight lang="text"> Shard Paragon 127.0.0.1 1 </syntaxhighlight> <br />
: Next copy the "piggs" folder from your client to the server directory(C:\CoH\piggs)<br />
: At this point you should be able to run turnstileserver.exe.<br />
; As I mentioned earlier in the guide you'll likely run into new issues with these changes. Like needing mission_server.cfg, -noreserved on chatserver, and a few other minor edits.<br />
: Putting the server into production mode will also change the version to 2400.201208211101.1. Your clients will need to update their connect parameter.<br />
:: -patchdir score -patchversion 2400.201208211101.1 -auth VMIPGOESHERE -console</div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_Servers.cfg&diff=835I25 Servers.cfg2019-05-06T21:38:39Z<p>Methril: </p>
<hr />
<div><syntaxhighlight lang="text"><br />
LocalIP 127.0.0.1<br />
RouteIp PUBLICADDRESS<br />
<br />
AuthServer 127.0.0.1 2104<br />
ChatServer 127.0.0.1<br />
DBServer 127.0.0.1 18717<br />
<br />
ShardName Rebirth<br />
DefaultAccessLevel 0<br />
NoStats 0<br />
<br />
MapServerParams "-nopopup"<br />
MapserverIdleUpkeep 20<br />
MapserverIdleExit 20<br />
#MapserverDailyUpkeep 0<br />
<br />
UseLogServer 0<br />
#LogServer 127.0.0.1<br />
#LogDir .\log<br />
BackupDays 0<br />
<br />
CompleteBrokenTasks 0<br />
DroppedPacketLogging 0<br />
AuthBadPacketReconnect 1<br />
<br />
UseQueueServer 0<br />
AuthnameLimiterEnabled 0<br />
AuthnameLimiterAccessLevel 20<br />
LoginsPerMinute 5<br />
BlockFreePlayersIfNoAccountServer 0<br />
IsBetaShard 0<br />
IsVIPShard 0<br />
MinPlayers 0<br />
MaxPlayers 300<br />
AssertMode Fulldump<br />
OverrideAuthBit RogueAccess<br />
<br />
KarmaEventHistoryDays 30<br />
FastStart 1<br />
MaxLevel 60<br />
MaxCoHLevel 60<br />
MaxCoVLevel 60<br />
XPScale 2<br />
MaxPlayerSlots 1000<br />
MaxDualSlots 1000<br />
AuctionInvMaxLastLoginDays 1000<br />
<br />
#LOCALE_ID_ENGLISH, // 0<br />
#LOCALE_ID_TEST, // 1<br />
#LOCALE_ID_CHINESE_TRADITIONAL, // 2<br />
#LOCALE_ID_KOREAN, // 3<br />
#LOCALE_ID_JAPANESE, // 4<br />
#LOCALE_ID_GERMAN, // 5<br />
#LOCALE_ID_FRENCH, // 6<br />
#LOCALE_ID_SPANISH, // 7<br />
#LOCALE_ID_COUNT, // 8<br />
Locale 0<br />
<br />
MetricsEnable 0<br />
#MetricsIPAddress 127.0.0.1<br />
#MetricsPortNumber 3306<br />
#MetricsMQType 0<br />
#MetricsHighWaterMark<br />
<br />
MasterBeaconServer 127.0.0.1<br />
RequestBeaconServerCount 0<br />
BeaconRequestCacheDir "C:\COH\beaconizer\cache"<br />
DoNotLaunchBeaconMasterServer 0<br />
DoNotLaunchBeaconClients 1<br />
DoNotLaunchMapserverTSRs 0<br />
<br />
SetLogLevel "Auction" -2<br />
SetLogLevel "Chat" 1<br />
SetLogLevel "Admin" -2<br />
SetLogLevel "Bug" -2<br />
SetLogLevel "CharSlotApply" -2<br />
SetLogLevel "Debug" -2<br />
SetLogLevel "Delete" -2<br />
SetLogLevel "deletion" -2<br />
SetLogLevel "entity" -2<br />
SetLogLevel "Error" -2<br />
SetLogLevel "cheaters" 1<br />
SetLogLevel "MARTY" -2<br />
SetLogLevel "Offline" -2<br />
SetLogLevel "Powers" -2<br />
SetLogLevel "Rewards" -2<br />
SetLogLevel "SuperGroup" -2<br />
SetLogLevel "SystemSpecs" -2<br />
SetLogLevel "sze_rewards" -2<br />
SetLogLevel "turnstile" -2<br />
SetLogLevel "cmds" -2<br />
SetLogLevel "internalcmds" 1<br />
<br />
SqlDbProvider mssql<br />
SqlDbName cohdb<br />
SqlAllowDDL 1<br />
SqlAddAttributes 1<br />
SqlAddColumnOrTable 1<br />
SqlDeleteColumnOrTable 0<br />
SqlRebuildTable 1<br />
SqlAlterColumn 1<br />
SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=localhost\SQLEXPRESS;Uid=sa;Pwd=YourL33TPASS;"<br />
SqlInit "CREATE DATABASE cohdb;"<br />
</syntaxhighlight></div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_FAQ&diff=829I25 FAQ2019-05-06T17:21:12Z<p>Methril: /* Where is the i25 source and how do I get it? */</p>
<hr />
<div>== Server Administration ==<br />
=== How do I disable logging system specs? ===<br />
; This is an extremely easy process. <br />
: Open up your servers.cfg and find the line <br />
:: "SetLogLevel "SystemSpecs" 1<br />
: Change this to -2<br />
:: "SetLogLevel "SystemSpecs" -2<br />
: You'll no longer get system spec logs!<br />
<br />
=== How do I create an account? ===<br />
; You can use the PowerShell script in downloads or execute a query against the database manually.<br />
: Create NEW USER: test / password<br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.user_account (account, uid, forum_id, pay_stat) VALUES ('test', 1, 1, 1014);</syntaxhighlight > <br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.user_auth (account, password, salt, hash_type) VALUES ('test', CONVERT(BINARY(128),'46ffce3efcfe83bfa205b076d7c2084b9dcf04cdb26f9019103cde29779d26a85216b2c0f43ba1a8fb9b7fa22f05a949bf4edc314af27629e8fc23014e77a24d'), 0, 1);</syntaxhighlight > <br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.user_data (uid, user_data) VALUES (1, 0x0080C2E000D00B0C000000000CB40058);</syntaxhighlight ><br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.user_server_group (uid, server_group_id) VALUES (1, 1);</syntaxhighlight ><br />
: [http://cohstuff.dreamhosters.com/makeaccount.php Crust First's web-based tool for generating SQL queries to create new accounts] [http://cohstuff.dreamhosters.com/makeaccount.phps (Source)]<br />
<br />
=== How do I make a GM Character? ===<br />
* Update the character in the database<br />
:: <syntaxhighlight lang="SQL" line='line'> UPDATE [cohdb].[dbo].[Ents] SET [AccessLevel] = 11 WHERE [Name] = 'charnamehere'</syntaxhighlight ><br />
* You can also set DefaultAccessLevel to 11 in servers.cfg, <br />
:: This will only work for characters made after you make this change.<br />
:: All characters after this change will be a GM.<br />
:: You'll also need to restart or reload the DBServer after this change.<br />
* Login to the game and type /mmm to bring up an admin menu. <br />
:: While /mmm only requires AccessLevel 10 to run, some of the commands available in the menu require AccessLevel 11 to successfully execute.<br />
:: Most commands are also listed in Commands.cfg, which can be typed in game via chat.<br />
<br />
=== How do I change my server's message of the day? ===<br />
<br />
: Edit message.txt in the chatdb folder, it accepts basic HTML formatting tags.<br />
<br />
=== How come my server says "Paragon" and how do I change it? ===<br />
:The name displayed in the client is dependent on the server ID in the database, not the shard's name, and corresponds to the hardcoded list below:<br />
<ol start="0"><br />
<li>(empty server list) </li><br />
<li>Paragon </li><br />
<li>Cryptic</li><br />
<li>Bree</li><br />
<li>Undying</li><br />
<li>Phoenix</li><br />
<li>Rebirth</li><br />
<li>Resurgence</li><br />
<li>Titan</li><br />
<li> Unity</li><br />
<li>Torchbearer</li><br />
<li>Unstoppable</li><br />
<li>Perseverant</li><br />
<li>Indomitable</li><br />
<li>Timeless</li><br />
<li>Everlasting</li><br />
<li>Excelsior</li><br />
<li>CoHWorldServer_17</li><br />
<li>CoHWorldServer_18</li><br />
</ol><br />
:* These values reside in clientmessages-en.bin in the client<br />
:Examples:<br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'Paragon', '127.0.0.1', '127.0.0.1', 0, 0, 1);</syntaxhighlight><br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.worldstatus (idx, status) VALUES (1, 1);</syntaxhighlight><br />
<br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (2, 'Cryptic', '127.0.0.1', '127.0.0.1', 0, 0, 1);</syntaxhighlight><br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.worldstatus (idx, status) VALUES (2, 1);</syntaxhighlight><br />
<br />
=== How do I start Events? ===<br />
: In-Game you can use the following commands to start events.<br />
:: <syntaxhighlight lang="text"> /shardeventstart scriptdefs/Holiday_11_Event.scriptdef</syntaxhighlight><br />
:: <syntaxhighlight lang="text"> /shardeventstart scriptdefs/Halloween_11_Event.scriptdef</syntaxhighlight><br />
:: <syntaxhighlight lang="text"> /shardeventstart ScriptDefs/SpringFlingEvent.scriptdef</syntaxhighlight><br />
:: <syntaxhighlight lang="text"> /shardeventstart ScriptDefs/NemesisPlotShard.scriptdef</syntaxhighlight><br />
:: {|<br />
<syntaxhighlight lang="text"> /zoneeventstart RiktiInvasion<br />
Then followed by<br />
/zoneeventsignal "RiktiInvasion" "Prelude"<br />
wait for 10 seconds<br />
/zoneeventsignal "RiktiInvasion" "RunMe"</syntaxhighlight><br />
|}<br />
: There is also "/shardeventstop" to stop said events<br />
<br />
=== How do I move characters between accounts? ===<br />
: SQL to move character to another account. Useful if you want to move characters created on fakeauth to an actual authserver account.<br />
: <br />
: SYNTAX:<br />
: <syntaxhighlight lang="SQL" line='line'> UPDATE [cohdb].[dbo].[Ents] SET [AuthId] = your account id, [AuthName] = 'your account name' WHERE [Name] = 'your hero name'</syntaxhighlight><br />
: <br />
: EXAMPLE:<br />
: <syntaxhighlight lang="SQL" line='line'> UPDATE [cohdb].[dbo].[Ents] SET [AuthId] = 1, [AuthName] = 'AccountName' WHERE [Name] = 'HeroName'</syntaxhighlight><br />
: <br />
: You can view characters in the database by doing:<br />
: <syntaxhighlight lang="SQL" line='line'> SELECT * FROM [cohdb].[dbo].[Ents]</syntaxhighlight><br />
<br />
=== How do I "seed" the Auction House with items? ===<br />
: See [[I25 Populate Auction Server]], requires GM accesslevel ingame.<br />
<br />
== Cheating ==<br />
<br />
=== How do I win the game? ===<br />
: If your character is an admin type /autoenhance, /autoenhanceio, or /autoenhanceset. <br />
:: You can find many of commands in C:\COH\data\server\db\commands.cfg <br />
: You can also type /mmm, scroll down to Design Testing, EnhanceAndInspire, Enhancements, and give yourself whatever you want.<br />
:; You can level the character up to level 50 with the below command:<br />
:: /experience_add 39149119<br />
:; You can also visit this website for a list of other commands.<br />
:: [https://paste.pc-logix.com/ekohikayaz.pl CoH Server Commands]<br />
:: OR<br />
:: [https://github.com/cohdevver/cohdocs/blob/master/All_current_GM_commands.txt All Current GM Commands]<br />
<br />
=== How do I increase Experience Rates? ===<br />
: Add the following line to servers.cfg<br />
:: <pre>XPScale 2.0</pre><br />
: The number is a direct multiplier to experience gains, change it to whatever you like, and then restart the server.<br />
: Also increases influence/infamy gains.<br />
<br />
=== Can I easily change my character alignment? ===<br />
: Null the Gull in Pocket D has a new i25 dialog option to instantly switch a character's alignment.<br />
<br />
=== How do I increase drop rates of Salvage/Recipes/etc? ===<br />
: There is no currently known method of accomplishing this on an i25 server.<br />
<br />
=== How do I change respawn times? ===<br />
: There is no currently known method of accomplishing this on an i25 server.<br />
<br />
=== How do I unlock all the good medals? ===<br />
# You can give yourself any of the badge below by typing /badge_add BadgeNameHere.<br />
#* AtlasSet (Received the Atlas Medallion) (Tourist) (Atlas Shrugged) [Adds 'The Atlas Medallion' passive power]<br />
#* Marshal (Ex-Marshal) (Marshal) [Adds the 'Marshal' passive power]<br />
#* DimensionalHopperSet (Portal Jockey) [Adds 'Portal Jockey' passive power]<br />
#* BornInBattle (Born in Battle) [Adds the 'Born In Battle' passive power]<br />
#* FreedomPhalanxSet (Freedom Phalanx Reserve Member) (Freedom Phalanx Fallen) [Adds 'Freedom Phalanx Reserve' passive power]<br />
#* HighPainThreshold (Gotten Soft) (High Pain Threshold) [Adds 'High Pain Threshold' passive power]<br />
#* TaskForceCommander (Task Force Commander) (Task Force Abandoner) [Adds 'Task Force Commander' passive power]<br />
#* MayhemInvader (Return Visitor) (Invader) [Adds 'Invader' passive power]<br />
#* Paragon (Paragon) [Unlocks 'Assemble the Team' power in the P2W Vendor under 'Prestige Powers > Travel > Teleport']<br />
#* UnbrokenSpirit (The Unbroken Spirit) [Unlocks 'Renewal of Light' power in the P2W Vendor under 'Prestige Powers > Utility > Miscellaneous']<br />
#* P_Relentless (Relentless) [Unlocks 'Return to Battle' power in the P2W Vendor under 'Prestige Powers > Utility > Miscellaneous']<br />
#* InventorAccolade (Field Crafter) [Adds 'Portable Workbench' power]<br />
#* ArchitectAccolade (Mission Engineer) [Adds 'Architect Comlink' power]<br />
#* GoldClub (Pocket D VIP Gold Club Member) [Adds 'Pocket D VIP Pass' power]<br />
#* CreySet (Conspiracy Theorist) [Adds the 'Crey CBX-9 Pistol' power]<br />
#* HeadlineStealer (Yesterday's News) [Adds 'Stolen Immobilizer Ray' power]<br />
#* RIWEAccolade (Watchwoman) [Adds 'Elusive Mind' power]<br />
#* MagusSet (Archmage) (Arch-Mage of Agony) [Adds 'Eye of the Magus' power]<br />
#* Demonic (Exorcised) (Demonic) [Adds 'Demonic Aura' power]<br />
#* Megalomaniac (In Therapy) (Megalomaniac) [Adds 'Megalomaniac' power]<br />
#* RiktiWarSet (Vanguard) [Adds 'Vanguard Medal' power]<br />
#* GeasoftheKindOnes (Geas of the Kind Ones) [Adds 'Geas of the Kind Ones' power]<br />
#* MayhemForceOfNature (Force of Nature) (Uninsurable) [Adds 'Force of Nature' power]<br />
<br />
== Common Issues ==<br />
<br />
=== Why does my server show offline? ===<br />
* First make sure you've added your server into the database. You can do so with the code below.<br />
** <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'Paragon', 'EXTERNAL IP', 'INTERNAL IP', 0, 0, 1);</syntaxhighlight ><br />
** <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.worldstatus (idx, status) VALUES (1, 1);</syntaxhighlight ><br />
<br />
=== Why does my AuthServer say "Non-registered world server X.X.X.X"? ===<br />
* Make sure the server is in the cohauth and set to online with the following queries<br />
** <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'Paragon', 'EXTERNAL IP', 'INTERNAL IP', 0, 0, 1);</syntaxhighlight ><br />
** <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.worldstatus (idx, status) VALUES (1, 1);</syntaxhighlight ><br />
<br />
=== Why does my AuthServer keep opening an ODBC window asking for a username and password? ===<br />
:Make sure AuthDB.dsn was saved into the Documents folder, or move it there and then restart the AuthServer.<br />
<br />
=== Why does my DBServer say "login failed for user sa" when starting? ===<br />
* Most likely you've entered the string wrong in servers.cfg([[i25 Server.cfg]]) or another file.<br />
* It could be that the sa account is still disabled as well. Double check SMSS to verify.<br />
* If you've entered it correctly make sure restarted the service after the changes from the guide.<br />
<br />
=== Why does my DBServer say "invalid login to DBServer" when I try to join my server? ===<br />
* Most likely you forgot to change the launch parameters of your client when you moved away from using NoAuth.<br />
:: <syntaxhighlight lang="text"> -patchdir score -patchversion 2019.04.19 -auth IPOFYOURSERVER -noversioncheck</syntaxhighlight ><br />
<br />
=== My AuctionServer is running but why players can't list items?===<br />
* Most likely your auction_server.cfg is incorrect.<br />
:: {|<br />
<pre>ShardIp 127.0.0.1<br />
SqlDbName cohauc<br />
SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=localhost\SQLEXPRESS;Uid=sa;Pwd=YOURL33TPASS;"</pre><br />
* Start AuctionServer64.exe<br />
|}<br />
<br />
=== Why is my MapServer displaying popups? ===<br />
* Most likely your servers.cfg([[i25 Server.cfg]]) is set to -filedebug. Change to this -nopopup to no longer see windows from it.<br />
<br />
=== How can I prevent MapServer from getting popups that prevent loading until acknowledged? ===<br />
: Add this to servers.cfg([[i25 Server.cfg]]):<br />
<br />
:: MapServerParams "-nopopup"<br />
<br />
=== Why aren't my Architect Missions aren't publishing? ===<br />
* Most likely you are missing the "missionserver" folder. Create one in the root of your server directory and start MissionServer again. For me this is C:\COH\missionserver.<br />
<br />
=== What configuration files do I need to create? ===<br />
: You need to create auction_server.cfg([[i25 auction_server.cfg]]), account_server.cfg([[i25 account_server.cfg]]), chat_server.cfg([[i25 chat_server.cfg]]), and servers.cfg([[i25 Server.cfg]]). Crust Fire created a php script which will make these for you.<br />
: [http://cohstuff.dreamhosters.com/makeconfigs.php Crust Fire's Auto Config Generator] [http://cohstuff.dreamhosters.com/makeconfigs.phps (Source)]<br />
<br />
=== What Operating System do I need to host this? ===<br />
: So far users have tried many different combinations without issue! Below are a few of the most common.<br />
:; Operating systems:<br />
:: Windows 2012 Server R2 Standard<br />
:: Windows 2016 Server Standard<br />
:: Windows 2019 Server Standard<br />
:: Windows 10 Home<br />
:: Windows 10 Professional<br />
:: Windows 7<br />
:; SQL Server<br />
:: SQL Server 2017 Express<br />
:: SQL Server 2017 Dev Edition<br />
:: SQL Server 2012<br />
<br />
=== Why is i25 using the wrong network adapter? ===<br />
: If you have two NICs you might find that the i25 is using the wrong one. Some users have performed a hex edit to MapServer to correct this.<br />
: https://cdn.discordapp.com/attachments/570656952166907924/571282349526876211/SkipIPFlip.png<br />
<br />
=== Why am I getting an error when trying to setup the AuthDB? === <br />
: Most likely it is a named piped issue. The article below has helped a few users.<br />
: [https://www.techcrumble.net/2017/07/sql-odbc-connection-failure-sqlstate-08001-sql-server-error-2/ SQL Error 08001]<br />
<br />
=== When I run AuthServer.exe I get an error about config.txt ===<br />
: The fix for this is pretty straight forward. For some reason you are missing config.txt. This file for me is in c:\coh\etc\config.txt<br />
:: [https://pastebin.com/VSv2JPVY config.txt]<br />
:: https://cdn.discordapp.com/attachments/570656952166907924/571845926704906240/unknown.png<br />
<br />
=== How do I add AuthServer to the Community VM? ===<br />
: Open up ODBC Data Sources.<br />
:* Click File DSN then click add to the right.<br />
:* Choose ODBC Driver 17 for SQL Server. Click Next.<br />
:* Enter AuthDB into the box and hit next then finish.<br />
:* It will then say something like ‘Which SQL Server would you like to connect to?’<br />
:** Type localhost\SQLEXPRESS and hit next.<br />
:* Choose with SQL Auth enter sa into username and the password you use previously.<br />
:* Tick choose change default database to and select cohauth and hit next.<br />
:* After this hit finish then ‘Test Data source’ this will test the auth database connection to your main database.<br />
:* Next you need to update your servers.cfg([[i25 Server.cfg]]).<br />
;:* It should currently look like below code.<br />
:::: {|<br />
<nowiki><br />
DBServer 127.0.0.1 18717<br />
ShardName ShardName<br />
//AuthServer 127.0.0.1 2104<br />
DefaultAccessLevel 0<br />
NoStats 1<br />
UseFakeAuth 1<br />
</nowiki><br />
;:* Change to look like the below code<br />
<nowiki><br />
DBServer 127.0.0.1 18717<br />
ShardName ShardName<br />
AuthServer 127.0.0.1 2104<br />
DefaultAccessLevel 0<br />
NoStats 1<br />
//UseFakeAuth 1<br />
</nowiki><br />
|}<br />
:* Start AuthServer.exe and update your game icon to use -auth vs -db.<br />
<br />
=== What is different in i25 from i24? ===<br />
<br />
[https://docs.google.com/document/d/11cLJiSYlfueJheOumRywG8Evip2Mjmu_30Y6ePaetqY/edit i25 Patch Notes on Google Docs]<br />
<br />
=== Where is the i25 source and how do I get it? ===<br />
: The source for i25 is now available on the [https://git.ourodev.com/CoX/Source Ouroboros Git]. However keep in mind this code is considered "End of Life" and will not be maintained. Where the code is at right now is likely where it will remain.</div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_FAQ&diff=828I25 FAQ2019-05-06T17:20:58Z<p>Methril: /* Where is the i25 source and how do I get it? */</p>
<hr />
<div>== Server Administration ==<br />
=== How do I disable logging system specs? ===<br />
; This is an extremely easy process. <br />
: Open up your servers.cfg and find the line <br />
:: "SetLogLevel "SystemSpecs" 1<br />
: Change this to -2<br />
:: "SetLogLevel "SystemSpecs" -2<br />
: You'll no longer get system spec logs!<br />
<br />
=== How do I create an account? ===<br />
; You can use the PowerShell script in downloads or execute a query against the database manually.<br />
: Create NEW USER: test / password<br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.user_account (account, uid, forum_id, pay_stat) VALUES ('test', 1, 1, 1014);</syntaxhighlight > <br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.user_auth (account, password, salt, hash_type) VALUES ('test', CONVERT(BINARY(128),'46ffce3efcfe83bfa205b076d7c2084b9dcf04cdb26f9019103cde29779d26a85216b2c0f43ba1a8fb9b7fa22f05a949bf4edc314af27629e8fc23014e77a24d'), 0, 1);</syntaxhighlight > <br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.user_data (uid, user_data) VALUES (1, 0x0080C2E000D00B0C000000000CB40058);</syntaxhighlight ><br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.user_server_group (uid, server_group_id) VALUES (1, 1);</syntaxhighlight ><br />
: [http://cohstuff.dreamhosters.com/makeaccount.php Crust First's web-based tool for generating SQL queries to create new accounts] [http://cohstuff.dreamhosters.com/makeaccount.phps (Source)]<br />
<br />
=== How do I make a GM Character? ===<br />
* Update the character in the database<br />
:: <syntaxhighlight lang="SQL" line='line'> UPDATE [cohdb].[dbo].[Ents] SET [AccessLevel] = 11 WHERE [Name] = 'charnamehere'</syntaxhighlight ><br />
* You can also set DefaultAccessLevel to 11 in servers.cfg, <br />
:: This will only work for characters made after you make this change.<br />
:: All characters after this change will be a GM.<br />
:: You'll also need to restart or reload the DBServer after this change.<br />
* Login to the game and type /mmm to bring up an admin menu. <br />
:: While /mmm only requires AccessLevel 10 to run, some of the commands available in the menu require AccessLevel 11 to successfully execute.<br />
:: Most commands are also listed in Commands.cfg, which can be typed in game via chat.<br />
<br />
=== How do I change my server's message of the day? ===<br />
<br />
: Edit message.txt in the chatdb folder, it accepts basic HTML formatting tags.<br />
<br />
=== How come my server says "Paragon" and how do I change it? ===<br />
:The name displayed in the client is dependent on the server ID in the database, not the shard's name, and corresponds to the hardcoded list below:<br />
<ol start="0"><br />
<li>(empty server list) </li><br />
<li>Paragon </li><br />
<li>Cryptic</li><br />
<li>Bree</li><br />
<li>Undying</li><br />
<li>Phoenix</li><br />
<li>Rebirth</li><br />
<li>Resurgence</li><br />
<li>Titan</li><br />
<li> Unity</li><br />
<li>Torchbearer</li><br />
<li>Unstoppable</li><br />
<li>Perseverant</li><br />
<li>Indomitable</li><br />
<li>Timeless</li><br />
<li>Everlasting</li><br />
<li>Excelsior</li><br />
<li>CoHWorldServer_17</li><br />
<li>CoHWorldServer_18</li><br />
</ol><br />
:* These values reside in clientmessages-en.bin in the client<br />
:Examples:<br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'Paragon', '127.0.0.1', '127.0.0.1', 0, 0, 1);</syntaxhighlight><br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.worldstatus (idx, status) VALUES (1, 1);</syntaxhighlight><br />
<br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (2, 'Cryptic', '127.0.0.1', '127.0.0.1', 0, 0, 1);</syntaxhighlight><br />
:: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.worldstatus (idx, status) VALUES (2, 1);</syntaxhighlight><br />
<br />
=== How do I start Events? ===<br />
: In-Game you can use the following commands to start events.<br />
:: <syntaxhighlight lang="text"> /shardeventstart scriptdefs/Holiday_11_Event.scriptdef</syntaxhighlight><br />
:: <syntaxhighlight lang="text"> /shardeventstart scriptdefs/Halloween_11_Event.scriptdef</syntaxhighlight><br />
:: <syntaxhighlight lang="text"> /shardeventstart ScriptDefs/SpringFlingEvent.scriptdef</syntaxhighlight><br />
:: <syntaxhighlight lang="text"> /shardeventstart ScriptDefs/NemesisPlotShard.scriptdef</syntaxhighlight><br />
:: {|<br />
<syntaxhighlight lang="text"> /zoneeventstart RiktiInvasion<br />
Then followed by<br />
/zoneeventsignal "RiktiInvasion" "Prelude"<br />
wait for 10 seconds<br />
/zoneeventsignal "RiktiInvasion" "RunMe"</syntaxhighlight><br />
|}<br />
: There is also "/shardeventstop" to stop said events<br />
<br />
=== How do I move characters between accounts? ===<br />
: SQL to move character to another account. Useful if you want to move characters created on fakeauth to an actual authserver account.<br />
: <br />
: SYNTAX:<br />
: <syntaxhighlight lang="SQL" line='line'> UPDATE [cohdb].[dbo].[Ents] SET [AuthId] = your account id, [AuthName] = 'your account name' WHERE [Name] = 'your hero name'</syntaxhighlight><br />
: <br />
: EXAMPLE:<br />
: <syntaxhighlight lang="SQL" line='line'> UPDATE [cohdb].[dbo].[Ents] SET [AuthId] = 1, [AuthName] = 'AccountName' WHERE [Name] = 'HeroName'</syntaxhighlight><br />
: <br />
: You can view characters in the database by doing:<br />
: <syntaxhighlight lang="SQL" line='line'> SELECT * FROM [cohdb].[dbo].[Ents]</syntaxhighlight><br />
<br />
=== How do I "seed" the Auction House with items? ===<br />
: See [[I25 Populate Auction Server]], requires GM accesslevel ingame.<br />
<br />
== Cheating ==<br />
<br />
=== How do I win the game? ===<br />
: If your character is an admin type /autoenhance, /autoenhanceio, or /autoenhanceset. <br />
:: You can find many of commands in C:\COH\data\server\db\commands.cfg <br />
: You can also type /mmm, scroll down to Design Testing, EnhanceAndInspire, Enhancements, and give yourself whatever you want.<br />
:; You can level the character up to level 50 with the below command:<br />
:: /experience_add 39149119<br />
:; You can also visit this website for a list of other commands.<br />
:: [https://paste.pc-logix.com/ekohikayaz.pl CoH Server Commands]<br />
:: OR<br />
:: [https://github.com/cohdevver/cohdocs/blob/master/All_current_GM_commands.txt All Current GM Commands]<br />
<br />
=== How do I increase Experience Rates? ===<br />
: Add the following line to servers.cfg<br />
:: <pre>XPScale 2.0</pre><br />
: The number is a direct multiplier to experience gains, change it to whatever you like, and then restart the server.<br />
: Also increases influence/infamy gains.<br />
<br />
=== Can I easily change my character alignment? ===<br />
: Null the Gull in Pocket D has a new i25 dialog option to instantly switch a character's alignment.<br />
<br />
=== How do I increase drop rates of Salvage/Recipes/etc? ===<br />
: There is no currently known method of accomplishing this on an i25 server.<br />
<br />
=== How do I change respawn times? ===<br />
: There is no currently known method of accomplishing this on an i25 server.<br />
<br />
=== How do I unlock all the good medals? ===<br />
# You can give yourself any of the badge below by typing /badge_add BadgeNameHere.<br />
#* AtlasSet (Received the Atlas Medallion) (Tourist) (Atlas Shrugged) [Adds 'The Atlas Medallion' passive power]<br />
#* Marshal (Ex-Marshal) (Marshal) [Adds the 'Marshal' passive power]<br />
#* DimensionalHopperSet (Portal Jockey) [Adds 'Portal Jockey' passive power]<br />
#* BornInBattle (Born in Battle) [Adds the 'Born In Battle' passive power]<br />
#* FreedomPhalanxSet (Freedom Phalanx Reserve Member) (Freedom Phalanx Fallen) [Adds 'Freedom Phalanx Reserve' passive power]<br />
#* HighPainThreshold (Gotten Soft) (High Pain Threshold) [Adds 'High Pain Threshold' passive power]<br />
#* TaskForceCommander (Task Force Commander) (Task Force Abandoner) [Adds 'Task Force Commander' passive power]<br />
#* MayhemInvader (Return Visitor) (Invader) [Adds 'Invader' passive power]<br />
#* Paragon (Paragon) [Unlocks 'Assemble the Team' power in the P2W Vendor under 'Prestige Powers > Travel > Teleport']<br />
#* UnbrokenSpirit (The Unbroken Spirit) [Unlocks 'Renewal of Light' power in the P2W Vendor under 'Prestige Powers > Utility > Miscellaneous']<br />
#* P_Relentless (Relentless) [Unlocks 'Return to Battle' power in the P2W Vendor under 'Prestige Powers > Utility > Miscellaneous']<br />
#* InventorAccolade (Field Crafter) [Adds 'Portable Workbench' power]<br />
#* ArchitectAccolade (Mission Engineer) [Adds 'Architect Comlink' power]<br />
#* GoldClub (Pocket D VIP Gold Club Member) [Adds 'Pocket D VIP Pass' power]<br />
#* CreySet (Conspiracy Theorist) [Adds the 'Crey CBX-9 Pistol' power]<br />
#* HeadlineStealer (Yesterday's News) [Adds 'Stolen Immobilizer Ray' power]<br />
#* RIWEAccolade (Watchwoman) [Adds 'Elusive Mind' power]<br />
#* MagusSet (Archmage) (Arch-Mage of Agony) [Adds 'Eye of the Magus' power]<br />
#* Demonic (Exorcised) (Demonic) [Adds 'Demonic Aura' power]<br />
#* Megalomaniac (In Therapy) (Megalomaniac) [Adds 'Megalomaniac' power]<br />
#* RiktiWarSet (Vanguard) [Adds 'Vanguard Medal' power]<br />
#* GeasoftheKindOnes (Geas of the Kind Ones) [Adds 'Geas of the Kind Ones' power]<br />
#* MayhemForceOfNature (Force of Nature) (Uninsurable) [Adds 'Force of Nature' power]<br />
<br />
== Common Issues ==<br />
<br />
=== Why does my server show offline? ===<br />
* First make sure you've added your server into the database. You can do so with the code below.<br />
** <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'Paragon', 'EXTERNAL IP', 'INTERNAL IP', 0, 0, 1);</syntaxhighlight ><br />
** <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.worldstatus (idx, status) VALUES (1, 1);</syntaxhighlight ><br />
<br />
=== Why does my AuthServer say "Non-registered world server X.X.X.X"? ===<br />
* Make sure the server is in the cohauth and set to online with the following queries<br />
** <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'Paragon', 'EXTERNAL IP', 'INTERNAL IP', 0, 0, 1);</syntaxhighlight ><br />
** <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.worldstatus (idx, status) VALUES (1, 1);</syntaxhighlight ><br />
<br />
=== Why does my AuthServer keep opening an ODBC window asking for a username and password? ===<br />
:Make sure AuthDB.dsn was saved into the Documents folder, or move it there and then restart the AuthServer.<br />
<br />
=== Why does my DBServer say "login failed for user sa" when starting? ===<br />
* Most likely you've entered the string wrong in servers.cfg([[i25 Server.cfg]]) or another file.<br />
* It could be that the sa account is still disabled as well. Double check SMSS to verify.<br />
* If you've entered it correctly make sure restarted the service after the changes from the guide.<br />
<br />
=== Why does my DBServer say "invalid login to DBServer" when I try to join my server? ===<br />
* Most likely you forgot to change the launch parameters of your client when you moved away from using NoAuth.<br />
:: <syntaxhighlight lang="text"> -patchdir score -patchversion 2019.04.19 -auth IPOFYOURSERVER -noversioncheck</syntaxhighlight ><br />
<br />
=== My AuctionServer is running but why players can't list items?===<br />
* Most likely your auction_server.cfg is incorrect.<br />
:: {|<br />
<pre>ShardIp 127.0.0.1<br />
SqlDbName cohauc<br />
SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=localhost\SQLEXPRESS;Uid=sa;Pwd=YOURL33TPASS;"</pre><br />
* Start AuctionServer64.exe<br />
|}<br />
<br />
=== Why is my MapServer displaying popups? ===<br />
* Most likely your servers.cfg([[i25 Server.cfg]]) is set to -filedebug. Change to this -nopopup to no longer see windows from it.<br />
<br />
=== How can I prevent MapServer from getting popups that prevent loading until acknowledged? ===<br />
: Add this to servers.cfg([[i25 Server.cfg]]):<br />
<br />
:: MapServerParams "-nopopup"<br />
<br />
=== Why aren't my Architect Missions aren't publishing? ===<br />
* Most likely you are missing the "missionserver" folder. Create one in the root of your server directory and start MissionServer again. For me this is C:\COH\missionserver.<br />
<br />
=== What configuration files do I need to create? ===<br />
: You need to create auction_server.cfg([[i25 auction_server.cfg]]), account_server.cfg([[i25 account_server.cfg]]), chat_server.cfg([[i25 chat_server.cfg]]), and servers.cfg([[i25 Server.cfg]]). Crust Fire created a php script which will make these for you.<br />
: [http://cohstuff.dreamhosters.com/makeconfigs.php Crust Fire's Auto Config Generator] [http://cohstuff.dreamhosters.com/makeconfigs.phps (Source)]<br />
<br />
=== What Operating System do I need to host this? ===<br />
: So far users have tried many different combinations without issue! Below are a few of the most common.<br />
:; Operating systems:<br />
:: Windows 2012 Server R2 Standard<br />
:: Windows 2016 Server Standard<br />
:: Windows 2019 Server Standard<br />
:: Windows 10 Home<br />
:: Windows 10 Professional<br />
:: Windows 7<br />
:; SQL Server<br />
:: SQL Server 2017 Express<br />
:: SQL Server 2017 Dev Edition<br />
:: SQL Server 2012<br />
<br />
=== Why is i25 using the wrong network adapter? ===<br />
: If you have two NICs you might find that the i25 is using the wrong one. Some users have performed a hex edit to MapServer to correct this.<br />
: https://cdn.discordapp.com/attachments/570656952166907924/571282349526876211/SkipIPFlip.png<br />
<br />
=== Why am I getting an error when trying to setup the AuthDB? === <br />
: Most likely it is a named piped issue. The article below has helped a few users.<br />
: [https://www.techcrumble.net/2017/07/sql-odbc-connection-failure-sqlstate-08001-sql-server-error-2/ SQL Error 08001]<br />
<br />
=== When I run AuthServer.exe I get an error about config.txt ===<br />
: The fix for this is pretty straight forward. For some reason you are missing config.txt. This file for me is in c:\coh\etc\config.txt<br />
:: [https://pastebin.com/VSv2JPVY config.txt]<br />
:: https://cdn.discordapp.com/attachments/570656952166907924/571845926704906240/unknown.png<br />
<br />
=== How do I add AuthServer to the Community VM? ===<br />
: Open up ODBC Data Sources.<br />
:* Click File DSN then click add to the right.<br />
:* Choose ODBC Driver 17 for SQL Server. Click Next.<br />
:* Enter AuthDB into the box and hit next then finish.<br />
:* It will then say something like ‘Which SQL Server would you like to connect to?’<br />
:** Type localhost\SQLEXPRESS and hit next.<br />
:* Choose with SQL Auth enter sa into username and the password you use previously.<br />
:* Tick choose change default database to and select cohauth and hit next.<br />
:* After this hit finish then ‘Test Data source’ this will test the auth database connection to your main database.<br />
:* Next you need to update your servers.cfg([[i25 Server.cfg]]).<br />
;:* It should currently look like below code.<br />
:::: {|<br />
<nowiki><br />
DBServer 127.0.0.1 18717<br />
ShardName ShardName<br />
//AuthServer 127.0.0.1 2104<br />
DefaultAccessLevel 0<br />
NoStats 1<br />
UseFakeAuth 1<br />
</nowiki><br />
;:* Change to look like the below code<br />
<nowiki><br />
DBServer 127.0.0.1 18717<br />
ShardName ShardName<br />
AuthServer 127.0.0.1 2104<br />
DefaultAccessLevel 0<br />
NoStats 1<br />
//UseFakeAuth 1<br />
</nowiki><br />
|}<br />
:* Start AuthServer.exe and update your game icon to use -auth vs -db.<br />
<br />
=== What is different in i25 from i24? ===<br />
<br />
[https://docs.google.com/document/d/11cLJiSYlfueJheOumRywG8Evip2Mjmu_30Y6ePaetqY/edit i25 Patch Notes on Google Docs]<br />
<br />
=== Where is the i25 source and how do I get it? ===<br />
: The source for i25 is no available on the [https://git.ourodev.com/CoX/Source Ouroboros Git]. However keep in mind this code is considered "End of Life" and will not be maintained. Where the code is at right now is likely where it will remain.</div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_Server_Setup&diff=813I25 Server Setup2019-05-06T08:26:55Z<p>Methril: /* i25 Configuration Files */</p>
<hr />
<div>== Server Setup From Scratch ==<br />
=== i25 Configuration Files ===<br />
* [[i25 Servers.cfg]]<br />
* [[i25 auction_server.cfg]]<br />
* [[i25 account_server.cfg]]<br />
* [[i25 chat_server.cfg]]<br />
* [[i25 turnstile_server.cfg]]<br />
* [[i25 loadBalanceDefault.cfg]]<br />
* [[i25 loadBalanceShardSpecific.cfg]]<br />
* [[i25 mission_server.cfg]]<br />
<br />
=== Setup Local Server ===<br />
: 1. Install [https://www.microsoft.com/en-gb/sql-server/sql-server-editions-express SQL Server 2017 Express Edition]<br />
: 2. Choose Basic when installing and when given the option choose to install [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SSMS(SQL Server Manager Suite)].<br />
: 3. Move your [[I25_Downloads|i25 Binaries]] to C:\CoH<br />
: 4. Navigate to C:\CoH\data\server\db<br />
: 5. Open up auction_server.cfg([[I25_auction_server.cfg]]), account_server.cfg([[I25_account_server.cfg]]), chat_server.cfg([[I25_chat_server.cfg]]), and servers.cfg([[I25_Server.cfg]]).<br />
:: You can change the password to whatever you would like. For this example I will be just using "YOURL33TPASS!".<br />
::; You will see something like this.<br />
::: <syntaxhighlight lang="SQL" line='line'> SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=NS319069\SCORE;Uid=sa;Pwd=FinallyFree!;" </syntaxhighlight ><br />
::; Change this to <br />
::: <syntaxhighlight lang="SQL" line='line'> SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=localhost\SQLEXPRESS;Uid=sa;Pwd=YOURL33TPASS!;" </syntaxhighlight > <br />
::; While you have servers.cfg and auction_server.cfg open. Change all the ips to 127.0.0.1. <br />
<br />
: 6. Extract the dbschema.rar found in C:\CoH\dbschema.rar.<br />
: 7. Open up SQL Server Management Studio (SSMS which you installed in the first step). Hit Connect on the screen that pops up to and connect with windows authentication.<br />
:: [[File:SQL Connect.png|thumb|none]]<br />
: 8. We need to enable the sa login so that server can login to the database.<br />
::; If you look to the left panel you will see the object explorer and your connection. Right click it and select properties.<br />
:::: [[File:SQL Properties.png|thumb|none]]<br />
::: When this window comes up hit Security to the left and enable "sql server and windows authentication". Then click ok.<br />
:::: [[File:SQL Security.png|thumb|none]]<br />
::: In the same panel you used before navigate to Security -> Logins then right click and enter properties the sa user.<br />
:::: [[File:SA Properties.png|thumb|none]]<br />
::: In this window set the password to the same password you set back at step 4<br />
:::: [[File:Login Props.png|thumb|none]]<br />
::: Choose Status from the left panel in this same window and set login to enabled and hit ok.<br />
:::: [[File:Login Status.png|thumb|none]]<br />
::: Right click the connection in the object explorer again and click Restart.<br />
:::: [[File:SQL Restart.png|thumb|none]]<br />
: 9. Click File, Select Open, navigate back to C:\CoH, open the dbschema folder, and select cohauc.sql in SQL Server Management Studio.<br />
:: [[File:SSMS File Open.png|thumb|none]]<br />
:: [[File:SSMS Open DBSchema.png|thumb|none]]<br />
: You will see these 2 lines at the top of the file opened<br />
:: [[File:SSMS DBSchema SQL SRV STR.png|thumb|none]]<br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc', FILENAME = N'C:\mssql\MSSQL11.SCORE\MSSQL\DATA\cohauc.mdf' , SIZE = 157440KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) </syntaxhighlight><br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc_log', FILENAME = N'C:\mssql\MSSQL11.SCORE\MSSQL\DATA\cohauc_log.ldf' , SIZE = 353216KB , MAXSIZE = 2048GB , FILEGROWTH = 10%) </syntaxhighlight><br />
: 10. What you want to do is set the first part of these directory listings to where your SQL Server is located for example, I set my to D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL because that is where my SQL Server is. So my would become:<br />
:: [[File:SSMS DBSchema SQL SRV STR CORRECT.png|thumb|none]]<br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc', FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\DATA\cohauc.mdf' , SIZE = 157440KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) </syntaxhighlight><br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc_log', FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\DATA\cohauc_log.ldf' , SIZE = 353216KB , MAXSIZE = 2048GB , FILEGROWTH = 10%) </syntaxhighlight><br />
: 11. Once done click the Execute button. And do this again for both the cohauth and cohchat.<br />
:: [[File:SSMS Execute.png|thumb|none]]<br />
: 12. Open up ODBC Data Sources (32-bit).<br />
:* Type 'ODBC' in Windows search, or run directly from C:\Windows\SysWOW64\odbcad32.exe<br />
::* Do NOT use 64-bit!<br />
:* Click File DSN then click add to the right.<br />
:*: [[File:ODBC File DSN.png|thumb|none]]<br />
:* Choose ODBC Driver 17 for SQL Server. Click Next.<br />
:*: [[File:ODBC Add Auth 1.png|thumb|none]]<br />
:* Enter AuthDB into the box and hit next then finish.<br />
:*: [[File:ODBC Add Auth 2.png|thumb|none]]<br />
:* It will then say something like ‘Which SQL Server would you like to connect to?’<br />
:** Type localhost\SQLEXPRESS and hit next.<br />
:**: [[File:ODBC Add Auth 3.png|thumb|none]]<br />
:* Choose with SQL Auth enter sa into username and the password you use previously.<br />
:*: [[File:ODBC Add Auth 4.png|thumb|none]]<br />
:* Tick choose change default database to and select cohauth and hit next.<br />
:*: [[File:ODBC Add Auth 5.png|thumb|none]]<br />
:*: [[File:ODBC Add Auth 6.png|thumb|none]]<br />
:* After this hit finish then ‘Test Data source’ this will test the auth database connection to your main database if it successful congrats :D<br />
:*: [[File:ODBC Add Auth 7.png|thumb|none]]<br />
:*: [[File:ODBC Add Auth 8.png|thumb|none]]<br />
<br />
: 13. Once you have done that you can now start up your server. Navigate back to C:\CoH and create a bat file to start your server.<br />
::: {| <br />
<syntaxhighlight lang="bat"> <br />
@echo off<br />
echo Starting Auth Server<br />
START C:\coh\bin\authserver.exe<br />
TIMEOUT 2<br />
echo Starting DB Server<br />
START C:\coh\bin\dbserver.exe -zonelaunchers 1<br />
TIMEOUT 2<br />
echo Starting Launcher Server<br />
START C:\coh\bin\launcher64.exe -noversioncheck<br />
TIMEOUT 2<br />
echo Everything should be launched! Go enjoy COH.<br />
TIMEOUT 10<br />
</syntaxhighlight > <br />
|}<br />
: 14. Go to your City of Heroes folder and make a shortcut of score.exe.<br />
:* Add the string below to the shortcut if playing locally on the hosting machine.<br />
:*: <syntaxhighlight lang="text"> score.exe -patchdir score -patchversion 2019.04.19 -auth 127.0.0.1 -noversioncheck -console </syntaxhighlight > <br />
:* Add the string below to the shortcut if playing over the network. Note you'll need the hosting machines IP for this. (CMD -> IPConfig)<br />
:*: <syntaxhighlight lang="text"> score.exe -patchdir score -patchversion 2019.04.19 -auth <HOSTIPADDRESS> -noversioncheck -console </syntaxhighlight > <br />
: 15. Login and Enjoy!<br />
<br />
== Port Forwards ==<br />
; TCP Ports<br />
: Port 11228<br />
:* <br />
; UDP Ports<br />
: Ports 18717 through 18917<br />
:*<br />
<br />
== Setup Internet Facing Server ==<br />
: Patching the DBServer allows it to return the correct IP address for MapServers to the client.<br />
: dbserver.exe needs to be patched to read its external IP from a config file, a patched version can be downloaded from [http://cohstuff.dreamhosters.com/dbservernat.php here] or from the following magnet link<br />
:::::::::::::::::: [magnet:?xt=urn:btih:BE2D888C9F6B6B19A13780B265FC556EE59769C1&dn=dbserver-nat-fix.zip&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce dbserver nat fix.zip]<br />
: <pre>dbserver.exe [MD5] c66842d15bc94f6b6b2a282331c01e3f | dbserver.exe [SHA1] 9ba7c9774de2f75cd72efb604c44c3a86cbd24eb</pre><br />
: From SQL Sever Manager Studio(SSMS) run the query below.<br />
: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'ShardName', 'Public IP', '127.0.0.1', 0, 0, 1); </syntaxhighlight><br />
: Replace the existing dbserver.exe with the patched one and add the RouteIp line to servers.cfg with your server's public IP.<br />
: <syntaxhighlight lang="text"> RouteIp YOURPUBLICIPADDRESS </syntaxhighlight><br />
<br />
== Patched AuthServer ==<br />
: [magnet:?xt=urn:btih:c5d7542b4a3cc0ec8f8d7dab028e67608f8a36f3&dn=patched-authserver.7z Patched AuthServer]<br />
: For use alongside the patched dbserver, reads first RouteIp in servers.cfg as externalIP and second RouteIp in servers.cfg as internal IP, rather than from cohauth<br />
: Patched authserver<br />
: <center><syntaxhighlight lang="text"> MD5: kuF0O1e/K3iT6tcXKA0xmQ== | SHA1: +7IdIglCD1EEM9xNcZUyYRuZ9Ec= | SHA256: 7A370DAB25CBEA30A0BCA3333F6BBD971315604E98218B71BEDCC2F415918285 </syntaxhighlight></center><br />
<br />
: Example configuration:<br />
::: {|<br />
<syntaxhighlight lang="text"> <br />
// First RouteIP is External (WAN) IP<br />
RouteIp 123.123.123.123<br />
// Second RouteIP is Internal (LAN) IP<br />
RouteIp 192.168.0.0<br />
<br />
// Uncomment the following line to use IPs from cohauth<br />
//AuthDBIP 1<br />
</syntaxhighlight><br />
|}<br />
<br />
== Setup TurnstileServer ==<br />
: Making the changes below will put your server into "production" mode. This will require things like mission_server.cfg to be created.<br />
: First make sure your turnstile_server.cfg is correct. Below you'll find an example.<br />
;: Example turnstile_server.cfg<br />
::: <syntaxhighlight lang="text"> DbServer LAN WAN 7000 ShardName ShardID ShardAuthID</syntaxhighlight> <br />
::: <syntaxhighlight lang="text"> DbServer 127.0.0.1 127.0.0.1 7000 Paragon 1 1</syntaxhighlight> <br />
;: Example mission_server.cfg<br />
::: <syntaxhighlight lang="text"> Shard NAME WAN REGION</syntaxhighlight> <br />
::: <syntaxhighlight lang="text"> Shard Paragon 127.0.0.1 1 </syntaxhighlight> <br />
: Next copy the "piggs" folder from your client to the server directory(C:\CoH\piggs)<br />
: At this point you should be able to run turnstileserver.exe.<br />
; As I mentioned earlier in the guide you'll likely run into new issues with these changes. Like needing mission_server.cfg, -noreserved on chatserver, and a few other minor edits.<br />
: Putting the server into production mode will also change the version to 2400.201208211101.1. Your clients will need to update their connect parameter.<br />
:: -patchdir score -patchversion 2400.201208211101.1 -auth VMIPGOESHERE -console</div>Methrilhttps://wiki.ourodev.com/index.php?title=I24_Server_Setup&diff=812I24 Server Setup2019-05-06T08:24:17Z<p>Methril: /* Setup Server Files */</p>
<hr />
<div>== Required Software ==<br />
* [http://download.microsoft.com/download/D/B/C/DBC11267-9597-46FF-8377-E194A73970D6/vs_proweb.exe Visual Studio 2010 Professional] or Visual Studio 2019 with the 2010 toolchain configured<br />
* SQL Server 2012 or later (Express is good enough for development)<br />
:* [https://www.microsoft.com/en-us/sql-server/sql-server-editions-express SQL Server 2017 Express Edition]<br />
* [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SQL Server Management(SSMS)]<br />
* [https://git-scm.com/download/win Git for Windows] or [https://desktop.github.com/ GitHub Desktop]<br />
* Download the [magnet:?xt=urn:btih:n642zelj2se2yn2ovmfy2z74tyyf7scs&dn=City%20of%20Heroes&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80%2Fannounce Issue 24 client and data files] - this is ''not'' the SCORE client/data.<br />
* Download [magnet:?xt=urn:btih:CCCE574F7F89229B0FC2EF8AD898BE451864863A&dn=CoHDev_Source_Files_Current%28Updated%29.zip&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce CoHDev_Source_Files_Current(Updated).zip].<br />
* Download [magnet:?xt=urn:btih:8CE9DE8ECCF29B899B247512F1082F20B59DC4B2&dn=ServerData.7z&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce ServerData.7z].<br />
* Clone the [https://git.ourodev.com/CoX/Source/ Cox/Source repository].<br />
<br />
== Install SQL Server 2017 Express ==<br />
: You can install SQL Server pretty much on the default settings.<br />
:: Select Basic under installation type:<br />
::: [[File:SQL Server Install 2017 Express.png|thumb|none]]<br />
:: Agree to the EULA if you want to use SQL Server.<br />
::: [[File:SQL Server Install 2017 Express - 2.png|thumb|none]]<br />
:: Tell the server where to install files. I changed this for ease on my system.<br />
::: [[File:SQL Server Install 2017 Express - 3.png|thumb|none]]<br />
:: It should begin installing and eventually you should see "Install has completed successfully". Click close.<br />
::: [[File:SQL Server Install 2017 Express - 4.png|thumb|none]]<br />
<br />
== Install SQL Server Management(SSMS) ==<br />
: You can install SQL Server Management on default settings.<br />
:: Select the location you'd like to install SSMS to. The default is fine.<br />
::: [[File:SSMS Install - 1.png|thumb|none]]<br />
:: It will take awhile to install and you'll see a little progress bar letting you know whats going on<br />
::: [[File:SSMS Install - 2.png|thumb|none]]<br />
:: Eventually it will ask you to reboot the system. Might as well as do that now.<br />
::: [[File:SSMS Install - 3.png|thumb|none]]<br />
<br />
== Configure MSBuild Environmental Variable ==<br />
: Click the start button and type "environmental variable". It should be the first entry saying "edit environmental variables for your account"<br />
:: Click "Environment Variables" at the bottom of the new window.<br />
::: [[File:Enviro-Variable-1.png|thumb|none]]<br />
:: Click "New" under "User variables for YOURUSERNAME"<br />
::: [[File:Enviro-Variable-2.png|thumb|none]]<br />
:: Click "New" on the "Edit environmental variable" window and add the location to your MSBuild.<br />
::: For me MSBuild was location: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin<br />
::: [[File:Enviro-Variable-3.png|thumb|none]]<br />
:: Click Ok on both windows to close them out.<br />
: Hit the start button and type "CMD". Command Prompt should be the first thing listed.<br />
: Type "MSBuild" into the command prompt and you should receive an error letting you know its setup.<br />
:: [[File:Enviro-Variable-4.png|thumb|none]]<br />
<br />
<br />
== Install GitHub Desktop and Acquire Source ==<br />
: You need to download and install [https://desktop.github.com/ GitHub Desktop].<br />
: Open GitHub Desktop, Select File, and Clone a Repository.<br />
:: Select the URL tab, enter "https://git.ourodev.com/CoX/Source.git" into the first blank and a path where to store the source locally such as "C:\GitHub\CoX\Source".<br />
::: [[File:GitHub Desktop CoX Source.png|thumb|none]]<br />
: After the download finishes you can close GitHub Desktop for now.<br />
<br />
== Build City of Heroes from Source ==<br />
: Start a powershell prompt as administrator<br />
: Enter "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine" into the terminal and type "A" to auto accept all.<br />
:: [[File:CoX-Build-1.png|thumb|none]]<br />
: Naviate to "C:\GitHub\CoX\Source\MasterSolution" and run build.ps1<br />
:: [[File:CoX-Build-2.png|thumb|none]]<br />
: Begin building City of Heroes by running ".\build.ps1"<br />
:: [[File:CoX-Build-3.png|thumb|none]]<br />
: Eventually the build will finish(On average takes at least 40 minutes to build)<br />
:: [[File:CoX-Build-4.png|thumb|none]]<br />
: Now build AuthServer(C:\GitHub\CoX\Source\AuthServer\src\AuthServer\AuthServer.sln)<br />
<br />
== Setup Server Files ==<br />
: Create a directory in ''C:\GitHub\CoX\Source\bin'' called ''data''.<br />
:: Open ''ServerData.7z'' and extract all files into ''Source\bin\data'' (the newly created directory).<br />
:: Open ''CoHDev_Source_Files_Current(Updated).zip''.<br />
::: Extract "i24 Server and Client Piggs (extracted with CoHTools)" into ''Source\bin\data''.<br />
::: Copy ''maps.db'' from "map.db (modified, working on current VS2010 build)" and place it in ''Source\bin\data\server\db'', overwriting the old maps.db<br />
:: Copy the ''piggs'' folder from your i24 client directory and place them in ''Source\bin\''. You should end up with ''Source\bin\piggs\'' populated.<br />
: Create a directory in your C: drive called "CoH_Data" and another directory inside that, called "attributes" (''C:\CoH_Data\attributes'').<br />
:: Run ''Source/bin/mapserver.exe -productionmode -templates'' in a command prompt.<br />
:: Copy all files from ''C:\CoH_Data\attributes'' and place them into ''Source\bin\data\server\db\templates''.<br />
: Open ''Source\DBSchemas'' and execute all the .sql files in the directory. You may need to change the file path -- anywhere works. Drop old database references before if there are any.<br />
<br />
== Server Configuration ==<br />
: Follow [[I25_Server_Setup#i25_Configuration_Files]] until we come up with an i24-optimized guide.<br />
:: Adjust the configuration files in ''Source\bin\data\server\db'' to utilize the correct database connections.<br />
<br />
== Launch Client and Server ==<br />
: Navigate to "C:\GitHub\CoX\Source\bin" and inside you should see "CityofHeroes.exe".<br />
:: Right click on it and towards you bottom you'll see "Create Shortcut".<br />
: A new shortcut should have appeared. Right click on it and go to properties.<br />
::: [[File:CoX-Build-5.png|thumb|none]]<br />
:: Add the follow parameter to your shortcut's target.<br />
::: <syntaxhighlight lang="text"> -db 127.0.0.1 -console -project "Ouroboros" </syntaxhighlight><br />
::: [[File:CoX-Build-6.png|thumb|none]]<br />
: Start DBServer.exe and then Launcher.exe. This can be done simply by double clicking on them.<br />
:: Once these are both fully booted use your new shortcut to connect to the local server.<br />
; You could also use a .bat file to start everything up and in the correct order.<br />
:: The below is an example bat file to launch the DBServer, Launcher, and finally the Client.<br />
::: {|<br />
<syntaxhighlight lang="bat"> <br />
@echo off<br />
echo Starting DB Server<br />
START C:\GitHub\CoX\Source\bin\dbserver.exe<br />
TIMEOUT 2<br />
echo Starting Launcher Server<br />
START C:\GitHub\CoX\Source\bin\launcher.exe<br />
TIMEOUT 2<br />
echo Starting Chat Server<br />
START C:\GitHub\CoX\Source\bin\ChatServer.exe -noreserved<br />
TIMEOUT 2<br />
echo Waiting for user input to start City of Heroes. Hit SPACE to continue.<br />
pause<br />
echo Starting City of Heroes Client<br />
START C:\GitHub\CoX\Source\bin\CityOfHeroes.exe -db 127.0.0.1 -console -project "Ouroboros"<br />
echo Everything should be launched! Go enjoy COH.<br />
</syntaxhighlight> <br />
|}<br />
: After the client starts up you'll be presented with a Login and Password screen. As auth is currently turned off you can enter anything you want in both.<br />
: There should only be one server listed. Go ahead and pick it then make a new character to test with!</div>Methrilhttps://wiki.ourodev.com/index.php?title=I24_Server_Setup&diff=811I24 Server Setup2019-05-06T08:22:15Z<p>Methril: /* Required Software */</p>
<hr />
<div>== Required Software ==<br />
* [http://download.microsoft.com/download/D/B/C/DBC11267-9597-46FF-8377-E194A73970D6/vs_proweb.exe Visual Studio 2010 Professional] or Visual Studio 2019 with the 2010 toolchain configured<br />
* SQL Server 2012 or later (Express is good enough for development)<br />
:* [https://www.microsoft.com/en-us/sql-server/sql-server-editions-express SQL Server 2017 Express Edition]<br />
* [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SQL Server Management(SSMS)]<br />
* [https://git-scm.com/download/win Git for Windows] or [https://desktop.github.com/ GitHub Desktop]<br />
* Download the [magnet:?xt=urn:btih:n642zelj2se2yn2ovmfy2z74tyyf7scs&dn=City%20of%20Heroes&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80%2Fannounce Issue 24 client and data files] - this is ''not'' the SCORE client/data.<br />
* Download [magnet:?xt=urn:btih:CCCE574F7F89229B0FC2EF8AD898BE451864863A&dn=CoHDev_Source_Files_Current%28Updated%29.zip&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce CoHDev_Source_Files_Current(Updated).zip].<br />
* Download [magnet:?xt=urn:btih:8CE9DE8ECCF29B899B247512F1082F20B59DC4B2&dn=ServerData.7z&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce ServerData.7z].<br />
* Clone the [https://git.ourodev.com/CoX/Source/ Cox/Source repository].<br />
<br />
== Install SQL Server 2017 Express ==<br />
: You can install SQL Server pretty much on the default settings.<br />
:: Select Basic under installation type:<br />
::: [[File:SQL Server Install 2017 Express.png|thumb|none]]<br />
:: Agree to the EULA if you want to use SQL Server.<br />
::: [[File:SQL Server Install 2017 Express - 2.png|thumb|none]]<br />
:: Tell the server where to install files. I changed this for ease on my system.<br />
::: [[File:SQL Server Install 2017 Express - 3.png|thumb|none]]<br />
:: It should begin installing and eventually you should see "Install has completed successfully". Click close.<br />
::: [[File:SQL Server Install 2017 Express - 4.png|thumb|none]]<br />
<br />
== Install SQL Server Management(SSMS) ==<br />
: You can install SQL Server Management on default settings.<br />
:: Select the location you'd like to install SSMS to. The default is fine.<br />
::: [[File:SSMS Install - 1.png|thumb|none]]<br />
:: It will take awhile to install and you'll see a little progress bar letting you know whats going on<br />
::: [[File:SSMS Install - 2.png|thumb|none]]<br />
:: Eventually it will ask you to reboot the system. Might as well as do that now.<br />
::: [[File:SSMS Install - 3.png|thumb|none]]<br />
<br />
== Configure MSBuild Environmental Variable ==<br />
: Click the start button and type "environmental variable". It should be the first entry saying "edit environmental variables for your account"<br />
:: Click "Environment Variables" at the bottom of the new window.<br />
::: [[File:Enviro-Variable-1.png|thumb|none]]<br />
:: Click "New" under "User variables for YOURUSERNAME"<br />
::: [[File:Enviro-Variable-2.png|thumb|none]]<br />
:: Click "New" on the "Edit environmental variable" window and add the location to your MSBuild.<br />
::: For me MSBuild was location: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin<br />
::: [[File:Enviro-Variable-3.png|thumb|none]]<br />
:: Click Ok on both windows to close them out.<br />
: Hit the start button and type "CMD". Command Prompt should be the first thing listed.<br />
: Type "MSBuild" into the command prompt and you should receive an error letting you know its setup.<br />
:: [[File:Enviro-Variable-4.png|thumb|none]]<br />
<br />
<br />
== Install GitHub Desktop and Acquire Source ==<br />
: You need to download and install [https://desktop.github.com/ GitHub Desktop].<br />
: Open GitHub Desktop, Select File, and Clone a Repository.<br />
:: Select the URL tab, enter "https://git.ourodev.com/CoX/Source.git" into the first blank and a path where to store the source locally such as "C:\GitHub\CoX\Source".<br />
::: [[File:GitHub Desktop CoX Source.png|thumb|none]]<br />
: After the download finishes you can close GitHub Desktop for now.<br />
<br />
== Build City of Heroes from Source ==<br />
: Start a powershell prompt as administrator<br />
: Enter "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine" into the terminal and type "A" to auto accept all.<br />
:: [[File:CoX-Build-1.png|thumb|none]]<br />
: Naviate to "C:\GitHub\CoX\Source\MasterSolution" and run build.ps1<br />
:: [[File:CoX-Build-2.png|thumb|none]]<br />
: Begin building City of Heroes by running ".\build.ps1"<br />
:: [[File:CoX-Build-3.png|thumb|none]]<br />
: Eventually the build will finish(On average takes at least 40 minutes to build)<br />
:: [[File:CoX-Build-4.png|thumb|none]]<br />
: Now build AuthServer(C:\GitHub\CoX\Source\AuthServer\src\AuthServer\AuthServer.sln)<br />
<br />
== Setup Server Files ==<br />
: Create a directory in ''Source\bin'' called ''data''.<br />
:: Open ''ServerData.7z'' and extract all files into ''Source\bin\data'' (the newly created directory).<br />
:: Open ''CoHDev_Source_Files_Current(Updated).zip''.<br />
::: Extract "i24 Server and Client Piggs (extracted with CoHTools)" into ''Source\bin\data''.<br />
::: Copy ''maps.db'' from "map.db (modified, working on current VS2010 build)" and place it in ''Source\bin\data\server\db'', overwriting the old maps.db<br />
:: Copy the ''piggs'' folder from your i24 client directory and place them in ''Source\bin\''. You should end up with ''Source\bin\piggs\'' populated.<br />
: Create a directory in your C: drive called "CoH_Data" and another directory inside that, called "attributes" (''C:\CoH_Data\attributes'').<br />
:: Run ''Source/bin/mapserver.exe -productionmode -templates'' in a command prompt.<br />
:: Copy all files from ''C:\CoH_Data\attributes'' and place them into ''Source\bin\data\server\db\templates''.<br />
: Open ''Source\DBSchemas'' and execute all the .sql files in the directory. You may need to change the file path -- anywhere works. Drop old database references before if there are any.<br />
<br />
== Server Configuration ==<br />
: Follow [[I25_Server_Setup#i25_Configuration_Files]] until we come up with an i24-optimized guide.<br />
:: Adjust the configuration files in ''Source\bin\data\server\db'' to utilize the correct database connections.<br />
<br />
== Launch Client and Server ==<br />
: Navigate to "C:\GitHub\CoX\Source\bin" and inside you should see "CityofHeroes.exe".<br />
:: Right click on it and towards you bottom you'll see "Create Shortcut".<br />
: A new shortcut should have appeared. Right click on it and go to properties.<br />
::: [[File:CoX-Build-5.png|thumb|none]]<br />
:: Add the follow parameter to your shortcut's target.<br />
::: <syntaxhighlight lang="text"> -db 127.0.0.1 -console -project "Ouroboros" </syntaxhighlight><br />
::: [[File:CoX-Build-6.png|thumb|none]]<br />
: Start DBServer.exe and then Launcher.exe. This can be done simply by double clicking on them.<br />
:: Once these are both fully booted use your new shortcut to connect to the local server.<br />
; You could also use a .bat file to start everything up and in the correct order.<br />
:: The below is an example bat file to launch the DBServer, Launcher, and finally the Client.<br />
::: {|<br />
<syntaxhighlight lang="bat"> <br />
@echo off<br />
echo Starting DB Server<br />
START C:\GitHub\CoX\Source\bin\dbserver.exe<br />
TIMEOUT 2<br />
echo Starting Launcher Server<br />
START C:\GitHub\CoX\Source\bin\launcher.exe<br />
TIMEOUT 2<br />
echo Starting Chat Server<br />
START C:\GitHub\CoX\Source\bin\ChatServer.exe -noreserved<br />
TIMEOUT 2<br />
echo Waiting for user input to start City of Heroes. Hit SPACE to continue.<br />
pause<br />
echo Starting City of Heroes Client<br />
START C:\GitHub\CoX\Source\bin\CityOfHeroes.exe -db 127.0.0.1 -console -project "Ouroboros"<br />
echo Everything should be launched! Go enjoy COH.<br />
</syntaxhighlight> <br />
|}<br />
: After the client starts up you'll be presented with a Login and Password screen. As auth is currently turned off you can enter anything you want in both.<br />
: There should only be one server listed. Go ahead and pick it then make a new character to test with!</div>Methrilhttps://wiki.ourodev.com/index.php?title=Servers.cfg&diff=810Servers.cfg2019-05-06T08:19:01Z<p>Methril: /* Example */</p>
<hr />
<div>{{DISPLAYTITLE:servers.cfg}}<br />
servers.cfg is the main configuration file for the [[dbserver]]. Other components load the file as well, including the [[launcher]], [[arenaserver]], [[raidserver]], and [[statserver]].<br />
<br />
The directives in the file are used to populate the global ServerCfg configuration. Directive names are also case-insensitive. Lines with a leading {{ms|#}} are ignored.<br />
<br />
== Configuration directives ==<br />
<br />
{{CommandLineTable|<br />
{{CLArg|DBServer <ip>|The IP address of the dbserver. This is used by other components to determine where to connect. ''Can this be a domain?''}}<br />
{{CLArg|DBServer<n> <ip>|Auxiliary dbservers. Launchers can connect to multiple dbservers; more servers are specified as {{ms|DBServer2}}, {{ms|DBServer3}}, etc.}}<br />
{{CLArg|UseFakeAuth <0/1>|Enable fake auth. This lets clients log in directly to the dbserver (with any account) instead of going via an authserver.}}<br />
{{CLArg|AuthServer <ip> <port>|The IP address and port to use when connecting to the authserver.}}<br />
{{CLArg|LocalIp <ips...>|Local IP addresses. If an address matches the top two octets of any address specified here, the dbserver considers it local. ''What is this actually for?''}}<br />
{{CLArg|SqlDbProvider <prov>|The SQL database type. The supported configurations are {{ms|mssql}} and {{ms|postgresql}}, but only MSSQL is properly tested on proper i24.}}<br />
{{CLArg|SqlDbName <db>|The name of the dbserver database. Most common name is {{ms|cohdb}}.}}<br />
{{CLArg|SqlLogin "<connstring>"|The connection string for the database connection. Example:<br />
<pre>"DRIVER={SQL Server Native Client 11.0};Server=localhost\SQLEXPRESS;Uid=sa;Pwd=YourL33TPASS!;"<br />
</pre>}}<br />
{{CLArg|SqlInit "<query>"|An SQL query to initialize the dbserver database for the first time. If {{ms|SqlDbName}} is {{ms|cohdb}}, this could be:<br />
<pre>"CREATE DATABASE cohdb;"</pre>}}<br />
{{CLArg|SqlAllowDDL <1/0>|Enable or disable the use of DDL for manipulating the database. This is the master switch for all of the related SQL directives. DDL must be enabled in order to perform many operations for altering the database schema. If a required DDL command is not allowed, the server will exit.}}<br />
{{CLArg|SqlAllowAllDDL <1/0>|Same as {{ms|SqlAllowDDL}}.}}<br />
{{CLArg|SqlAddAttributes <1/0>|Allow the {{ms|SqlAddAttributes}} DDL command.}}<br />
{{CLArg|SqlAddColumnOrTable <1/0>|Allow the {{ms|SqlAddColumnOrTable}} DDL command.}}<br />
{{CLArg|SqlDeleteColumnOrTable <1/0>|Allow the {{ms|SqlDeleteColumnOrTable}} DDL command.}}<br />
{{CLArg|SqlRebuildTable <1/0>|Allow the {{ms|SqlRebuildTable}} DDL command. This has the same effect as setting {{ms|SqlAllowDDL}}.}}<br />
{{CLArg|SqlAlterColumn <1/0>|Allow the {{ms|SqlAlterColumn}} DDL command.}}<br />
{{CLArg|DefaultAccessLevel <n>|Set the access level of new characters. This should be 0 for any production system.}}<br />
{{CLArg|LogDir <dir>|Set the log file directory. ''Default?''}}<br />
{{CLArg|AssertMode "<modes>"|Set the behavior of assertion failures. Multiple modes can be specified if the argument is wrapped in quotes. Possible modes are:<br />
{{CommandLineTable|<br />
{{CLArg|Minidump|Create minidumps (.mdmp) on failure.}}<br />
{{CLArg|Fulldump|Create full dumps (.dmp) on failure.}}<br />
{{CLArg|Exit|Exit on failure.}}<br />
{{CLArg|NoTimestamp|Don't name dump files with timestamps.}}<br />
{{CLArg|NoDate|Same as {{ms|NoTimestamp}}.}}<br />
{{CLArg|Zip|Zip the dump files.}}<br />
{{CLArg|Ignore|Enable the ignore button on assertions.}}<br />
}}}}<br />
{{CLArg|MaxPlayers <num>|The maximum number of players that can be connected at any time. The maximum value is AUTH_SIZE_MAX (8191):<br />
<pre><br />
#define AUTH_SIZE_MAX (((1<<14)/2)-1) //so Auth server treats any number (1<<14) or bigger as being zero. So we're saying that you<br />
//can't have a max size > 1<<13-1 so that you can have 1<<13 available for the queue.</pre>}}<br />
{{CLArg|LoginsPerMinute <num>|''Unsure what this is. It's only used in one place, queueservercomm, so it doesn't actually seem to be a server-side login attempt limiter.''}}<br />
{{CLArg|MinPlayers <num>|''Unsure about this. It's only ever sent to authserver when it queries how many are online, but that code is dead:<br />
<pre><br />
if (server_cfg.min_players && 0 /*sqlFifoNearFull()*/)<br />
authPutU16(pak,server_cfg.min_players);<br />
else<br />
authPutU16(pak,AUTH_SIZE_MAX+server_cfg.max_players);<br />
</pre>}}<br />
{{CLArg|UseQueueServer <1/0>|Enable or disable the use of the [[queueserver]].}}<br />
{{CLArg|BlockFreePlayersIfNoAccountServer <1/0>|Put F2P players in the queue if the account server is down. ''Presumably? clientcomm s_skipQueue''}}<br />
{{CLArg|EnqueueWithAuthLimiter <1/0>|''Let people into the shard even if we would queue them normally?''}}<br />
{{CLArg|NoStats <1/0>|Disable the statserver; have the launcher send {{ms|-nostats}} to mapservers.}}<br />
{{CLArg|ClientProject <name>|Set the "registry name". This is used to construct the path to the Windows registry keys. Default is {{ms|CoH}}.}}<br />
{{CLArg|MapServerParams "<params>"|Extra parameters to send to launched mapservers.}}<br />
{{CLArg|DiffDebug <1/0>|Possibly perform extra verification checks on containers? Sends {{ms|-diffdebug}} to launched mapservers.}}<br />
{{CLArg|ContainerSizeDebug <1/0>|Possibly perform extra verification checks on containers?}}<br />
{{CLArg|UseLogServer <1/0>|Enable the logserver.}}<br />
{{CLArg|LogServer <ip>|Set the IP address of the logserver. This implies enabling the logserver.}}<br />
{{CLArg|LogRelayVerbose <1/0>|Enable verbose logging. ''Of what? Inter-server handover?''}}<br />
{{CLArg|ChatServer <ip>|Set the IP address of the chatserver.}}<br />
{{CLArg|ShardName <name>|The name of the shard this dbserver manages. ''Seems to be used for keeping track of shards in turnstile. Does this need to match anything in the DB?''}}<br />
{{CLArg|ChangeDbOwnerFrom <name>|Runs some kind of stored procedure. {{ms|// requested by joe phillips}}}}<br />
{{CLArg|MaxLevel <n>|Appears to be global max level for NPCs. It doesn't seem to be max level for characters, which you might think.}}<br />
{{CLArg|MaxCoHLevel <n>|NPC max level for blue zones?}}<br />
{{CLArg|MaxCoVLevel <n>|NPC max level for red zones?}}<br />
{{CLArg|MaxDualSlots <n>|Number of shared H/V character slots per player? Default is 12, maximum is 48.}}<br />
{{CLArg|BackupDays <days>|Number of days to keep stored backups (characters?) for. Minimum is 30 days.}}<br />
{{CLArg|OfflineProtectLevel <level>|Highest level of character that can be moved to offline storage. Default is 35. ''Probably?''}}<br />
{{CLArg|OfflineIdleDays <days>|Number of days before a character is moved to offline storage.}}<br />
{{CLArg|CompleteBrokenTasks <1/0>|Sends {{ms|-completebrokentasks}} to launched mapservers. ''Document what this does.''}}<br />
{{CLArg|DroppedPacketLogging <1/0>|Log when packets are dropped or received out of order.}}<br />
{{CLArg|AuthBadPacketReconnect <1/0>|Extra verification on auth packets?}}<br />
{{CLArg|BeaconMasterServer <host>|Hostname for the master beaconserver.}}<br />
{{CLArg|MasterBeaconServer <host>|Same as {{ms|BeaconMasterServer}}.}}<br />
}}<br />
<br />
<br />
== Example ==<br />
<nowiki>DBServer 127.0.0.1<br />
ShardName SCRUBBED<br />
UseFakeAuth 1<br />
#AuthServer 127.0.0.1<br />
DefaultAccessLevel 255<br />
NoStats 1<br />
<br />
LocalIP 127.0.0.1<br />
MaxPlayers 300<br />
AssertMode Fulldump<br />
UseQueueServer 0<br />
UseLogServer 0<br />
OverrideAuthBit RogueAccess<br />
ChatServer 127.0.0.1<br />
KarmaEventHistoryDays 30<br />
MapserverIdleUpkeep 20<br />
MapserverIdleExit 20<br />
FastStart 1<br />
MaxPlayerSlots 1000<br />
MaxDualSlots 1000<br />
AuctionInvMaxLastLoginDays 1000<br />
<br />
// BeaconMasterServer 192.168.0.1<br />
RequestBeaconServerCount 0<br />
BeaconRequestCacheDir "c:\beaconrequestcache"<br />
DoNotLaunchBeaconClients 1<br />
DoNotLaunchMapserverTSRs 0<br />
<br />
AuthnameLimiterEnabled 0<br />
AuthnameLimiterAccessLevel 20<br />
<br />
SetLogLevel "Auction" -2<br />
SetLogLevel "Chat" 1<br />
SetLogLevel "Admin" -2<br />
SetLogLevel "Bug" -2<br />
SetLogLevel "CharSlotApply" -2<br />
SetLogLevel "Debug" -2<br />
SetLogLevel "Delete" -2<br />
SetLogLevel "deletion" -2<br />
SetLogLevel "entity" -2<br />
SetLogLevel "Error" -2<br />
SetLogLevel "cheaters" -2<br />
SetLogLevel "MARTY" -2<br />
SetLogLevel "Offline" -2<br />
SetLogLevel "Powers" -2<br />
SetLogLevel "Rewards" -2<br />
SetLogLevel "SuperGroup" -2<br />
SetLogLevel "SystemSpecs" -2<br />
SetLogLevel "sze_rewards" -2<br />
SetLogLevel "turnstile" -2<br />
SetLogLevel "cmds" -2<br />
SetLogLevel "internalcmds" 1<br />
<br />
SqlDbProvider mssql<br />
SqlDbName coh<br />
SqlAllowDDL 1<br />
SqlLogin "Driver={SQL Server Native Client 11.0};server=localhost;database=coh;trusted_connection=Yes;"<br />
SqlInit 1</nowiki></div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_Servers.cfg&diff=809I25 Servers.cfg2019-05-06T04:22:45Z<p>Methril: </p>
<hr />
<div><syntaxhighlight lang="text"><br />
LocalIP 127.0.0.1<br />
RouteIp PUBLICADDRESS<br />
<br />
AuthServer 127.0.0.1 2104<br />
ChatServer 127.0.0.1<br />
DBServer 127.0.0.1 18717<br />
<br />
ShardName Rebirth<br />
DefaultAccessLevel 0<br />
NoStats 0<br />
<br />
MapServerParams "-nopopup"<br />
MapserverIdleUpkeep 20<br />
MapserverIdleExit 20<br />
#MapserverDailyUpkeep 0<br />
<br />
UseLogServer 0<br />
#LogServer 127.0.0.1<br />
#LogDir .\log<br />
BackupDays 0<br />
<br />
CompleteBrokenTasks 0<br />
DroppedPacketLogging 0<br />
AuthBadPacketReconnect 1<br />
<br />
UseQueueServer 1<br />
AuthnameLimiterEnabled 0<br />
AuthnameLimiterAccessLevel 20<br />
LoginsPerMinute 5<br />
BlockFreePlayersIfNoAccountServer 0<br />
IsBetaShard 0<br />
IsVIPShard 0<br />
MinPlayers 0<br />
MaxPlayers 300<br />
AssertMode Fulldump<br />
OverrideAuthBit RogueAccess<br />
<br />
KarmaEventHistoryDays 30<br />
FastStart 1<br />
MaxLevel 60<br />
MaxCoHLevel 60<br />
MaxCoVLevel 60<br />
XPScale 2<br />
MaxPlayerSlots 1000<br />
MaxDualSlots 1000<br />
AuctionInvMaxLastLoginDays 1000<br />
<br />
#LOCALE_ID_ENGLISH, // 0<br />
#LOCALE_ID_TEST, // 1<br />
#LOCALE_ID_CHINESE_TRADITIONAL, // 2<br />
#LOCALE_ID_KOREAN, // 3<br />
#LOCALE_ID_JAPANESE, // 4<br />
#LOCALE_ID_GERMAN, // 5<br />
#LOCALE_ID_FRENCH, // 6<br />
#LOCALE_ID_SPANISH, // 7<br />
#LOCALE_ID_COUNT, // 8<br />
Locale 0<br />
<br />
MetricsEnable 0<br />
#MetricsIPAddress 127.0.0.1<br />
#MetricsPortNumber 3306<br />
#MetricsMQType 0<br />
#MetricsHighWaterMark<br />
<br />
MasterBeaconServer 127.0.0.1<br />
RequestBeaconServerCount 0<br />
BeaconRequestCacheDir "C:\COH\beaconizer\cache"<br />
DoNotLaunchBeaconMasterServer 0<br />
DoNotLaunchBeaconClients 1<br />
DoNotLaunchMapserverTSRs 0<br />
<br />
SetLogLevel "Auction" -2<br />
SetLogLevel "Chat" 1<br />
SetLogLevel "Admin" -2<br />
SetLogLevel "Bug" -2<br />
SetLogLevel "CharSlotApply" -2<br />
SetLogLevel "Debug" -2<br />
SetLogLevel "Delete" -2<br />
SetLogLevel "deletion" -2<br />
SetLogLevel "entity" -2<br />
SetLogLevel "Error" -2<br />
SetLogLevel "cheaters" 1<br />
SetLogLevel "MARTY" -2<br />
SetLogLevel "Offline" -2<br />
SetLogLevel "Powers" -2<br />
SetLogLevel "Rewards" -2<br />
SetLogLevel "SuperGroup" -2<br />
SetLogLevel "SystemSpecs" -2<br />
SetLogLevel "sze_rewards" -2<br />
SetLogLevel "turnstile" -2<br />
SetLogLevel "cmds" -2<br />
SetLogLevel "internalcmds" 1<br />
<br />
SqlDbProvider mssql<br />
SqlDbName cohdb<br />
SqlAllowDDL 1<br />
SqlAddAttributes 1<br />
SqlAddColumnOrTable 1<br />
SqlDeleteColumnOrTable 0<br />
SqlRebuildTable 1<br />
SqlAlterColumn 1<br />
SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=localhost\SQLEXPRESS;Uid=sa;Pwd=YourL33TPASS;"<br />
SqlInit "CREATE DATABASE cohdb;"<br />
</syntaxhighlight></div>Methrilhttps://wiki.ourodev.com/index.php?title=I24_Server_Setup&diff=807I24 Server Setup2019-05-06T00:10:42Z<p>Methril: </p>
<hr />
<div>== Required Software ==<br />
* Visual Studio 2010 Professional or Visual Studio 2019 with the 2010 toolchain configured<br />
* SQL Server 2012 or later (Express is good enough for development)<br />
:* [https://www.microsoft.com/en-us/sql-server/sql-server-editions-express SQL Server 2017 Express Edition]<br />
* [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SQL Server Management(SSMS)]<br />
* [https://git-scm.com/download/win Git for Windows] or [https://desktop.github.com/ GitHub Desktop]<br />
* Download the [magnet:?xt=urn:btih:n642zelj2se2yn2ovmfy2z74tyyf7scs&dn=City%20of%20Heroes&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80%2Fannounce Issue 24 client and data files] - this is ''not'' the SCORE client/data.<br />
* Download [magnet:?xt=urn:btih:CCCE574F7F89229B0FC2EF8AD898BE451864863A&dn=CoHDev_Source_Files_Current%28Updated%29.zip&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce CoHDev_Source_Files_Current(Updated).zip].<br />
* Download [magnet:?xt=urn:btih:8CE9DE8ECCF29B899B247512F1082F20B59DC4B2&dn=ServerData.7z&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce ServerData.7z].<br />
* Clone the [https://git.ourodev.com/CoX/Source/ Cox/Source repository].<br />
<br />
== Install SQL Server 2017 Express ==<br />
: You can install SQL Server pretty much on the default settings.<br />
:: Select Basic under installation type:<br />
::: [[File:SQL Server Install 2017 Express.png|thumb|none]]<br />
:: Agree to the EULA if you want to use SQL Server.<br />
::: [[File:SQL Server Install 2017 Express - 2.png|thumb|none]]<br />
:: Tell the server where to install files. I changed this for ease on my system.<br />
::: [[File:SQL Server Install 2017 Express - 3.png|thumb|none]]<br />
:: It should begin installing and eventually you should see "Install has completed successfully". Click close.<br />
::: [[File:SQL Server Install 2017 Express - 4.png|thumb|none]]<br />
<br />
== Install SQL Server Management(SSMS) ==<br />
: You can install SQL Server Management on default settings.<br />
:: Select the location you'd like to install SSMS to. The default is fine.<br />
::: [[File:SSMS Install - 1.png|thumb|none]]<br />
:: It will take awhile to install and you'll see a little progress bar letting you know whats going on<br />
::: [[File:SSMS Install - 2.png|thumb|none]]<br />
:: Eventually it will ask you to reboot the system. Might as well as do that now.<br />
::: [[File:SSMS Install - 3.png|thumb|none]]<br />
<br />
== Configure MSBuild Environmental Variable ==<br />
: Click the start button and type "environmental variable". It should be the first entry saying "edit environmental variables for your account"<br />
:: Click "Environment Variables" at the bottom of the new window.<br />
::: [[File:Enviro-Variable-1.png|thumb|none]]<br />
:: Click "New" under "User variables for YOURUSERNAME"<br />
::: [[File:Enviro-Variable-2.png|thumb|none]]<br />
:: Click "New" on the "Edit environmental variable" window and add the location to your MSBuild.<br />
::: For me MSBuild was location: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin<br />
::: [[File:Enviro-Variable-3.png|thumb|none]]<br />
:: Click Ok on both windows to close them out.<br />
: Hit the start button and type "CMD". Command Prompt should be the first thing listed.<br />
: Type "MSBuild" into the command prompt and you should receive an error letting you know its setup.<br />
:: [[File:Enviro-Variable-4.png|thumb|none]]<br />
<br />
<br />
== Install GitHub Desktop and Acquire Source ==<br />
: You need to download and install [https://desktop.github.com/ GitHub Desktop].<br />
: Open GitHub Desktop, Select File, and Clone a Repository.<br />
:: Select the URL tab, enter "https://git.ourodev.com/CoX/Source.git" into the first blank and a path where to store the source locally such as "C:\GitHub\CoX\Source".<br />
::: [[File:GitHub Desktop CoX Source.png|thumb|none]]<br />
: After the download finishes you can close GitHub Desktop for now.<br />
<br />
== Build City of Heroes from Source ==<br />
: Start a powershell prompt as administrator<br />
: Enter "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine" into the terminal and type "A" to auto accept all.<br />
:: [[File:CoX-Build-1.png|thumb|none]]<br />
: Naviate to "C:\GitHub\CoX\Source\MasterSolution" and run build.ps1<br />
:: [[File:CoX-Build-2.png|thumb|none]]<br />
: Begin building City of Heroes by running ".\build.ps1"<br />
:: [[File:CoX-Build-3.png|thumb|none]]<br />
: Eventually the build will finish(On average takes at least 40 minutes to build)<br />
:: [[File:CoX-Build-4.png|thumb|none]]<br />
: Now build AuthServer(C:\GitHub\CoX\Source\AuthServer\src\AuthServer\AuthServer.sln)<br />
<br />
== Setup Server Files ==<br />
: Create a directory in ''Source\bin'' called ''data''.<br />
:: Open ''ServerData.7z'' and extract all files into ''Source\bin\data'' (the newly created directory).<br />
:: Open ''CoHDev_Source_Files_Current(Updated).zip''.<br />
::: Extract "i24 Server and Client Piggs (extracted with CoHTools)" into ''Source\bin\data''.<br />
::: Copy ''maps.db'' from "map.db (modified, working on current VS2010 build)" and place it in ''Source\bin\data\server\db'', overwriting the old maps.db<br />
:: Copy the ''piggs'' folder from your i24 client directory and place them in ''Source\bin\''. You should end up with ''Source\bin\piggs\'' populated.<br />
: Create a directory in your C: drive called "CoH_Data" and another directory inside that, called "attributes" (''C:\CoH_Data\attributes'').<br />
:: Run ''Source/bin/mapserver.exe -productionmode -templates'' in a command prompt.<br />
:: Copy all files from ''C:\CoH_Data\attributes'' and place them into ''Source\bin\data\server\db\templates''.<br />
: Open ''Source\DBSchemas'' and execute all the .sql files in the directory. You may need to change the file path -- anywhere works. Drop old database references before if there are any.<br />
<br />
== Server Configuration ==<br />
: Follow [[I25_Server_Setup#i25_Configuration_Files]] until we come up with an i24-optimized guide.<br />
:: Adjust the configuration files in ''Source\bin\data\server\db'' to utilize the correct database connections.<br />
<br />
== Launch Client and Server ==<br />
: Navigate to "C:\GitHub\CoX\Source\bin" and inside you should see "CityofHeroes.exe".<br />
:: Right click on it and towards you bottom you'll see "Create Shortcut".<br />
: A new shortcut should have appeared. Right click on it and go to properties.<br />
::: [[File:CoX-Build-5.png|thumb|none]]<br />
:: Add the follow parameter to your shortcut's target.<br />
::: <syntaxhighlight lang="text"> -db 127.0.0.1 -console -project "Ouroboros" </syntaxhighlight><br />
::: [[File:CoX-Build-6.png|thumb|none]]<br />
: Start DBServer.exe and then Launcher.exe. This can be done simply by double clicking on them.<br />
:: Once these are both fully booted use your new shortcut to connect to the local server.<br />
; You could also use a .bat file to start everything up and in the correct order.<br />
:: The below is an example bat file to launch the DBServer, Launcher, and finally the Client.<br />
::: {|<br />
<syntaxhighlight lang="bat"> <br />
@echo off<br />
echo Starting DB Server<br />
START C:\GitHub\CoX\Source\bin\dbserver.exe<br />
TIMEOUT 2<br />
echo Starting Launcher Server<br />
START C:\GitHub\CoX\Source\bin\launcher.exe<br />
TIMEOUT 2<br />
echo Starting Chat Server<br />
START C:\GitHub\CoX\Source\bin\ChatServer.exe -noreserved<br />
TIMEOUT 2<br />
echo Waiting for user input to start City of Heroes. Hit SPACE to continue.<br />
pause<br />
echo Starting City of Heroes Client<br />
START C:\GitHub\CoX\Source\bin\CityOfHeroes.exe -db 127.0.0.1 -console -project "Ouroboros"<br />
echo Everything should be launched! Go enjoy COH.<br />
</syntaxhighlight> <br />
|}<br />
: After the client starts up you'll be presented with a Login and Password screen. As auth is currently turned off you can enter anything you want in both.<br />
: There should only be one server listed. Go ahead and pick it then make a new character to test with!</div>Methrilhttps://wiki.ourodev.com/index.php?title=I24_Server_Setup&diff=806I24 Server Setup2019-05-06T00:09:43Z<p>Methril: </p>
<hr />
<div>== Required Software ==<br />
* Visual Studio 2010 Professional or Visual Studio 2019 with the 2010 toolchain configured<br />
* SQL Server 2012 or later (Express is good enough for development)<br />
:* [https://www.microsoft.com/en-us/sql-server/sql-server-editions-express SQL Server 2017 Express Edition]<br />
* [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SQL Server Management(SSMS)]<br />
* [https://git-scm.com/download/win Git for Windows] or [https://desktop.github.com/ GitHub Desktop]<br />
* Download the [magnet:?xt=urn:btih:n642zelj2se2yn2ovmfy2z74tyyf7scs&dn=City%20of%20Heroes&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80%2Fannounce Issue 24 client and data files] - this is ''not'' the SCORE client/data.<br />
* Download [magnet:?xt=urn:btih:CCCE574F7F89229B0FC2EF8AD898BE451864863A&dn=CoHDev_Source_Files_Current%28Updated%29.zip&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce CoHDev_Source_Files_Current(Updated).zip].<br />
* Download [magnet:?xt=urn:btih:8CE9DE8ECCF29B899B247512F1082F20B59DC4B2&dn=ServerData.7z&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce ServerData.7z].<br />
* Clone the [https://git.ourodev.com/CoX/Source/ Cox/Source repository].<br />
<br />
== Install SQL Server 2017 Express ==<br />
: You can install SQL Server pretty much on the default settings.<br />
:: Select Basic under installation type:<br />
::: [[File:SQL Server Install 2017 Express.png|thumb|none]]<br />
:: Agree to the EULA if you want to use SQL Server.<br />
::: [[File:SQL Server Install 2017 Express - 2.png|thumb|none]]<br />
:: Tell the server where to install files. I changed this for ease on my system.<br />
::: [[File:SQL Server Install 2017 Express - 3.png|thumb|none]]<br />
:: It should begin installing and eventually you should see "Install has completed successfully". Click close.<br />
::: [[File:SQL Server Install 2017 Express - 4.png|thumb|none]]<br />
<br />
== Install SQL Server Management(SSMS) ==<br />
: You can install SQL Server Management on default settings.<br />
:: Select the location you'd like to install SSMS to. The default is fine.<br />
::: [[File:SSMS Install - 1.png|thumb|none]]<br />
:: It will take awhile to install and you'll see a little progress bar letting you know whats going on<br />
::: [[File:SSMS Install - 2.png|thumb|none]]<br />
:: Eventually it will ask you to reboot the system. Might as well as do that now.<br />
::: [[File:SSMS Install - 3.png|thumb|none]]<br />
<br />
== Configure MSBuild Environmental Variable ==<br />
: Click the start button and type "environmental variable". It should be the first entry saying "edit environmental variables for your account"<br />
:: Click "Environment Variables" at the bottom of the new window.<br />
::: [[File:Enviro-Variable-1.png|thumb|none]]<br />
:: Click "New" under "User variables for YOURUSERNAME"<br />
::: [[File:Enviro-Variable-2.png|thumb|none]]<br />
:: Click "New" on the "Edit environmental variable" window and add the location to your MSBuild.<br />
::: For me MSBuild was location: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin<br />
::: [[File:Enviro-Variable-3.png|thumb|none]]<br />
:: Click Ok on both windows to close them out.<br />
: Hit the start button and type "CMD". Command Prompt should be the first thing listed.<br />
: Type "MSBuild" into the command prompt and you should receive an error letting you know its setup.<br />
:: [[File:Enviro-Variable-4.png|thumb|none]]<br />
<br />
<br />
== Install GitHub Desktop and Acquire Source ==<br />
: You need to download and install [https://desktop.github.com/ GitHub Desktop].<br />
: Open GitHub Desktop, Select File, and Clone a Repository.<br />
:: Select the URL tab, enter "https://git.ourodev.com/CoX/Source.git" into the first blank and a path where to store the source locally such as "C:\GitHub\CoX\Source".<br />
::: [[File:GitHub Desktop CoX Source.png|thumb|none]]<br />
: After the download finishes you can close GitHub Desktop for now.<br />
<br />
== Build City of Heroes from Source ==<br />
: Start a powershell prompt as administrator<br />
: Enter "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine" into the terminal and type "A" to auto accept all.<br />
:: [[File:CoX-Build-1.png|thumb|none]]<br />
: Naviate to "C:\GitHub\CoX\Source\MasterSolution" and run build.ps1<br />
:: [[File:CoX-Build-2.png|thumb|none]]<br />
: Begin building City of Heroes by running ".\build.ps1"<br />
:: [[File:CoX-Build-3.png|thumb|none]]<br />
: Eventually the build will finish(On average takes at least 40 minutes to build)<br />
:: [[File:CoX-Build-4.png|thumb|none]]<br />
: Now build AuthServer(C:\GitHub\CoX\Source\AuthServer\src\AuthServer\AuthServer.sln)<br />
<br />
== Setup Server Files ==<br />
: Create a directory in ''Source\bin'' called ''data''.<br />
:: Open ''ServerData.7z'' and extract all files into ''Source\bin\data'' (the newly created directory).<br />
:: Open ''CoHDev_Source_Files_Current(Updated).zip''.<br />
::: Extract "i24 Server and Client Piggs (extracted with CoHTools)" into ''Source\bin\data''.<br />
::: Copy ''maps.db'' from "map.db (modified, working on current VS2010 build)" and place it in ''Source\bin\data\server\db'', overwriting the old maps.db<br />
:: Copy the ''piggs'' folder from your i24 client directory and place them in ''Source\bin\''. You should end up with ''Source\bin\piggs\'' populated.<br />
: Create a directory in your C: drive called "CoH_Data" and another directory inside that, called "attributes" (''C:\CoH_Data\attributes'').<br />
:: Run ''Source/bin/mapserver.exe -productionmode -templates'' in a command prompt.<br />
:: Copy all files from ''C:\CoH_Data\attributes'' and place them into ''Source\bin\data\server\db\templates''.<br />
: Open ''Source\DBSchemas'' and execute all the .sql files in the directory. You may need to change the file path -- anywhere works. Drop old database references before if there are any.<br />
<br />
== Launch Client and Server ==<br />
: Navigate to "C:\GitHub\CoX\Source\bin" and inside you should see "CityofHeroes.exe".<br />
:: Right click on it and towards you bottom you'll see "Create Shortcut".<br />
: A new shortcut should have appeared. Right click on it and go to properties.<br />
::: [[File:CoX-Build-5.png|thumb|none]]<br />
:: Add the follow parameter to your shortcut's target.<br />
::: <syntaxhighlight lang="text"> -db 127.0.0.1 -console -project "Ouroboros" </syntaxhighlight><br />
::: [[File:CoX-Build-6.png|thumb|none]]<br />
: Start DBServer.exe and then Launcher.exe. This can be done simply by double clicking on them.<br />
:: Once these are both fully booted use your new shortcut to connect to the local server.<br />
; You could also use a .bat file to start everything up and in the correct order.<br />
:: The below is an example bat file to launch the DBServer, Launcher, and finally the Client.<br />
::: {|<br />
<syntaxhighlight lang="bat"> <br />
@echo off<br />
echo Starting DB Server<br />
START C:\GitHub\CoX\Source\bin\dbserver.exe<br />
TIMEOUT 2<br />
echo Starting Launcher Server<br />
START C:\GitHub\CoX\Source\bin\launcher.exe<br />
TIMEOUT 2<br />
echo Starting Chat Server<br />
START C:\GitHub\CoX\Source\bin\ChatServer.exe -noreserved<br />
TIMEOUT 2<br />
echo Waiting for user input to start City of Heroes. Hit SPACE to continue.<br />
pause<br />
echo Starting City of Heroes Client<br />
START C:\GitHub\CoX\Source\bin\CityOfHeroes.exe -db 127.0.0.1 -console -project "Ouroboros"<br />
echo Everything should be launched! Go enjoy COH.<br />
</syntaxhighlight> <br />
|}<br />
: After the client starts up you'll be presented with a Login and Password screen. As auth is currently turned off you can enter anything you want in both.<br />
: There should only be one server listed. Go ahead and pick it then make a new character to test with!</div>Methrilhttps://wiki.ourodev.com/index.php?title=I24_Server_Setup&diff=805I24 Server Setup2019-05-06T00:07:47Z<p>Methril: /* Build City of Heroes from Source */</p>
<hr />
<div>== Required Software ==<br />
* Visual Studio 2010 Professional or Visual Studio 2019 with the 2010 toolchain configured<br />
* SQL Server 2012 or later (Express is good enough for development)<br />
:* [https://www.microsoft.com/en-us/sql-server/sql-server-editions-express SQL Server 2017 Express Edition]<br />
* [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SQL Server Management(SSMS)]<br />
* [https://git-scm.com/download/win Git for Windows] or [https://desktop.github.com/ GitHub Desktop]<br />
* Download the [magnet:?xt=urn:btih:n642zelj2se2yn2ovmfy2z74tyyf7scs&dn=City%20of%20Heroes&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80%2Fannounce Issue 24 client and data files] - this is ''not'' the SCORE client/data.<br />
* Download [magnet:?xt=urn:btih:CCCE574F7F89229B0FC2EF8AD898BE451864863A&dn=CoHDev_Source_Files_Current%28Updated%29.zip&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce CoHDev_Source_Files_Current(Updated).zip].<br />
* Download [magnet:?xt=urn:btih:8CE9DE8ECCF29B899B247512F1082F20B59DC4B2&dn=ServerData.7z&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce ServerData.7z].<br />
* Clone the [https://git.ourodev.com/CoX/Source/ Cox/Source repository].<br />
<br />
== Install SQL Server 2017 Express ==<br />
: You can install SQL Server pretty much on the default settings.<br />
:: Select Basic under installation type:<br />
::: [[File:SQL Server Install 2017 Express.png|thumb|none]]<br />
:: Agree to the EULA if you want to use SQL Server.<br />
::: [[File:SQL Server Install 2017 Express - 2.png|thumb|none]]<br />
:: Tell the server where to install files. I changed this for ease on my system.<br />
::: [[File:SQL Server Install 2017 Express - 3.png|thumb|none]]<br />
:: It should begin installing and eventually you should see "Install has completed successfully". Click close.<br />
::: [[File:SQL Server Install 2017 Express - 4.png|thumb|none]]<br />
<br />
== Install SQL Server Management(SSMS) ==<br />
: You can install SQL Server Management on default settings.<br />
:: Select the location you'd like to install SSMS to. The default is fine.<br />
::: [[File:SSMS Install - 1.png|thumb|none]]<br />
:: It will take awhile to install and you'll see a little progress bar letting you know whats going on<br />
::: [[File:SSMS Install - 2.png|thumb|none]]<br />
:: Eventually it will ask you to reboot the system. Might as well as do that now.<br />
::: [[File:SSMS Install - 3.png|thumb|none]]<br />
<br />
== Configure MSBuild Environmental Variable ==<br />
: Click the start button and type "environmental variable". It should be the first entry saying "edit environmental variables for your account"<br />
:: Click "Environment Variables" at the bottom of the new window.<br />
::: [[File:Enviro-Variable-1.png|thumb|none]]<br />
:: Click "New" under "User variables for YOURUSERNAME"<br />
::: [[File:Enviro-Variable-2.png|thumb|none]]<br />
:: Click "New" on the "Edit environmental variable" window and add the location to your MSBuild.<br />
::: For me MSBuild was location: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin<br />
::: [[File:Enviro-Variable-3.png|thumb|none]]<br />
:: Click Ok on both windows to close them out.<br />
: Hit the start button and type "CMD". Command Prompt should be the first thing listed.<br />
: Type "MSBuild" into the command prompt and you should receive an error letting you know its setup.<br />
:: [[File:Enviro-Variable-4.png|thumb|none]]<br />
<br />
<br />
== Install GitHub Desktop and Acquire Source ==<br />
: You need to download and install [https://desktop.github.com/ GitHub Desktop].<br />
: Open GitHub Desktop, Select File, and Clone a Repository.<br />
:: Select the URL tab, enter "https://git.ourodev.com/CoX/Source.git" into the first blank and a path where to store the source locally such as "C:\GitHub\CoX\Source".<br />
::: [[File:GitHub Desktop CoX Source.png|thumb|none]]<br />
: After the download finishes you can close GitHub Desktop for now.<br />
<br />
== Build City of Heroes from Source ==<br />
: Start a powershell prompt as administrator<br />
: Enter "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine" into the terminal and type "A" to auto accept all.<br />
:: [[File:CoX-Build-1.png|thumb|none]]<br />
: Naviate to "C:\GitHub\CoX\Source\MasterSolution" and run build.ps1<br />
:: [[File:CoX-Build-2.png|thumb|none]]<br />
: Begin building City of Heroes by running ".\build.ps1"<br />
:: [[File:CoX-Build-3.png|thumb|none]]<br />
: Eventually the build will finish(On average takes at least 40 minutes to build)<br />
:: [[File:CoX-Build-4.png|thumb|none]]<br />
: Now build AuthServer(C:\GitHub\CoX\Source\AuthServer\src\AuthServer\AuthServer.sln)<br />
<br />
== Launch Client and Server ==<br />
: Navigate to "C:\GitHub\CoX\Source\bin" and inside you should see "CityofHeroes.exe".<br />
:: Right click on it and towards you bottom you'll see "Create Shortcut".<br />
: A new shortcut should have appeared. Right click on it and go to properties.<br />
::: [[File:CoX-Build-5.png|thumb|none]]<br />
:: Add the follow parameter to your shortcut's target.<br />
::: <syntaxhighlight lang="text"> -db 127.0.0.1 -console -project "Ouroboros" </syntaxhighlight><br />
::: [[File:CoX-Build-6.png|thumb|none]]<br />
: Start DBServer.exe and then Launcher.exe. This can be done simply by double clicking on them.<br />
:: Once these are both fully booted use your new shortcut to connect to the local server.<br />
; You could also use a .bat file to start everything up and in the correct order.<br />
:: The below is an example bat file to launch the DBServer, Launcher, and finally the Client.<br />
::: {|<br />
<syntaxhighlight lang="bat"> <br />
@echo off<br />
echo Starting DB Server<br />
START C:\GitHub\CoX\Source\bin\dbserver.exe<br />
TIMEOUT 2<br />
echo Starting Launcher Server<br />
START C:\GitHub\CoX\Source\bin\launcher.exe<br />
TIMEOUT 2<br />
echo Starting Chat Server<br />
START C:\GitHub\CoX\Source\bin\ChatServer.exe -noreserved<br />
TIMEOUT 2<br />
echo Waiting for user input to start City of Heroes. Hit SPACE to continue.<br />
pause<br />
echo Starting City of Heroes Client<br />
START C:\GitHub\CoX\Source\bin\CityOfHeroes.exe -db 127.0.0.1 -console -project "Ouroboros"<br />
echo Everything should be launched! Go enjoy COH.<br />
</syntaxhighlight> <br />
|}<br />
: After the client starts up you'll be presented with a Login and Password screen. As auth is currently turned off you can enter anything you want in both.<br />
: There should only be one server listed. Go ahead and pick it then make a new character to test with!</div>Methrilhttps://wiki.ourodev.com/index.php?title=I24_Server_Setup&diff=804I24 Server Setup2019-05-06T00:06:01Z<p>Methril: /* Required Software */</p>
<hr />
<div>== Required Software ==<br />
* Visual Studio 2010 Professional or Visual Studio 2019 with the 2010 toolchain configured<br />
* SQL Server 2012 or later (Express is good enough for development)<br />
:* [https://www.microsoft.com/en-us/sql-server/sql-server-editions-express SQL Server 2017 Express Edition]<br />
* [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SQL Server Management(SSMS)]<br />
* [https://git-scm.com/download/win Git for Windows] or [https://desktop.github.com/ GitHub Desktop]<br />
* Download the [magnet:?xt=urn:btih:n642zelj2se2yn2ovmfy2z74tyyf7scs&dn=City%20of%20Heroes&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80%2Fannounce Issue 24 client and data files] - this is ''not'' the SCORE client/data.<br />
* Download [magnet:?xt=urn:btih:CCCE574F7F89229B0FC2EF8AD898BE451864863A&dn=CoHDev_Source_Files_Current%28Updated%29.zip&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce CoHDev_Source_Files_Current(Updated).zip].<br />
* Download [magnet:?xt=urn:btih:8CE9DE8ECCF29B899B247512F1082F20B59DC4B2&dn=ServerData.7z&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce ServerData.7z].<br />
* Clone the [https://git.ourodev.com/CoX/Source/ Cox/Source repository].<br />
<br />
== Install SQL Server 2017 Express ==<br />
: You can install SQL Server pretty much on the default settings.<br />
:: Select Basic under installation type:<br />
::: [[File:SQL Server Install 2017 Express.png|thumb|none]]<br />
:: Agree to the EULA if you want to use SQL Server.<br />
::: [[File:SQL Server Install 2017 Express - 2.png|thumb|none]]<br />
:: Tell the server where to install files. I changed this for ease on my system.<br />
::: [[File:SQL Server Install 2017 Express - 3.png|thumb|none]]<br />
:: It should begin installing and eventually you should see "Install has completed successfully". Click close.<br />
::: [[File:SQL Server Install 2017 Express - 4.png|thumb|none]]<br />
<br />
== Install SQL Server Management(SSMS) ==<br />
: You can install SQL Server Management on default settings.<br />
:: Select the location you'd like to install SSMS to. The default is fine.<br />
::: [[File:SSMS Install - 1.png|thumb|none]]<br />
:: It will take awhile to install and you'll see a little progress bar letting you know whats going on<br />
::: [[File:SSMS Install - 2.png|thumb|none]]<br />
:: Eventually it will ask you to reboot the system. Might as well as do that now.<br />
::: [[File:SSMS Install - 3.png|thumb|none]]<br />
<br />
== Configure MSBuild Environmental Variable ==<br />
: Click the start button and type "environmental variable". It should be the first entry saying "edit environmental variables for your account"<br />
:: Click "Environment Variables" at the bottom of the new window.<br />
::: [[File:Enviro-Variable-1.png|thumb|none]]<br />
:: Click "New" under "User variables for YOURUSERNAME"<br />
::: [[File:Enviro-Variable-2.png|thumb|none]]<br />
:: Click "New" on the "Edit environmental variable" window and add the location to your MSBuild.<br />
::: For me MSBuild was location: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin<br />
::: [[File:Enviro-Variable-3.png|thumb|none]]<br />
:: Click Ok on both windows to close them out.<br />
: Hit the start button and type "CMD". Command Prompt should be the first thing listed.<br />
: Type "MSBuild" into the command prompt and you should receive an error letting you know its setup.<br />
:: [[File:Enviro-Variable-4.png|thumb|none]]<br />
<br />
<br />
== Install GitHub Desktop and Acquire Source ==<br />
: You need to download and install [https://desktop.github.com/ GitHub Desktop].<br />
: Open GitHub Desktop, Select File, and Clone a Repository.<br />
:: Select the URL tab, enter "https://git.ourodev.com/CoX/Source.git" into the first blank and a path where to store the source locally such as "C:\GitHub\CoX\Source".<br />
::: [[File:GitHub Desktop CoX Source.png|thumb|none]]<br />
: After the download finishes you can close GitHub Desktop for now.<br />
<br />
== Build City of Heroes from Source ==<br />
: Start a powershell prompt as administrator<br />
: Enter "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine" into the terminal and type "A" to auto accept all.<br />
:: [[File:CoX-Build-1.png|thumb|none]]<br />
: Naviate to "C:\GitHub\CoX\Source\MasterSolution" and run build.ps1<br />
:: [[File:CoX-Build-2.png|thumb|none]]<br />
: Begin building City of Heroes by running ".\build.ps1"<br />
:: [[File:CoX-Build-3.png|thumb|none]]<br />
: Eventually the build will finish(On average takes at least 40 minutes to build)<br />
:: [[File:CoX-Build-4.png|thumb|none]]<br />
<br />
== Launch Client and Server ==<br />
: Navigate to "C:\GitHub\CoX\Source\bin" and inside you should see "CityofHeroes.exe".<br />
:: Right click on it and towards you bottom you'll see "Create Shortcut".<br />
: A new shortcut should have appeared. Right click on it and go to properties.<br />
::: [[File:CoX-Build-5.png|thumb|none]]<br />
:: Add the follow parameter to your shortcut's target.<br />
::: <syntaxhighlight lang="text"> -db 127.0.0.1 -console -project "Ouroboros" </syntaxhighlight><br />
::: [[File:CoX-Build-6.png|thumb|none]]<br />
: Start DBServer.exe and then Launcher.exe. This can be done simply by double clicking on them.<br />
:: Once these are both fully booted use your new shortcut to connect to the local server.<br />
; You could also use a .bat file to start everything up and in the correct order.<br />
:: The below is an example bat file to launch the DBServer, Launcher, and finally the Client.<br />
::: {|<br />
<syntaxhighlight lang="bat"> <br />
@echo off<br />
echo Starting DB Server<br />
START C:\GitHub\CoX\Source\bin\dbserver.exe<br />
TIMEOUT 2<br />
echo Starting Launcher Server<br />
START C:\GitHub\CoX\Source\bin\launcher.exe<br />
TIMEOUT 2<br />
echo Starting Chat Server<br />
START C:\GitHub\CoX\Source\bin\ChatServer.exe -noreserved<br />
TIMEOUT 2<br />
echo Waiting for user input to start City of Heroes. Hit SPACE to continue.<br />
pause<br />
echo Starting City of Heroes Client<br />
START C:\GitHub\CoX\Source\bin\CityOfHeroes.exe -db 127.0.0.1 -console -project "Ouroboros"<br />
echo Everything should be launched! Go enjoy COH.<br />
</syntaxhighlight> <br />
|}<br />
: After the client starts up you'll be presented with a Login and Password screen. As auth is currently turned off you can enter anything you want in both.<br />
: There should only be one server listed. Go ahead and pick it then make a new character to test with!</div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_Server_Setup&diff=775I25 Server Setup2019-05-05T05:51:48Z<p>Methril: /* Setup TurnstileServer */</p>
<hr />
<div>== Server Setup From Scratch ==<br />
=== i25 Configuration Files ===<br />
* [[i25 Servers.cfg]]<br />
* [[i25 auction_server.cfg]]<br />
* [[i25 account_server.cfg]]<br />
* [[i25 chat_server.cfg]]<br />
* [[i25 queue_server.cfg]]<br />
* [[i25 turnstile_server.cfg]]<br />
* [[i25 loadBalanceDefault.cfg]]<br />
* [[i25 loadBalanceShardSpecific.cfg]]<br />
* [[i25 mission_server.cfg]]<br />
<br />
=== Setup Local Server ===<br />
: 1. Install [https://www.microsoft.com/en-gb/sql-server/sql-server-editions-express SQL Server 2017 Express Edition]<br />
: 2. Choose Basic when installing and when given the option choose to install [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SSMS(SQL Server Manager Suite)].<br />
: 3. Move your [[I25_Downloads|i25 Binaries]] to C:\CoH<br />
: 4. Navigate to C:\CoH\data\server\db<br />
: 5. Open up auction_server.cfg([[I25_auction_server.cfg]]), account_server.cfg([[I25_account_server.cfg]]), chat_server.cfg([[I25_chat_server.cfg]]), and servers.cfg([[I25_Server.cfg]]).<br />
:: You can change the password to whatever you would like. For this example I will be just using "YOURL33TPASS!".<br />
::; You will see something like this.<br />
::: <syntaxhighlight lang="SQL" line='line'> SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=NS319069\SCORE;Uid=sa;Pwd=FinallyFree!;" </syntaxhighlight ><br />
::; Change this to <br />
::: <syntaxhighlight lang="SQL" line='line'> SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=localhost\SQLEXPRESS;Uid=sa;Pwd=YOURL33TPASS!;" </syntaxhighlight > <br />
::; While you have servers.cfg and auction_server.cfg open. Change all the ips to 127.0.0.1. <br />
<br />
: 6. Extract the dbschema.rar found in C:\CoH\dbschema.rar.<br />
: 7. Open up SQL Server Management Studio (SSMS which you installed in the first step). Hit Connect on the screen that pops up to and connect with windows authentication.<br />
:: [[File:SQL Connect.png|thumb|none]]<br />
: 8. We need to enable the sa login so that server can login to the database.<br />
::; If you look to the left panel you will see the object explorer and your connection. Right click it and select properties.<br />
:::: [[File:SQL Properties.png|thumb|none]]<br />
::: When this window comes up hit Security to the left and enable "sql server and windows authentication". Then click ok.<br />
:::: [[File:SQL Security.png|thumb|none]]<br />
::: In the same panel you used before navigate to Security -> Logins then right click and enter properties the sa user.<br />
:::: [[File:SA Properties.png|thumb|none]]<br />
::: In this window set the password to the same password you set back at step 4<br />
:::: [[File:Login Props.png|thumb|none]]<br />
::: Choose Status from the left panel in this same window and set login to enabled and hit ok.<br />
:::: [[File:Login Status.png|thumb|none]]<br />
::: Right click the connection in the object explorer again and click Restart.<br />
:::: [[File:SQL Restart.png|thumb|none]]<br />
: 9. Click File, Select Open, navigate back to C:\CoH, open the dbschema folder, and select cohauc.sql in SQL Server Management Studio.<br />
:: [[File:SSMS File Open.png|thumb|none]]<br />
:: [[File:SSMS Open DBSchema.png|thumb|none]]<br />
: You will see these 2 lines at the top of the file opened<br />
:: [[File:SSMS DBSchema SQL SRV STR.png|thumb|none]]<br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc', FILENAME = N'C:\mssql\MSSQL11.SCORE\MSSQL\DATA\cohauc.mdf' , SIZE = 157440KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) </syntaxhighlight><br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc_log', FILENAME = N'C:\mssql\MSSQL11.SCORE\MSSQL\DATA\cohauc_log.ldf' , SIZE = 353216KB , MAXSIZE = 2048GB , FILEGROWTH = 10%) </syntaxhighlight><br />
: 10. What you want to do is set the first part of these directory listings to where your SQL Server is located for example, I set my to D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL because that is where my SQL Server is. So my would become:<br />
:: [[File:SSMS DBSchema SQL SRV STR CORRECT.png|thumb|none]]<br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc', FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\DATA\cohauc.mdf' , SIZE = 157440KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) </syntaxhighlight><br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc_log', FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\DATA\cohauc_log.ldf' , SIZE = 353216KB , MAXSIZE = 2048GB , FILEGROWTH = 10%) </syntaxhighlight><br />
: 11. Once done click the Execute button. And do this again for both the cohauth and cohchat.<br />
:: [[File:SSMS Execute.png|thumb|none]]<br />
: 12. Open up ODBC Data Sources (32-bit).<br />
:* Type 'ODBC' in Windows search, or run directly from C:\Windows\SysWOW64\odbcad32.exe<br />
::* Do NOT use 64-bit!<br />
:* Click File DSN then click add to the right.<br />
:*: [[File:ODBC File DSN.png|thumb|none]]<br />
:* Choose ODBC Driver 17 for SQL Server. Click Next.<br />
:*: [[File:ODBC Add Auth 1.png|thumb|none]]<br />
:* Enter AuthDB into the box and hit next then finish.<br />
:*: [[File:ODBC Add Auth 2.png|thumb|none]]<br />
:* It will then say something like ‘Which SQL Server would you like to connect to?’<br />
:** Type localhost\SQLEXPRESS and hit next.<br />
:**: [[File:ODBC Add Auth 3.png|thumb|none]]<br />
:* Choose with SQL Auth enter sa into username and the password you use previously.<br />
:*: [[File:ODBC Add Auth 4.png|thumb|none]]<br />
:* Tick choose change default database to and select cohauth and hit next.<br />
:*: [[File:ODBC Add Auth 5.png|thumb|none]]<br />
:*: [[File:ODBC Add Auth 6.png|thumb|none]]<br />
:* After this hit finish then ‘Test Data source’ this will test the auth database connection to your main database if it successful congrats :D<br />
:*: [[File:ODBC Add Auth 7.png|thumb|none]]<br />
:*: [[File:ODBC Add Auth 8.png|thumb|none]]<br />
<br />
: 13. Once you have done that you can now start up your server. Navigate back to C:\CoH and create a bat file to start your server.<br />
::: {| <br />
<syntaxhighlight lang="bat"> <br />
@echo off<br />
echo Starting Auth Server<br />
START C:\coh\bin\authserver.exe<br />
TIMEOUT 2<br />
echo Starting DB Server<br />
START C:\coh\bin\dbserver.exe -zonelaunchers 1<br />
TIMEOUT 2<br />
echo Starting Launcher Server<br />
START C:\coh\bin\launcher64.exe -noversioncheck<br />
TIMEOUT 2<br />
echo Everything should be launched! Go enjoy COH.<br />
TIMEOUT 10<br />
</syntaxhighlight > <br />
|}<br />
: 14. Go to your City of Heroes folder and make a shortcut of score.exe.<br />
:* Add the string below to the shortcut if playing locally on the hosting machine.<br />
:*: <syntaxhighlight lang="text"> score.exe -patchdir score -patchversion 2019.04.19 -auth 127.0.0.1 -noversioncheck -console </syntaxhighlight > <br />
:* Add the string below to the shortcut if playing over the network. Note you'll need the hosting machines IP for this. (CMD -> IPConfig)<br />
:*: <syntaxhighlight lang="text"> score.exe -patchdir score -patchversion 2019.04.19 -auth <HOSTIPADDRESS> -noversioncheck -console </syntaxhighlight > <br />
: 15. Login and Enjoy!<br />
<br />
== Port Forwards ==<br />
; TCP Ports<br />
: Port 11228<br />
:* <br />
; UDP Ports<br />
: Ports 18717 through 18917<br />
:*<br />
<br />
== Setup Internet Facing Server ==<br />
: Patching the DBServer allows it to return the correct IP address for MapServers to the client.<br />
: dbserver.exe needs to be patched to read its external IP from a config file, a patched version can be downloaded from [http://cohstuff.dreamhosters.com/dbservernat.php here] or from the following magnet link<br />
:::::::::::::::::: [magnet:?xt=urn:btih:BE2D888C9F6B6B19A13780B265FC556EE59769C1&dn=dbserver-nat-fix.zip&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce dbserver nat fix.zip]<br />
: <pre>dbserver.exe [MD5] c66842d15bc94f6b6b2a282331c01e3f | dbserver.exe [SHA1] 9ba7c9774de2f75cd72efb604c44c3a86cbd24eb</pre><br />
: From SQL Sever Manager Studio(SSMS) run the query below.<br />
: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'ShardName', 'Public IP', '127.0.0.1', 0, 0, 1); </syntaxhighlight><br />
: Replace the existing dbserver.exe with the patched one and add the RouteIp line to servers.cfg with your server's public IP.<br />
: <syntaxhighlight lang="text"> RouteIp YOURPUBLICIPADDRESS </syntaxhighlight><br />
<br />
== Patched AuthServer ==<br />
: [magnet:?xt=urn:btih:c5d7542b4a3cc0ec8f8d7dab028e67608f8a36f3&dn=patched-authserver.7z Patched AuthServer]<br />
: For use alongside the patched dbserver, reads first RouteIp in servers.cfg as externalIP and second RouteIp in servers.cfg as internal IP, rather than from cohauth<br />
: Patched authserver<br />
: <center><syntaxhighlight lang="text"> MD5: kuF0O1e/K3iT6tcXKA0xmQ== | SHA1: +7IdIglCD1EEM9xNcZUyYRuZ9Ec= | SHA256: 7A370DAB25CBEA30A0BCA3333F6BBD971315604E98218B71BEDCC2F415918285 </syntaxhighlight></center><br />
<br />
: Example configuration:<br />
::: {|<br />
<syntaxhighlight lang="text"> <br />
// First RouteIP is External (WAN) IP<br />
RouteIp 123.123.123.123<br />
// Second RouteIP is Internal (LAN) IP<br />
RouteIp 192.168.0.0<br />
<br />
// Uncomment the following line to use IPs from cohauth<br />
//AuthDBIP 1<br />
</syntaxhighlight><br />
|}<br />
<br />
== Setup TurnstileServer ==<br />
: Making the changes below will put your server into "production" mode. This will require things like mission_server.cfg to be created.<br />
: First make sure your turnstile_server.cfg is correct. Below you'll find an example.<br />
;: Example turnstile_server.cfg<br />
::: <syntaxhighlight lang="text"> DbServer LAN WAN 7000 ShardName ShardID ShardAuthID</syntaxhighlight> <br />
::: <syntaxhighlight lang="text"> DbServer 127.0.0.1 127.0.0.1 7000 Paragon 1 1</syntaxhighlight> <br />
;: Example mission_server.cfg<br />
::: <syntaxhighlight lang="text"> Shard NAME WAN REGION</syntaxhighlight> <br />
::: <syntaxhighlight lang="text"> Shard Paragon 127.0.0.1 1 </syntaxhighlight> <br />
: Next copy the "piggs" folder from your client to the server directory(C:\CoH\piggs)<br />
: At this point you should be able to run turnstileserver.exe.<br />
; As I mentioned earlier in the guide you'll likely run into new issues with these changes. Like needing mission_server.cfg, -noreserved on chatserver, and a few other minor edits.<br />
: Putting the server into production mode will also change the version to 2400.201208211101.1. Your clients will need to update their connect parameter.<br />
:: -patchdir score -patchversion 2400.201208211101.1 -auth VMIPGOESHERE -console</div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_Community_Virtual_Machines&diff=708I25 Community Virtual Machines2019-05-04T04:05:23Z<p>Methril: /* Version Two */</p>
<hr />
<div>There are two i25 virtual machines currently hosted on OuroWiki. The HyperV one is newer.<br />
<br />
Take a look at the [[i25_FAQ|Frequently Asked Questions]] to configure your server once it's up.<br />
== Version One ==<br />
=== Freedom Virtual Machine ===<br />
<br />
* Windows 10 LTSB<br />
* VMWare<br />
<br />
[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]<br />
<br />
<pre><br />
[MD5] 6980039CA6E929FD8AB548733AAC8034<br />
[SHA-1] D99D68D8CE31694EDB8D47EAD325D3F016D0ACC6<br />
[SHA-256] 69881CA5582AAC7D348326A6390641D698B5B9046259544078F38F305794E84B<br />
</pre><br />
<br />
* Instructions: (THIS IS FOR LOCAL)<br />
# Download [https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html VMWare Player]<br />
# Add the VM to VMWare Player<br />
# Once inside of Windows on the VM<br />
#* - Start Menu -> start dbserver -> start launcher<br />
#* - Right click the Start Menu, open a command prompt, and run the following<syntaxhighlight>powercfg.exe /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c</syntaxhighlight><br />
# On your system, start the client from Score (Cityofheroes\score.exe -patchdir score -patchversion 2019.04.19 -db <VM IP> -noversioncheck<br />
<br />
== Version Two ==<br />
=== Windows 2012 R2 City of Heroes Images ===<br />
[[File:I25 Community Server.png|thumb]]<br />
<br />
* [magnet:?xt=urn:btih:fe43bcae764f81c4090a5ea1d0114c18e0f4411d&dn=Win%202012%20R2%20-%20City%20of%20Heroes.7z Windows 2012 R2 City of Heroes HyperV Image]<br />
<pre><br />
[MD5] EBCBF234CCAD4D1DE84164E397B43C8D<br />
[SHA-1] B0BECE5F11DB0ABA18AEDF509A809DAF5A74ACA0<br />
[SHA-256] 7A10B09602A8CB3A4D3EB0705B0F14AC2DF46CA056FD98B8ECFE66D27A2CE41A<br />
[SHA-512] 53A1F64C8496B539249F707B25EAC70AE53E84529C0450C36F6E82985725021E043D6BDC190F530B8273E5D7C14FA66F31D9AF25827DD3DC3F8F19F341F89DEF<br />
</pre><br />
* [magnet:?xt=urn:btih:eea1111447a96909b027d590f047c9b9b6db7a8f&dn=Win%202012%20R2%20-%20City%20of%20Heroes%20-%20VMWare.7z Windows 2012 R2 City of Heroes VMWare Image]<br />
<pre><br />
[MD5] 1CCA24A1CF03C00161F79CA43D9E748B<br />
[SHA-1] 4F949B101CC564886538D0067F274A85091713DE<br />
[SHA-256] 33D2810D5D06A050E0267879E689DE9B4AF643D66B20430F511693243254A544<br />
[SHA-512] E5B95919465C613FC43454C0B9F36914B93464F8D95AC59FD12DD3224D1EA83FAB49DF286439A48E692371CAAD6E64DEF24501D0A30323C0A17833EA812198A3<br />
</pre><br />
<br />
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!".<br />
<br />
<br />
<br />
;HyperV Instructions<br />
# Add the VM to HyperV<br />
## Add new Virtual Machine<br />
## Select Next and name the Name. Click Next<br />
## Select Generation 2 and next.<br />
## Set memory to 8192 or higher and click next.<br />
## Select your HyperV LAN connection and click next.<br />
## Choose "Use Existing Virtual Hard Disk" and navigate to the supplied VHDX. Click Finish.<br />
## Right click on the new Virtual Machine and pick settings.<br />
## Increase the number of processors supplied to the VM to at least 4. Click Ok.<br />
## Right click on the virtual machine and click start.<br />
# Once inside of Windows on the VM<br />
## Follow the ReadMe on the desktop.<br />
## Once finished with the ReadMe. Click "Start Up The Server" on the desktop. It should start up all the required programs.<br />
:::: If your Start Server.bat is in C:\CoH\Bin then your Auth Server will not start. Make sure to place it in C:\CoH.<br />
:::: {|<br />
<syntaxhighlight lang="bat"> <br />
@echo off<br />
echo Starting Auth Server<br />
START C:\coh\bin\authserver.exe<br />
TIMEOUT 2<br />
echo Starting DB Server<br />
START C:\coh\bin\dbserver.exe -zonelaunchers 1<br />
TIMEOUT 2<br />
echo Starting Launcher Server<br />
START C:\coh\bin\launcher64.exe -noversioncheck<br />
TIMEOUT 2<br />
echo Everything should be launched! Go enjoy COH.<br />
TIMEOUT 10<br />
</syntaxhighlight> <br />
|}<br />
# On your system, start the client from Score (Cityofheroes\score.exe -patchdir score -patchversion 2019.04.19 -auth <VM IP> -noversioncheck<br />
<br />
* You'll need to update the database for your public IP Address:<br />
** UPDATE cohauth.dbo.server SET ip = 'YOURPUBLICIP' WHERE ID = 1;<br />
* You'll allso need to update C:\COH\data\server\db\servers.cfg<br />
** RouteIp YOURPUBLICIP<br />
* If you're feeling frisky update C:\COH\data\server\db\loadBalanceShardSpecific.cfg<br />
** HostRange 192.168.1.0 192.168.1.255<br />
<br />
@DarkSynopsis: COHDBTools ( https://localhost/CoHDBTool/ )<br />
: Manage Shard<br />
:: Manage Accounts<br />
::: See Account ID / Username<br />
::: Create New Accounts<br />
:: Manage Characters<br />
::: Change character owner<br />
::: Backup character<br />
::: Import character<br />
::: Change character access level<br />
<br />
@Crust Fire:<br />
* MakeAccount ( https://localhost/CrustFire/MakeAccount.php )<br />
*: Generates SQL for making accounts.<br />
* MakeConfigs ( https://localhost/CrustFire/MakeConfigs.php )<br />
*: Generates basic configuration files.<br />
<br />
@Aleena:<br />
* Account Portal<br />
*: Allow users to sign up for their own account with custom password.<br />
*: Users can also change their password on the portal.<br />
*: Display current number of accounts and characters on the server.<br />
*: Supplies client download via Tequila and custom manifest.xml<br />
*: Displays needed command line paramter to clients.<br />
<br />
Join us on Discord! https://discord.gg/rPvHX26<br />
<br />
== Setup HyperV Virtual Switch ==<br />
: Setting up a virtual switch in HyperV is pretty straight forward.<br />
: Select "Virtual Switch Manager" and you'll have the choice to create a new virtual switch.<br />
: Select "External" from the list and then "Create Virtual Switch".<br />
: Set the name of this new switch to "HyperV-LAN"<br />
: Select a network adapter from "External Networks".<br />
:: The important part here is if the NIC is dedicated or shared on the machine. <br />
::: If you plan to share the NIC then check "Allow management operating system to share this network adapter".<br />
::: 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.<br />
:: Typically if your NIC can support it you want to enable SR-IOV.<br />
: Click OK and the window will disappear. <br />
: Now you can pick this network in the settings of Any VM under Network Adapter -> Virtual Switch.<br />
<br />
<br />
== VMWare Create Virtual Machine ==<br />
[[File:VMWare-CreateVM-1.png]]<br />
<br />
[[File:VMWare-CreateVM-2.png]]<br />
<br />
[[File:VMWare-CreateVM-3.png]]<br />
<br />
[[File:VMWare-CreateVM-4.png]]<br />
<br />
[[File:VMWare-CreateVM-5.png]]<br />
<br />
[[File:UEFI VMWare.jpg]]<br />
<br />
[[File:VMWare-CreateVM-7.png]]<br />
<br />
[[File:VMWare-CreateVM-8.png]]<br />
<br />
[[File:VMWare-CreateVM-9.png]]<br />
<br />
[[File:VMWare-CreateVM-10.png]]<br />
<br />
[[File:VMWare-CreateVM-11.png]]<br />
<br />
[[File:VMWare-CreateVM-12.png]]<br />
<br />
[[File:VMWare-CreateVM-13.png]]<br />
<br />
[[File:VMWare-CreateVM-14.png]]</div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_Server_Setup&diff=707I25 Server Setup2019-05-04T04:03:43Z<p>Methril: /* Setup Local Server */</p>
<hr />
<div>== Server Setup From Scratch ==<br />
=== i25 Configuration Files ===<br />
* [[i25 Servers.cfg]]<br />
* [[i25 auction_server.cfg]]<br />
* [[i25 account_server.cfg]]<br />
* [[i25 chat_server.cfg]]<br />
* [[i25 queue_server.cfg]]<br />
* [[i25 turnstile_server.cfg]]<br />
* [[i25 loadBalanceDefault.cfg]]<br />
* [[i25 loadBalanceShardSpecific.cfg]]<br />
* [[i25 mission_server.cfg]]<br />
<br />
=== Setup Local Server ===<br />
: 1. Install [https://www.microsoft.com/en-gb/sql-server/sql-server-editions-express SQL Server 2017 Express Edition]<br />
: 2. Choose Basic when installing and when given the option choose to install [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SSMS(SQL Server Manager Suite)].<br />
: 3. Move your [[I25_Downloads|i25 Binaries]] to C:\CoH<br />
: 4. Navigate to C:\CoH\data\server\db<br />
: 5. Open up auction_server.cfg([[I25_auction_server.cfg]]), account_server.cfg([[I25_account_server.cfg]]), chat_server.cfg([[I25_chat_server.cfg]]), and servers.cfg([[I25_Server.cfg]]).<br />
:: You can change the password to whatever you would like. For this example I will be just using "YOURL33TPASS!".<br />
::; You will see something like this.<br />
::: <syntaxhighlight lang="SQL" line='line'> SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=NS319069\SCORE;Uid=sa;Pwd=FinallyFree!;" </syntaxhighlight ><br />
::; Change this to <br />
::: <syntaxhighlight lang="SQL" line='line'> SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=localhost\SQLEXPRESS;Uid=sa;Pwd=YOURL33TPASS!;" </syntaxhighlight > <br />
::; While you have servers.cfg and auction_server.cfg open. Change all the ips to 127.0.0.1. <br />
<br />
: 6. Extract the dbschema.rar found in C:\CoH\dbschema.rar.<br />
: 7. Open up SQL Server Management Studio (SSMS which you installed in the first step). Hit Connect on the screen that pops up to and connect with windows authentication.<br />
:: [[File:SQL Connect.png|thumb|none]]<br />
: 8. We need to enable the sa login so that server can login to the database.<br />
::; If you look to the left panel you will see the object explorer and your connection. Right click it and select properties.<br />
:::: [[File:SQL Properties.png|thumb|none]]<br />
::: When this window comes up hit Security to the left and enable "sql server and windows authentication". Then click ok.<br />
:::: [[File:SQL Security.png|thumb|none]]<br />
::: In the same panel you used before navigate to Security -> Logins then right click and enter properties the sa user.<br />
:::: [[File:SA Properties.png|thumb|none]]<br />
::: In this window set the password to the same password you set back at step 4<br />
:::: [[File:Login Props.png|thumb|none]]<br />
::: Choose Status from the left panel in this same window and set login to enabled and hit ok.<br />
:::: [[File:Login Status.png|thumb|none]]<br />
::: Right click the connection in the object explorer again and click Restart.<br />
:::: [[File:SQL Restart.png|thumb|none]]<br />
: 9. Click File, Select Open, navigate back to C:\CoH, open the dbschema folder, and select cohauc.sql in SQL Server Management Studio.<br />
:: [[File:SSMS File Open.png|thumb|none]]<br />
:: [[File:SSMS Open DBSchema.png|thumb|none]]<br />
: You will see these 2 lines at the top of the file opened<br />
:: [[File:SSMS DBSchema SQL SRV STR.png|thumb|none]]<br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc', FILENAME = N'C:\mssql\MSSQL11.SCORE\MSSQL\DATA\cohauc.mdf' , SIZE = 157440KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) </syntaxhighlight><br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc_log', FILENAME = N'C:\mssql\MSSQL11.SCORE\MSSQL\DATA\cohauc_log.ldf' , SIZE = 353216KB , MAXSIZE = 2048GB , FILEGROWTH = 10%) </syntaxhighlight><br />
: 10. What you want to do is set the first part of these directory listings to where your SQL Server is located for example, I set my to D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL because that is where my SQL Server is. So my would become:<br />
:: [[File:SSMS DBSchema SQL SRV STR CORRECT.png|thumb|none]]<br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc', FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\DATA\cohauc.mdf' , SIZE = 157440KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) </syntaxhighlight><br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc_log', FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\DATA\cohauc_log.ldf' , SIZE = 353216KB , MAXSIZE = 2048GB , FILEGROWTH = 10%) </syntaxhighlight><br />
: 11. Once done click the Execute button. And do this again for both the cohauth and cohchat.<br />
:: [[File:SSMS Execute.png|thumb|none]]<br />
: 12. Open up ODBC Data Sources (32-bit).<br />
:* Type 'ODBC' in Windows search, or run directly from C:\Windows\SysWOW64\odbcad32.exe<br />
::* Do NOT use 64-bit!<br />
:* Click File DSN then click add to the right.<br />
:*: [[File:ODBC File DSN.png|thumb|none]]<br />
:* Choose ODBC Driver 17 for SQL Server. Click Next.<br />
:*: [[File:ODBC Add Auth 1.png|thumb|none]]<br />
:* Enter AuthDB into the box and hit next then finish.<br />
:*: [[File:ODBC Add Auth 2.png|thumb|none]]<br />
:* It will then say something like ‘Which SQL Server would you like to connect to?’<br />
:** Type localhost\SQLEXPRESS and hit next.<br />
:**: [[File:ODBC Add Auth 3.png|thumb|none]]<br />
:* Choose with SQL Auth enter sa into username and the password you use previously.<br />
:*: [[File:ODBC Add Auth 4.png|thumb|none]]<br />
:* Tick choose change default database to and select cohauth and hit next.<br />
:*: [[File:ODBC Add Auth 5.png|thumb|none]]<br />
:*: [[File:ODBC Add Auth 6.png|thumb|none]]<br />
:* After this hit finish then ‘Test Data source’ this will test the auth database connection to your main database if it successful congrats :D<br />
:*: [[File:ODBC Add Auth 7.png|thumb|none]]<br />
:*: [[File:ODBC Add Auth 8.png|thumb|none]]<br />
<br />
: 13. Once you have done that you can now start up your server. Navigate back to C:\CoH and create a bat file to start your server.<br />
::: {| <br />
<syntaxhighlight lang="bat"> <br />
@echo off<br />
echo Starting Auth Server<br />
START C:\coh\bin\authserver.exe<br />
TIMEOUT 2<br />
echo Starting DB Server<br />
START C:\coh\bin\dbserver.exe -zonelaunchers 1<br />
TIMEOUT 2<br />
echo Starting Launcher Server<br />
START C:\coh\bin\launcher64.exe -noversioncheck<br />
TIMEOUT 2<br />
echo Everything should be launched! Go enjoy COH.<br />
TIMEOUT 10<br />
</syntaxhighlight > <br />
|}<br />
: 14. Go to your City of Heroes folder and make a shortcut of score.exe.<br />
:* Add the string below to the shortcut if playing locally on the hosting machine.<br />
:*: <syntaxhighlight lang="text"> score.exe -patchdir score -patchversion 2019.04.19 -auth 127.0.0.1 -noversioncheck -console </syntaxhighlight > <br />
:* Add the string below to the shortcut if playing over the network. Note you'll need the hosting machines IP for this. (CMD -> IPConfig)<br />
:*: <syntaxhighlight lang="text"> score.exe -patchdir score -patchversion 2019.04.19 -auth <HOSTIPADDRESS> -noversioncheck -console </syntaxhighlight > <br />
: 15. Login and Enjoy!<br />
<br />
== Port Forwards ==<br />
; TCP Ports<br />
: Port 11228<br />
:* <br />
; UDP Ports<br />
: Ports 18717 through 18917<br />
:*<br />
<br />
== Setup Internet Facing Server ==<br />
: Patching the DBServer allows it to return the correct IP address for MapServers to the client.<br />
: dbserver.exe needs to be patched to read its external IP from a config file, a patched version can be downloaded from [http://cohstuff.dreamhosters.com/dbservernat.php here] or from the following magnet link<br />
:::::::::::::::::: [magnet:?xt=urn:btih:BE2D888C9F6B6B19A13780B265FC556EE59769C1&dn=dbserver-nat-fix.zip&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce dbserver nat fix.zip]<br />
: <pre>dbserver.exe [MD5] c66842d15bc94f6b6b2a282331c01e3f | dbserver.exe [SHA1] 9ba7c9774de2f75cd72efb604c44c3a86cbd24eb</pre><br />
: From SQL Sever Manager Studio(SSMS) run the query below.<br />
: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'ShardName', 'Public IP', '127.0.0.1', 0, 0, 1); </syntaxhighlight><br />
: Replace the existing dbserver.exe with the patched one and add the RouteIp line to servers.cfg with your server's public IP.<br />
: <syntaxhighlight lang="text"> RouteIp YOURPUBLICIPADDRESS </syntaxhighlight><br />
<br />
== Patched AuthServer ==<br />
: [magnet:?xt=urn:btih:c5d7542b4a3cc0ec8f8d7dab028e67608f8a36f3&dn=patched-authserver.7z Patched AuthServer]<br />
: For use alongside the patched dbserver, reads first RouteIp in servers.cfg as externalIP and second RouteIp in servers.cfg as internal IP, rather than from cohauth<br />
: Patched authserver<br />
: <center><syntaxhighlight lang="text"> MD5: kuF0O1e/K3iT6tcXKA0xmQ== | SHA1: +7IdIglCD1EEM9xNcZUyYRuZ9Ec= | SHA256: 7A370DAB25CBEA30A0BCA3333F6BBD971315604E98218B71BEDCC2F415918285 </syntaxhighlight></center><br />
<br />
: Example configuration:<br />
::: {|<br />
<syntaxhighlight lang="text"> <br />
// First RouteIP is External (WAN) IP<br />
RouteIp 123.123.123.123<br />
// Second RouteIP is Internal (LAN) IP<br />
RouteIp 192.168.0.0<br />
<br />
// Uncomment the following line to use IPs from cohauth<br />
//AuthDBIP 1<br />
</syntaxhighlight><br />
|}<br />
<br />
== Setup TurnstileServer ==<br />
: Making the changes below will put your server into "production" mode. This will require things like mission_server.cfg to be created.<br />
: First make sure your turnstile_server.cfg is correct. Below you'll find an example.<br />
;: Example turnstile_server.cfg<br />
::: <syntaxhighlight lang="text"> DbServer LAN WAN 7000 ShardName ShardID ShardAuthID</syntaxhighlight> <br />
::: <syntaxhighlight lang="text"> DbServer 127.0.0.1 127.0.0.1 7000 Paragon 1 1</syntaxhighlight> <br />
;: Example mission_server.cfg<br />
::: <syntaxhighlight lang="text"> Shard NAME WAN SHARDID</syntaxhighlight> <br />
::: <syntaxhighlight lang="text"> Shard Paragon 127.0.0.1 1 </syntaxhighlight> <br />
: Next copy the "piggs" folder from your client to the server directory(C:\CoH\piggs)<br />
: At this point you should be able to run turnstileserver.exe.<br />
; As I mentioned earlier in the guide you'll likely run into new issues with these changes. Like needing mission_server.cfg, -noreserved on chatserver, and a few other minor edits.<br />
: Putting the server into production mode will also change the version to 2400.201208211101.1. Your clients will need to update their connect parameter.<br />
:: -patchdir score -patchversion 2400.201208211101.1 -auth VMIPGOESHERE -console</div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_Server_Setup&diff=705I25 Server Setup2019-05-04T03:43:45Z<p>Methril: /* Setup Local Server */</p>
<hr />
<div>== Server Setup From Scratch ==<br />
=== i25 Configuration Files ===<br />
* [[i25 Servers.cfg]]<br />
* [[i25 auction_server.cfg]]<br />
* [[i25 account_server.cfg]]<br />
* [[i25 chat_server.cfg]]<br />
* [[i25 queue_server.cfg]]<br />
* [[i25 turnstile_server.cfg]]<br />
* [[i25 loadBalanceDefault.cfg]]<br />
* [[i25 loadBalanceShardSpecific.cfg]]<br />
* [[i25 mission_server.cfg]]<br />
<br />
=== Setup Local Server ===<br />
: 1. Install [https://www.microsoft.com/en-gb/sql-server/sql-server-editions-express SQL Server 2017 Express Edition]<br />
: 2. Choose Basic when installing and when given the option choose to install [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SSMS(SQL Server Manager Suite)].<br />
: 3. Move your [[I25_Downloads|i25 Binaries]] to C:\CoH<br />
: 4. Navigate to C:\CoH\data\server\db<br />
: 5. Open up auction_server.cfg([[I25_auction_server.cfg]]), account_server.cfg([[I25_account_server.cfg]]), chat_server.cfg([[I25_chat_server.cfg]]), and servers.cfg([[I25_Server.cfg]]).<br />
:: You can change the password to whatever you would like. For this example I will be just using "YOURL33TPASS!".<br />
::; You will see something like this.<br />
::: <syntaxhighlight lang="SQL" line='line'> SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=NS319069\SCORE;Uid=sa;Pwd=FinallyFree!;" </syntaxhighlight ><br />
::; Change this to <br />
::: <syntaxhighlight lang="SQL" line='line'> SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=localhost\SQLEXPRESS;Uid=sa;Pwd=YOURL33TPASS!;" </syntaxhighlight > <br />
::; While you have servers.cfg and auction_server.cfg open. Change all the ips to 127.0.0.1. <br />
<br />
: 6. Extract the dbschema.rar found in C:\CoH\dbschema.rar.<br />
: 7. Open up SQL Server Management Studio (SSMS which you installed in the first step). Hit Connect on the screen that pops up to and connect with windows authentication.<br />
:: [[File:SQL Connect.png|thumb|none]]<br />
: 8. We need to enable the sa login so that server can login to the database.<br />
::; If you look to the left panel you will see the object explorer and your connection. Right click it and select properties.<br />
:::: [[File:SQL Properties.png|thumb|none]]<br />
::: When this window comes up hit Security to the left and enable "sql server and windows authentication". Then click ok.<br />
:::: [[File:SQL Security.png|thumb|none]]<br />
::: In the same panel you used before navigate to Security -> Logins then right click and enter properties the sa user.<br />
:::: [[File:SA Properties.png|thumb|none]]<br />
::: In this window set the password to the same password you set back at step 4<br />
:::: [[File:Login Props.png|thumb|none]]<br />
::: Choose Status from the left panel in this same window and set login to enabled and hit ok.<br />
:::: [[File:Login Status.png|thumb|none]]<br />
::: Right click the connection in the object explorer again and click Restart.<br />
:::: [[File:SQL Restart.png|thumb|none]]<br />
: 9. Click File, Select Open, navigate back to C:\CoH, open the dbschema folder, and select cohauc.sql in SQL Server Management Studio.<br />
:: [[File:SSMS File Open.png|thumb|none]]<br />
:: [[File:SSMS Open DBSchema.png|thumb|none]]<br />
: You will see these 2 lines at the top of the file opened<br />
:: [[File:SSMS DBSchema SQL SRV STR.png|thumb|none]]<br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc', FILENAME = N'C:\mssql\MSSQL11.SCORE\MSSQL\DATA\cohauc.mdf' , SIZE = 157440KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) </syntaxhighlight><br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc_log', FILENAME = N'C:\mssql\MSSQL11.SCORE\MSSQL\DATA\cohauc_log.ldf' , SIZE = 353216KB , MAXSIZE = 2048GB , FILEGROWTH = 10%) </syntaxhighlight><br />
: 10. What you want to do is set the first part of these directory listings to where your SQL Server is located for example, I set my to D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL because that is where my SQL Server is. So my would become:<br />
:: [[File:SSMS DBSchema SQL SRV STR CORRECT.png|thumb|none]]<br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc', FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\DATA\cohauc.mdf' , SIZE = 157440KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) </syntaxhighlight><br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc_log', FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\DATA\cohauc_log.ldf' , SIZE = 353216KB , MAXSIZE = 2048GB , FILEGROWTH = 10%) </syntaxhighlight><br />
: 11. Once done click the Execute button. And do this again for both the cohauth and cohchat.<br />
:: [[File:SSMS Execute.png|thumb|none]]<br />
: 12. Open up ODBC Data Sources (32-bit).<br />
:* Type 'ODBC' in Windows search, or run directly from C:\Windows\SysWOW64\odbcad32.exe<br />
::* Do NOT use 64-bit!<br />
:* Click File DSN then click add to the right.<br />
:*: [[File:ODBC File DSN.png|thumb|none]]<br />
:* Choose ODBC Driver 17 for SQL Server. Click Next.<br />
:*: [[File:ODBC Add Auth 1.png|thumb|none]]<br />
:* Enter AuthDB into the box and hit next then finish.<br />
:*: [[File:ODBC Add Auth 2.png|thumb|none]]<br />
:* It will then say something like ‘Which SQL Server would you like to connect to?’<br />
:** Type localhost\SQLEXPRESS and hit next.<br />
:**: [[File:ODBC Add Auth 3.png|thumb|none]]<br />
:* Choose with SQL Auth enter sa into username and the password you use previously.<br />
:*: [[File:ODBC Add Auth 4.png|thumb|none]]<br />
:* Tick choose change default database to and select cohauth and hit next.<br />
:*: [[File:ODBC Add Auth 5.png|thumb|none]]<br />
:*: [[File:ODBC Add Auth 6.png|thumb|none]]<br />
:* After this hit finish then ‘Test Data source’ this will test the auth database connection to your main database if it successful congrats :D<br />
:*: [[File:ODBC Add Auth 7.png|thumb|none]]<br />
:*: [[File:ODBC Add Auth 8.png|thumb|none]]<br />
<br />
: 13. Once you have done that you can now start up your server. Navigate back to C:\CoH and create a bat file to start your server.<br />
::: {| <br />
<syntaxhighlight lang="bat"> <br />
@echo off<br />
echo Starting Auth Server<br />
START C:\coh\bin\authserver.exe<br />
TIMEOUT 2<br />
echo Starting DB Server<br />
START C:\coh\bin\dbserver.exe -zonelaunchers 1<br />
TIMEOUT 2<br />
echo Starting Chat Server<br />
START C:\COH\bin\chatserver.exe<br />
TIMEOUT 2<br />
echo Starting Launcher Server<br />
START C:\coh\bin\launcher64.exe -noversioncheck<br />
TIMEOUT 2<br />
echo Starting Mission Server x64<br />
START C:\coh\bin\missionserver64.exe<br />
TIMEOUT 2<br />
echo Starting Auction Server<br />
START C:\coh\bin\auctionserver.exe<br />
TIMEOUT 2<br />
echo Starting Server Monitor x64<br />
START C:\coh\bin\servermonitor64.exe<br />
echo Everything should be launched! Go enjoy COH.<br />
TIMEOUT 10<br />
</syntaxhighlight > <br />
|}<br />
: 14. Go to your City of Heroes folder and make a shortcut of score.exe.<br />
:* Add the string below to the shortcut if playing locally on the hosting machine.<br />
:*: <syntaxhighlight lang="text"> score.exe -patchdir score -patchversion 2019.04.19 -auth 127.0.0.1 -noversioncheck -console </syntaxhighlight > <br />
:* Add the string below to the shortcut if playing over the network. Note you'll need the hosting machines IP for this. (CMD -> IPConfig)<br />
:*: <syntaxhighlight lang="text"> score.exe -patchdir score -patchversion 2019.04.19 -auth <HOSTIPADDRESS> -noversioncheck -console </syntaxhighlight > <br />
: 15. Login and Enjoy!<br />
<br />
== Port Forwards ==<br />
; TCP Ports<br />
: Port 11228<br />
:* <br />
; UDP Ports<br />
: Ports 18717 through 18917<br />
:*<br />
<br />
== Setup Internet Facing Server ==<br />
: Patching the DBServer allows it to return the correct IP address for MapServers to the client.<br />
: dbserver.exe needs to be patched to read its external IP from a config file, a patched version can be downloaded from [http://cohstuff.dreamhosters.com/dbservernat.php here] or from the following magnet link<br />
:::::::::::::::::: [magnet:?xt=urn:btih:BE2D888C9F6B6B19A13780B265FC556EE59769C1&dn=dbserver-nat-fix.zip&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce dbserver nat fix.zip]<br />
: <pre>dbserver.exe [MD5] c66842d15bc94f6b6b2a282331c01e3f | dbserver.exe [SHA1] 9ba7c9774de2f75cd72efb604c44c3a86cbd24eb</pre><br />
: From SQL Sever Manager Studio(SSMS) run the query below.<br />
: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'ShardName', 'Public IP', '127.0.0.1', 0, 0, 1); </syntaxhighlight><br />
: Replace the existing dbserver.exe with the patched one and add the RouteIp line to servers.cfg with your server's public IP.<br />
: <syntaxhighlight lang="text"> RouteIp YOURPUBLICIPADDRESS </syntaxhighlight><br />
<br />
== Patched AuthServer ==<br />
: [magnet:?xt=urn:btih:c5d7542b4a3cc0ec8f8d7dab028e67608f8a36f3&dn=patched-authserver.7z Patched AuthServer]<br />
: For use alongside the patched dbserver, reads first RouteIp in servers.cfg as externalIP and second RouteIp in servers.cfg as internal IP, rather than from cohauth<br />
: Patched authserver<br />
: <center><syntaxhighlight lang="text"> MD5: kuF0O1e/K3iT6tcXKA0xmQ== | SHA1: +7IdIglCD1EEM9xNcZUyYRuZ9Ec= | SHA256: 7A370DAB25CBEA30A0BCA3333F6BBD971315604E98218B71BEDCC2F415918285 </syntaxhighlight></center><br />
<br />
: Example configuration:<br />
::: {|<br />
<syntaxhighlight lang="text"> <br />
// First RouteIP is External (WAN) IP<br />
RouteIp 123.123.123.123<br />
// Second RouteIP is Internal (LAN) IP<br />
RouteIp 192.168.0.0<br />
<br />
// Uncomment the following line to use IPs from cohauth<br />
//AuthDBIP 1<br />
</syntaxhighlight><br />
|}<br />
<br />
== Setup TurnstileServer ==<br />
: Making the changes below will put your server into "production" mode. This will require things like mission_server.cfg to be created.<br />
: First make sure your turnstile_server.cfg is correct. Below you'll find an example.<br />
;: Example turnstile_server.cfg<br />
::: <syntaxhighlight lang="text"> DbServer LAN WAN 7000 ShardName ShardID ShardAuthID</syntaxhighlight> <br />
::: <syntaxhighlight lang="text"> DbServer 127.0.0.1 127.0.0.1 7000 Paragon 1 1</syntaxhighlight> <br />
;: Example mission_server.cfg<br />
::: <syntaxhighlight lang="text"> Shard NAME WAN SHARDID</syntaxhighlight> <br />
::: <syntaxhighlight lang="text"> Shard Paragon 127.0.0.1 1 </syntaxhighlight> <br />
: Next copy the "piggs" folder from your client to the server directory(C:\CoH\piggs)<br />
: At this point you should be able to run turnstileserver.exe.<br />
; As I mentioned earlier in the guide you'll likely run into new issues with these changes. Like needing mission_server.cfg, -noreserved on chatserver, and a few other minor edits.<br />
: Putting the server into production mode will also change the version to 2400.201208211101.1. Your clients will need to update their connect parameter.<br />
:: -patchdir score -patchversion 2400.201208211101.1 -auth VMIPGOESHERE -console</div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_Servers.cfg&diff=703I25 Servers.cfg2019-05-04T03:42:18Z<p>Methril: </p>
<hr />
<div><syntaxhighlight lang="text"><br />
LocalIP 127.0.0.1<br />
RouteIp PUBLICIPADDRESS<br />
<br />
AuthServer 127.0.0.1 2104<br />
ChatServer 127.0.0.1<br />
DBServer 127.0.0.1 18717<br />
<br />
ShardName Paragon<br />
DefaultAccessLevel 0<br />
NoStats 1<br />
<br />
AuthnameLimiterEnabled 0<br />
AuthnameLimiterAccessLevel 20<br />
LoginsPerMinute 5<br />
<br />
MapServerParams "-nopopup"<br />
MapserverIdleUpkeep 20<br />
MapserverIdleExit 20<br />
#MapserverDailyUpkeep 0<br />
<br />
UseLogServer 0<br />
#LogServer 127.0.0.1<br />
#LogDir .\log<br />
BackupDays 0<br />
<br />
CompleteBrokenTasks 0<br />
DroppedPacketLogging 0<br />
AuthBadPacketReconnect 1<br />
<br />
BlockFreePlayersIfNoAccountServer 0<br />
UseQueueServer 0<br />
IsBetaShard 0<br />
IsVIPShard 0<br />
MinPlayers 0<br />
MaxPlayers 300<br />
AssertMode Fulldump<br />
UseQueueServer 0<br />
UseLogServer 0<br />
OverrideAuthBit RogueAccess<br />
<br />
KarmaEventHistoryDays 30<br />
FastStart 1<br />
MaxLevel 50<br />
MaxCoHLevel 50<br />
MaxCoVLevel 50<br />
MaxPlayerSlots 1000<br />
MaxDualSlots 1000<br />
AuctionInvMaxLastLoginDays 1000<br />
<br />
#LOCALE_ID_ENGLISH, // 0<br />
#LOCALE_ID_TEST, // 1<br />
#LOCALE_ID_CHINESE_TRADITIONAL, // 2<br />
#LOCALE_ID_KOREAN, // 3<br />
#LOCALE_ID_JAPANESE, // 4<br />
#LOCALE_ID_GERMAN, // 5<br />
#LOCALE_ID_FRENCH, // 6<br />
#LOCALE_ID_SPANISH, // 7<br />
#LOCALE_ID_COUNT, // 8<br />
Locale 0<br />
<br />
MetricsEnable 0<br />
#MetricsIPAddress 127.0.0.1<br />
#MetricsPortNumber 3306<br />
#MetricsMQType 0<br />
#MetricsHighWaterMark<br />
<br />
MasterBeaconServer 127.0.0.1<br />
RequestBeaconServerCount 0<br />
BeaconRequestCacheDir "C:\COH\beaconizer\cache"<br />
DoNotLaunchBeaconMasterServer 0<br />
DoNotLaunchBeaconClients 1<br />
DoNotLaunchMapserverTSRs 0<br />
<br />
SetLogLevel "Auction" -2<br />
SetLogLevel "Chat" 1<br />
SetLogLevel "Admin" -2<br />
SetLogLevel "Bug" -2<br />
SetLogLevel "CharSlotApply" -2<br />
SetLogLevel "Debug" -2<br />
SetLogLevel "Delete" -2<br />
SetLogLevel "deletion" -2<br />
SetLogLevel "entity" -2<br />
SetLogLevel "Error" -2<br />
SetLogLevel "cheaters" -2<br />
SetLogLevel "MARTY" -2<br />
SetLogLevel "Offline" -2<br />
SetLogLevel "Powers" -2<br />
SetLogLevel "Rewards" -2<br />
SetLogLevel "SuperGroup" -2<br />
SetLogLevel "SystemSpecs" -2<br />
SetLogLevel "sze_rewards" -2<br />
SetLogLevel "turnstile" -2<br />
SetLogLevel "cmds" -2<br />
SetLogLevel "internalcmds" 1<br />
<br />
SqlDbProvider mssql<br />
SqlDbName cohdb<br />
SqlAllowDDL 1<br />
SqlAddAttributes 1<br />
SqlAddColumnOrTable 1<br />
SqlDeleteColumnOrTable 0<br />
SqlRebuildTable 1<br />
SqlAlterColumn 1<br />
SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=localhost\SQLEXPRESS;Uid=sa;Pwd=YourL33TPASS!;"<br />
SqlInit "CREATE DATABASE cohdb;"<br />
</syntaxhighlight></div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_turnstile_server.cfg&diff=701I25 turnstile server.cfg2019-05-04T03:41:06Z<p>Methril: Created page with "<pre> DbServer 127.0.0.1 127.0.0.1 7000 Paragon 1 1 </pre>"</p>
<hr />
<div><pre><br />
DbServer 127.0.0.1 127.0.0.1 7000 Paragon 1 1<br />
</pre></div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_mission_server.cfg&diff=700I25 mission server.cfg2019-05-04T03:40:39Z<p>Methril: Created page with "<pre> Shard Paragon 127.0.0.1 1 </pre>"</p>
<hr />
<div><pre><br />
Shard Paragon 127.0.0.1 1<br />
</pre></div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_Server_Setup&diff=698I25 Server Setup2019-05-04T03:40:07Z<p>Methril: /* i25 Configuration Files */</p>
<hr />
<div>== Server Setup From Scratch ==<br />
=== i25 Configuration Files ===<br />
* [[i25 Servers.cfg]]<br />
* [[i25 auction_server.cfg]]<br />
* [[i25 account_server.cfg]]<br />
* [[i25 chat_server.cfg]]<br />
* [[i25 queue_server.cfg]]<br />
* [[i25 turnstile_server.cfg]]<br />
* [[i25 loadBalanceDefault.cfg]]<br />
* [[i25 loadBalanceShardSpecific.cfg]]<br />
* [[i25 mission_server.cfg]]<br />
<br />
=== Setup Local Server ===<br />
: 1. Install [https://www.microsoft.com/en-gb/sql-server/sql-server-editions-express SQL Server 2017 Express Edition]<br />
: 2. Choose Basic when installing and when given the option choose to install [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SSMS(SQL Server Manager Suite)].<br />
: 3. Move your [[I25_Downloads|i25 Binaries]] to C:\CoH<br />
: 4. Navigate to C:\CoH\data\server\db<br />
: 5. Open up auction_server.cfg([[I25_auction_server.cfg]]), account_server.cfg([[I25_account_server.cfg]]), chat_server.cfg([[I25_chat_server.cfg]]), and servers.cfg([[I25_Server.cfg]]).<br />
:: You can change the password to whatever you would like. For this example I will be just using "YOURL33TPASS!".<br />
::; You will see something like this.<br />
::: <syntaxhighlight lang="SQL" line='line'> SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=NS319069\SCORE;Uid=sa;Pwd=FinallyFree!;" </syntaxhighlight ><br />
::; Change this to <br />
::: <syntaxhighlight lang="SQL" line='line'> SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=localhost\SQLEXPRESS;Uid=sa;Pwd=YOURL33TPASS!;" </syntaxhighlight > <br />
::; While you have servers.cfg and auction_server.cfg open. Change all the ips to 127.0.0.1. <br />
<br />
: 6. Extract the dbschema.rar found in C:\CoH\dbschema.rar.<br />
: 7. Open up SQL Server Management Studio (SSMS which you installed in the first step). Hit Connect on the screen that pops up to and connect with windows authentication.<br />
:: [[File:SQL Connect.png|thumb|center]]<br />
: 8. We need to enable the sa login so that server can login to the database.<br />
::; If you look to the left panel you will see the object explorer and your connection. Right click it and select properties.<br />
:::: [[File:SQL Properties.png|thumb|center]]<br />
::: When this window comes up hit Security to the left and enable "sql server and windows authentication". Then click ok.<br />
:::: [[File:SQL Security.png|thumb|center]]<br />
::: In the same panel you used before navigate to Security -> Logins then right click and enter properties the sa user.<br />
:::: [[File:SA Properties.png|thumb|center]]<br />
::: In this window set the password to the same password you set back at step 4<br />
:::: [[File:Login Props.png|thumb|center]]<br />
::: Choose Status from the left panel in this same window and set login to enabled and hit ok.<br />
:::: [[File:Login Status.png|thumb|center]]<br />
::: Right click the connection in the object explorer again and click Restart.<br />
:::: [[File:SQL Restart.png|thumb|center]]<br />
: 9. Click File, Select Open, navigate back to C:\CoH, open the dbschema folder, and select cohauc.sql in SQL Server Management Studio.<br />
:: [[File:SSMS File Open.png|thumb|center]]<br />
:: [[File:SSMS Open DBSchema.png|thumb|center]]<br />
: You will see these 2 lines at the top of the file opened<br />
:: [[File:SSMS DBSchema SQL SRV STR.png|thumb|center]]<br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc', FILENAME = N'C:\mssql\MSSQL11.SCORE\MSSQL\DATA\cohauc.mdf' , SIZE = 157440KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) </syntaxhighlight><br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc_log', FILENAME = N'C:\mssql\MSSQL11.SCORE\MSSQL\DATA\cohauc_log.ldf' , SIZE = 353216KB , MAXSIZE = 2048GB , FILEGROWTH = 10%) </syntaxhighlight><br />
: 10. What you want to do is set the first part of these directory listings to where your SQL Server is located for example, I set my to D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL because that is where my SQL Server is. So my would become:<br />
:: [[File:SSMS DBSchema SQL SRV STR CORRECT.png|thumb|center]]<br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc', FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\DATA\cohauc.mdf' , SIZE = 157440KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) </syntaxhighlight><br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc_log', FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\DATA\cohauc_log.ldf' , SIZE = 353216KB , MAXSIZE = 2048GB , FILEGROWTH = 10%) </syntaxhighlight><br />
: 11. Once done click the Execute button. And do this again for both the cohauth and cohchat.<br />
:: [[File:SSMS Execute.png|thumb|center]]<br />
: 12. Open up ODBC Data Sources (32-bit).<br />
:* Type 'ODBC' in Windows search, or run directly from C:\Windows\SysWOW64\odbcad32.exe<br />
::* Do NOT use 64-bit!<br />
:* Click File DSN then click add to the right.<br />
:*: [[File:ODBC File DSN.png|thumb|center]]<br />
:* Choose ODBC Driver 17 for SQL Server. Click Next.<br />
:*: [[File:ODBC Add Auth 1.png|thumb|center]]<br />
:* Enter AuthDB into the box and hit next then finish.<br />
:*: [[File:ODBC Add Auth 2.png|thumb|center]]<br />
:* It will then say something like ‘Which SQL Server would you like to connect to?’<br />
:** Type localhost\SQLEXPRESS and hit next.<br />
:**: [[File:ODBC Add Auth 3.png|thumb|center]]<br />
:* Choose with SQL Auth enter sa into username and the password you use previously.<br />
:*: [[File:ODBC Add Auth 4.png|thumb|center]]<br />
:* Tick choose change default database to and select cohauth and hit next.<br />
:*: [[File:ODBC Add Auth 5.png|thumb|center]]<br />
:*: [[File:ODBC Add Auth 6.png|thumb|center]]<br />
:* After this hit finish then ‘Test Data source’ this will test the auth database connection to your main database if it successful congrats :D<br />
:*: [[File:ODBC Add Auth 7.png|thumb|center]]<br />
:*: [[File:ODBC Add Auth 8.png|thumb|center]]<br />
<br />
: 13. Once you have done that you can now start up your server. Navigate back to C:\CoH and create a bat file to start your server.<br />
::: {| <br />
<syntaxhighlight lang="bat"> <br />
@echo off<br />
echo Starting Auth Server<br />
START C:\coh\bin\authserver.exe<br />
TIMEOUT 2<br />
echo Starting DB Server<br />
START C:\coh\bin\dbserver.exe -zonelaunchers 1<br />
TIMEOUT 2<br />
echo Starting Chat Server<br />
START C:\COH\bin\chatserver.exe<br />
TIMEOUT 2<br />
echo Starting Launcher Server<br />
START C:\coh\bin\launcher64.exe -noversioncheck<br />
TIMEOUT 2<br />
echo Starting Mission Server x64<br />
START C:\coh\bin\missionserver64.exe<br />
TIMEOUT 2<br />
echo Starting Auction Server<br />
START C:\coh\bin\auctionserver.exe<br />
TIMEOUT 2<br />
echo Starting Server Monitor x64<br />
START C:\coh\bin\servermonitor64.exe<br />
echo Everything should be launched! Go enjoy COH.<br />
TIMEOUT 10<br />
</syntaxhighlight > <br />
|}<br />
: 14. Go to your City of Heroes folder and make a shortcut of score.exe.<br />
:* Add the string below to the shortcut if playing locally on the hosting machine.<br />
:*: <syntaxhighlight lang="text"> score.exe -patchdir score -patchversion 2019.04.19 -auth 127.0.0.1 -noversioncheck -console </syntaxhighlight > <br />
:* Add the string below to the shortcut if playing over the network. Note you'll need the hosting machines IP for this. (CMD -> IPConfig)<br />
:*: <syntaxhighlight lang="text"> score.exe -patchdir score -patchversion 2019.04.19 -auth <HOSTIPADDRESS> -noversioncheck -console </syntaxhighlight > <br />
: 15. Login and Enjoy!<br />
<br />
== Port Forwards ==<br />
; TCP Ports<br />
: Port 11228<br />
:* <br />
; UDP Ports<br />
: Ports 18717 through 18917<br />
:*<br />
<br />
== Setup Internet Facing Server ==<br />
: Patching the DBServer allows it to return the correct IP address for MapServers to the client.<br />
: dbserver.exe needs to be patched to read its external IP from a config file, a patched version can be downloaded from [http://cohstuff.dreamhosters.com/dbservernat.php here] or from the following magnet link<br />
:::::::::::::::::: [magnet:?xt=urn:btih:BE2D888C9F6B6B19A13780B265FC556EE59769C1&dn=dbserver-nat-fix.zip&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce dbserver nat fix.zip]<br />
: <pre>dbserver.exe [MD5] c66842d15bc94f6b6b2a282331c01e3f | dbserver.exe [SHA1] 9ba7c9774de2f75cd72efb604c44c3a86cbd24eb</pre><br />
: From SQL Sever Manager Studio(SSMS) run the query below.<br />
: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'ShardName', 'Public IP', '127.0.0.1', 0, 0, 1); </syntaxhighlight><br />
: Replace the existing dbserver.exe with the patched one and add the RouteIp line to servers.cfg with your server's public IP.<br />
: <syntaxhighlight lang="text"> RouteIp YOURPUBLICIPADDRESS </syntaxhighlight><br />
<br />
== Patched AuthServer ==<br />
: [magnet:?xt=urn:btih:c5d7542b4a3cc0ec8f8d7dab028e67608f8a36f3&dn=patched-authserver.7z Patched AuthServer]<br />
: For use alongside the patched dbserver, reads first RouteIp in servers.cfg as externalIP and second RouteIp in servers.cfg as internal IP, rather than from cohauth<br />
: Patched authserver<br />
: <center><syntaxhighlight lang="text"> MD5: kuF0O1e/K3iT6tcXKA0xmQ== | SHA1: +7IdIglCD1EEM9xNcZUyYRuZ9Ec= | SHA256: 7A370DAB25CBEA30A0BCA3333F6BBD971315604E98218B71BEDCC2F415918285 </syntaxhighlight></center><br />
<br />
: Example configuration:<br />
::: {|<br />
<syntaxhighlight lang="text"> <br />
// First RouteIP is External (WAN) IP<br />
RouteIp 123.123.123.123<br />
// Second RouteIP is Internal (LAN) IP<br />
RouteIp 192.168.0.0<br />
<br />
// Uncomment the following line to use IPs from cohauth<br />
//AuthDBIP 1<br />
</syntaxhighlight><br />
|}<br />
<br />
== Setup TurnstileServer ==<br />
: Making the changes below will put your server into "production" mode. This will require things like mission_server.cfg to be created.<br />
: First make sure your turnstile_server.cfg is correct. Below you'll find an example.<br />
;: Example turnstile_server.cfg<br />
::: <syntaxhighlight lang="text"> DbServer LAN WAN 7000 ShardName ShardID ShardAuthID</syntaxhighlight> <br />
::: <syntaxhighlight lang="text"> DbServer 127.0.0.1 127.0.0.1 7000 Paragon 1 1</syntaxhighlight> <br />
;: Example mission_server.cfg<br />
::: <syntaxhighlight lang="text"> Shard NAME WAN SHARDID</syntaxhighlight> <br />
::: <syntaxhighlight lang="text"> Shard Paragon 127.0.0.1 1 </syntaxhighlight> <br />
: Next copy the "piggs" folder from your client to the server directory(C:\CoH\piggs)<br />
: At this point you should be able to run turnstileserver.exe.<br />
; As I mentioned earlier in the guide you'll likely run into new issues with these changes. Like needing mission_server.cfg, -noreserved on chatserver, and a few other minor edits.<br />
: Putting the server into production mode will also change the version to 2400.201208211101.1. Your clients will need to update their connect parameter.<br />
:: -patchdir score -patchversion 2400.201208211101.1 -auth VMIPGOESHERE -console</div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_Server_Setup&diff=697I25 Server Setup2019-05-04T03:39:55Z<p>Methril: /* i25 Configuration Files */</p>
<hr />
<div>== Server Setup From Scratch ==<br />
=== i25 Configuration Files ===<br />
* [[i25 Servers.cfg]]<br />
* [[i25 auction_server.cfg]]<br />
* [[i25 account_server.cfg]]<br />
* [[i25 chat_server.cfg]]<br />
* [[i25 queue_server.cfg]]<br />
* [[i25 turnstile_server.cfg]]<br />
* [[i25 loadBalanceDefault.cfg]]<br />
* [[i25 loadBalanceShardSpecific.cfg]]<br />
* [[i25 missionserver.cfg]]<br />
<br />
=== Setup Local Server ===<br />
: 1. Install [https://www.microsoft.com/en-gb/sql-server/sql-server-editions-express SQL Server 2017 Express Edition]<br />
: 2. Choose Basic when installing and when given the option choose to install [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SSMS(SQL Server Manager Suite)].<br />
: 3. Move your [[I25_Downloads|i25 Binaries]] to C:\CoH<br />
: 4. Navigate to C:\CoH\data\server\db<br />
: 5. Open up auction_server.cfg([[I25_auction_server.cfg]]), account_server.cfg([[I25_account_server.cfg]]), chat_server.cfg([[I25_chat_server.cfg]]), and servers.cfg([[I25_Server.cfg]]).<br />
:: You can change the password to whatever you would like. For this example I will be just using "YOURL33TPASS!".<br />
::; You will see something like this.<br />
::: <syntaxhighlight lang="SQL" line='line'> SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=NS319069\SCORE;Uid=sa;Pwd=FinallyFree!;" </syntaxhighlight ><br />
::; Change this to <br />
::: <syntaxhighlight lang="SQL" line='line'> SqlLogin "DRIVER={SQL Server Native Client 11.0};Server=localhost\SQLEXPRESS;Uid=sa;Pwd=YOURL33TPASS!;" </syntaxhighlight > <br />
::; While you have servers.cfg and auction_server.cfg open. Change all the ips to 127.0.0.1. <br />
<br />
: 6. Extract the dbschema.rar found in C:\CoH\dbschema.rar.<br />
: 7. Open up SQL Server Management Studio (SSMS which you installed in the first step). Hit Connect on the screen that pops up to and connect with windows authentication.<br />
:: [[File:SQL Connect.png|thumb|center]]<br />
: 8. We need to enable the sa login so that server can login to the database.<br />
::; If you look to the left panel you will see the object explorer and your connection. Right click it and select properties.<br />
:::: [[File:SQL Properties.png|thumb|center]]<br />
::: When this window comes up hit Security to the left and enable "sql server and windows authentication". Then click ok.<br />
:::: [[File:SQL Security.png|thumb|center]]<br />
::: In the same panel you used before navigate to Security -> Logins then right click and enter properties the sa user.<br />
:::: [[File:SA Properties.png|thumb|center]]<br />
::: In this window set the password to the same password you set back at step 4<br />
:::: [[File:Login Props.png|thumb|center]]<br />
::: Choose Status from the left panel in this same window and set login to enabled and hit ok.<br />
:::: [[File:Login Status.png|thumb|center]]<br />
::: Right click the connection in the object explorer again and click Restart.<br />
:::: [[File:SQL Restart.png|thumb|center]]<br />
: 9. Click File, Select Open, navigate back to C:\CoH, open the dbschema folder, and select cohauc.sql in SQL Server Management Studio.<br />
:: [[File:SSMS File Open.png|thumb|center]]<br />
:: [[File:SSMS Open DBSchema.png|thumb|center]]<br />
: You will see these 2 lines at the top of the file opened<br />
:: [[File:SSMS DBSchema SQL SRV STR.png|thumb|center]]<br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc', FILENAME = N'C:\mssql\MSSQL11.SCORE\MSSQL\DATA\cohauc.mdf' , SIZE = 157440KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) </syntaxhighlight><br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc_log', FILENAME = N'C:\mssql\MSSQL11.SCORE\MSSQL\DATA\cohauc_log.ldf' , SIZE = 353216KB , MAXSIZE = 2048GB , FILEGROWTH = 10%) </syntaxhighlight><br />
: 10. What you want to do is set the first part of these directory listings to where your SQL Server is located for example, I set my to D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL because that is where my SQL Server is. So my would become:<br />
:: [[File:SSMS DBSchema SQL SRV STR CORRECT.png|thumb|center]]<br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc', FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\DATA\cohauc.mdf' , SIZE = 157440KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) </syntaxhighlight><br />
:* <syntaxhighlight lang="SQL" line='line'> ( NAME = N'cohauc_log', FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL14.SQLEXPRESS\MSSQL\DATA\cohauc_log.ldf' , SIZE = 353216KB , MAXSIZE = 2048GB , FILEGROWTH = 10%) </syntaxhighlight><br />
: 11. Once done click the Execute button. And do this again for both the cohauth and cohchat.<br />
:: [[File:SSMS Execute.png|thumb|center]]<br />
: 12. Open up ODBC Data Sources (32-bit).<br />
:* Type 'ODBC' in Windows search, or run directly from C:\Windows\SysWOW64\odbcad32.exe<br />
::* Do NOT use 64-bit!<br />
:* Click File DSN then click add to the right.<br />
:*: [[File:ODBC File DSN.png|thumb|center]]<br />
:* Choose ODBC Driver 17 for SQL Server. Click Next.<br />
:*: [[File:ODBC Add Auth 1.png|thumb|center]]<br />
:* Enter AuthDB into the box and hit next then finish.<br />
:*: [[File:ODBC Add Auth 2.png|thumb|center]]<br />
:* It will then say something like ‘Which SQL Server would you like to connect to?’<br />
:** Type localhost\SQLEXPRESS and hit next.<br />
:**: [[File:ODBC Add Auth 3.png|thumb|center]]<br />
:* Choose with SQL Auth enter sa into username and the password you use previously.<br />
:*: [[File:ODBC Add Auth 4.png|thumb|center]]<br />
:* Tick choose change default database to and select cohauth and hit next.<br />
:*: [[File:ODBC Add Auth 5.png|thumb|center]]<br />
:*: [[File:ODBC Add Auth 6.png|thumb|center]]<br />
:* After this hit finish then ‘Test Data source’ this will test the auth database connection to your main database if it successful congrats :D<br />
:*: [[File:ODBC Add Auth 7.png|thumb|center]]<br />
:*: [[File:ODBC Add Auth 8.png|thumb|center]]<br />
<br />
: 13. Once you have done that you can now start up your server. Navigate back to C:\CoH and create a bat file to start your server.<br />
::: {| <br />
<syntaxhighlight lang="bat"> <br />
@echo off<br />
echo Starting Auth Server<br />
START C:\coh\bin\authserver.exe<br />
TIMEOUT 2<br />
echo Starting DB Server<br />
START C:\coh\bin\dbserver.exe -zonelaunchers 1<br />
TIMEOUT 2<br />
echo Starting Chat Server<br />
START C:\COH\bin\chatserver.exe<br />
TIMEOUT 2<br />
echo Starting Launcher Server<br />
START C:\coh\bin\launcher64.exe -noversioncheck<br />
TIMEOUT 2<br />
echo Starting Mission Server x64<br />
START C:\coh\bin\missionserver64.exe<br />
TIMEOUT 2<br />
echo Starting Auction Server<br />
START C:\coh\bin\auctionserver.exe<br />
TIMEOUT 2<br />
echo Starting Server Monitor x64<br />
START C:\coh\bin\servermonitor64.exe<br />
echo Everything should be launched! Go enjoy COH.<br />
TIMEOUT 10<br />
</syntaxhighlight > <br />
|}<br />
: 14. Go to your City of Heroes folder and make a shortcut of score.exe.<br />
:* Add the string below to the shortcut if playing locally on the hosting machine.<br />
:*: <syntaxhighlight lang="text"> score.exe -patchdir score -patchversion 2019.04.19 -auth 127.0.0.1 -noversioncheck -console </syntaxhighlight > <br />
:* Add the string below to the shortcut if playing over the network. Note you'll need the hosting machines IP for this. (CMD -> IPConfig)<br />
:*: <syntaxhighlight lang="text"> score.exe -patchdir score -patchversion 2019.04.19 -auth <HOSTIPADDRESS> -noversioncheck -console </syntaxhighlight > <br />
: 15. Login and Enjoy!<br />
<br />
== Port Forwards ==<br />
; TCP Ports<br />
: Port 11228<br />
:* <br />
; UDP Ports<br />
: Ports 18717 through 18917<br />
:*<br />
<br />
== Setup Internet Facing Server ==<br />
: Patching the DBServer allows it to return the correct IP address for MapServers to the client.<br />
: dbserver.exe needs to be patched to read its external IP from a config file, a patched version can be downloaded from [http://cohstuff.dreamhosters.com/dbservernat.php here] or from the following magnet link<br />
:::::::::::::::::: [magnet:?xt=urn:btih:BE2D888C9F6B6B19A13780B265FC556EE59769C1&dn=dbserver-nat-fix.zip&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce dbserver nat fix.zip]<br />
: <pre>dbserver.exe [MD5] c66842d15bc94f6b6b2a282331c01e3f | dbserver.exe [SHA1] 9ba7c9774de2f75cd72efb604c44c3a86cbd24eb</pre><br />
: From SQL Sever Manager Studio(SSMS) run the query below.<br />
: <syntaxhighlight lang="SQL" line='line'> INSERT INTO cohauth.dbo.server (id, name, ip, inner_ip, ageLimit, pk_flag, server_group_id) VALUES (1, 'ShardName', 'Public IP', '127.0.0.1', 0, 0, 1); </syntaxhighlight><br />
: Replace the existing dbserver.exe with the patched one and add the RouteIp line to servers.cfg with your server's public IP.<br />
: <syntaxhighlight lang="text"> RouteIp YOURPUBLICIPADDRESS </syntaxhighlight><br />
<br />
== Patched AuthServer ==<br />
: [magnet:?xt=urn:btih:c5d7542b4a3cc0ec8f8d7dab028e67608f8a36f3&dn=patched-authserver.7z Patched AuthServer]<br />
: For use alongside the patched dbserver, reads first RouteIp in servers.cfg as externalIP and second RouteIp in servers.cfg as internal IP, rather than from cohauth<br />
: Patched authserver<br />
: <center><syntaxhighlight lang="text"> MD5: kuF0O1e/K3iT6tcXKA0xmQ== | SHA1: +7IdIglCD1EEM9xNcZUyYRuZ9Ec= | SHA256: 7A370DAB25CBEA30A0BCA3333F6BBD971315604E98218B71BEDCC2F415918285 </syntaxhighlight></center><br />
<br />
: Example configuration:<br />
::: {|<br />
<syntaxhighlight lang="text"> <br />
// First RouteIP is External (WAN) IP<br />
RouteIp 123.123.123.123<br />
// Second RouteIP is Internal (LAN) IP<br />
RouteIp 192.168.0.0<br />
<br />
// Uncomment the following line to use IPs from cohauth<br />
//AuthDBIP 1<br />
</syntaxhighlight><br />
|}<br />
<br />
== Setup TurnstileServer ==<br />
: Making the changes below will put your server into "production" mode. This will require things like mission_server.cfg to be created.<br />
: First make sure your turnstile_server.cfg is correct. Below you'll find an example.<br />
;: Example turnstile_server.cfg<br />
::: <syntaxhighlight lang="text"> DbServer LAN WAN 7000 ShardName ShardID ShardAuthID</syntaxhighlight> <br />
::: <syntaxhighlight lang="text"> DbServer 127.0.0.1 127.0.0.1 7000 Paragon 1 1</syntaxhighlight> <br />
;: Example mission_server.cfg<br />
::: <syntaxhighlight lang="text"> Shard NAME WAN SHARDID</syntaxhighlight> <br />
::: <syntaxhighlight lang="text"> Shard Paragon 127.0.0.1 1 </syntaxhighlight> <br />
: Next copy the "piggs" folder from your client to the server directory(C:\CoH\piggs)<br />
: At this point you should be able to run turnstileserver.exe.<br />
; As I mentioned earlier in the guide you'll likely run into new issues with these changes. Like needing mission_server.cfg, -noreserved on chatserver, and a few other minor edits.<br />
: Putting the server into production mode will also change the version to 2400.201208211101.1. Your clients will need to update their connect parameter.<br />
:: -patchdir score -patchversion 2400.201208211101.1 -auth VMIPGOESHERE -console</div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_loadBalanceDefault.cfg&diff=696I25 loadBalanceDefault.cfg2019-05-04T03:39:04Z<p>Methril: </p>
<hr />
<div><syntaxhighlight lang="text"><br />
// Load Balancing Default Configuration<br />
<br />
// The configuration values in this file control how the dbserver<br />
// tries to balance workload amongst the various host machines<br />
// made available to it through launcher connections.<br />
// <br />
// The dbserver uses these settings in conjunction with metrics<br />
// on host utilization and status supplied by the launchers to<br />
// make decisions on where to best launch server processes such<br />
// as mission maps and static zones.<br />
//<br />
// The load balancing settings presented here should reflect the<br />
// provisioning of the launcher host machine and its environment;<br />
// e.g., network capacity, cpu cores, available virtual memory, disk speed etc.<br />
//<br />
// The primary goal of the load balancing is to insure survivability<br />
// of the service and host stability. These settings, in conjunction with<br />
// servers.cfg settings, can be used to setup an occupancy limits on<br />
// host machine resources. When those limits are exceeded the service will <br />
// suspend using individual hosts and even enter a system wide overload<br />
// protection mode.<br />
//<br />
// The secondary goal is to provide adequate Quality of Service (QoS)<br />
// to the players by distributing load to make the service sufficiently<br />
// responsive. <br />
//<br />
// The Live environment consists of pool of host machines that are<br />
// shared by all the dbservers. Load balancing is more challenging<br />
// in this scenario as an individual dbserver is unaware of the<br />
// impact of the actions of the other dbservers until it receives<br />
// new status updates from mahcines in the host pool. <br />
// The quality of the status snapshot last received<br />
// on a particular host degrades as the number of dbservers sharing<br />
// that host increase and also during periods of high map launch rates.<br />
//<br />
// Thus, it is best for an individual dbserver working in this configuration<br />
// to treat its knowledge of host status as imperfect and only an approximation.<br />
// Load balancing strategies which employ some randomization can be used to<br />
// improve balancing in this situation.<br />
//<br />
// Note: the most important configuration values are listed first<br />
<br />
<br />
// A load balancing "mode" is set by selecting a balancing strategy and<br />
// an associated heuristic for the strategy to use if applicable.<br />
//<br />
// Supported Strategies:<br />
//<br />
// Sequential - balance by round robin assignment to the set of available launchers<br />
// Random - balance by randomly choosing amongst available launchers<br />
// RandomChoice - balance by randomly choosing a set of launchers and selecting the one with minimum heuristic<br />
// Search - balance by walking the set of launchers and selecting the one with minimum heuristic<br />
//<br />
// Supported Heuristics:<br />
//<br />
// Utilization - a measure of host machine resource utilization (i.e., cpu, etc)<br />
// TotalOccupancy - total hosted server count<br />
// TypeOccupancy - total hosted server count of a given type (e.g., static or mission)<br />
//<br />
// It is useful to customize the load balancing strategy employed<br />
// according to the type of role a new server process will play.<br />
// Mission maps and bases are inherently transient and usually service<br />
// a small number of players. On the other hand static map zone<br />
// instances can persist indefinitely and can grow to service<br />
// a large number of players.<br />
<br />
BalanceModeZone Sequential<br />
BalanceModeMission RandomChoice Utilization<br />
<br />
// Maximum number of maps we allow to start on a given machine. <br />
// Once this limit is reached the host will be suspended and no more<br />
// launches will be permitted.<br />
// The limit applies to the combined static and mission maps counts,<br />
// including maps that are starting up.<br />
// A value of zero disables this check.<br />
MaxMapservers 400<br />
<br />
// If the amount of virtual memory available to commit (in MB) on the host<br />
// drops below this value the host will be suspended from launching.<br />
// For system stability a generous amount of virtual memory should be available at all times.<br />
// A value of zero disables this check.<br />
MinAvailVirtualMemory 3000 // set to 0 for internal use, but production servers should set to something real like 3000<br />
<br />
// Maximum host utilization estimate allowed on a host before it is suspended<br />
// from launching any more server processes.<br />
// Individual launcher host utilization is calculated from host performance<br />
// metrics and influenced by settings which follow.<br />
// In general the goal is have a host load of 100 represent that the host<br />
// is humming along at capacity doing 100% useful work.<br />
// However, the host load can be such that it is actually overloaded and the<br />
// host is spending resources paging and servicing too many processes.<br />
// In this case the host utilization values will climb up over 100.<br />
// Host utilization should generally be in the 0 - 200% range.<br />
// See confluence documentation for more details on the calculation<br />
// of this value and guidelines for setting an appropriate maximum.<br />
// A value of 0 disables this form of capacity suspension.<br />
MaxHostUtilization 0<br />
<br />
// Defines a range of hard fault pages per second that is used to<br />
// map the current paging rate to a percentage which is then added<br />
// to host utilization. This updates utilization when the system<br />
// is busy paging instead of doing real work. Hard faults will<br />
// generally occur as new maps load data and will increase significantly<br />
// once physical memory is exhausted and there are active processes<br />
// that need to have pages swapped into their working sets to operate.<br />
PagingLoadLow 200<br />
PagingLoadHigh 30000<br />
<br />
// If the amount of available physical memory (in MB) on the host drops below<br />
// this threshold then the associated bias will be applied to the host utilization<br />
// calculation. For example, a bias of .1 implies a 10% increase in host utilization.<br />
MinAvailPhysicalMemory 1000<br />
MinAvailPhysicalMemoryBias 0.10<br />
<br />
// Amount of memory (in MB) we assume a static/zone map will take once it finishes starting<br />
StartingStaticMemBias 600<br />
<br />
// Amount of CPU (1 = 100%) we assume a static/zone map will take once it finishes starting<br />
StartingStaticCPUBias 0.30<br />
<br />
// Amount of memory (in MB) we assume a mission map will take once it finishes starting<br />
StartingMissionMemBias 150<br />
<br />
// Amount of CPU (1 = 100%) we assume a mission map will take once it finishes starting<br />
StartingMissionCPUBias 0.01<br />
<br />
// Amount of CPU (1 = 100%) to bias a server by if considering it for it's secondary role<br />
// If a secondary machine has this many more CPUs available (1.00 = 1 CPU at 100% usage)<br />
// then the secondary machine will be used instead<br />
// 0.5 is enough so that all of the initial city zones will start on these machines, and the<br />
// rest should balance nicely<br />
// @todo - deprecated, remove<br />
SecondaryRoleBias 0.5<br />
<br />
// How much CPU we add on for each static mapserver understanding that they will probably need it. In the past this was 10%. That's too high now<br />
StaticCPUBias 0<br />
<br />
// Amount of time (in seconds) a launcher is suspended if it has a large number of consecutive <br />
// crashes and/or delinks.<br />
// Launchers are also suspended if they stop responding, which gets cleared upon a DbServer restart<br />
TroubleSuspensionTime 1800<br />
<br />
// Server definitions<br />
// If loadBalanceShardSpecific.cfg is found, it's values override the above values<br />
// and it's servers get inserted *before* the ones in this file.<br />
// When finding the role of a server, the first server role definition that<br />
// has an IP range that matches will be used, so the defaults here will<br />
// only be used if all other roles don't match<br />
//<br />
// Example:<br />
//<br />
//ServerRole<br />
// // Host IP range<br />
// HostRange 0.0.0.0 255.255.255.255<br />
// // Or, host name:<br />
// Host qamain<br />
//<br />
// // Primary role, can be:<br />
// // Monitor - Just monitors performance, i.e. DbServer, ArenaServer, etc<br />
// // Mission - Just launches mission maps<br />
// // CityZone - Just launches static maps<br />
// // Mission CityZone - Launches any kind of map<br />
// PrimaryRole CityZone Mission<br />
//<br />
// // Secondary role, can be:<br />
// // None<br />
// // Mission - launches mission maps if all of the primary mission map servers are full<br />
// // CityZone - launches static maps if all of the primary static map servers are full<br />
// // Mission CityZone - launches maps only if the primary are full (might be useful on a QA DbServer?)<br />
// SecondaryRole None<br />
//<br />
// // Any number of Server Applications to run<br />
// // These are only valid if this is on a single host, not a range<br />
// Server<br />
// // Command to launch<br />
// Command RaidServer.exe<br />
// // Optional flag: specifies not to ever launch a new process, but just monitor<br />
// // existing ones (use this for DbServer.exe, ServerMonitor.exe)<br />
// MonitorOnly 1<br />
// End<br />
//End<br />
<br />
ServerRole<br />
HostRange 0.0.0.0 255.25.255.255<br />
PrimaryRole CityZone Mission<br />
SecondaryRole None<br />
End<br />
</syntaxhighlight></div>Methrilhttps://wiki.ourodev.com/index.php?title=I25_loadBalanceShardSpecific.cfg&diff=695I25 loadBalanceShardSpecific.cfg2019-05-04T03:38:22Z<p>Methril: </p>
<hr />
<div><syntaxhighlight lang="text"><br />
ServerRole<br />
Host 127.0.0.1<br />
PrimaryRole CityZone Mission<br />
SecondaryRole None<br />
Server<br />
Command AuctionServer.exe<br />
End<br />
Server<br />
Command StatServer.exe<br />
End<br />
Server<br />
Command ArenaServer.exe<br />
End<br />
Server<br />
Command "RaidServer.exe -db localhost"<br />
End<br />
Server<br />
Command "ChatServer.exe -noreserved"<br />
End<br />
Server<br />
Command "AccountServer.exe"<br />
End<br />
Server<br />
Command "MissionServer.exe"<br />
End<br />
Server<br />
Command "ServerMonitor.exe -connect"<br />
End<br />
Server<br />
Command TurnstileServer.exe<br />
End<br />
End<br />
<br />
</syntaxhighlight></div>Methrilhttps://wiki.ourodev.com/index.php?title=I24_Server_Setup&diff=693I24 Server Setup2019-05-04T02:56:59Z<p>Methril: /* Launch Client and Server */</p>
<hr />
<div>== Required Software ==<br />
* Visual Studio 2010 Professional or Visual Studio 2019 with the 2010 toolchain configured<br />
* SQL Server 2012 or later (Express is good enough for development)<br />
:* [https://www.microsoft.com/en-us/sql-server/sql-server-editions-express SQL Server 2017 Express Edition]<br />
* [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SQL Server Management(SSMS)]<br />
* [https://git-scm.com/download/win Git for Windows] or [https://desktop.github.com/ GitHub Desktop]<br />
<br />
== Install SQL Server 2017 Express ==<br />
: You can install SQL Server pretty much on the default settings.<br />
:: Select Basic under installation type:<br />
::: [[File:SQL Server Install 2017 Express.png|thumb|none]]<br />
:: Agree to the EULA if you want to use SQL Server.<br />
::: [[File:SQL Server Install 2017 Express - 2.png|thumb|none]]<br />
:: Tell the server where to install files. I changed this for ease on my system.<br />
::: [[File:SQL Server Install 2017 Express - 3.png|thumb|none]]<br />
:: It should begin installing and eventually you should see "Install has completed successfully". Click close.<br />
::: [[File:SQL Server Install 2017 Express - 4.png|thumb|none]]<br />
<br />
== Install SQL Server Management(SSMS) ==<br />
: You can install SQL Server Management on default settings.<br />
:: Select the location you'd like to install SSMS to. The default is fine.<br />
::: [[File:SSMS Install - 1.png|thumb|none]]<br />
:: It will take awhile to install and you'll see a little progress bar letting you know whats going on<br />
::: [[File:SSMS Install - 2.png|thumb|none]]<br />
:: Eventually it will ask you to reboot the system. Might as well as do that now.<br />
::: [[File:SSMS Install - 3.png|thumb|none]]<br />
<br />
== Configure MSBuild Environmental Variable ==<br />
: Click the start button and type "environmental variable". It should be the first entry saying "edit environmental variables for your account"<br />
:: Click "Environment Variables" at the bottom of the new window.<br />
::: [[File:Enviro-Variable-1.png|thumb|none]]<br />
:: Click "New" under "User variables for YOURUSERNAME"<br />
::: [[File:Enviro-Variable-2.png|thumb|none]]<br />
:: Click "New" on the "Edit environmental variable" window and add the location to your MSBuild.<br />
::: For me MSBuild was location: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin<br />
::: [[File:Enviro-Variable-3.png|thumb|none]]<br />
:: Click Ok on both windows to close them out.<br />
: Hit the start button and type "CMD". Command Prompt should be the first thing listed.<br />
: Type "MSBuild" into the command prompt and you should receive an error letting you know its setup.<br />
:: [[File:Enviro-Variable-4.png|thumb|none]]<br />
<br />
<br />
== Install GitHub Desktop and Acquire Source ==<br />
: You need to download and install [https://desktop.github.com/ GitHub Desktop].<br />
: Open GitHub Desktop, Select File, and Clone a Repository.<br />
:: Select the URL tab, enter "https://git.ourodev.com/CoX/Source.git" into the first blank and a path where to store the source locally such as "C:\GitHub\CoX\Source".<br />
::: [[File:GitHub Desktop CoX Source.png|thumb|none]]<br />
: After the download finishes you can close GitHub Desktop for now.<br />
<br />
== Build City of Heroes from Source ==<br />
: Start a powershell prompt as administrator<br />
: Enter "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine" into the terminal and type "A" to auto accept all.<br />
:: [[File:CoX-Build-1.png|thumb|none]]<br />
: Naviate to "C:\GitHub\CoX\Source\MasterSolution" and run build.ps1<br />
:: [[File:CoX-Build-2.png|thumb|none]]<br />
: Begin building City of Heroes by running ".\build.ps1"<br />
:: [[File:CoX-Build-3.png|thumb|none]]<br />
: Eventually the build will finish(On average takes at least 40 minutes to build)<br />
:: [[File:CoX-Build-4.png|thumb|none]]<br />
<br />
== Launch Client and Server ==<br />
: Navigate to "C:\GitHub\CoX\Source\bin" and inside you should see "CityofHeroes.exe".<br />
:: Right click on it and towards you bottom you'll see "Create Shortcut".<br />
: A new shortcut should have appeared. Right click on it and go to properties.<br />
::: [[File:CoX-Build-5.png|thumb|none]]<br />
:: Add the follow parameter to your shortcut's target.<br />
::: <syntaxhighlight lang="text"> -db 127.0.0.1 -console -project "Ouroboros" </syntaxhighlight><br />
::: [[File:CoX-Build-6.png|thumb|none]]<br />
: Start DBServer.exe and then Launcher.exe. This can be done simply by double clicking on them.<br />
:: Once these are both fully booted use your new shortcut to connect to the local server.<br />
; You could also use a .bat file to start everything up and in the correct order.<br />
:: The below is an example bat file to launch the DBServer, Launcher, and finally the Client.<br />
::: {|<br />
<syntaxhighlight lang="bat"> <br />
@echo off<br />
echo Starting DB Server<br />
START C:\GitHub\CoX\Source\bin\dbserver.exe<br />
TIMEOUT 2<br />
echo Starting Launcher Server<br />
START C:\GitHub\CoX\Source\bin\launcher.exe<br />
TIMEOUT 2<br />
echo Starting Chat Server<br />
START C:\GitHub\CoX\Source\bin\ChatServer.exe -noreserved<br />
TIMEOUT 2<br />
echo Waiting for user input to start City of Heroes. Hit SPACE to continue.<br />
pause<br />
echo Starting City of Heroes Client<br />
START C:\GitHub\CoX\Source\bin\CityOfHeroes.exe -db 127.0.0.1 -console -project "Ouroboros"<br />
echo Everything should be launched! Go enjoy COH.<br />
</syntaxhighlight> <br />
|}<br />
: After the client starts up you'll be presented with a Login and Password screen. As auth is currently turned off you can enter anything you want in both.<br />
: There should only be one server listed. Go ahead and pick it then make a new character to test with!</div>Methrilhttps://wiki.ourodev.com/index.php?title=I24_Server_Setup&diff=692I24 Server Setup2019-05-04T02:02:50Z<p>Methril: /* Launch Client and Server */</p>
<hr />
<div>== Required Software ==<br />
* Visual Studio 2010 Professional or Visual Studio 2019 with the 2010 toolchain configured<br />
* SQL Server 2012 or later (Express is good enough for development)<br />
:* [https://www.microsoft.com/en-us/sql-server/sql-server-editions-express SQL Server 2017 Express Edition]<br />
* [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SQL Server Management(SSMS)]<br />
* [https://git-scm.com/download/win Git for Windows] or [https://desktop.github.com/ GitHub Desktop]<br />
<br />
== Install SQL Server 2017 Express ==<br />
: You can install SQL Server pretty much on the default settings.<br />
:: Select Basic under installation type:<br />
::: [[File:SQL Server Install 2017 Express.png|thumb|none]]<br />
:: Agree to the EULA if you want to use SQL Server.<br />
::: [[File:SQL Server Install 2017 Express - 2.png|thumb|none]]<br />
:: Tell the server where to install files. I changed this for ease on my system.<br />
::: [[File:SQL Server Install 2017 Express - 3.png|thumb|none]]<br />
:: It should begin installing and eventually you should see "Install has completed successfully". Click close.<br />
::: [[File:SQL Server Install 2017 Express - 4.png|thumb|none]]<br />
<br />
== Install SQL Server Management(SSMS) ==<br />
: You can install SQL Server Management on default settings.<br />
:: Select the location you'd like to install SSMS to. The default is fine.<br />
::: [[File:SSMS Install - 1.png|thumb|none]]<br />
:: It will take awhile to install and you'll see a little progress bar letting you know whats going on<br />
::: [[File:SSMS Install - 2.png|thumb|none]]<br />
:: Eventually it will ask you to reboot the system. Might as well as do that now.<br />
::: [[File:SSMS Install - 3.png|thumb|none]]<br />
<br />
== Configure MSBuild Environmental Variable ==<br />
: Click the start button and type "environmental variable". It should be the first entry saying "edit environmental variables for your account"<br />
:: Click "Environment Variables" at the bottom of the new window.<br />
::: [[File:Enviro-Variable-1.png|thumb|none]]<br />
:: Click "New" under "User variables for YOURUSERNAME"<br />
::: [[File:Enviro-Variable-2.png|thumb|none]]<br />
:: Click "New" on the "Edit environmental variable" window and add the location to your MSBuild.<br />
::: For me MSBuild was location: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin<br />
::: [[File:Enviro-Variable-3.png|thumb|none]]<br />
:: Click Ok on both windows to close them out.<br />
: Hit the start button and type "CMD". Command Prompt should be the first thing listed.<br />
: Type "MSBuild" into the command prompt and you should receive an error letting you know its setup.<br />
:: [[File:Enviro-Variable-4.png|thumb|none]]<br />
<br />
<br />
== Install GitHub Desktop and Acquire Source ==<br />
: You need to download and install [https://desktop.github.com/ GitHub Desktop].<br />
: Open GitHub Desktop, Select File, and Clone a Repository.<br />
:: Select the URL tab, enter "https://git.ourodev.com/CoX/Source.git" into the first blank and a path where to store the source locally such as "C:\GitHub\CoX\Source".<br />
::: [[File:GitHub Desktop CoX Source.png|thumb|none]]<br />
: After the download finishes you can close GitHub Desktop for now.<br />
<br />
== Build City of Heroes from Source ==<br />
: Start a powershell prompt as administrator<br />
: Enter "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine" into the terminal and type "A" to auto accept all.<br />
:: [[File:CoX-Build-1.png|thumb|none]]<br />
: Naviate to "C:\GitHub\CoX\Source\MasterSolution" and run build.ps1<br />
:: [[File:CoX-Build-2.png|thumb|none]]<br />
: Begin building City of Heroes by running ".\build.ps1"<br />
:: [[File:CoX-Build-3.png|thumb|none]]<br />
: Eventually the build will finish(On average takes at least 40 minutes to build)<br />
:: [[File:CoX-Build-4.png|thumb|none]]<br />
<br />
== Launch Client and Server ==<br />
: Navigate to "C:\GitHub\CoX\Source\bin" and inside you should see "CityofHeroes.exe".<br />
:: Right click on it and towards you bottom you'll see "Create Shortcut".<br />
: A new shortcut should have appeared. Right click on it and go to properties.<br />
::: [[File:CoX-Build-5.png|thumb|none]]<br />
:: Add the follow parameter to your shortcut's target.<br />
::: <syntaxhighlight lang="text"> -db 127.0.0.1 -console -project "Ouroboros" </syntaxhighlight><br />
::: [[File:CoX-Build-6.png|thumb|none]]<br />
: Start DBServer.exe and then Launcher.exe. This can be done simply by double clicking on them.<br />
:: Once these are both fully booted use your new shortcut to connect to the local server.<br />
; You could also use a .bat file to start everything up and in the correct order.<br />
:: The below is an example bat file to launch the DBServer, Launcher, and finally the Client.<br />
::: {|<br />
<syntaxhighlight lang="bat"> <br />
@echo off<br />
echo Starting DB Server<br />
START C:\GitHub\CoX\Source\bin\dbserver.exe<br />
TIMEOUT 2<br />
echo Starting Launcher Server<br />
START C:\GitHub\CoX\Source\bin\launcher64.exe -noversioncheck<br />
TIMEOUT 2<br />
echo Starting Chat Server<br />
START C:\GitHub\CoX\Source\bin\ChatServer64.exe -noreserved<br />
TIMEOUT 2<br />
echo Waiting for user input to start City of Heroes. Hit SPACE to continue.<br />
pause<br />
echo Starting City of Heroes Client<br />
START C:\GitHub\CoX\Source\bin\CityOfHeroes.exe -db 127.0.0.1 -console -project "Ouroboros"<br />
echo Everything should be launched! Go enjoy COH.<br />
</syntaxhighlight> <br />
|}<br />
: After the client starts up you'll be presented with a Login and Password screen. As auth is currently turned off you can enter anything you want in both.<br />
: There should only be one server listed. Go ahead and pick it then make a new character to test with!</div>Methril