ecd8eacb1f
The previous seed pinned auth/realmlist to production values (`hsrwow.net` + RealmServerPort 47497), which silently bricked every fresh local install: after auth login the realm hand-off pointed clients at our public host, where their local credentials don't exist, and they were dropped within a frame. Seed now matches stock AzerothCore for solo dev: - realmlist.address = 127.0.0.1 (was hsrwow.net) - RealmServerPort = 3724 (was 47497) Production owners apply both overrides post-dbimport via a one-shot SQL UPDATE + an authserver.conf edit. Documented end-to-end in contrib/fractured-dev-extras/BUILD-NATIVE.md (new "Production deployment overrides" section) and the disconnect-after-login symptom is called out in CLIENT-PATCHES.md. Co-authored-by: Cursor <cursoragent@cursor.com>
77 lines
3.5 KiB
SQL
77 lines
3.5 KiB
SQL
-- MySQL dump 10.13 Distrib 8.4.3, for Win64 (x86_64)
|
|
--
|
|
-- Host: localhost Database: acore_auth
|
|
-- ------------------------------------------------------
|
|
-- Server version 8.4.3
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
/*!50503 SET NAMES utf8mb4 */;
|
|
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
|
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
|
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
|
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
|
|
|
--
|
|
-- Table structure for table `realmlist`
|
|
--
|
|
|
|
DROP TABLE IF EXISTS `realmlist`;
|
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
|
/*!50503 SET character_set_client = utf8mb4 */;
|
|
CREATE TABLE `realmlist` (
|
|
`id` int unsigned NOT NULL AUTO_INCREMENT,
|
|
`name` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
|
|
`address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1',
|
|
`localAddress` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '127.0.0.1',
|
|
`localSubnetMask` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '255.255.255.0',
|
|
`port` smallint unsigned NOT NULL DEFAULT '8085',
|
|
`icon` tinyint unsigned NOT NULL DEFAULT '0',
|
|
`flag` tinyint unsigned NOT NULL DEFAULT '2',
|
|
`timezone` tinyint unsigned NOT NULL DEFAULT '0',
|
|
`allowedSecurityLevel` tinyint unsigned NOT NULL DEFAULT '0',
|
|
`population` float NOT NULL DEFAULT '0',
|
|
`gamebuild` int unsigned NOT NULL DEFAULT '12340',
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `idx_name` (`name`),
|
|
CONSTRAINT `realmlist_chk_1` CHECK ((`population` >= 0))
|
|
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Realm System';
|
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
|
|
|
--
|
|
-- Dumping data for table `realmlist`
|
|
--
|
|
-- Defaults are tuned for fresh local installs: `address` is what the auth
|
|
-- server hands clients after login as the WORLD server endpoint. Stock
|
|
-- 127.0.0.1 means "the same box auth is running on", so a fresh
|
|
-- `git clone` -> `docker compose up` works without any post-install
|
|
-- tweaks for a developer hosting on their own machine.
|
|
--
|
|
-- Production deployments must override `address` after first dbimport,
|
|
-- e.g.:
|
|
-- UPDATE realmlist SET address = 'your.public.host', port = 8085 WHERE id = 1;
|
|
-- See contrib/fractured-dev-extras/BUILD-NATIVE.md for the full deploy
|
|
-- checklist (auth/world ports, firewall, public hostnames).
|
|
--
|
|
-- `port` is the WORLD server port (must match WorldServerPort in
|
|
-- worldserver.conf). The auth-server LISTEN port is separately configured
|
|
-- via RealmServerPort in authserver.conf (stock default 3724).
|
|
|
|
LOCK TABLES `realmlist` WRITE;
|
|
/*!40000 ALTER TABLE `realmlist` DISABLE KEYS */;
|
|
INSERT INTO `realmlist` VALUES
|
|
(1,'Fractured WoW','127.0.0.1','127.0.0.1','255.255.255.0',8085,0,0,1,0,0,12340);
|
|
/*!40000 ALTER TABLE `realmlist` ENABLE KEYS */;
|
|
UNLOCK TABLES;
|
|
|
|
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
|
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
|
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
|
|
|
-- Dump completed on 2026-03-15 20:40:03
|