Przeglądaj źródła

修复服务端运行错误

tanghai 9 lat temu
rodzic
commit
d522e7a016

+ 0 - 2
Server/App/Program.cs

@@ -24,8 +24,6 @@ namespace App
 
 				Log.Info("server start........................");
 				
-				Game.Scene.AddComponent<EventComponent>();
-				Game.Scene.AddComponent<TimerComponent>();
 				Game.Scene.AddComponent<MessageDispatherComponent, AppType>(startConfig.AppType);
 
 				// 根据不同的AppType添加不同的组件

+ 4 - 0
Tools/cwRsync/Config/readme.txt

@@ -1,3 +1,7 @@
+// 这两个文件所有者必须是root
+sudo chown root.root /etc/rsyncd.secrets
+sudo chown root.root /etc/rsyncd.conf
+
 // /etc/rsyncd.secrets必须是600权限,否则报错
 // @ERROR: auth failed on module Upload
 // rsync error: error starting client-server protocol (code 5) at main.c(1635) [sender=3.1.1]

+ 1 - 1
Tools/cwRsync/Config/rsyncConfig.txt

@@ -1 +1 @@
-{ "_t" : "RsyncConfig", "Host" : "192.168.8.235", "Account" : "tanghai", "Password" : "1234567890", "RelativePath" : "Source/Egametang", "Exclude" : [".git/", "Logs/", "Tools/", "Bin/", "Server/packages/", "Temp/", "Server/Server.sdf", "Unity/Library/", "Unity/Temp/", "*/obj"] }
+{ "_t" : "RsyncConfig", "Host" : "192.168.9.210", "Account" : "tanghai", "Password" : "1234567890", "RelativePath" : "Source/Egametang", "Exclude" : [".git/", "Logs/", "Tools/", "Bin/", "Server/packages/", "Temp/", "Server/Server.sdf", "Unity/Library/", "Unity/Temp/", "*/obj"] }