HentHighSchool Development Forum

Game Development => HHS+ => Topic started by: Maths3301 on Nov 03, 2023, 03:07 PM

Title: outfit error and then everyone naked ^^
Post by: Maths3301 on Nov 03, 2023, 03:07 PM
I'm getting this error:

[Exception Info 1]

Top-level Exception
Type:        System.ApplicationException
Message:    FunctionLibrary\PaperDoll\New\SelectOutfitCustom [TRY] caused an exception at operation SeqAct_DatabaseQuery (ID: 286).
    called by PaperDollHandlers\StudentNew\Uniform\School uniforms at SeqActLat_RemoteEvent (ID: 286)
    called by PaperDollHandlers\Student\Uniform\Customizable at SeqActLat_RemoteEvent (ID: 34)
Source:      hhs+.exe

Inner Exception 1
Type:        System.FormatException
Message:    Input string was not in a correct format.
Source:      mscorlib
Stack Trace: at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
  at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
  at System.String.System.IConvertible.ToInt32(IFormatProvider provider)
  at hhs_.SeqVar_Int.SetVarValue(Object value) in hhs+\_Editor\_EventModules\_EventVariables\SeqVar_Int.cs:line 213
  at hhs_.SeqAct_DatabaseQuery.Activated(EventRunner Runner) in hhs+\_Editor\_EventModules\_EventActions\_EventActions_Database\SeqAct_DatabaseQuery.cs:line 87
  at hhs_.EventRunner.TryEvent(VisualEvent VE, Object Arg, Dictionary`2 Vars, UInt32 StartID, Byte StartIndex) in hhs+\_Editor\_EventModules\EventRunner.cs:line 661



sounds like a simple solution problem, when I set my students to wear normal clothes, this problem won't appear
Title: Re: outfit error and then everyone naked ^^
Post by: barteke22 on Nov 03, 2023, 05:25 PM
Update PD_Sys mod.
Title: Re: outfit error and then everyone naked ^^
Post by: Maths3301 on Nov 06, 2023, 08:11 PM
just updated PD System to v0.302 and still getting this error

When I try to manage the school:

Spoiler
FunctionLibrary\PaperDoll\New\SelectOutfitCustom [TRY] caused an exception at operation SeqAct_DatabaseQuery (ID: 286).
    called by PaperDollHandlers\StudentNew\Uniform\School uniforms at SeqActLat_RemoteEvent (ID: 286)
    called by PaperDollHandlers\Student\Uniform\Customizable at SeqActLat_RemoteEvent (ID: 34)
Input string was not in a correct format.

Location\School\Principal Office\Btn_Management [EXEC] caused an exception at operation SeqActLat_ManagementForm (ID: 22).
    called by Location\Your Home\Btn_Management at SeqActLat_RemoteEvent (ID: 1)
Exception has been thrown by the target of an invocation.
Object reference not set to an instance of an object.
[close]

When I see a student:

Spoiler
FunctionLibrary\PaperDoll\New\SelectOutfitCustom [TRY] caused an exception at operation SeqAct_DatabaseQuery (ID: 286).
    called by PaperDollHandlers\StudentNew\Uniform\School uniforms at SeqActLat_RemoteEvent (ID: 286)
    called by PaperDollHandlers\Student\Uniform\Customizable at SeqActLat_RemoteEvent (ID: 34)
Input string was not in a correct format.
[close]

Title: Re: outfit error and then everyone naked ^^
Post by: barteke22 on Nov 18, 2023, 10:23 PM
It means you didn't update properly (following the mod update instructions in the modding guide).
Title: Re: outfit error and then everyone naked ^^
Post by: Tetafriend on Nov 19, 2023, 12:40 PM
Same problem. Reinstalling the game doesn't help. I install mods according to the instructions in the description. I also tried to update according to the instructions - it did not help. The characters are still naked. There are no problems with other mods. Your mods are installed to the latest version. Perhaps these updates are for especially gifted people, I don't know
Title: Re: outfit error and then everyone naked ^^
Post by: barteke22 on Nov 19, 2023, 05:55 PM
It helped all the others, post your save.
Title: Re: outfit error and then everyone naked ^^
Post by: Tetafriend on Nov 19, 2023, 07:20 PM
I'm most likely doing something wrong. I just started the game again twice already and after a while everyone at school is naked.

https://dropmefiles.com/MU0Sm
Sorry, I don't know how to add a file to a message. I leave it on a file sharing service
Title: Re: outfit error and then everyone naked ^^
Post by: barteke22 on Nov 19, 2023, 10:32 PM
That save contains the old mod.  So you either:
- Don't have the latest mod version (version is date of last mod update note).
- Didn't do the 3 update steps shown in the modding guides.
- Didn't delete PD_System_Experimental if you had it.

If the exception happens on a fresh save, then it's either 1 or 3.

If people end up naked without an exception (or without you choosing a uniform), then it's related to something else (like a mod conflict).
Title: Re: outfit error and then everyone naked ^^
Post by: Tetafriend on Nov 21, 2023, 10:49 AM
I reinstalled the game again and updated the debug - everything worked. Sorry