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"
Sidst redigeret af The Seraph of Tomorrow; 11. okt. 2022 kl. 4:22
< >
Viser 1-1 af 1 kommentarer
Disturbance 22. dec. 2022 kl. 6:21 
yourscrewed.
< >
Viser 1-1 af 1 kommentarer
Per side: 1530 50