zunath / SWLOR_NWN

Star Wars: Legends of the Old Republic server code, a persistent world for Neverwinter Nights
40 stars 96 forks source link

GAME: Female Cathar Rest Menu (Bug) #285

Closed PjShirt closed 5 years ago

PjShirt commented 5 years ago

Made a female cathar character, started with background: Sharpshooter whose name is Old Cat Lady

Every time that I tried to rest it would't open the menu and would instantly cancel the rest, also, trying to use the open rest menu command was also not working.

zunath commented 5 years ago

EVENT ERROR (C#) SWLOR.Game.Server.Event.Module.OnModuleRest


EXCEPTION:

Exception type: System.ArgumentOutOfRangeException Message : Must be one or greater. Parameter name: requiredValue Stacktrace: at SWLOR.Game.Server.Service.MenuService.BuildBar (System.Int32 currentValue, System.Int32 requiredValue, System.Int32 numberOfBars, System.String colorToken) [0x00024] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Conversation.RestMenu.BuildMainPageHeader (SWLOR.Game.Server.GameObject.NWPlayer player) [0x00299] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Conversation.RestMenu.SetUp (SWLOR.Game.Server.GameObject.NWPlayer player) [0x0000c] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService+<>c__DisplayClass9_0.b__0 (SWLOR.Game.Server.Conversation.Contracts.IConversation convo) [0x00001] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.App.ResolveByInterface[T] (System.String typeName, SWLOR.Game.Server.App+AppResolveDelegate`1[T] action) [0x0006d] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService.LoadConversation (SWLOR.Game.Server.GameObject.NWPlayer player, SWLOR.Game.Server.GameObject.NWObject talkTo, System.String class, System.Int32 dialogNumber) [0x00118] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService.StartConversation (SWLOR.Game.Server.GameObject.NWPlayer player, SWLOR.Game.Server.GameObject.NWObject talkTo, System.String class) [0x0009f] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Event.Module.OnModuleRest.Run (System.Object[] args) [0x0004e] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.App.RunEvent[T] (System.Object[] args) [0x00024] in <99fb5067a3134f189d80936ed3732a42>:0

W [08:45:58] [NWNX_Mono] [Mono.cpp:275] Caught unhandled exception when invoking NWN.Scripts.mod_on_rest::Main: System.ArgumentOutOfRangeException: Must be one or greater. Parameter name: requiredValue at SWLOR.Game.Server.Service.MenuService.BuildBar (System.Int32 currentValue, System.Int32 requiredValue, System.Int32 numberOfBars, System.String colorToken) [0x00024] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Conversation.RestMenu.BuildMainPageHeader (SWLOR.Game.Server.GameObject.NWPlayer player) [0x00299] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Conversation.RestMenu.SetUp (SWLOR.Game.Server.GameObject.NWPlayer player) [0x0000c] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService+<>c__DisplayClass9_0.b__0 (SWLOR.Game.Server.Conversation.Contracts.IConversation convo) [0x00001] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.App.ResolveByInterface[T] (System.String typeName, SWLOR.Game.Server.App+AppResolveDelegate`1[T] action) [0x0006d] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService.LoadConversation (SWLOR.Game.Server.GameObject.NWPlayer player, SWLOR.Game.Server.GameObject.NWObject talkTo, System.String class, System.Int32 dialogNumber) [0x00118] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService.StartConversation (SWLOR.Game.Server.GameObject.NWPlayer player, SWLOR.Game.Server.GameObject.NWObject talkTo, System.String class) [0x0009f] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Event.Module.OnModuleRest.Run (System.Object[] args) [0x0004e] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.App.RunEvent[T] (System.Object[] args) [0x00079] in <99fb5067a3134f189d80936ed3732a42>:0 at NWN.Scripts.mod_on_rest.Main () [0x00006] in <99fb5067a3134f189d80936ed3732a42>:0


EVENT ERROR (C#) SWLOR.Game.Server.Event.Module.OnModuleRest


EXCEPTION:

Exception type: System.ArgumentOutOfRangeException Message : Must be one or greater. Parameter name: requiredValue Stacktrace: at SWLOR.Game.Server.Service.MenuService.BuildBar (System.Int32 currentValue, System.Int32 requiredValue, System.Int32 numberOfBars, System.String colorToken) [0x00024] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Conversation.RestMenu.BuildMainPageHeader (SWLOR.Game.Server.GameObject.NWPlayer player) [0x00299] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Conversation.RestMenu.SetUp (SWLOR.Game.Server.GameObject.NWPlayer player) [0x0000c] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService+<>c__DisplayClass9_0.b__0 (SWLOR.Game.Server.Conversation.Contracts.IConversation convo) [0x00001] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.App.ResolveByInterface[T] (System.String typeName, SWLOR.Game.Server.App+AppResolveDelegate`1[T] action) [0x0006d] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService.LoadConversation (SWLOR.Game.Server.GameObject.NWPlayer player, SWLOR.Game.Server.GameObject.NWObject talkTo, System.String class, System.Int32 dialogNumber) [0x00118] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService.StartConversation (SWLOR.Game.Server.GameObject.NWPlayer player, SWLOR.Game.Server.GameObject.NWObject talkTo, System.String class) [0x0009f] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Event.Module.OnModuleRest.Run (System.Object[] args) [0x0004e] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.App.RunEvent[T] (System.Object[] args) [0x00024] in <99fb5067a3134f189d80936ed3732a42>:0

W [08:45:59] [NWNX_Mono] [Mono.cpp:275] Caught unhandled exception when invoking NWN.Scripts.mod_on_rest::Main: System.ArgumentOutOfRangeException: Must be one or greater. Parameter name: requiredValue at SWLOR.Game.Server.Service.MenuService.BuildBar (System.Int32 currentValue, System.Int32 requiredValue, System.Int32 numberOfBars, System.String colorToken) [0x00024] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Conversation.RestMenu.BuildMainPageHeader (SWLOR.Game.Server.GameObject.NWPlayer player) [0x00299] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Conversation.RestMenu.SetUp (SWLOR.Game.Server.GameObject.NWPlayer player) [0x0000c] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService+<>c__DisplayClass9_0.b__0 (SWLOR.Game.Server.Conversation.Contracts.IConversation convo) [0x00001] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.App.ResolveByInterface[T] (System.String typeName, SWLOR.Game.Server.App+AppResolveDelegate`1[T] action) [0x0006d] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService.LoadConversation (SWLOR.Game.Server.GameObject.NWPlayer player, SWLOR.Game.Server.GameObject.NWObject talkTo, System.String class, System.Int32 dialogNumber) [0x00118] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService.StartConversation (SWLOR.Game.Server.GameObject.NWPlayer player, SWLOR.Game.Server.GameObject.NWObject talkTo, System.String class) [0x0009f] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Event.Module.OnModuleRest.Run (System.Object[] args) [0x0004e] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.App.RunEvent[T] (System.Object[] args) [0x00079] in <99fb5067a3134f189d80936ed3732a42>:0 at NWN.Scripts.mod_on_rest.Main () [0x00006] in <99fb5067a3134f189d80936ed3732a42>:0 I [08:46:00] [NWNX_Mono] [Mono.cpp:331] Resolved NWN.Scripts.crea_on_percept::Main.


EVENT ERROR (C#) SWLOR.Game.Server.Event.Module.OnModuleRest


EXCEPTION:

Exception type: System.ArgumentOutOfRangeException Message : Must be one or greater. Parameter name: requiredValue Stacktrace: at SWLOR.Game.Server.Service.MenuService.BuildBar (System.Int32 currentValue, System.Int32 requiredValue, System.Int32 numberOfBars, System.String colorToken) [0x00024] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Conversation.RestMenu.BuildMainPageHeader (SWLOR.Game.Server.GameObject.NWPlayer player) [0x00299] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Conversation.RestMenu.SetUp (SWLOR.Game.Server.GameObject.NWPlayer player) [0x0000c] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService+<>c__DisplayClass9_0.b__0 (SWLOR.Game.Server.Conversation.Contracts.IConversation convo) [0x00001] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.App.ResolveByInterface[T] (System.String typeName, SWLOR.Game.Server.App+AppResolveDelegate`1[T] action) [0x0006d] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService.LoadConversation (SWLOR.Game.Server.GameObject.NWPlayer player, SWLOR.Game.Server.GameObject.NWObject talkTo, System.String class, System.Int32 dialogNumber) [0x00118] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService.StartConversation (SWLOR.Game.Server.GameObject.NWPlayer player, SWLOR.Game.Server.GameObject.NWObject talkTo, System.String class) [0x0009f] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Event.Module.OnModuleRest.Run (System.Object[] args) [0x0004e] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.App.RunEvent[T] (System.Object[] args) [0x00024] in <99fb5067a3134f189d80936ed3732a42>:0

W [08:46:07] [NWNX_Mono] [Mono.cpp:275] Caught unhandled exception when invoking NWN.Scripts.mod_on_rest::Main: System.ArgumentOutOfRangeException: Must be one or greater. Parameter name: requiredValue at SWLOR.Game.Server.Service.MenuService.BuildBar (System.Int32 currentValue, System.Int32 requiredValue, System.Int32 numberOfBars, System.String colorToken) [0x00024] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Conversation.RestMenu.BuildMainPageHeader (SWLOR.Game.Server.GameObject.NWPlayer player) [0x00299] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Conversation.RestMenu.SetUp (SWLOR.Game.Server.GameObject.NWPlayer player) [0x0000c] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService+<>c__DisplayClass9_0.b__0 (SWLOR.Game.Server.Conversation.Contracts.IConversation convo) [0x00001] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.App.ResolveByInterface[T] (System.String typeName, SWLOR.Game.Server.App+AppResolveDelegate`1[T] action) [0x0006d] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService.LoadConversation (SWLOR.Game.Server.GameObject.NWPlayer player, SWLOR.Game.Server.GameObject.NWObject talkTo, System.String class, System.Int32 dialogNumber) [0x00118] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService.StartConversation (SWLOR.Game.Server.GameObject.NWPlayer player, SWLOR.Game.Server.GameObject.NWObject talkTo, System.String class) [0x0009f] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Event.Module.OnModuleRest.Run (System.Object[] args) [0x0004e] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.App.RunEvent[T] (System.Object[] args) [0x00079] in <99fb5067a3134f189d80936ed3732a42>:0 at NWN.Scripts.mod_on_rest.Main () [0x00006] in <99fb5067a3134f189d80936ed3732a42>:0


EVENT ERROR (C#) SWLOR.Game.Server.Event.Module.OnModuleRest


EXCEPTION:

Exception type: System.ArgumentOutOfRangeException Message : Must be one or greater. Parameter name: requiredValue Stacktrace: at SWLOR.Game.Server.Service.MenuService.BuildBar (System.Int32 currentValue, System.Int32 requiredValue, System.Int32 numberOfBars, System.String colorToken) [0x00024] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Conversation.RestMenu.BuildMainPageHeader (SWLOR.Game.Server.GameObject.NWPlayer player) [0x00299] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Conversation.RestMenu.SetUp (SWLOR.Game.Server.GameObject.NWPlayer player) [0x0000c] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService+<>c__DisplayClass9_0.b__0 (SWLOR.Game.Server.Conversation.Contracts.IConversation convo) [0x00001] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.App.ResolveByInterface[T] (System.String typeName, SWLOR.Game.Server.App+AppResolveDelegate`1[T] action) [0x0006d] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService.LoadConversation (SWLOR.Game.Server.GameObject.NWPlayer player, SWLOR.Game.Server.GameObject.NWObject talkTo, System.String class, System.Int32 dialogNumber) [0x00118] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService.StartConversation (SWLOR.Game.Server.GameObject.NWPlayer player, SWLOR.Game.Server.GameObject.NWObject talkTo, System.String class) [0x0009f] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Event.Module.OnModuleRest.Run (System.Object[] args) [0x0004e] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.App.RunEvent[T] (System.Object[] args) [0x00024] in <99fb5067a3134f189d80936ed3732a42>:0

W [08:46:48] [NWNX_Mono] [Mono.cpp:275] Caught unhandled exception when invoking NWN.Scripts.mod_on_rest::Main: System.ArgumentOutOfRangeException: Must be one or greater. Parameter name: requiredValue at SWLOR.Game.Server.Service.MenuService.BuildBar (System.Int32 currentValue, System.Int32 requiredValue, System.Int32 numberOfBars, System.String colorToken) [0x00024] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Conversation.RestMenu.BuildMainPageHeader (SWLOR.Game.Server.GameObject.NWPlayer player) [0x00299] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Conversation.RestMenu.SetUp (SWLOR.Game.Server.GameObject.NWPlayer player) [0x0000c] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService+<>c__DisplayClass9_0.b__0 (SWLOR.Game.Server.Conversation.Contracts.IConversation convo) [0x00001] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.App.ResolveByInterface[T] (System.String typeName, SWLOR.Game.Server.App+AppResolveDelegate`1[T] action) [0x0006d] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService.LoadConversation (SWLOR.Game.Server.GameObject.NWPlayer player, SWLOR.Game.Server.GameObject.NWObject talkTo, System.String class, System.Int32 dialogNumber) [0x00118] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Service.DialogService.StartConversation (SWLOR.Game.Server.GameObject.NWPlayer player, SWLOR.Game.Server.GameObject.NWObject talkTo, System.String class) [0x0009f] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.Event.Module.OnModuleRest.Run (System.Object[] args) [0x0004e] in <99fb5067a3134f189d80936ed3732a42>:0 at SWLOR.Game.Server.App.RunEvent[T] (System.Object[] args) [0x00079] in <99fb5067a3134f189d80936ed3732a42>:0 at NWN.Scripts.mod_on_rest.Main () [0x00006] in <99fb5067a3134f189d80936ed3732a42>:0

zunath commented 5 years ago

This was due to your FP being 0. The menu was erroring out when creating the bars. I display it as N/A now instead.