User Tools

Site Tools


servers:windows:games:mangos_zero_vanilla_localhost

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
servers:windows:games:mangos_zero_vanilla_localhost [2025/10/08 22:22] Sean Rhoneservers:windows:games:mangos_zero_vanilla_localhost [2025/10/13 01:02] (current) Sean Rhone
Line 96: Line 96:
 ===== Compile ===== ===== Compile =====
  
-  * 3 minutes i5-8400H ((2025/10/08: ''00:02:49.86''))+  * 2-3 minutes i5-8400H ((2025/10/08: ''00:02:38.58''))
  
 <code>"%ProgramFiles%\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\MaNGOS-Zero\build\ALL_BUILD.vcxproj" -target:"Rebuild" -property:"Configuration=Release"</code> <code>"%ProgramFiles%\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.exe" "%UserProfile%\Projects\MaNGOS-Zero\build\ALL_BUILD.vcxproj" -target:"Rebuild" -property:"Configuration=Release"</code>
Line 130: Line 130:
 ===== MMaps ===== ===== MMaps =====
  
-  * :!: 20 minutes i5-8400H ((2025/10/08: ''1132 seconds''))+  * :!: ~10 minutes i5-8400H ((2025/10/08: ''746 seconds''))
   * ''--threads %NUMBER_OF_PROCESSORS%''   * ''--threads %NUMBER_OF_PROCESSORS%''
  
Line 149: Line 149:
   * https://github.com/mangosone/database/commits/master/   * https://github.com/mangosone/database/commits/master/
  
-  "%ProgramFiles%\Git\bin\git.exe" clone --branch "master" --depth "1" --recurse-submodules "https://github.com/mangosone/database.git" "%UserProfile%\Projects\MaNGOS-Zero\database"+  "%ProgramFiles%\Git\bin\git.exe" clone --branch "master" --depth "1" --recurse-submodules "https://github.com/mangoszero/database.git" "%UserProfile%\Projects\MaNGOS-Zero\database"
  
 ==== Base Imports ==== ==== Base Imports ====
Line 163: Line 163:
   "%ProgramFiles%\MariaDB 12.1\bin\mariadb.exe" -u "root" -p "mangos0" < "%UserProfile%\Projects\MaNGOS-Zero\database\World\Setup\mangosdLoadDB.sql"   "%ProgramFiles%\MariaDB 12.1\bin\mariadb.exe" -u "root" -p "mangos0" < "%UserProfile%\Projects\MaNGOS-Zero\database\World\Setup\mangosdLoadDB.sql"
  
-  COPY /B "%UserProfile%\Projects\MaNGOS-Zero\database\World\Setup\FullDB\"*".sql" "%UserProfile%\Projects\MaNGOS-Zero\server\world.sql"+  MKDIR "%UserProfile%\Projects\MaNGOS-Zero\server"COPY /B "%UserProfile%\Projects\MaNGOS-Zero\database\World\Setup\FullDB\"*".sql" "%UserProfile%\Projects\MaNGOS-Zero\server\world.sql"
  
   "%ProgramFiles%\MariaDB 12.1\bin\mariadb.exe" -u "root" -p "mangos0" < "%UserProfile%\Projects\MaNGOS-Zero\server\world.sql"   "%ProgramFiles%\MariaDB 12.1\bin\mariadb.exe" -u "root" -p "mangos0" < "%UserProfile%\Projects\MaNGOS-Zero\server\world.sql"
Line 192: Line 192:
   * [[https://github.com/TrinityCore/TrinityCore/commits/3.3.5/src/server/authserver/authserver.conf.dist|New commits check]]   * [[https://github.com/TrinityCore/TrinityCore/commits/3.3.5/src/server/authserver/authserver.conf.dist|New commits check]]
   * [[https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/authserver/authserver.conf.dist|Upstream authserver.conf.dist]] ([[https://raw.githubusercontent.com/TrinityCore/TrinityCore/3.3.5/src/server/authserver/authserver.conf.dist|raw]])   * [[https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/authserver/authserver.conf.dist|Upstream authserver.conf.dist]] ([[https://raw.githubusercontent.com/TrinityCore/TrinityCore/3.3.5/src/server/authserver/authserver.conf.dist|raw]])
 +  * https://github.com/mangos/realmd/blob/master/realmd.conf.dist.in
  
   MKDIR "%UserProfile%\Projects\MaNGOS-Zero\conf"   MKDIR "%UserProfile%\Projects\MaNGOS-Zero\conf"
Line 205: Line 206:
 LogsDir = "" LogsDir = ""
 PidFile = "" PidFile = ""
 +
 MaxPingTime = 30 MaxPingTime = 30
 RealmServerPort = 3724 RealmServerPort = 3724
 BindIP = "0.0.0.0" BindIP = "0.0.0.0"
 +
 LogLevel = 0 LogLevel = 0
 LogTime = 0 LogTime = 0
- 
-#LogFile = "realm-list.log" 
 LogFile = "" LogFile = ""
- 
 LogTimestamp = 1 LogTimestamp = 1
 LogFileLevel = 3 LogFileLevel = 3
 LogColors = "13 7 11 9" LogColors = "13 7 11 9"
 +
 UseProcessors = 0 UseProcessors = 0
-ProcessPriority = 0+ProcessPriority = 1
 WaitAtStartupError = 0 WaitAtStartupError = 0
 RealmsStateUpdateDelay = 20 RealmsStateUpdateDelay = 20
 +
 WrongPass.MaxCount = 3 WrongPass.MaxCount = 3
 WrongPass.BanTime = 0 WrongPass.BanTime = 0
Line 232: Line 234:
   * [[https://github.com/TrinityCore/TrinityCore/commits/3.3.5/src/server/worldserver/worldserver.conf.dist|New commits check]]   * [[https://github.com/TrinityCore/TrinityCore/commits/3.3.5/src/server/worldserver/worldserver.conf.dist|New commits check]]
   * [[https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/worldserver/worldserver.conf.dist|Upstream worldserver.conf.dist]] ([[https://raw.githubusercontent.com/TrinityCore/TrinityCore/3.3.5/src/server/worldserver/worldserver.conf.dist|raw]])   * [[https://github.com/TrinityCore/TrinityCore/blob/3.3.5/src/server/worldserver/worldserver.conf.dist|Upstream worldserver.conf.dist]] ([[https://raw.githubusercontent.com/TrinityCore/TrinityCore/3.3.5/src/server/worldserver/worldserver.conf.dist|raw]])
 +  * https://github.com/mangoszero/server/blob/master/src/mangosd/mangosd.conf.dist.in
  
   MKDIR "%UserProfile%\Projects\MaNGOS-Zero\conf"   MKDIR "%UserProfile%\Projects\MaNGOS-Zero\conf"
Line 249: Line 252:
 CharacterDatabaseInfo = ".;3306;character0;x;character0" CharacterDatabaseInfo = ".;3306;character0;x;character0"
  
-LoginDatabaseConnections = 1 +LoginDatabaseConnections = 3 
-WorldDatabaseConnections = 1 +WorldDatabaseConnections = 3 
-CharacterDatabaseConnections = 1+CharacterDatabaseConnections = 3
 MaxPingTime = 5 MaxPingTime = 5
 WorldServerPort = 8085 WorldServerPort = 8085
 BindIP = "0.0.0.0" BindIP = "0.0.0.0"
 UseProcessors = 0 UseProcessors = 0
-ProcessPriority = 0+ProcessPriority = 1
 Compression = 1 Compression = 1
 PlayerLimit = 3 PlayerLimit = 3
Line 282: Line 285:
 AddonChannel = 1 AddonChannel = 1
 CleanCharacterDB = 1 CleanCharacterDB = 1
 +MaxWhoListReturns = 49
  
 LogSQL = 0 LogSQL = 0
Line 287: Line 291:
 LogLevel = 0 LogLevel = 0
 LogTime = 0 LogTime = 0
- 
-#LogFile = "world-server.log" 
 LogFile = "" LogFile = ""
- 
 LogTimestamp = 1 LogTimestamp = 1
 LogFileLevel = 3 LogFileLevel = 3
Line 312: Line 313:
 WorldLogFile = "" WorldLogFile = ""
 WorldLogTimestamp = 1 WorldLogTimestamp = 1
- 
-#DBErrorLogFile = "world-database.log" 
 DBErrorLogFile = "" DBErrorLogFile = ""
- 
 ElunaErrorLogFile = "" ElunaErrorLogFile = ""
 EventAIErrorLogFile = "" EventAIErrorLogFile = ""
Line 330: Line 328:
 SD3ErrorLogFile = "" SD3ErrorLogFile = ""
  
-GameType = 6 +GameType = 0 
-RealmZone = 8 +RealmZone = 1
-Expansion = 1+
 DBC.Locale = 0 DBC.Locale = 0
 DeclinedNames = 0 DeclinedNames = 0
Line 345: Line 342:
 CharactersPerRealm = 10 CharactersPerRealm = 10
 SkipCinematics = 0 SkipCinematics = 0
-MaxPlayerLevel = 70+MaxPlayerLevel = 60
 StartPlayerLevel = 1 StartPlayerLevel = 1
 StartPlayerMoney = 0 StartPlayerMoney = 0
Line 352: Line 349:
 MinHonorKills = 15 MinHonorKills = 15
 MaintenanceDay = 3 MaintenanceDay = 3
- +InstantLogout = 
-InstantLogout = 0+MountCost = 100000 
 +TrainMountCost = 900000 
 +MinTrainMountLevel = 40 
 +EpicMountCost = 1000000 
 +TrainEpicMountCost = 9000000 
 +MinTrainEpicMountLevel = 60
 AllFlightPaths = 0 AllFlightPaths = 0
 InstantFlightPaths = 0 InstantFlightPaths = 0
Line 390: Line 392:
 Event.Announce = 0 Event.Announce = 0
 BeepAtStart = 1 BeepAtStart = 1
-ShowProgressBars = 1+ShowProgressBars = 0
 WaitAtStartupError = 0 WaitAtStartupError = 0
 PlayerCommands = 0 PlayerCommands = 0
Line 472: Line 474:
 Visibility.Distance.Continents = 90 Visibility.Distance.Continents = 90
 Visibility.Distance.Instances = 120 Visibility.Distance.Instances = 120
-Visibility.Distance.BGArenas = 180 
 Visibility.Distance.InFlight = 100 Visibility.Distance.InFlight = 100
 Visibility.Distance.Grey.Unit = 1 Visibility.Distance.Grey.Unit = 1
Line 542: Line 543:
 Death.CorpseReclaimDelay.PvE = 1 Death.CorpseReclaimDelay.PvE = 1
 Death.Bones.World = 1 Death.Bones.World = 1
-Death.Bones.BattlegroundOrArena = 1 
 Death.Ghost.RunSpeed.World = 1.0 Death.Ghost.RunSpeed.World = 1.0
 Death.Ghost.RunSpeed.Battleground = 1.0 Death.Ghost.RunSpeed.Battleground = 1.0
Line 552: Line 552:
 Battleground.InvitationType = 0 Battleground.InvitationType = 0
 BattleGround.PrematureFinishTimer = 300000 BattleGround.PrematureFinishTimer = 300000
-BattleGround.PremadeGroupWaitForMatch = 1800000 +BattleGround.PremadeGroupWaitForMatch = 0
- +
-Arena.MaxRatingDifference = 0 +
-Arena.RatingDiscardTimer = 600000 +
-Arena.AutoDistributePoints = 0 +
-Arena.AutoDistributeInterval = 7 +
-Arena.QueueAnnouncer.Join = 0 +
-Arena.QueueAnnouncer.Exit = 0 +
-Arena.ArenaSeason.ID = 1 +
-Arena.ArenaSeasonPrevious.ID = 0 +
-Arena.StartRating = -1 +
-Arena.StartPersonalRating = -1+
  
 OutdoorPvp.SIEnabled = 1 OutdoorPvp.SIEnabled = 1
 OutdoorPvp.EPEnabled = 1 OutdoorPvp.EPEnabled = 1
-OutdoorPvp.HPEnabled = 1 
-OutdoorPvp.ZMEnabled = 1 
-OutdoorPvp.TFEnabled = 1 
-OutdoorPvp.NAEnabled = 1 
  
 Network.Threads = 3 Network.Threads = 3
Line 624: Line 609:
   * Only ''localhost'' client connections allowed   * Only ''localhost'' client connections allowed
  
-  "netsh.exe" advfirewall firewall add rule name="MaNGOS One localhost (realmd)" dir="in" action="block" profile="any" program="%UserProfile%\Projects\MaNGOS-Zero\server\realmd.exe" protocol="tcp" localport="3724" & "netsh.exe" advfirewall firewall add rule name="MaNGOS One localhost (mangosd)" dir="in" action="block" profile="any" program="%UserProfile%\Projects\MaNGOS-Zero\server\mangosd.exe" protocol="tcp" localport="8085"+  "netsh.exe" advfirewall firewall add rule name="MaNGOS Zero localhost (realmd)" dir="in" action="block" profile="any" program="%UserProfile%\Projects\MaNGOS-Zero\server\realmd.exe" protocol="tcp" localport="3724" & "netsh.exe" advfirewall firewall add rule name="MaNGOS Zero localhost (mangosd)" dir="in" action="block" profile="any" program="%UserProfile%\Projects\MaNGOS-Zero\server\mangosd.exe" protocol="tcp" localport="8085"
  
 ===== Delete Rules ===== ===== Delete Rules =====
Line 630: Line 615:
 **** ****
  
-  "netsh.exe" advfirewall firewall delete rule name="MaNGOS One localhost (realmd)" & "netsh.exe" advfirewall firewall delete rule name="MaNGOS One localhost (mangosd)"+  "netsh.exe" advfirewall firewall delete rule name="MaNGOS Zero localhost (realmd)" & "netsh.exe" advfirewall firewall delete rule name="MaNGOS Zero localhost (mangosd)"
  
 ===== Allow LAN ===== ===== Allow LAN =====
Line 636: Line 621:
 **** ****
  
-  "netsh.exe" advfirewall firewall add rule name="MaNGOS One localhost (realmd)" dir="in" action="allow" profile="any" program="%UserProfile%\Projects\MaNGOS-Zero\server\realmd.exe" protocol="tcp" localport="3724" remoteip="localsubnet" & "netsh.exe" advfirewall firewall add rule name="MaNGOS One localhost (mangosd)" dir="in" action="allow" profile="any" program="%UserProfile%\Projects\MaNGOS-Zero\server\mangosd.exe" protocol="tcp" localport="8085" remoteip="localsubnet"+  "netsh.exe" advfirewall firewall add rule name="MaNGOS Zero localhost (realmd)" dir="in" action="allow" profile="any" program="%UserProfile%\Projects\MaNGOS-Zero\server\realmd.exe" protocol="tcp" localport="3724" remoteip="localsubnet" & "netsh.exe" advfirewall firewall add rule name="MaNGOS Zero localhost (mangosd)" dir="in" action="allow" profile="any" program="%UserProfile%\Projects\MaNGOS-Zero\server\mangosd.exe" protocol="tcp" localport="8085" remoteip="localsubnet"
  
 ====== Scripts ====== ====== Scripts ======
Line 649: Line 634:
 @echo off @echo off
  
-TITLE MaNGOS One Launcher+TITLE MaNGOS Zero Launcher
  
 START "MariaDB Server" "%ProgramFiles%\MariaDB 12.1\bin\mariadbd.exe" --defaults-file="%ProgramFiles%\MariaDB 12.1\data\my.ini" START "MariaDB Server" "%ProgramFiles%\MariaDB 12.1\bin\mariadbd.exe" --defaults-file="%ProgramFiles%\MariaDB 12.1\data\my.ini"
Line 657: Line 642:
  
 CD "%UserProfile%\Projects\MaNGOS-Zero\server" CD "%UserProfile%\Projects\MaNGOS-Zero\server"
-START "WoW 2.4.[realmd]" "%UserProfile%\Projects\MaNGOS-Zero\server\realmd.exe" -c "%UserProfile%\Projects\MaNGOS-Zero\conf\realmd-localhost.conf" +START "WoW 1.12.[realmd]" "%UserProfile%\Projects\MaNGOS-Zero\server\realmd.exe" -c "%UserProfile%\Projects\MaNGOS-Zero\conf\realmd-localhost.conf" 
-START "WoW 2.4.[mangosd]" "%UserProfile%\Projects\MaNGOS-Zero\server\mangosd.exe" -c "%UserProfile%\Projects\MaNGOS-Zero\conf\mangosd-localhost.conf"+START "WoW 1.12.[mangosd]" "%UserProfile%\Projects\MaNGOS-Zero\server\mangosd.exe" -c "%UserProfile%\Projects\MaNGOS-Zero\conf\mangosd-localhost.conf"
  
 :: End</code> :: End</code>
Line 749: Line 734:
  
 ====== Management ====== ====== Management ======
 +
 +===== Realm =====
 +
 +  * https://www.getmangos.eu/wiki/referenceinfo/dbinfo/realmdb/realmlist-r13/
 +
 +==== localhost ====
 +
 +  * Only ''localhost'' client connections allowed
 +
 +  "%ProgramFiles%\MariaDB 12.1\bin\mariadb.exe" -u "root" -p --execute="INSERT INTO `realmd`.`realmlist` (`id`, `name`, `address`, `icon`, `timezone`, `realmbuilds`) VALUES ('1', 'localhost', '127.0.0.1', '0', '0', '5875');"
 +
 +==== LAN ====
 +
 +****
 +
 +  "%ProgramFiles%\MariaDB 12.1\bin\mariadb.exe" -u "root" -p --execute="INSERT INTO `realmd`.`realmlist` (`id`, `name`, `address`, `icon`, `timezone`, `realmbuilds`) VALUES ('1', 'localhost', '192.168.1.150', '0', '0', '5875');"
  
 ===== Servers ===== ===== Servers =====
Line 767: Line 768:
   * :!: Change ''x'' to password ((can be a single character for easy log-in))   * :!: Change ''x'' to password ((can be a single character for easy log-in))
  
-  account create Espionage724 x 1+  account create Espionage724 x
  
   account set gmlevel Espionage724 3   account set gmlevel Espionage724 3
Line 781: Line 782:
   server shutdown 1   server shutdown 1
  
-===== Realm =====+====== Extras ======
  
-  * https://www.getmangos.eu/wiki/referenceinfo/dbinfo/realmdb/realmlist-r13/ +===== Items =====
-  * Only ''localhost'' client connections allowed+
  
-  "%ProgramFiles%\MariaDB 12.1\bin\mariadb.exe" -u "root" -p --execute="INSERT INTO `realmd`.`realmlist` (`id`, `name`, `icon`, `timezone`, `realmbuilds`) VALUES ('1', 'localhost', '6', '8', '8086');"+==== Northshire Gift Voucher ====
  
-==== Allow LAN ====+  * https://www.wowhead.com/classic/item=14646/northshire-gift-voucher 
 +  * https://www.wowhead.com/wotlk/item=13584/diablo-stone 
 +  * Gives Diablo Stone for Mini Diablo pet
  
-****+  .additem "14646"
  
-  "%ProgramFiles%\MariaDB 12.1\bin\mariadb.exe" -u "root" -p --execute="UPDATE `realmd`.`realmlist` SET `address` '192.168.1.150' WHERE `id` '1';"+==== GM Robes ====
  
-=== Back to localhost ===+  .additem "2586" 
 + 
 +  .additem "11508" 
 + 
 +  .additem "12064" 
 + 
 +===== Teleports =====
  
 **** ****
  
-  "%ProgramFiles%\MariaDB 12.1\bin\mariadb.exe-u "root" -p --execute="UPDATE `realmd`.`realmlist` SET `address` = '127.0.0.1' WHERE `id` = '1';"+  .tele "GMIsland"
  
 ====== Character Data ====== ====== Character Data ======
Line 835: Line 843:
  
   "explorer.exe" "%UserProfile%\Projects\MaNGOS-Zero\server"   "explorer.exe" "%UserProfile%\Projects\MaNGOS-Zero\server"
- 
-===== Default Conf Refs ===== 
- 
-  "notepad.exe" "%UserProfile%\Projects\MaNGOS-Zero\src\src\realmd\realmd.conf.dist.in" 
- 
-  "notepad.exe" "%UserProfile%\Projects\MaNGOS-Zero\src\src\mangosd\mangosd.conf.dist.in" 
  
 ====== TODOs ====== ====== TODOs ======
  
   * :?: "Rabbit Day" ([[https://www.getmangos.eu/forums/topic/11121-what-is-rabbit-day/|post]])   * :?: "Rabbit Day" ([[https://www.getmangos.eu/forums/topic/11121-what-is-rabbit-day/|post]])
-  * 2025/10/08: Sometimes first-login from client is an instant-disconnect ((not game/realm type, not loopback/127.0.0.1)) 
   * Figure out if Eluna LUA scripts provide scripts to expand/fix existing content (like ScriptDev), or only for custom/new scripts   * Figure out if Eluna LUA scripts provide scripts to expand/fix existing content (like ScriptDev), or only for custom/new scripts
  
/srv/www/wiki/data/attic/servers/windows/games/mangos_zero_vanilla_localhost.1759976525.txt.gz · Last modified: by Sean Rhone