更新最新框架

This commit is contained in:
Bob.Song
2025-11-11 17:43:11 +08:00
parent 7b10d4cb31
commit fd3c6ec38d
1048 changed files with 11041 additions and 87002 deletions

View File

@@ -1,37 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<fantasy xmlns="http://fantasy.net/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://fantasy.net/config Fantasy.xsd">
<!-- ~1~ 兼容模式继续使用JSON配置表 @1@ -->
<!-- <configTable path="./../../../Config/Json/Server/" /> -->
<!-- 框架核心配置 -->
<idFactory type="World" />
<network inner="TCP" maxMessageSize="1048560" />
<session idleTimeout="8000" idleInterval="5000" />
<!-- 服务器拓扑结构 -->
<server>
<machines>
<machine id="1" outerIP="127.0.0.1" outerBindIP="127.0.0.1" innerBindIP="127.0.0.1" />
</machines>
<processes>
<process id="1" machineId="1" startupGroup="0" />
</processes>
<worlds>
<world id="1" worldName="测试服" dbConnection="mongodb://127.0.0.1" dbName="fantasy_main" dbType="MongoDB" />
</worlds>
<scenes>
<scene id="1001" processConfigId="1" worldConfigId="1" sceneRuntimeMode="MultiThread"
sceneTypeString="Addressable" networkProtocol="KCP" outerPort="20001" innerPort="11001" sceneType="1" />
<scene id="1002" processConfigId="1" worldConfigId="1" sceneRuntimeMode="MultiThread"
sceneTypeString="Addressable" networkProtocol="" outerPort="0" innerPort="11011" sceneType="2" />
<scene id="1003" processConfigId="1" worldConfigId="1" sceneRuntimeMode="MultiThread"
sceneTypeString="Gate" networkProtocol="KCP" outerPort="20000" innerPort="11021" sceneType="3" />
<scene id="1004" processConfigId="1" worldConfigId="1" sceneRuntimeMode="MultiThread"
sceneTypeString="Game" networkProtocol="" outerPort="0" innerPort="11031" sceneType="4" />
<scene id="1006" processConfigId="1" worldConfigId="1" sceneRuntimeMode="MultiThread"
sceneTypeString="Chat" networkProtocol="" outerPort="0" innerPort="11051" sceneType="8" />
<scene id="1007" processConfigId="1" worldConfigId="1" sceneRuntimeMode="MultiThread"
sceneTypeString="Map" networkProtocol="" outerPort="0" innerPort="11061" sceneType="5" />
</scenes>
</server>
</fantasy>

View File

@@ -1,9 +0,0 @@
{
"Logging": {
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information"
}
}
}

View File

@@ -1,302 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://fantasy.net/config"
xmlns="http://fantasy.net/config"
elementFormDefault="qualified">
<!-- Root element -->
<xs:element name="fantasy">
<xs:annotation>
<xs:documentation>Fantasy框架配置文件根元素</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="configTable" type="configTableType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>配置表路径设置</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="idFactory" type="idFactoryType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>ID生成器配置</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="network" type="networkRuntimeType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>网络运行时配置</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="session" type="sessionRuntimeType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>会话运行时配置</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="server" type="serverType" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>服务器配置</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- ConfigTable type -->
<xs:complexType name="configTableType">
<xs:attribute name="path" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>配置表文件路径</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- IdFactory type -->
<xs:complexType name="idFactoryType">
<xs:attribute name="type" use="optional" default="World">
<xs:annotation>
<xs:documentation>ID生成器规则类型</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Default">
<xs:annotation>
<xs:documentation>默认生成器Scene最大为65535个</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="World">
<xs:annotation>
<xs:documentation>ID中包含World可解决合区ID重复问题但Scene数量限制到255个</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<!-- Server type -->
<xs:complexType name="serverType">
<xs:sequence>
<xs:element name="machines" type="machinesType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>机器配置列表</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="processes" type="processesType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>进程配置列表</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="worlds" type="worldsType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>世界配置列表</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="scenes" type="scenesType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>场景配置列表</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- Machines types -->
<xs:complexType name="machinesType">
<xs:sequence>
<xs:element name="machine" type="machineType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="machineType">
<xs:attribute name="id" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>机器ID</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="outerIP" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>外网IP地址</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="outerBindIP" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>外网绑定IP地址</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="innerBindIP" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>内网绑定IP地址</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- Processes types -->
<xs:complexType name="processesType">
<xs:sequence>
<xs:element name="process" type="processType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="processType">
<xs:attribute name="id" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>进程ID</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="machineId" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>所属机器ID</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="startupGroup" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>启动分组</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- Worlds types -->
<xs:complexType name="worldsType">
<xs:sequence>
<xs:element name="world" type="worldType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="worldType">
<xs:attribute name="id" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>世界ID</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="worldName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>世界名称</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="dbConnection" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>数据库连接字符串</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="dbName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>数据库名称</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="dbType" use="required">
<xs:annotation>
<xs:documentation>数据库类型</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="MongoDB"/>
<xs:enumeration value="SQL"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<!-- Scenes types -->
<xs:complexType name="scenesType">
<xs:sequence>
<xs:element name="scene" type="sceneType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sceneType">
<xs:attribute name="id" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>场景ID</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="processConfigId" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>进程配置ID</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="worldConfigId" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>世界配置ID</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="sceneRuntimeMode" use="required">
<xs:annotation>
<xs:documentation>场景运行模式</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="MainThread"/>
<xs:enumeration value="MultiThread"/>
<xs:enumeration value="ThreadPool"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="sceneTypeString" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>场景类型字符串</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="networkProtocol" use="optional">
<xs:annotation>
<xs:documentation>网络协议类型</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="TCP"/>
<xs:enumeration value="KCP"/>
<xs:enumeration value="WebSocket"/>
<xs:enumeration value="HTTP"/>
<xs:enumeration value=""/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="outerPort" type="xs:unsignedInt" use="optional" default="0">
<xs:annotation>
<xs:documentation>外网端口</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="innerPort" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>内网端口</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="sceneType" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>场景类型数值</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- Network Runtime type -->
<xs:complexType name="networkRuntimeType">
<xs:attribute name="inner" use="optional" default="TCP">
<xs:annotation>
<xs:documentation>服务器内部网络协议</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="TCP"/>
<xs:enumeration value="KCP"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="maxMessageSize" type="xs:int" use="optional" default="1048560">
<xs:annotation>
<xs:documentation>消息体最大长度(字节)默认1048560字节(约1.02MB)</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- Session Runtime type -->
<xs:complexType name="sessionRuntimeType">
<xs:attribute name="idleTimeout" type="xs:int" use="optional" default="8000">
<xs:annotation>
<xs:documentation>Session idle check timeout (in milliseconds)</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="idleInterval" type="xs:int" use="optional" default="5000">
<xs:annotation>
<xs:documentation>Session idle check interval (in milliseconds)</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:schema>

View File

@@ -1,41 +1,28 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>default</LangVersion>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<OutputPath>../Bin/Debug/</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<OutputPath>../Bin/Release/</OutputPath>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Entity\Entity.csproj" />
<ProjectReference Include="..\Fantasy\Fantasy.Net\Fantasy.Net\Fantasy.Net.csproj" />
<ProjectReference Include="..\Hotfix\Hotfix.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="NLog.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="NLog.xsd">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="Fantasy.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="NLog" Version="5.3.4" />
</ItemGroup>
</Project>
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<RootNamespace>Main</RootNamespace>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<PublishAot>false</PublishAot>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Entity\Entity.csproj" />
<ProjectReference Include="..\Hotfix\Hotfix.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="NLog" Version="*" />
</ItemGroup>
<ItemGroup>
<None Update="NLog.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="configs.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>

View File

@@ -1,33 +1,32 @@
using Fantasy;
using Fantasy.ConfigTable;
using Fantasy.Helper;
using Fantasy.IdFactory;
using Fantasy.Platform.Net;
// ================================================================================
// Fantasy.Net 服务器应用程序入口
// ================================================================================
// 本文件是 Fantasy.Net 分布式游戏服务器的主入口点
//
// 初始化流程:
// 1. 强制加载引用程序集,触发 ModuleInitializer 执行
// 2. 配置日志基础设施NLog
// 3. 启动 Fantasy.Net 框架
// ================================================================================
using Fantasy;
using NBF.ConfigTable;
// 设置ID生成规则
IdFactoryHelper.Initialize(IdFactoryType.World);
// // 获取配置文件
// // 比如通过远程获取这个配置文件,这样可以多组服务器共享一套配置了
// var machineConfigText = await FileHelper.GetTextByRelativePath("../../../Config/Json/Server/MachineConfigData.Json");
// var processConfigText = await FileHelper.GetTextByRelativePath("../../../Config/Json/Server/ProcessConfigData.Json");
// var worldConfigText = await FileHelper.GetTextByRelativePath("../../../Config/Json/Server/WorldConfigData.Json");
// var sceneConfigText = await FileHelper.GetTextByRelativePath("../../../Config/Json/Server/SceneConfigData.Json");
// // 初始化配置文件
// // 如果重复初始化方法会覆盖掉上一次的数据,非常适合热重载时使用
// MachineConfigData.Initialize(machineConfigText);
// ProcessConfigData.Initialize(processConfigText);
// WorldConfigData.Initialize(worldConfigText);
// SceneConfigData.Initialize(sceneConfigText);
//解析配置文件
var gameConfigText = await FileHelper.GetTextByRelativePath("../../../Config/Json/configs.Json");
ConfigTableHelper.Initialize(gameConfigText,NB.AssemblyHelper.Assemblies);
// 注册日志模块到框架
// 开发者可以自己注册日志系统到框架只要实现Fantasy.ILog接口就可以。
// 这里用的是NLog日志系统注册到框架中。
Log.Register(new Fantasy.NLog("Server"));
await Entry.Start(NB.AssemblyHelper.Assemblies);
try
{
// 初始化引用的程序集,确保 ModuleInitializer 执行
// .NET 采用延迟加载机制 - 仅当类型被引用时才加载程序集
// 通过访问 AssemblyMarker 强制加载程序集并调用 ModuleInitializer
// 注意Native AOT 不存在延迟加载问题,所有程序集在编译时打包
AssemblyHelper.Initialize();
ConfigTableHelper.Initialize();
// 配置 NLog 日志基础设施
var logger = new Fantasy.NLog("Server");
// 使用 NLog 日志系统启动 Fantasy.Net 框架
await Fantasy.Platform.Net.Entry.Start(logger);
}
catch (Exception ex)
{
Console.Error.WriteLine($"服务器初始化过程中发生致命错误:{ex}");
Environment.Exit(1);
}

View File

@@ -1,11 +1,26 @@
{
"$schema": "http://json.schemastore.org/launchsettings.json",
"profiles": {
"Main": {
"Develop": {
"commandName": "Project",
// "workingDirectory": "$(OutputPath)",
"environmentVariables": {},
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"commandLineArgs": "--m Develop"
},
"Release-Gate": {
"commandName": "Project",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Production"
},
"commandLineArgs": "--m Release --pid 1"
},
"Release-Game": {
"commandName": "Project",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Production"
},
"commandLineArgs": "--m Release --pid 2"
}
}
}

View File

@@ -0,0 +1,48 @@
2025-11-11 14:39:56.8481
==========================================================================
███████╗ █████╗ ███╗ ██╗████████╗ █████╗ ██████╗ ██╗ ██╗
██╔════╝██╔══██╗████╗ ██║╚══██╔══╝██╔══██╗██╔════╝ ╚██╗ ██╔╝
█████╗ ███████║██╔██╗ ██║ ██║ ███████║╚█████╗ ╚████╔╝
██╔══╝ ██╔══██║██║╚██╗██║ ██║ ██╔══██║╚════██║ ╚██╔╝
██║ ██║ ██║██║ ╚████║ ██║ ██║ ██║██████╔╝ ██║
╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝╚═════╝ ╚═╝
Version : Fantasy 2.0 Official version
==========================================================================
2025-11-11 14:39:57.0402 Current inner network protocol:TCP
2025-11-11 14:39:57.0402 Max Message Size(byte):1048560
2025-11-11 14:39:57.0402 Current session idle timeout:8000
2025-11-11 14:39:57.0402 Session-check interval:5000
2025-11-11 14:39:58.8391 SceneConfigId = 1001 networkTarget = Inner TCPServer Listen 127.0.0.1:11002
2025-11-11 14:39:59.5787 SceneConfigId = 1001 networkTarget = Outer KCPServer Listen 127.0.0.1:20000
2025-11-11 14:39:59.5787 Process:1 Startup Complete SceneCount:1
2025-11-11 14:51:01.5083
==========================================================================
███████╗ █████╗ ███╗ ██╗████████╗ █████╗ ██████╗ ██╗ ██╗
██╔════╝██╔══██╗████╗ ██║╚══██╔══╝██╔══██╗██╔════╝ ╚██╗ ██╔╝
█████╗ ███████║██╔██╗ ██║ ██║ ███████║╚█████╗ ╚████╔╝
██╔══╝ ██╔══██║██║╚██╗██║ ██║ ██╔══██║╚════██║ ╚██╔╝
██║ ██║ ██║██║ ╚████║ ██║ ██║ ██║██████╔╝ ██║
╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝╚═════╝ ╚═╝
Version : Fantasy 2.0 Official version
==========================================================================
2025-11-11 14:51:01.6269 Current inner network protocol:TCP
2025-11-11 14:51:01.6269 Max Message Size(byte):1048560
2025-11-11 14:51:01.6269 Current session idle timeout:8000
2025-11-11 14:51:01.6269 Session-check interval:5000
2025-11-11 14:51:02.8337 SceneConfigId = 1001 networkTarget = Inner TCPServer Listen 127.0.0.1:11001
2025-11-11 14:51:03.4919 SceneConfigId = 1001 networkTarget = Outer KCPServer Listen 127.0.0.1:20001
2025-11-11 14:51:04.1272 SceneConfigId = 1002 networkTarget = Inner TCPServer Listen 127.0.0.1:11011
2025-11-11 14:51:04.7592 SceneConfigId = 1003 networkTarget = Inner TCPServer Listen 127.0.0.1:11021
2025-11-11 14:51:05.3647 SceneConfigId = 1003 networkTarget = Outer KCPServer Listen 127.0.0.1:20000
2025-11-11 14:51:06.0023 SceneConfigId = 1004 networkTarget = Inner TCPServer Listen 127.0.0.1:11031
2025-11-11 14:51:06.6302 SceneConfigId = 1006 networkTarget = Inner TCPServer Listen 127.0.0.1:11051
2025-11-11 14:51:07.2603 SceneConfigId = 1007 networkTarget = Inner TCPServer Listen 127.0.0.1:11061
2025-11-11 14:51:07.2603 Process:1 Startup Complete SceneCount:6

View File

@@ -0,0 +1,105 @@
2025-11-11 15:09:56.1103
==========================================================================
███████╗ █████╗ ███╗ ██╗████████╗ █████╗ ██████╗ ██╗ ██╗
██╔════╝██╔══██╗████╗ ██║╚══██╔══╝██╔══██╗██╔════╝ ╚██╗ ██╔╝
█████╗ ███████║██╔██╗ ██║ ██║ ███████║╚█████╗ ╚████╔╝
██╔══╝ ██╔══██║██║╚██╗██║ ██║ ██╔══██║╚════██║ ╚██╔╝
██║ ██║ ██║██║ ╚████║ ██║ ██║ ██║██████╔╝ ██║
╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝╚═════╝ ╚═╝
Version : Fantasy 2.0 Official version
==========================================================================
2025-11-11 15:09:56.2193 Current inner network protocol:TCP
2025-11-11 15:09:56.2193 Max Message Size(byte):1048560
2025-11-11 15:09:56.2193 Current session idle timeout:8000
2025-11-11 15:09:56.2193 Session-check interval:5000
2025-11-11 15:09:57.3814 SceneConfigId = 1001 networkTarget = Inner TCPServer Listen 127.0.0.1:11001
2025-11-11 15:09:58.0219 SceneConfigId = 1001 networkTarget = Outer KCPServer Listen 127.0.0.1:20001
2025-11-11 15:09:58.0219 (OnCreateSceneEvent.cs:12) Scene created: SceneType=1, SceneId=67371008
2025-11-11 15:09:58.6649 SceneConfigId = 1002 networkTarget = Inner TCPServer Listen 127.0.0.1:11011
2025-11-11 15:09:58.6649 (OnCreateSceneEvent.cs:12) Scene created: SceneType=1, SceneId=134479872
2025-11-11 15:09:59.3427 SceneConfigId = 1003 networkTarget = Inner TCPServer Listen 127.0.0.1:11021
2025-11-11 15:09:59.9745 SceneConfigId = 1003 networkTarget = Outer KCPServer Listen 127.0.0.1:20000
2025-11-11 15:09:59.9745 (OnCreateSceneEvent.cs:12) Scene created: SceneType=2, SceneId=201588736
2025-11-11 15:09:59.9978 (OnCreateSceneEvent.cs:53) 初始化 Gate 场景: 201588736
2025-11-11 15:10:00.6414 SceneConfigId = 1004 networkTarget = Inner TCPServer Listen 127.0.0.1:11031
2025-11-11 15:10:00.6647 (OnCreateSceneEvent.cs:12) Scene created: SceneType=3, SceneId=268697600
2025-11-11 15:10:01.3079 SceneConfigId = 1006 networkTarget = Inner TCPServer Listen 127.0.0.1:11051
2025-11-11 15:10:01.3316 (OnCreateSceneEvent.cs:12) Scene created: SceneType=4, SceneId=402915328
2025-11-11 15:10:01.9900 SceneConfigId = 1007 networkTarget = Inner TCPServer Listen 127.0.0.1:11061
2025-11-11 15:10:01.9900 Process:1 Startup Complete SceneCount:6
2025-11-11 15:10:01.9900 (OnCreateSceneEvent.cs:12) Scene created: SceneType=5, SceneId=470024192
2025-11-11 15:15:12.1015
==========================================================================
███████╗ █████╗ ███╗ ██╗████████╗ █████╗ ██████╗ ██╗ ██╗
██╔════╝██╔══██╗████╗ ██║╚══██╔══╝██╔══██╗██╔════╝ ╚██╗ ██╔╝
█████╗ ███████║██╔██╗ ██║ ██║ ███████║╚█████╗ ╚████╔╝
██╔══╝ ██╔══██║██║╚██╗██║ ██║ ██╔══██║╚════██║ ╚██╔╝
██║ ██║ ██║██║ ╚████║ ██║ ██║ ██║██████╔╝ ██║
╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝╚═════╝ ╚═╝
Version : Fantasy 2.0 Official version
==========================================================================
2025-11-11 15:15:12.2186 Current inner network protocol:TCP
2025-11-11 15:15:12.2186 Max Message Size(byte):1048560
2025-11-11 15:15:12.2186 Current session idle timeout:8000
2025-11-11 15:15:12.2186 Session-check interval:5000
2025-11-11 15:15:13.4932 SceneConfigId = 1001 networkTarget = Inner TCPServer Listen 127.0.0.1:11001
2025-11-11 15:15:14.1458 SceneConfigId = 1001 networkTarget = Outer KCPServer Listen 127.0.0.1:20001
2025-11-11 15:15:14.1567 (OnCreateSceneEvent.cs:12) Scene created: SceneType=1, SceneId=67371008 SceneConfigId=1001
2025-11-11 15:15:14.7815 SceneConfigId = 1002 networkTarget = Inner TCPServer Listen 127.0.0.1:11011
2025-11-11 15:15:14.7815 (OnCreateSceneEvent.cs:12) Scene created: SceneType=1, SceneId=134479872 SceneConfigId=1002
2025-11-11 15:15:15.4072 SceneConfigId = 1003 networkTarget = Inner TCPServer Listen 127.0.0.1:11021
2025-11-11 15:15:16.0081 SceneConfigId = 1003 networkTarget = Outer KCPServer Listen 127.0.0.1:20000
2025-11-11 15:15:16.0081 (OnCreateSceneEvent.cs:12) Scene created: SceneType=2, SceneId=201588736 SceneConfigId=1003
2025-11-11 15:15:16.0325 (OnCreateSceneEvent.cs:53) 初始化 Gate 场景: 201588736
2025-11-11 15:15:16.6539 SceneConfigId = 1004 networkTarget = Inner TCPServer Listen 127.0.0.1:11031
2025-11-11 15:15:16.6539 (OnCreateSceneEvent.cs:12) Scene created: SceneType=3, SceneId=268697600 SceneConfigId=1004
2025-11-11 15:15:17.3013 SceneConfigId = 1006 networkTarget = Inner TCPServer Listen 127.0.0.1:11051
2025-11-11 15:15:17.3031 (OnCreateSceneEvent.cs:12) Scene created: SceneType=4, SceneId=402915328 SceneConfigId=1006
2025-11-11 15:15:17.9310 SceneConfigId = 1007 networkTarget = Inner TCPServer Listen 127.0.0.1:11061
2025-11-11 15:15:17.9310 Process:1 Startup Complete SceneCount:6
2025-11-11 15:15:17.9310 (OnCreateSceneEvent.cs:12) Scene created: SceneType=5, SceneId=470024192 SceneConfigId=1007
2025-11-11 15:21:16.0456
==========================================================================
███████╗ █████╗ ███╗ ██╗████████╗ █████╗ ██████╗ ██╗ ██╗
██╔════╝██╔══██╗████╗ ██║╚══██╔══╝██╔══██╗██╔════╝ ╚██╗ ██╔╝
█████╗ ███████║██╔██╗ ██║ ██║ ███████║╚█████╗ ╚████╔╝
██╔══╝ ██╔══██║██║╚██╗██║ ██║ ██╔══██║╚════██║ ╚██╔╝
██║ ██║ ██║██║ ╚████║ ██║ ██║ ██║██████╔╝ ██║
╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝╚═════╝ ╚═╝
Version : Fantasy 2.0 Official version
==========================================================================
2025-11-11 15:21:16.1627 Current inner network protocol:TCP
2025-11-11 15:21:16.1627 Max Message Size(byte):1048560
2025-11-11 15:21:16.1627 Current session idle timeout:8000
2025-11-11 15:21:16.1627 Session-check interval:5000
2025-11-11 15:21:17.3250 SceneConfigId = 1001 networkTarget = Inner TCPServer Listen 127.0.0.1:11001
2025-11-11 15:21:17.9730 SceneConfigId = 1001 networkTarget = Outer KCPServer Listen 127.0.0.1:20001
2025-11-11 15:21:17.9852 (OnCreateSceneEvent.cs:13) Scene created: SceneType=1, SceneId=67371008 SceneConfigId=1001
2025-11-11 15:21:18.6143 SceneConfigId = 1002 networkTarget = Inner TCPServer Listen 127.0.0.1:11011
2025-11-11 15:21:18.6143 (OnCreateSceneEvent.cs:13) Scene created: SceneType=1, SceneId=134479872 SceneConfigId=1002
2025-11-11 15:21:19.2440 SceneConfigId = 1003 networkTarget = Inner TCPServer Listen 127.0.0.1:11021
2025-11-11 15:21:19.8390 SceneConfigId = 1003 networkTarget = Outer KCPServer Listen 127.0.0.1:20000
2025-11-11 15:21:19.8626 (OnCreateSceneEvent.cs:13) Scene created: SceneType=2, SceneId=201588736 SceneConfigId=1003
2025-11-11 15:21:19.8626 (OnCreateSceneEvent.cs:173) 初始化 Addressable 场景: 201588736
2025-11-11 15:21:20.4949 SceneConfigId = 1004 networkTarget = Inner TCPServer Listen 127.0.0.1:11031
2025-11-11 15:21:20.4949 (OnCreateSceneEvent.cs:13) Scene created: SceneType=3, SceneId=268697600 SceneConfigId=1004
2025-11-11 15:21:20.5214 (OnCreateSceneEvent.cs:52) 初始化 Gate 场景: 268697600
2025-11-11 15:21:21.1476 SceneConfigId = 1006 networkTarget = Inner TCPServer Listen 127.0.0.1:11051
2025-11-11 15:21:21.1476 (OnCreateSceneEvent.cs:13) Scene created: SceneType=4, SceneId=402915328 SceneConfigId=1006
2025-11-11 15:21:21.1704 (OnCreateSceneEvent.cs:107) 初始化 Game 场景: 402915328
2025-11-11 15:21:21.7961 SceneConfigId = 1007 networkTarget = Inner TCPServer Listen 127.0.0.1:11061
2025-11-11 15:21:21.7961 Process:1 Startup Complete SceneCount:6
2025-11-11 15:21:21.7961 (OnCreateSceneEvent.cs:13) Scene created: SceneType=5, SceneId=470024192 SceneConfigId=1007
2025-11-11 15:21:21.7961 (OnCreateSceneEvent.cs:94) 初始化 Map 场景: 470024192

View File

@@ -0,0 +1,10 @@
2025-11-11 15:09:58.0219 (OnCreateSceneEvent.cs:42) 未处理的 SceneType: 1
2025-11-11 15:09:58.6893 (OnCreateSceneEvent.cs:42) 未处理的 SceneType: 1
2025-11-11 15:10:00.6647 (OnCreateSceneEvent.cs:42) 未处理的 SceneType: 3
2025-11-11 15:10:01.3316 (OnCreateSceneEvent.cs:42) 未处理的 SceneType: 4
2025-11-11 15:10:01.9900 (OnCreateSceneEvent.cs:42) 未处理的 SceneType: 5
2025-11-11 15:15:14.1567 (OnCreateSceneEvent.cs:42) 未处理的 SceneType: 1
2025-11-11 15:15:14.7815 (OnCreateSceneEvent.cs:42) 未处理的 SceneType: 1
2025-11-11 15:15:16.6783 (OnCreateSceneEvent.cs:42) 未处理的 SceneType: 3
2025-11-11 15:15:17.3031 (OnCreateSceneEvent.cs:42) 未处理的 SceneType: 4
2025-11-11 15:15:17.9310 (OnCreateSceneEvent.cs:42) 未处理的 SceneType: 5

View File

@@ -0,0 +1,39 @@
2025-11-11 16:50:19.9307
==========================================================================
███████╗ █████╗ ███╗ ██╗████████╗ █████╗ ██████╗ ██╗ ██╗
██╔════╝██╔══██╗████╗ ██║╚══██╔══╝██╔══██╗██╔════╝ ╚██╗ ██╔╝
█████╗ ███████║██╔██╗ ██║ ██║ ███████║╚█████╗ ╚████╔╝
██╔══╝ ██╔══██║██║╚██╗██║ ██║ ██╔══██║╚════██║ ╚██╔╝
██║ ██║ ██║██║ ╚████║ ██║ ██║ ██║██████╔╝ ██║
╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝╚═════╝ ╚═╝
Version : Fantasy 2.0 Official version
==========================================================================
2025-11-11 16:50:20.0695 Current inner network protocol:TCP
2025-11-11 16:50:20.0695 Max Message Size(byte):1048560
2025-11-11 16:50:20.0695 Current session idle timeout:8000
2025-11-11 16:50:20.0695 Session-check interval:5000
2025-11-11 16:50:21.8247 SceneConfigId = 1001 networkTarget = Inner TCPServer Listen 127.0.0.1:11001
2025-11-11 16:50:22.6382 SceneConfigId = 1001 networkTarget = Outer KCPServer Listen 127.0.0.1:20001
2025-11-11 16:50:22.6535 (OnCreateSceneEvent.cs:15) Scene created: SceneType=1, SceneId=67371008 SceneConfigId=1001
2025-11-11 16:50:22.6535 (OnCreateSceneEvent.cs:178) 初始化 Addressable 场景: 67371008
2025-11-11 16:50:23.5178 SceneConfigId = 1002 networkTarget = Inner TCPServer Listen 127.0.0.1:11011
2025-11-11 16:50:23.5230 (OnCreateSceneEvent.cs:15) Scene created: SceneType=1, SceneId=134479872 SceneConfigId=1002
2025-11-11 16:50:23.5230 (OnCreateSceneEvent.cs:178) 初始化 Addressable 场景: 134479872
2025-11-11 16:50:24.3026 SceneConfigId = 1003 networkTarget = Inner TCPServer Listen 127.0.0.1:11021
2025-11-11 16:50:24.9543 SceneConfigId = 1003 networkTarget = Outer KCPServer Listen 127.0.0.1:20000
2025-11-11 16:50:24.9543 (OnCreateSceneEvent.cs:15) Scene created: SceneType=2, SceneId=201588736 SceneConfigId=1003
2025-11-11 16:50:24.9543 (OnCreateSceneEvent.cs:57) 初始化 Gate 场景: 201588736
2025-11-11 16:50:25.6167 SceneConfigId = 1004 networkTarget = Inner TCPServer Listen 127.0.0.1:11031
2025-11-11 16:50:25.6167 (OnCreateSceneEvent.cs:15) Scene created: SceneType=3, SceneId=268697600 SceneConfigId=1004
2025-11-11 16:50:25.6404 (OnCreateSceneEvent.cs:112) 初始化 Game 场景: 268697600
2025-11-11 16:50:26.2863 SceneConfigId = 1006 networkTarget = Inner TCPServer Listen 127.0.0.1:11051
2025-11-11 16:50:26.2863 (OnCreateSceneEvent.cs:15) Scene created: SceneType=4, SceneId=402915328 SceneConfigId=1006
2025-11-11 16:50:26.2863 (OnCreateSceneEvent.cs:105) 初始化 Social 场景: 402915328
2025-11-11 16:50:26.9385 SceneConfigId = 1007 networkTarget = Inner TCPServer Listen 127.0.0.1:11061
2025-11-11 16:50:26.9385 Process:1 Startup Complete SceneCount:6
2025-11-11 16:50:26.9385 (OnCreateSceneEvent.cs:15) Scene created: SceneType=5, SceneId=470024192 SceneConfigId=1007
2025-11-11 16:50:26.9385 (OnCreateSceneEvent.cs:99) 初始化 Map 场景: 470024192

View File

@@ -0,0 +1,5 @@
2025-11-11 17:41:21.9158 (C2A_LoginRequestHandler.cs:66) Login 当前的服务器是:1001
2025-11-11 17:41:22.4012 (PlayerManageComponentSystem.cs:44) 检查账号是否在缓存中
2025-11-11 17:41:22.4377 (PlayerManageComponentSystem.cs:59) 检查到账号在数据库中
2025-11-11 17:41:22.5206 (PlayerManageComponentSystem.cs:71) 把当前账号添加到缓存中
2025-11-11 17:41:22.5812 (C2G_LoginRequestHandler.cs:44) 当前的Gate服务器:1003 accountId:445703427981574146

View File

@@ -0,0 +1,5 @@
2025-11-11 17:37:04.6575 System.NullReferenceException: Object reference not set to an instance of an object.
at NB.Authentication.AuthenticationComponentSystem.Login(AuthenticationComponent self, String userName, String password) in D:\work\Fishing2ServerNew\Fishing2\Server\Hotfix\Authentication\System\AuthenticationComponentSystem.cs:line 101
at NB.Authentication.AuthenticationHelper.Login(Scene scene, String userName, String password) in D:\work\Fishing2ServerNew\Fishing2\Server\Hotfix\Authentication\System\AuthenticationHelper.cs:line 18
at NB.Authentication.Handler.C2A_LoginRequestHandler.Run(Session session, C2A_LoginRequest request, A2C_LoginResponse response, Action reply) in D:\work\Fishing2ServerNew\Fishing2\Server\Hotfix\Authentication\Handler\C2A_LoginRequestHandler.cs:line 25
at Fantasy.Network.Interface.MessageRPC`2.Handle(Session session, UInt32 rpcId, UInt32 messageTypeCode, Object message)

View File

@@ -0,0 +1,105 @@
2025-11-11 17:31:29.7488
==========================================================================
███████╗ █████╗ ███╗ ██╗████████╗ █████╗ ██████╗ ██╗ ██╗
██╔════╝██╔══██╗████╗ ██║╚══██╔══╝██╔══██╗██╔════╝ ╚██╗ ██╔╝
█████╗ ███████║██╔██╗ ██║ ██║ ███████║╚█████╗ ╚████╔╝
██╔══╝ ██╔══██║██║╚██╗██║ ██║ ██╔══██║╚════██║ ╚██╔╝
██║ ██║ ██║██║ ╚████║ ██║ ██║ ██║██████╔╝ ██║
╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝╚═════╝ ╚═╝
Version : Fantasy 2.0 Official version
==========================================================================
2025-11-11 17:31:29.8486 Current inner network protocol:TCP
2025-11-11 17:31:29.8486 Max Message Size(byte):1048560
2025-11-11 17:31:29.8486 Current session idle timeout:8000
2025-11-11 17:31:29.8486 Session-check interval:5000
2025-11-11 17:31:31.0914 SceneConfigId = 1001 networkTarget = Inner TCPServer Listen 127.0.0.1:11001
2025-11-11 17:31:31.7608 SceneConfigId = 1001 networkTarget = Outer KCPServer Listen 127.0.0.1:20001
2025-11-11 17:31:31.7934 (OnCreateSceneEvent.cs:21) Scene created: SceneType=1, SceneId=67371008 SceneConfigId=1001
2025-11-11 17:31:31.7934 (AuthenticationComponentSystem.cs:40) 鉴权服务器启动成功Position:0 AuthenticationCount:1
2025-11-11 17:31:32.5156 SceneConfigId = 1002 networkTarget = Inner TCPServer Listen 127.0.0.1:11011
2025-11-11 17:31:32.5395 (OnCreateSceneEvent.cs:21) Scene created: SceneType=2, SceneId=134479872 SceneConfigId=1002
2025-11-11 17:31:32.5395 (OnCreateSceneEvent.cs:221) 初始化 Addressable 场景: 134479872
2025-11-11 17:31:33.2217 SceneConfigId = 1003 networkTarget = Inner TCPServer Listen 127.0.0.1:11021
2025-11-11 17:31:33.8288 SceneConfigId = 1003 networkTarget = Outer KCPServer Listen 127.0.0.1:20000
2025-11-11 17:31:33.8288 (OnCreateSceneEvent.cs:21) Scene created: SceneType=3, SceneId=201588736 SceneConfigId=1003
2025-11-11 17:31:33.8540 (OnCreateSceneEvent.cs:76) 初始化 Gate 场景: 201588736
2025-11-11 17:31:34.4841 SceneConfigId = 1004 networkTarget = Inner TCPServer Listen 127.0.0.1:11031
2025-11-11 17:31:34.4841 (OnCreateSceneEvent.cs:21) Scene created: SceneType=4, SceneId=268697600 SceneConfigId=1004
2025-11-11 17:31:34.5094 (OnCreateSceneEvent.cs:152) 初始化 Game 场景: 268697600
2025-11-11 17:31:35.1456 SceneConfigId = 1006 networkTarget = Inner TCPServer Listen 127.0.0.1:11051
2025-11-11 17:31:35.1456 (OnCreateSceneEvent.cs:21) Scene created: SceneType=5, SceneId=402915328 SceneConfigId=1006
2025-11-11 17:31:35.1700 (OnCreateSceneEvent.cs:141) 初始化 Social 场景: 402915328
2025-11-11 17:31:35.8223 SceneConfigId = 1007 networkTarget = Inner TCPServer Listen 127.0.0.1:11061
2025-11-11 17:31:35.8223 Process:1 Startup Complete SceneCount:6
2025-11-11 17:31:35.8223 (OnCreateSceneEvent.cs:21) Scene created: SceneType=6, SceneId=470024192 SceneConfigId=1007
2025-11-11 17:31:35.8223 (OnCreateSceneEvent.cs:123) 初始化 Map 场景: 470024192
2025-11-11 17:31:35.8223 (OnCreateSceneEvent.cs:124) 创建地图场景===
2025-11-11 17:31:35.8223 (OnCreateSceneEvent.cs:133) 测试房间代码 = 13AHVL
2025-11-11 17:37:04.3480 (C2A_LoginRequestHandler.cs:24) 登录服场景 67371008 4311744512 1001
2025-11-11 17:41:05.5613
==========================================================================
███████╗ █████╗ ███╗ ██╗████████╗ █████╗ ██████╗ ██╗ ██╗
██╔════╝██╔══██╗████╗ ██║╚══██╔══╝██╔══██╗██╔════╝ ╚██╗ ██╔╝
█████╗ ███████║██╔██╗ ██║ ██║ ███████║╚█████╗ ╚████╔╝
██╔══╝ ██╔══██║██║╚██╗██║ ██║ ██╔══██║╚════██║ ╚██╔╝
██║ ██║ ██║██║ ╚████║ ██║ ██║ ██║██████╔╝ ██║
╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝╚═════╝ ╚═╝
Version : Fantasy 2.0 Official version
==========================================================================
2025-11-11 17:41:05.6797 Current inner network protocol:TCP
2025-11-11 17:41:05.6797 Max Message Size(byte):1048560
2025-11-11 17:41:05.6797 Current session idle timeout:8000
2025-11-11 17:41:05.6797 Session-check interval:5000
2025-11-11 17:41:06.3043 dbName:fantasy_main Initialize the db database and connect to the target.
2025-11-11 17:41:06.7567 dbName:fantasy_main Database connection successful.
2025-11-11 17:41:07.4480 SceneConfigId = 1001 networkTarget = Inner TCPServer Listen 127.0.0.1:11001
2025-11-11 17:41:08.0920 SceneConfigId = 1001 networkTarget = Outer KCPServer Listen 127.0.0.1:20001
2025-11-11 17:41:08.0983 dbName:fantasy_main Initialize the db database and connect to the target.
2025-11-11 17:41:08.0983 dbName:fantasy_main Database connection successful.
2025-11-11 17:41:08.0983 (OnCreateSceneEvent.cs:21) Scene created: SceneType=1, SceneId=67371008 SceneConfigId=1001
2025-11-11 17:41:08.0983 (AuthenticationComponentSystem.cs:40) 鉴权服务器启动成功Position:0 AuthenticationCount:1
2025-11-11 17:41:08.7704 SceneConfigId = 1002 networkTarget = Inner TCPServer Listen 127.0.0.1:11011
2025-11-11 17:41:08.7704 (OnCreateSceneEvent.cs:21) Scene created: SceneType=2, SceneId=134479872 SceneConfigId=1002
2025-11-11 17:41:08.7704 dbName:fantasy_main Initialize the db database and connect to the target.
2025-11-11 17:41:08.7704 (OnCreateSceneEvent.cs:221) 初始化 Addressable 场景: 134479872
2025-11-11 17:41:08.7704 dbName:fantasy_main Database connection successful.
2025-11-11 17:41:09.4204 SceneConfigId = 1003 networkTarget = Inner TCPServer Listen 127.0.0.1:11021
2025-11-11 17:41:10.0569 SceneConfigId = 1003 networkTarget = Outer KCPServer Listen 127.0.0.1:20000
2025-11-11 17:41:10.0569 (OnCreateSceneEvent.cs:21) Scene created: SceneType=3, SceneId=201588736 SceneConfigId=1003
2025-11-11 17:41:10.0809 dbName:fantasy_main Initialize the db database and connect to the target.
2025-11-11 17:41:10.0809 (OnCreateSceneEvent.cs:76) 初始化 Gate 场景: 201588736
2025-11-11 17:41:10.0809 dbName:fantasy_main Database connection successful.
2025-11-11 17:41:10.7352 SceneConfigId = 1004 networkTarget = Inner TCPServer Listen 127.0.0.1:11031
2025-11-11 17:41:10.7578 (OnCreateSceneEvent.cs:21) Scene created: SceneType=4, SceneId=268697600 SceneConfigId=1004
2025-11-11 17:41:10.7578 dbName:fantasy_main Initialize the db database and connect to the target.
2025-11-11 17:41:10.7578 (OnCreateSceneEvent.cs:152) 初始化 Game 场景: 268697600
2025-11-11 17:41:10.7578 dbName:fantasy_main Database connection successful.
2025-11-11 17:41:11.4079 SceneConfigId = 1006 networkTarget = Inner TCPServer Listen 127.0.0.1:11051
2025-11-11 17:41:11.4089 (OnCreateSceneEvent.cs:21) Scene created: SceneType=5, SceneId=402915328 SceneConfigId=1006
2025-11-11 17:41:11.4089 dbName:fantasy_main Initialize the db database and connect to the target.
2025-11-11 17:41:11.4089 (OnCreateSceneEvent.cs:141) 初始化 Social 场景: 402915328
2025-11-11 17:41:11.4089 dbName:fantasy_main Database connection successful.
2025-11-11 17:41:12.0503 SceneConfigId = 1007 networkTarget = Inner TCPServer Listen 127.0.0.1:11061
2025-11-11 17:41:12.0503 Process:1 Startup Complete SceneCount:6
2025-11-11 17:41:12.0503 (OnCreateSceneEvent.cs:21) Scene created: SceneType=6, SceneId=470024192 SceneConfigId=1007
2025-11-11 17:41:12.0503 (OnCreateSceneEvent.cs:123) 初始化 Map 场景: 470024192
2025-11-11 17:41:12.0503 (OnCreateSceneEvent.cs:124) 创建地图场景===
2025-11-11 17:41:12.0503 (OnCreateSceneEvent.cs:133) 测试房间代码 = 13AHVL
2025-11-11 17:41:21.0963 (C2A_LoginRequestHandler.cs:24) 登录服场景 67371008 4311744512 1001
2025-11-11 17:41:22.5377 (G2Common_EnterRequestHandler.cs:52) 登录到游戏服成功id=-7928855407626289152
2025-11-11 17:41:22.5720 (G2Common_EnterRequestHandler.cs:68) 登录到社交服成功id=-7928856498547982336
2025-11-11 17:41:22.5720 (G2Common_EnterRequestHandler.cs:84) 登录到地图服成功id=-7928856494253015040
2025-11-11 17:41:27.5033 (GateLoginHelper.cs:63) 断线的session id=-7928854312409628672
2025-11-11 17:41:27.5033 (G2Common_ExitRequestHandler.cs:43) 退出游戏服成功==
2025-11-11 17:41:27.5033 (ChatUnitManageComponentSystem.cs:62) 退出当前聊天服==
2025-11-11 17:41:27.5033 (G2Common_ExitRequestHandler.cs:51) 退出聊天服成功==
2025-11-11 17:41:27.5214 (G2Common_ExitRequestHandler.cs:57) 退出房间服成功==
2025-11-11 17:41:27.5214 (GateUnitManageComponentSystem.cs:49) accountId:445703427981574146 下线成功

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="utf-8"?>
<fantasy xmlns="http://fantasy.net/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://fantasy.net/config Fantasy.xsd">
<!-- ↓这是为了兼容旧版Fantasy的导表Json配置↓, 如果这个XML节点被注释掉, 就会以 Fantasy.config 配置为准 -->
<!--<configTable path="../../../../Config/Json/Server" />-->
<!-- ↓这是目前推荐使用的Fantasy框架启服配置↓ -->
<network inner="TCP" maxMessageSize="1048560" />
<session idleTimeout="8000" idleInterval="5000" />
<server>
<!-- 机器配置 -->
<machines>
<machine id="1" outerIP="127.0.0.1" outerBindIP="127.0.0.1" innerBindIP="127.0.0.1" />
</machines>
<!-- 进程配置 -->
<processes>
<process id="1" machineId="1" startupGroup="0" />
</processes>
<!-- 世界配置 -->
<worlds>
<world id="1" worldName="WorldA">
<database dbType="MongoDB" dbName="fantasy_main" dbConnection="mongodb://127.0.0.1" />
</world>
</worlds>
<!-- 场景配置 -->
<scenes>
<scene id="1001"
processConfigId="1"
worldConfigId="1"
sceneRuntimeMode="MultiThread"
sceneTypeString="Authentication"
networkProtocol="KCP"
outerPort="20001" innerPort="11001" />
<scene id="1002"
processConfigId="1"
worldConfigId="1"
sceneRuntimeMode="MultiThread"
sceneTypeString="Addressable"
networkProtocol=""
outerPort="0" innerPort="11011" />
<scene id="1003"
processConfigId="1"
worldConfigId="1"
sceneRuntimeMode="MultiThread"
sceneTypeString="Gate"
networkProtocol="KCP"
outerPort="20000" innerPort="11021" />
<scene id="1004"
processConfigId="1"
worldConfigId="1"
sceneRuntimeMode="MultiThread"
sceneTypeString="Game"
networkProtocol=""
outerPort="0" innerPort="11031" />
<scene id="1006"
processConfigId="1"
worldConfigId="1"
sceneRuntimeMode="MultiThread"
sceneTypeString="Social"
networkProtocol=""
outerPort="0" innerPort="11051" />
<scene id="1007"
processConfigId="1"
worldConfigId="1"
sceneRuntimeMode="MultiThread"
sceneTypeString="Map"
networkProtocol=""
outerPort="0" innerPort="11061" />
</scenes>
</server>
</fantasy>

View File

@@ -0,0 +1,345 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://fantasy.net/config"
xmlns="http://fantasy.net/config"
elementFormDefault="qualified">
<!-- Root element -->
<xs:element name="fantasy">
<xs:annotation>
<xs:documentation>Fantasy框架配置文件根元素</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="configTable" type="configTableType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>配置表路径设置</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="network" type="networkRuntimeType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>网络运行时配置</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="session" type="sessionRuntimeType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>会话运行时配置</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="server" type="serverType" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>服务器配置</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- ConfigTable type -->
<xs:complexType name="configTableType">
<xs:attribute name="path" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>配置表文件路径</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- Server type -->
<xs:complexType name="serverType">
<xs:sequence>
<xs:element name="machines" type="machinesType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>机器配置列表</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="processes" type="processesType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>进程配置列表</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="worlds" type="worldsType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>世界配置列表</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="scenes" type="scenesType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>场景配置列表</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="units" type="unitsType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>单位配置列表</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- Machines types -->
<xs:complexType name="machinesType">
<xs:sequence>
<xs:element name="machine" type="machineType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="machineType">
<xs:attribute name="id" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>机器ID</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="outerIP" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>外网IP地址</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="outerBindIP" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>外网绑定IP地址</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="innerBindIP" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>内网绑定IP地址</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- Processes types -->
<xs:complexType name="processesType">
<xs:sequence>
<xs:element name="process" type="processType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="processType">
<xs:attribute name="id" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>进程ID</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="machineId" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>所属机器ID</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="startupGroup" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>启动分组</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- Worlds types -->
<xs:complexType name="worldsType">
<xs:sequence>
<xs:element name="world" type="worldType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<!-- database的选择 -->
<xs:complexType name="databaseType">
<xs:attribute name="dbType" use="required">
<xs:annotation>
<xs:documentation>数据库类型</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<!-- PostgreSQL -->
<xs:enumeration value="PostgreSQL"/>
<xs:enumeration value="Postgres"/>
<xs:enumeration value="PgSQL"/>
<xs:enumeration value="Pg"/>
<xs:enumeration value="PG"/>
<!-- MongoDB -->
<xs:enumeration value="MongoDB"/>
<xs:enumeration value="Mongo"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="dbName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>数据库名称</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="dbConnection" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>数据库连接字符串</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="worldType">
<!-- 每个world允许包含1或n个database -->
<xs:sequence>
<xs:annotation>
<xs:documentation>世界中配置的数据库</xs:documentation>
</xs:annotation>
<xs:element name="database" type="databaseType" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
<!-- world需要id和worldName -->
<xs:attribute name="id" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>世界ID</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="worldName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>世界名称</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- Scenes types -->
<xs:complexType name="scenesType">
<xs:sequence>
<xs:element name="scene" type="sceneType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sceneType">
<xs:attribute name="id" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>场景ID</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="processConfigId" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>进程配置ID</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="worldConfigId" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>世界配置ID</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="sceneRuntimeMode" use="required">
<xs:annotation>
<xs:documentation>场景运行模式</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="MainThread"/>
<xs:enumeration value="MultiThread"/>
<xs:enumeration value="ThreadPool"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="sceneTypeString" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>场景类型字符串</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="networkProtocol" use="optional">
<xs:annotation>
<xs:documentation>网络协议类型</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="TCP"/>
<xs:enumeration value="KCP"/>
<xs:enumeration value="WebSocket"/>
<xs:enumeration value="HTTP"/>
<xs:enumeration value=""/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="outerPort" type="xs:unsignedInt" use="optional" default="0">
<xs:annotation>
<xs:documentation>外网端口</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="innerPort" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>内网端口</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- Network Runtime type -->
<xs:complexType name="networkRuntimeType">
<xs:attribute name="inner" use="optional" default="TCP">
<xs:annotation>
<xs:documentation>服务器内部网络协议</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="TCP"/>
<xs:enumeration value="KCP"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="maxMessageSize" type="xs:int" use="optional" default="1048560">
<xs:annotation>
<xs:documentation>消息体最大长度(字节)默认1048560字节(约1.02MB)</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- Session Runtime type -->
<xs:complexType name="sessionRuntimeType">
<xs:attribute name="idleTimeout" type="xs:int" use="optional" default="8000">
<xs:annotation>
<xs:documentation>Session idle check timeout (in milliseconds)</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="idleInterval" type="xs:int" use="optional" default="5000">
<xs:annotation>
<xs:documentation>Session idle check interval (in milliseconds)</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- Units types -->
<xs:complexType name="unitsType">
<xs:sequence>
<xs:element name="unit" type="unitType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="unitType">
<xs:sequence>
<xs:element name="dic" type="unitDicType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>单位字典数据</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:unsignedInt" use="required">
<xs:annotation>
<xs:documentation>单位ID</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>单位名称</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="model" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>单位模型</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="unitDicType">
<xs:sequence>
<xs:element name="item" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="key" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>字典键</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="value" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>字典值</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,457 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v9.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v9.0": {
"Main/1.0.0": {
"dependencies": {
"Entity": "1.0.0",
"Hotfix": "1.0.0",
"NLog": "6.0.6"
},
"runtime": {
"Main.dll": {}
}
},
"CommandLineParser/2.9.1": {
"runtime": {
"lib/netstandard2.0/CommandLine.dll": {
"assemblyVersion": "2.9.1.0",
"fileVersion": "2.9.1.0"
}
}
},
"DnsClient/1.6.1": {
"dependencies": {
"Microsoft.Win32.Registry": "5.0.0"
},
"runtime": {
"lib/net5.0/DnsClient.dll": {
"assemblyVersion": "1.6.1.0",
"fileVersion": "1.6.1.0"
}
}
},
"Fantasy-Net/2025.2.0": {
"dependencies": {
"CommandLineParser": "2.9.1",
"MongoDB.Bson": "3.5.0",
"MongoDB.Driver": "3.5.0",
"Newtonsoft.Json": "13.0.4",
"protobuf-net": "3.2.56"
},
"runtime": {
"lib/net9.0/Fantasy-Net.dll": {
"assemblyVersion": "1.0.0.0",
"fileVersion": "1.0.0.0"
}
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": {},
"Microsoft.Extensions.Logging.Abstractions/8.0.0": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0"
}
},
"Microsoft.IdentityModel.Abstractions/8.14.0": {
"runtime": {
"lib/net9.0/Microsoft.IdentityModel.Abstractions.dll": {
"assemblyVersion": "8.14.0.0",
"fileVersion": "8.14.0.60815"
}
}
},
"Microsoft.IdentityModel.JsonWebTokens/8.14.0": {
"dependencies": {
"Microsoft.IdentityModel.Tokens": "8.14.0"
},
"runtime": {
"lib/net9.0/Microsoft.IdentityModel.JsonWebTokens.dll": {
"assemblyVersion": "8.14.0.0",
"fileVersion": "8.14.0.60815"
}
}
},
"Microsoft.IdentityModel.Logging/8.14.0": {
"dependencies": {
"Microsoft.IdentityModel.Abstractions": "8.14.0"
},
"runtime": {
"lib/net9.0/Microsoft.IdentityModel.Logging.dll": {
"assemblyVersion": "8.14.0.0",
"fileVersion": "8.14.0.60815"
}
}
},
"Microsoft.IdentityModel.Tokens/8.14.0": {
"dependencies": {
"Microsoft.Extensions.Logging.Abstractions": "8.0.0",
"Microsoft.IdentityModel.Logging": "8.14.0"
},
"runtime": {
"lib/net9.0/Microsoft.IdentityModel.Tokens.dll": {
"assemblyVersion": "8.14.0.0",
"fileVersion": "8.14.0.60815"
}
}
},
"Microsoft.NETCore.Platforms/5.0.0": {},
"Microsoft.Win32.Registry/5.0.0": {
"dependencies": {
"System.Security.AccessControl": "5.0.0",
"System.Security.Principal.Windows": "5.0.0"
}
},
"MongoDB.Bson/3.5.0": {
"dependencies": {
"System.Memory": "4.5.5",
"System.Runtime.CompilerServices.Unsafe": "5.0.0"
},
"runtime": {
"lib/net6.0/MongoDB.Bson.dll": {
"assemblyVersion": "3.5.0.0",
"fileVersion": "3.5.0.0"
}
}
},
"MongoDB.Driver/3.5.0": {
"dependencies": {
"DnsClient": "1.6.1",
"Microsoft.Extensions.Logging.Abstractions": "8.0.0",
"MongoDB.Bson": "3.5.0",
"SharpCompress": "0.30.1",
"Snappier": "1.0.0",
"System.Buffers": "4.5.1",
"ZstdSharp.Port": "0.7.3"
},
"runtime": {
"lib/net6.0/MongoDB.Driver.dll": {
"assemblyVersion": "3.5.0.0",
"fileVersion": "3.5.0.0"
}
}
},
"Newtonsoft.Json/13.0.4": {
"runtime": {
"lib/net6.0/Newtonsoft.Json.dll": {
"assemblyVersion": "13.0.0.0",
"fileVersion": "13.0.4.30916"
}
}
},
"NLog/6.0.6": {
"runtime": {
"lib/netstandard2.1/NLog.dll": {
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.6.4706"
}
}
},
"protobuf-net/3.2.56": {
"dependencies": {
"protobuf-net.Core": "3.2.56"
},
"runtime": {
"lib/net8.0/protobuf-net.dll": {
"assemblyVersion": "3.0.0.0",
"fileVersion": "3.2.56.57311"
}
}
},
"protobuf-net.Core/3.2.56": {
"runtime": {
"lib/net8.0/protobuf-net.Core.dll": {
"assemblyVersion": "3.0.0.0",
"fileVersion": "3.2.56.57311"
}
}
},
"SharpCompress/0.30.1": {
"runtime": {
"lib/net5.0/SharpCompress.dll": {
"assemblyVersion": "0.30.1.0",
"fileVersion": "0.30.1.0"
}
}
},
"Snappier/1.0.0": {
"runtime": {
"lib/net5.0/Snappier.dll": {
"assemblyVersion": "1.0.0.0",
"fileVersion": "1.0.0.0"
}
}
},
"System.Buffers/4.5.1": {},
"System.IdentityModel.Tokens.Jwt/8.14.0": {
"dependencies": {
"Microsoft.IdentityModel.JsonWebTokens": "8.14.0",
"Microsoft.IdentityModel.Tokens": "8.14.0"
},
"runtime": {
"lib/net9.0/System.IdentityModel.Tokens.Jwt.dll": {
"assemblyVersion": "8.14.0.0",
"fileVersion": "8.14.0.60815"
}
}
},
"System.Memory/4.5.5": {},
"System.Runtime.CompilerServices.Unsafe/5.0.0": {},
"System.Security.AccessControl/5.0.0": {
"dependencies": {
"Microsoft.NETCore.Platforms": "5.0.0",
"System.Security.Principal.Windows": "5.0.0"
}
},
"System.Security.Principal.Windows/5.0.0": {},
"ZstdSharp.Port/0.7.3": {
"runtime": {
"lib/net7.0/ZstdSharp.dll": {
"assemblyVersion": "0.7.3.0",
"fileVersion": "0.7.3.0"
}
}
},
"Entity/1.0.0": {
"dependencies": {
"Fantasy-Net": "2025.2.0",
"Microsoft.IdentityModel.Tokens": "8.14.0",
"System.IdentityModel.Tokens.Jwt": "8.14.0",
"ThirdParty": "1.0.0"
},
"runtime": {
"Entity.dll": {
"assemblyVersion": "1.0.0.0",
"fileVersion": "1.0.0.0"
}
}
},
"Hotfix/1.0.0": {
"dependencies": {
"Entity": "1.0.0"
},
"runtime": {
"Hotfix.dll": {
"assemblyVersion": "1.0.0.0",
"fileVersion": "1.0.0.0"
}
}
},
"ThirdParty/1.0.0": {
"runtime": {
"ThirdParty.dll": {
"assemblyVersion": "1.0.0.0",
"fileVersion": "1.0.0.0"
}
}
}
}
},
"libraries": {
"Main/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"CommandLineParser/2.9.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-OE0sl1/sQ37bjVsPKKtwQlWDgqaxWgtme3xZz7JssWUzg5JpMIyHgCTY9MVMxOg48fJ1AgGT3tgdH5m/kQ5xhA==",
"path": "commandlineparser/2.9.1",
"hashPath": "commandlineparser.2.9.1.nupkg.sha512"
},
"DnsClient/1.6.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-4H/f2uYJOZ+YObZjpY9ABrKZI+JNw3uizp6oMzTXwDw6F+2qIPhpRl/1t68O/6e98+vqNiYGu+lswmwdYUy3gg==",
"path": "dnsclient/1.6.1",
"hashPath": "dnsclient.1.6.1.nupkg.sha512"
},
"Fantasy-Net/2025.2.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-vCkduwxkMlH8GozyS+ZlWGLC4nGjFGaL13Ah4w5HL55XAJaAhe+RX+gbSRNBeJf1Uu0cjG2MgVyS4NX7bXdN4g==",
"path": "fantasy-net/2025.2.0",
"hashPath": "fantasy-net.2025.2.0.nupkg.sha512"
},
"Microsoft.Extensions.DependencyInjection.Abstractions/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-cjWrLkJXK0rs4zofsK4bSdg+jhDLTaxrkXu4gS6Y7MAlCvRyNNgwY/lJi5RDlQOnSZweHqoyvgvbdvQsRIW+hg==",
"path": "microsoft.extensions.dependencyinjection.abstractions/8.0.0",
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512"
},
"Microsoft.Extensions.Logging.Abstractions/8.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-arDBqTgFCyS0EvRV7O3MZturChstm50OJ0y9bDJvAcmEPJm0FFpFyjU/JLYyStNGGey081DvnQYlncNX5SJJGA==",
"path": "microsoft.extensions.logging.abstractions/8.0.0",
"hashPath": "microsoft.extensions.logging.abstractions.8.0.0.nupkg.sha512"
},
"Microsoft.IdentityModel.Abstractions/8.14.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-iwbCpSjD3ehfTwBhtSNEtKPK0ICun6ov7Ibx6ISNA9bfwIyzI2Siwyi9eJFCJBwxowK9xcA1mj+jBWiigeqgcQ==",
"path": "microsoft.identitymodel.abstractions/8.14.0",
"hashPath": "microsoft.identitymodel.abstractions.8.14.0.nupkg.sha512"
},
"Microsoft.IdentityModel.JsonWebTokens/8.14.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-4jOpiA4THdtpLyMdAb24dtj7+6GmvhOhxf5XHLYWmPKF8ApEnApal1UnJsKO4HxUWRXDA6C4WQVfYyqsRhpNpQ==",
"path": "microsoft.identitymodel.jsonwebtokens/8.14.0",
"hashPath": "microsoft.identitymodel.jsonwebtokens.8.14.0.nupkg.sha512"
},
"Microsoft.IdentityModel.Logging/8.14.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-eqqnemdW38CKZEHS6diA50BV94QICozDZEvSrsvN3SJXUFwVB9gy+/oz76gldP7nZliA16IglXjXTCTdmU/Ejg==",
"path": "microsoft.identitymodel.logging/8.14.0",
"hashPath": "microsoft.identitymodel.logging.8.14.0.nupkg.sha512"
},
"Microsoft.IdentityModel.Tokens/8.14.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-lKIZiBiGd36k02TCdMHp1KlNWisyIvQxcYJvIkz7P4gSQ9zi8dgh6S5Grj8NNG7HWYIPfQymGyoZ6JB5d1Lo1g==",
"path": "microsoft.identitymodel.tokens/8.14.0",
"hashPath": "microsoft.identitymodel.tokens.8.14.0.nupkg.sha512"
},
"Microsoft.NETCore.Platforms/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-VyPlqzH2wavqquTcYpkIIAQ6WdenuKoFN0BdYBbCWsclXacSOHNQn66Gt4z5NBqEYW0FAPm5rlvki9ZiCij5xQ==",
"path": "microsoft.netcore.platforms/5.0.0",
"hashPath": "microsoft.netcore.platforms.5.0.0.nupkg.sha512"
},
"Microsoft.Win32.Registry/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-dDoKi0PnDz31yAyETfRntsLArTlVAVzUzCIvvEDsDsucrl33Dl8pIJG06ePTJTI3tGpeyHS9Cq7Foc/s4EeKcg==",
"path": "microsoft.win32.registry/5.0.0",
"hashPath": "microsoft.win32.registry.5.0.0.nupkg.sha512"
},
"MongoDB.Bson/3.5.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-JGNK6BanLDEifgkvPLqVFCPus5EDCy416pxf1dxUBRSVd3D9+NB3AvMVX190eXlk5/UXuCxpsQv7jWfNKvppBQ==",
"path": "mongodb.bson/3.5.0",
"hashPath": "mongodb.bson.3.5.0.nupkg.sha512"
},
"MongoDB.Driver/3.5.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ST90u7psyMkNNOWFgSkexsrB3kPn7Ynl2DlMFj2rJyYuc6SIxjmzu4ufy51yzM+cPVE1SvVcdb5UFobrRw6cMg==",
"path": "mongodb.driver/3.5.0",
"hashPath": "mongodb.driver.3.5.0.nupkg.sha512"
},
"Newtonsoft.Json/13.0.4": {
"type": "package",
"serviceable": true,
"sha512": "sha512-pdgNNMai3zv51W5aq268sujXUyx7SNdE2bj1wZcWjAQrKMFZV260lbqYop1d2GM67JI1huLRwxo9ZqnfF/lC6A==",
"path": "newtonsoft.json/13.0.4",
"hashPath": "newtonsoft.json.13.0.4.nupkg.sha512"
},
"NLog/6.0.6": {
"type": "package",
"serviceable": true,
"sha512": "sha512-eUd/LDIwPtufj5OxtzFYiwuoKpzaS87iqO9P9D05avLCk4jIoOlqMwRH0o/43LmzM+CmgVAdDrCOq/rOK0sDKw==",
"path": "nlog/6.0.6",
"hashPath": "nlog.6.0.6.nupkg.sha512"
},
"protobuf-net/3.2.56": {
"type": "package",
"serviceable": true,
"sha512": "sha512-4IPJeTYAMNewlN8MDaFkcmR/9hLhJeo9eARnTh104zh7mf+vXT2gu5MUfUnkSQU+CH578Q6vcdU7LQDQPG6eaw==",
"path": "protobuf-net/3.2.56",
"hashPath": "protobuf-net.3.2.56.nupkg.sha512"
},
"protobuf-net.Core/3.2.56": {
"type": "package",
"serviceable": true,
"sha512": "sha512-d6QOukTpDzs7zZv9tPnBZMtvHDNeHJQXUhMx54g4urUQsXK3oo9U70H9HvklYq7hlQ4A7AHJl7EVEqyCXXIl8Q==",
"path": "protobuf-net.core/3.2.56",
"hashPath": "protobuf-net.core.3.2.56.nupkg.sha512"
},
"SharpCompress/0.30.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-XqD4TpfyYGa7QTPzaGlMVbcecKnXy4YmYLDWrU+JIj7IuRNl7DH2END+Ll7ekWIY8o3dAMWLFDE1xdhfIWD1nw==",
"path": "sharpcompress/0.30.1",
"hashPath": "sharpcompress.0.30.1.nupkg.sha512"
},
"Snappier/1.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-rFtK2KEI9hIe8gtx3a0YDXdHOpedIf9wYCEYtBEmtlyiWVX3XlCNV03JrmmAi/Cdfn7dxK+k0sjjcLv4fpHnqA==",
"path": "snappier/1.0.0",
"hashPath": "snappier.1.0.0.nupkg.sha512"
},
"System.Buffers/4.5.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==",
"path": "system.buffers/4.5.1",
"hashPath": "system.buffers.4.5.1.nupkg.sha512"
},
"System.IdentityModel.Tokens.Jwt/8.14.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-EYGgN/S+HK7S6F3GaaPLFAfK0UzMrkXFyWCvXpQWFYmZln3dqtbyIO7VuTM/iIIPMzkelg8ZLlBPvMhxj6nOAA==",
"path": "system.identitymodel.tokens.jwt/8.14.0",
"hashPath": "system.identitymodel.tokens.jwt.8.14.0.nupkg.sha512"
},
"System.Memory/4.5.5": {
"type": "package",
"serviceable": true,
"sha512": "sha512-XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==",
"path": "system.memory/4.5.5",
"hashPath": "system.memory.4.5.5.nupkg.sha512"
},
"System.Runtime.CompilerServices.Unsafe/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-ZD9TMpsmYJLrxbbmdvhwt9YEgG5WntEnZ/d1eH8JBX9LBp+Ju8BSBhUGbZMNVHHomWo2KVImJhTDl2hIgw/6MA==",
"path": "system.runtime.compilerservices.unsafe/5.0.0",
"hashPath": "system.runtime.compilerservices.unsafe.5.0.0.nupkg.sha512"
},
"System.Security.AccessControl/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-dagJ1mHZO3Ani8GH0PHpPEe/oYO+rVdbQjvjJkBRNQkX4t0r1iaeGn8+/ybkSLEan3/slM0t59SVdHzuHf2jmw==",
"path": "system.security.accesscontrol/5.0.0",
"hashPath": "system.security.accesscontrol.5.0.0.nupkg.sha512"
},
"System.Security.Principal.Windows/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-t0MGLukB5WAVU9bO3MGzvlGnyJPgUlcwerXn1kzBRjwLKixT96XV0Uza41W49gVd8zEMFu9vQEFlv0IOrytICA==",
"path": "system.security.principal.windows/5.0.0",
"hashPath": "system.security.principal.windows.5.0.0.nupkg.sha512"
},
"ZstdSharp.Port/0.7.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-U9Ix4l4cl58Kzz1rJzj5hoVTjmbx1qGMwzAcbv1j/d3NzrFaESIurQyg+ow4mivCgkE3S413y+U9k4WdnEIkRA==",
"path": "zstdsharp.port/0.7.3",
"hashPath": "zstdsharp.port.0.7.3.nupkg.sha512"
},
"Entity/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Hotfix/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"ThirdParty/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,18 @@
{
"runtimeOptions": {
"tfm": "net9.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "9.0.0"
},
{
"name": "Microsoft.AspNetCore.App",
"version": "9.0.0"
}
],
"configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd">
<targets async="true">
<target name="ServerDebug" xsi:type="File"
encoding="UTF-8"
createDirs="true"
autoFlush="false"
keepFileOpen="true"
concurrentWrites="true"
openFileCacheTimeout="30"
openFileFlushTimeout="60"
fileName="${basedir}/../Logs/Server/Server${date:format=yyyyMMdd}/${logger}.${var:appId}.${date:format=yyyyMMddHH}.Debug.log"
layout="${longdate} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
</targets>
<targets async="true">
<target name="ServerInfo" xsi:type="File"
encoding="UTF-8"
createDirs="true"
autoFlush="false"
keepFileOpen="true"
concurrentWrites="true"
openFileCacheTimeout="30"
openFileFlushTimeout="60"
fileName="${basedir}/../Logs/Server/Server${date:format=yyyyMMdd}/${logger}.${var:appId}.${date:format=yyyyMMddHH}.Info.log"
layout="${longdate} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
</targets>
<targets async="true">
<target name="ServerWarn" xsi:type="File"
encoding="UTF-8"
createDirs="true"
autoFlush="false"
keepFileOpen="true"
concurrentWrites="true"
openFileCacheTimeout="30"
openFileFlushTimeout="60"
fileName="${basedir}/../Logs/Server/Server${date:format=yyyyMMdd}/${logger}.${var:appId}.${date:format=yyyyMMddHH}.Warn.log"
layout="${longdate} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
</targets>
<targets async="true">
<target name="ServerError" xsi:type="File"
encoding="UTF-8"
createDirs="true"
autoFlush="false"
keepFileOpen="true"
concurrentWrites="true"
openFileCacheTimeout="30"
openFileFlushTimeout="60"
fileName="${basedir}/../Logs/Server/Server${date:format=yyyyMMdd}/${logger}.${var:appId}.${date:format=yyyyMMddHH}.Error.log"
layout="${longdate} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
</targets>
<targets async="true">
<target name="ServerTrace" xsi:type="File"
encoding="UTF-8"
createDirs="true"
autoFlush="false"
keepFileOpen="true"
concurrentWrites="true"
openFileCacheTimeout="30"
openFileFlushTimeout="60"
fileName="${basedir}/../Logs/Server/Server${date:format=yyyyMMdd}/${logger}.${var:appId}.${date:format=yyyyMMddHH}.Trace.log"
layout="${longdate} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}" />
</targets>
<targets async="true">
<target name="ConsoleColor" xsi:type="ColoredConsole"
useDefaultRowHighlightingRules="false"
layout="${longdate} ${callsite:className=false:methodName=false:fileName=true:includeSourcePath=false:skipFrames=2} ${message}">
<highlight-row condition="level == LogLevel.Debug" foregroundColor="DarkGreen" />
<highlight-row condition="level == LogLevel.Info" foregroundColor="Gray" />
<highlight-row condition="level == LogLevel.Warn" foregroundColor="Yellow" />
<highlight-row condition="level == LogLevel.Error" foregroundColor="DarkRed" />
<highlight-row condition="level == LogLevel.Fatal" foregroundColor="Red" />
</target>
</targets>
<rules>
<!-- 控制台 调试或编辑器启动的时候会调用-->
<logger ruleName="ConsoleTrace" name="Server" level="Trace" writeTo="ConsoleColor" />
<logger ruleName="ConsoleDebug" name="Server" level="Debug" writeTo="ConsoleColor" />
<logger ruleName="ConsoleInfo" name="Server" level="Info" writeTo="ConsoleColor" />
<logger ruleName="ConsoleWarn" name="Server" level="Warn" writeTo="ConsoleColor" />
<logger ruleName="ConsoleError" name="Server" level="Error" writeTo="ConsoleColor" />
<!-- 服务端日志输出文件 发布到服务器后会调用-->
<logger ruleName="ServerDebug" name="Server" level="Debug" writeTo="ServerDebug" />
<logger ruleName="ServerTrace" name="Server" level="Trace" writeTo="ServerTrace" />
<logger ruleName="ServerInfo" name="Server" level="Info" writeTo="ServerInfo" />
<logger ruleName="ServerWarn" name="Server" level="Warn" writeTo="ServerWarn" />
<logger ruleName="ServerError" name="Server" level="Error" writeTo="ServerError" />
</rules>
</nlog>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

1871
Main/configs.json Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")]

View File

@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Main")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+7b10d4cb317c9f310649a9cb4afe3882d4b12624")]
[assembly: System.Reflection.AssemblyProductAttribute("Main")]
[assembly: System.Reflection.AssemblyTitleAttribute("Main")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// 由 MSBuild WriteCodeFragment 类生成。

View File

@@ -0,0 +1 @@
fc9a8788d075a5df6ba33e2aaff4335f57496fcbbea48b273642a6c07957e27a

View File

@@ -0,0 +1,15 @@
is_global = true
build_property.TargetFramework = net9.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Main
build_property.ProjectDir = D:\work\Fishing2Server\Main\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.EffectiveAnalysisLevelStyle = 9.0
build_property.EnableCodeStyleSeverity =

View File

@@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;

Binary file not shown.

View File

@@ -0,0 +1 @@
292ce48b0f62b84117b005a76ae2bf2724504c20e2a698038c8eb55ca1642b53

View File

@@ -0,0 +1,43 @@
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\Fantasy.config
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\Fantasy.xsd
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\Main.exe
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\NLog.config
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\Main.deps.json
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\Main.runtimeconfig.json
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\Main.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\Main.pdb
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\CommandLine.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\DnsClient.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\Fantasy-Net.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\MongoDB.Bson.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\MongoDB.Driver.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\Newtonsoft.Json.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\NLog.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\protobuf-net.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\protobuf-net.Core.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\SharpCompress.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\Snappier.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\ZstdSharp.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\Entity.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\Hotfix.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\Entity.pdb
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\Hotfix.pdb
D:\work\Fishing2ServerNew\Fishing2\Server\Main\obj\Debug\net9.0\Main.csproj.AssemblyReference.cache
D:\work\Fishing2ServerNew\Fishing2\Server\Main\obj\Debug\net9.0\Main.GeneratedMSBuildEditorConfig.editorconfig
D:\work\Fishing2ServerNew\Fishing2\Server\Main\obj\Debug\net9.0\Main.AssemblyInfoInputs.cache
D:\work\Fishing2ServerNew\Fishing2\Server\Main\obj\Debug\net9.0\Main.AssemblyInfo.cs
D:\work\Fishing2ServerNew\Fishing2\Server\Main\obj\Debug\net9.0\Main.csproj.CoreCompileInputs.cache
D:\work\Fishing2ServerNew\Fishing2\Server\Main\obj\Debug\net9.0\Main.csproj.Up2Date
D:\work\Fishing2ServerNew\Fishing2\Server\Main\obj\Debug\net9.0\Main.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\obj\Debug\net9.0\refint\Main.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\obj\Debug\net9.0\Main.pdb
D:\work\Fishing2ServerNew\Fishing2\Server\Main\obj\Debug\net9.0\Main.genruntimeconfig.cache
D:\work\Fishing2ServerNew\Fishing2\Server\Main\obj\Debug\net9.0\ref\Main.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\configs.json
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\Microsoft.IdentityModel.Abstractions.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\Microsoft.IdentityModel.Logging.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\Microsoft.IdentityModel.Tokens.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\ThirdParty.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\ThirdParty.pdb
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\Microsoft.IdentityModel.JsonWebTokens.dll
D:\work\Fishing2ServerNew\Fishing2\Server\Main\bin\Debug\net9.0\System.IdentityModel.Tokens.Jwt.dll

Binary file not shown.

View File

@@ -0,0 +1 @@
f7b3b59ea4a346ccb1b1bd90e08296a5128123bee96b07e25dbe0d73dbe5fe11

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,303 @@
{
"format": 1,
"restore": {
"D:\\work\\Fishing2Server\\Main\\Main.csproj": {}
},
"projects": {
"D:\\work\\Fishing2Server\\Entity\\Entity.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\work\\Fishing2Server\\Entity\\Entity.csproj",
"projectName": "Entity",
"projectPath": "D:\\work\\Fishing2Server\\Entity\\Entity.csproj",
"packagesPath": "C:\\Users\\FIREBAT\\.nuget\\packages\\",
"outputPath": "D:\\work\\Fishing2Server\\Entity\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\FIREBAT\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net9.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"projectReferences": {
"D:\\work\\Fishing2Server\\ThirdParty\\ThirdParty.csproj": {
"projectPath": "D:\\work\\Fishing2Server\\ThirdParty\\ThirdParty.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.300"
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"dependencies": {
"Fantasy-Net": {
"target": "Package",
"version": "[2025.2.0, )"
},
"Microsoft.IdentityModel.Tokens": {
"target": "Package",
"version": "[8.14.0, )"
},
"System.IdentityModel.Tokens.Jwt": {
"target": "Package",
"version": "[8.14.0, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.304/PortableRuntimeIdentifierGraph.json"
}
}
},
"D:\\work\\Fishing2Server\\Hotfix\\Hotfix.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\work\\Fishing2Server\\Hotfix\\Hotfix.csproj",
"projectName": "Hotfix",
"projectPath": "D:\\work\\Fishing2Server\\Hotfix\\Hotfix.csproj",
"packagesPath": "C:\\Users\\FIREBAT\\.nuget\\packages\\",
"outputPath": "D:\\work\\Fishing2Server\\Hotfix\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\FIREBAT\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net9.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"projectReferences": {
"D:\\work\\Fishing2Server\\Entity\\Entity.csproj": {
"projectPath": "D:\\work\\Fishing2Server\\Entity\\Entity.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.300"
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.304/PortableRuntimeIdentifierGraph.json"
}
}
},
"D:\\work\\Fishing2Server\\Main\\Main.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\work\\Fishing2Server\\Main\\Main.csproj",
"projectName": "Main",
"projectPath": "D:\\work\\Fishing2Server\\Main\\Main.csproj",
"packagesPath": "C:\\Users\\FIREBAT\\.nuget\\packages\\",
"outputPath": "D:\\work\\Fishing2Server\\Main\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\FIREBAT\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net9.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"projectReferences": {
"D:\\work\\Fishing2Server\\Entity\\Entity.csproj": {
"projectPath": "D:\\work\\Fishing2Server\\Entity\\Entity.csproj"
},
"D:\\work\\Fishing2Server\\Hotfix\\Hotfix.csproj": {
"projectPath": "D:\\work\\Fishing2Server\\Hotfix\\Hotfix.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.300"
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"dependencies": {
"NLog": {
"target": "Package",
"version": "[*, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.304/PortableRuntimeIdentifierGraph.json"
}
}
},
"D:\\work\\Fishing2Server\\ThirdParty\\ThirdParty.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\work\\Fishing2Server\\ThirdParty\\ThirdParty.csproj",
"projectName": "ThirdParty",
"projectPath": "D:\\work\\Fishing2Server\\ThirdParty\\ThirdParty.csproj",
"packagesPath": "C:\\Users\\FIREBAT\\.nuget\\packages\\",
"outputPath": "D:\\work\\Fishing2Server\\ThirdParty\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\FIREBAT\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.300"
},
"frameworks": {
"net8.0": {
"targetAlias": "net8.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.304/PortableRuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\FIREBAT\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.14.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\FIREBAT\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.logging.abstractions\8.0.0\buildTransitive\net6.0\Microsoft.Extensions.Logging.Abstractions.targets')" />
<Import Project="$(NuGetPackageRoot)fantasy-net\2025.2.0\buildTransitive\Fantasy-Net.targets" Condition="Exists('$(NuGetPackageRoot)fantasy-net\2025.2.0\buildTransitive\Fantasy-Net.targets')" />
</ImportGroup>
</Project>

1282
Main/obj/project.assets.json Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,35 @@
{
"version": 2,
"dgSpecHash": "tXEWsEHCjQI=",
"success": true,
"projectFilePath": "D:\\work\\Fishing2Server\\Main\\Main.csproj",
"expectedPackageFiles": [
"C:\\Users\\FIREBAT\\.nuget\\packages\\commandlineparser\\2.9.1\\commandlineparser.2.9.1.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\dnsclient\\1.6.1\\dnsclient.1.6.1.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\fantasy-net\\2025.2.0\\fantasy-net.2025.2.0.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\8.0.0\\microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\8.0.0\\microsoft.extensions.logging.abstractions.8.0.0.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\microsoft.identitymodel.abstractions\\8.14.0\\microsoft.identitymodel.abstractions.8.14.0.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\microsoft.identitymodel.jsonwebtokens\\8.14.0\\microsoft.identitymodel.jsonwebtokens.8.14.0.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\microsoft.identitymodel.logging\\8.14.0\\microsoft.identitymodel.logging.8.14.0.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\microsoft.identitymodel.tokens\\8.14.0\\microsoft.identitymodel.tokens.8.14.0.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\microsoft.netcore.platforms\\5.0.0\\microsoft.netcore.platforms.5.0.0.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\microsoft.win32.registry\\5.0.0\\microsoft.win32.registry.5.0.0.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\mongodb.bson\\3.5.0\\mongodb.bson.3.5.0.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\mongodb.driver\\3.5.0\\mongodb.driver.3.5.0.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\newtonsoft.json\\13.0.4\\newtonsoft.json.13.0.4.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\nlog\\6.0.6\\nlog.6.0.6.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\protobuf-net\\3.2.56\\protobuf-net.3.2.56.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\protobuf-net.core\\3.2.56\\protobuf-net.core.3.2.56.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\sharpcompress\\0.30.1\\sharpcompress.0.30.1.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\snappier\\1.0.0\\snappier.1.0.0.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\system.buffers\\4.5.1\\system.buffers.4.5.1.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\system.identitymodel.tokens.jwt\\8.14.0\\system.identitymodel.tokens.jwt.8.14.0.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\system.memory\\4.5.5\\system.memory.4.5.5.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\5.0.0\\system.runtime.compilerservices.unsafe.5.0.0.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\system.security.accesscontrol\\5.0.0\\system.security.accesscontrol.5.0.0.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\system.security.principal.windows\\5.0.0\\system.security.principal.windows.5.0.0.nupkg.sha512",
"C:\\Users\\FIREBAT\\.nuget\\packages\\zstdsharp.port\\0.7.3\\zstdsharp.port.0.7.3.nupkg.sha512"
],
"logs": []
}

View File

@@ -0,0 +1 @@
"restore":{"projectUniqueName":"D:\\work\\Fishing2Server\\Main\\Main.csproj","projectName":"Main","projectPath":"D:\\work\\Fishing2Server\\Main\\Main.csproj","outputPath":"D:\\work\\Fishing2Server\\Main\\obj\\","projectStyle":"PackageReference","fallbackFolders":["C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"],"originalTargetFrameworks":["net9.0"],"sources":{"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\":{},"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net9.0":{"targetAlias":"net9.0","projectReferences":{"D:\\work\\Fishing2Server\\Entity\\Entity.csproj":{"projectPath":"D:\\work\\Fishing2Server\\Entity\\Entity.csproj"},"D:\\work\\Fishing2Server\\Hotfix\\Hotfix.csproj":{"projectPath":"D:\\work\\Fishing2Server\\Hotfix\\Hotfix.csproj"}}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"direct"},"SdkAnalysisLevel":"9.0.300"}"frameworks":{"net9.0":{"targetAlias":"net9.0","dependencies":{"NLog":{"target":"Package","version":"[*, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\9.0.304/PortableRuntimeIdentifierGraph.json"}}

View File

@@ -0,0 +1 @@
17628533865638419

View File

@@ -0,0 +1 @@
17628541519681195