Moneylover3246 / Crossplay

Allows for cross-platform play on Terraria servers
MIT License
137 stars 35 forks source link

Wont stert #24

Closed Spike1797 closed 1 year ago

Spike1797 commented 2 years ago

Logfile as follows

[03/27/22 16:36:05] [Server API] Verbose: TerrariaApi - Server v2.1.0.0 started. [03/27/22 16:36:05] [Server API] Verbose: Command line: -ip 37.10.124.198 -port 41000 -players 6 -world Fgn -autocreate 2 -config tshock_config.txt -ignoreversion [03/27/22 16:36:05] [Server API] Verbose: OS: Microsoft Windows NT 6.2.9200.0 (64bit: True) [03/27/22 16:36:05] [Server API] Verbose: Mono: False [03/27/22 16:36:05] [Server API] Warning: Plugin versions are no longer being regarded, you are on your own! If problems arise, TShock developers will not help you with issues regarding this. [03/27/22 16:36:06] [Server API] Error: Startup aborted due to an exception in the Server API initialization: System.InvalidOperationException: Plugin "Crossplay" has thrown an exception during initialization. ---> System.MissingMethodException: Method not found: 'TerrariaApi.Server.HandlerCollection1<TerrariaApi.Server.SendNetDataEventArgs> TerrariaApi.Server.HookManager.get_NetSendNetData()'. at Crossplay.CrossplayPlugin.Initialize() at TerrariaApi.Server.ServerApi.LoadPlugins() in D:\a\TShock\TShock\TerrariaServerAPI\TerrariaServerAPI\TerrariaApi.Server\ServerApi.cs:line 375 --- End of inner exception stack trace --- at TerrariaApi.Server.ServerApi.LoadPlugins() in D:\a\TShock\TShock\TerrariaServerAPI\TerrariaServerAPI\TerrariaApi.Server\ServerApi.cs:line 380 at TerrariaApi.Server.ServerApi.Initialize(String[] commandLineArgs, Main game) in D:\a\TShock\TShock\TerrariaServerAPI\TerrariaServerAPI\TerrariaApi.Server\ServerApi.cs:line 117 at TerrariaApi.Server.HookManager.InitialiseAPI() in D:\a\TShock\TShock\TerrariaServerAPI\TerrariaServerAPI\TerrariaApi.Server\HookManager.cs:line 27 [03/27/22 16:45:58] [Server API] Verbose: TerrariaApi - Server v2.1.0.0 started. [03/27/22 16:45:58] [Server API] Verbose: Command line: -ip 37.10.124.198 -port 41000 -players 6 -world Fgn -autocreate 2 -config tshock_config.txt -ignoreversion [03/27/22 16:45:58] [Server API] Verbose: OS: Microsoft Windows NT 6.2.9200.0 (64bit: True) [03/27/22 16:45:58] [Server API] Verbose: Mono: False [03/27/22 16:45:58] [Server API] Warning: Plugin versions are no longer being regarded, you are on your own! If problems arise, TShock developers will not help you with issues regarding this. [03/27/22 16:45:58] [Server API] Error: Startup aborted due to an exception in the Server API initialization: System.InvalidOperationException: Plugin "Crossplay" has thrown an exception during initialization. ---> System.MissingMethodException: Method not found: 'TerrariaApi.Server.HandlerCollection1 TerrariaApi.Server.HookManager.get_NetSendNetData()'. at Crossplay.CrossplayPlugin.Initialize() at TerrariaApi.Server.ServerApi.LoadPlugins() in D:\a\TShock\TShock\TerrariaServerAPI\TerrariaServerAPI\TerrariaApi.Server\ServerApi.cs:line 375 --- End of inner exception stack trace --- at TerrariaApi.Server.ServerApi.LoadPlugins() in D:\a\TShock\TShock\TerrariaServerAPI\TerrariaServerAPI\TerrariaApi.Server\ServerApi.cs:line 380 at TerrariaApi.Server.ServerApi.Initialize(String[] commandLineArgs, Main game) in D:\a\TShock\TShock\TerrariaServerAPI\TerrariaServerAPI\TerrariaApi.Server\ServerApi.cs:line 117 at TerrariaApi.Server.HookManager.InitialiseAPI() in D:\a\TShock\TShock\TerrariaServerAPI\TerrariaServerAPI\TerrariaApi.Server\HookManager.cs:line 27 [03/27/22 20:56:44] [Server API] Verbose: TerrariaApi - Server v2.1.0.0 started. [03/27/22 20:56:44] [Server API] Verbose: Command line: -ip 37.10.124.198 -port 41000 -players 6 -world Fgn -autocreate 2 -config tshock_config.txt
[03/27/22 20:56:44] [Server API] Verbose: OS: Microsoft Windows NT 6.2.9200.0 (64bit: True) [03/27/22 20:56:44] [Server API] Verbose: Mono: False [03/27/22 20:56:44] [Server API] Error: Startup aborted due to an exception in the Server API initialization: System.InvalidOperationException: Plugin "Crossplay" has thrown an exception during initialization. ---> System.MissingMethodException: Method not found: 'TerrariaApi.Server.HandlerCollection1<TerrariaApi.Server.SendNetDataEventArgs> TerrariaApi.Server.HookManager.get_NetSendNetData()'. at Crossplay.CrossplayPlugin.Initialize() at TerrariaApi.Server.ServerApi.LoadPlugins() in D:\a\TShock\TShock\TerrariaServerAPI\TerrariaServerAPI\TerrariaApi.Server\ServerApi.cs:line 375 --- End of inner exception stack trace --- at TerrariaApi.Server.ServerApi.LoadPlugins() in D:\a\TShock\TShock\TerrariaServerAPI\TerrariaServerAPI\TerrariaApi.Server\ServerApi.cs:line 380 at TerrariaApi.Server.ServerApi.Initialize(String[] commandLineArgs, Main game) in D:\a\TShock\TShock\TerrariaServerAPI\TerrariaServerAPI\TerrariaApi.Server\ServerApi.cs:line 117 at TerrariaApi.Server.HookManager.InitialiseAPI() in D:\a\TShock\TShock\TerrariaServerAPI\TerrariaServerAPI\TerrariaApi.Server\HookManager.cs:line 27 [03/28/22 13:30:43] [Server API] Verbose: TerrariaApi - Server v2.1.0.0 started. [03/28/22 13:30:43] [Server API] Verbose: Command line: -ip 37.10.124.198 -port 41000 -players 6 -world Fgn -autocreate 2 -config tshock_config.txt [03/28/22 13:30:43] [Server API] Verbose: OS: Microsoft Windows NT 6.2.9200.0 (64bit: True) [03/28/22 13:30:43] [Server API] Verbose: Mono: False [03/28/22 13:30:44] [Server API] Error: Startup aborted due to an exception in the Server API initialization: System.InvalidOperationException: Plugin "Crossplay" has thrown an exception during initialization. ---> System.MissingMethodException: Method not found: 'TerrariaApi.Server.HandlerCollection1 TerrariaApi.Server.HookManager.get_NetSendNetData()'. at Crossplay.CrossplayPlugin.Initialize() at TerrariaApi.Server.ServerApi.LoadPlugins() in D:\a\TShock\TShock\TerrariaServerAPI\TerrariaServerAPI\TerrariaApi.Server\ServerApi.cs:line 375 --- End of inner exception stack trace --- at TerrariaApi.Server.ServerApi.LoadPlugins() in D:\a\TShock\TShock\TerrariaServerAPI\TerrariaServerAPI\TerrariaApi.Server\ServerApi.cs:line 380 at TerrariaApi.Server.ServerApi.Initialize(String[] commandLineArgs, Main game) in D:\a\TShock\TShock\TerrariaServerAPI\TerrariaServerAPI\TerrariaApi.Server\ServerApi.cs:line 117 at TerrariaApi.Server.HookManager.InitialiseAPI() in D:\a\TShock\TShock\TerrariaServerAPI\TerrariaServerAPI\TerrariaApi.Server\HookManager.cs:line 27

Moneylover3246 commented 2 years ago

Hello. If this error is still persisting, make sure your server is updated to 4.5.17 (the latest version of TShock at the time of writing). Also make sure that OTAPI.dll & TerrariaServer.exe are updated to their correct versions