Barotrauma

Barotrauma

Lua For Barotrauma
Help With Hosting Server Crash?
I'm sorry to have to ask, but I am having trouble since the latest update trying to host a Lua server.

I keep getting this crash report, and I don't understand what it's telling me to do to resolve it.

---------------------------------------------------------------------------------------

Exception: An exception was thrown while loading "Vanilla" (System.Exception)
Target site: Void HandleLoadException(System.Exception)
Stack trace:
at Barotrauma.CorePackage.HandleLoadException(Exception e)
at Barotrauma.ContentPackage.LoadPackageEnumerable()+MoveNext()
at Barotrauma.ContentPackageManager.EnabledPackages.SetCoreEnumerable(CorePackage newCore)+MoveNext()
at Barotrauma.ContentPackageManager.Init()+MoveNext()
at Barotrauma.Extensions.IEnumerableExtensions.Consume[T](IEnumerable`1 enumerable)
at Barotrauma.GameMain.Init()
at Barotrauma.GameMain.Run()
at Barotrauma.Program.Main(String[] args)


InnerException: An item with the same key has already been added. Key: MaxLevel
Target site: Void ThrowAddingDuplicateWithKeyArgumentException[T](T)
Stack trace:
at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
at Barotrauma.UpgradePrefab..ctor(ContentXElement element, UpgradeModulesFile file)
at Barotrauma.UpgradeModulesFile.CreatePrefab(ContentXElement element)
at Barotrauma.GenericPrefabFile`1.LoadFromXElement(ContentXElement parentElement, Boolean overriding)
at Barotrauma.GenericPrefabFile`1.LoadFromXElement(ContentXElement parentElement, Boolean overriding)
at Barotrauma.GenericPrefabFile`1.LoadFile()
at Barotrauma.ContentPackage.<>c__DisplayClass46_0.<<LoadPackageEnumerable>g__loadFiles|1>d.MoveNext()
Last debug messages:
10/11/2022 6:18:29 AM - Invalid content type "Tutorials"
10/11/2022 6:18:29 AM - Invalid content type "NPCPersonalityTraits"
Last edited by The Seraph of Tomorrow; 11 Oct, 2022 @ 4:22am
< >
Showing 1-1 of 1 comments
Disturbance 22 Dec, 2022 @ 6:21am 
yourscrewed.
< >
Showing 1-1 of 1 comments
Per page: 1530 50