StrangeLoopGames / EcoIssues

131 stars 21 forks source link

7. #8162

Closed Wimiles closed 6 years ago

Wimiles commented 6 years ago

When attempting to start a server (after upgrading from 7.4.7), I get the following message:


[XXXXXXX@XXXXXXXX]$ mono EcoServer.exe -nogui
[10:44:52] Eco Server 0.7.5.0 beta
[10:44:52] Server Initialization...
[10:44:52] Starting LocalizationPlugin...
[10:44:52] Starting ModKitPlugin...       Finished in 243.5ms
[10:44:52] Compiling mods...
[10:44:53] Mods recompiled with errors.
[10:44:53] Error in SkidSteerObject at 19: The namespace `Eco.Mods.TechTree' already contains a definition for `SkidSteerObject' (CS0101)

[10:44:53] Server Initialization finished in 1,040.2mss
[ERROR] FATAL UNHANDLED EXCEPTION: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Error in SkidSteerObject at 19: The namespace `Eco.Mods.TechTree' already contains a definition for `SkidSteerObject' (CS0101)

  at Eco.ModKit.RuntimeCompiler.HandleCompilerError (System.CodeDom.Compiler.CompilerResults results) [0x000ae] in <6e92d8cb99254b16b50f75c42b36f8dd>:0
  at Eco.ModKit.RuntimeCompiler.LoadOrCompileMods () [0x00212] in <6e92d8cb99254b16b50f75c42b36f8dd>:0
  at Eco.ModKit.RuntimeCompiler..ctor () [0x000dd] in <6e92d8cb99254b16b50f75c42b36f8dd>:0
  at Eco.ModKit.ModKitPlugin..ctor (System.Threading.ManualResetEvent doneEvent) [0x0003a] in <6e92d8cb99254b16b50f75c42b36f8dd>:0
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <1fd744d936be4a229b315d57c3b96c68>:0
   --- End of inner exception stack trace ---
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00019] in <1fd744d936be4a229b315d57c3b96c68>:0
  at System.Reflection.MonoCMethod.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00089] in <1fd744d936be4a229b315d57c3b96c68>:0
  at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <1fd744d936be4a229b315d57c3b96c68>:0
  at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x00243] in <1fd744d936be4a229b315d57c3b96c68>:0

This is a vanilla game with only a few settings in config files changed (Difficulty, Disasters, and Users).

I moved Mods/ to Mods.bak/ and re-extracted the new update. This resolved the issue without any problems.

Server was created during 7.4.7

SeanAtr0n commented 6 years ago

think @Nanders mentioned steam might need to delete this folder or something when updating

Nanders commented 6 years ago

Steam wont delete mods unless its uploaded as part of the depot

Wimiles commented 6 years ago

No steam involved here. Downloaded the server zip file straight from the site. Running it on a system without steam installed. (CentOS 6.9 using Mono).

Nanders commented 6 years ago

Pretty sure this has since been solved