News:

Please request registration email again and then check your "Spam" folder

Former www.henthighschool.com

[MOD] More suggestions and other mods - WIP (updated 29.1.2024) [Experimantal]

Started by ElPresidenete, Sep 03, 2023, 11:44 AM

Previous topic - Next topic

ElPresideneteTopic starter

IT's not enough to replace the file. You must go to the debug (lower right), add changed events nad refresh

ElPresideneteTopic starter

Still fixing things, but new RandomFixes_Events uploaded.
For some reason images are not showing up properly with teacher-students in classroom


EDIT: Upodated again. Hoperfully now the iamges wil lshow up for student-teacher event.

Also re-uplaoded MDYoga_NoImages with a few tweaks and a orgy events that will hopefully trigger.

ElPresideneteTopic starter


MrCarguino

Hello again. The event gave me another type of error. Thanks in advance.
-----------------------------
[General Info]

Application: HHS+
Version:     v1.10.6.0, Release
Region:      English (United Kingdom)
Date: 08/02/2024
Time: 10:42

User Explanation:

User said ""
-----------------------------

[Exception Info 1]

Top-level Exception
Type:        System.ApplicationException
Message:     Location\Your Home\AnnetePregnancyTalk [EXEC] caused an exception at operation SeqActLat_ShowText (ID: 74).
Source:      hhs+.exe

Inner Exception 1
Type:        System.ArgumentException
Message:     Token is not valid. - '{PColor}' is not a valid color name!
Source:      hhs+
Stack Trace: at hhs_.EventTextBlockParser.GetColorFromString(String col) in hhs+\_Modules\Util\EventTextBlockParser.cs:line 265
   at hhs_.EventTextBlockParser.ParsePage(IEnumerable`1 tokens, Boolean veePreview) in hhs+\_Modules\Util\EventTextBlockParser.cs:line 118
   at hhs_.EventTextBlockParser.<ParseText>d__6.MoveNext() in hhs+\_Modules\Util\EventTextBlockParser.cs:line 78
   at hhs_.SeqActLat_ShowText.<ActivatedAsync>d__6.MoveNext() in hhs+\_Editor\_EventModules\_EventActions\_EventActions_UI\_EventActions_UIControls\SeqActLat_ShowText.cs:line 61
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at hhs_.EventRunner.<ExecuteAsync>d__126.MoveNext() in hhs+\_Editor\_EventModules\EventRunner.cs:line 1221

Inner Exception 2
Type:        System.FormatException
Message:     Token is not valid.
Source:      PresentationCore
Stack Trace: at MS.Internal.Parsers.ParseColor(String color, IFormatProvider formatProvider, ITypeDescriptorContext context)
   at System.Windows.Media.ColorConverter.ConvertFromString(String value)
   at hhs_.EventTextBlockParser.GetColorFromString(String col) in hhs+\_Modules\Util\EventTextBlockParser.cs:line 261

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

[Assembly Info]

mscorlib, Version=4.0.0.0
System.Xaml, Version=4.0.0.0
log4net, Version=2.0.15.0
PresentationCore, Version=4.0.0.0
System, Version=4.0.0.0
WindowsBase, Version=4.0.0.0
PresentationFramework, Version=4.0.0.0
Xceed.Wpf.Toolkit, Version=4.2.0.0
FontAwesome6.Core, Version=2.5.1.0
System.Core, Version=4.0.0.0
WindowsFormsIntegration, Version=4.0.0.0
System.Windows.Forms, Version=4.0.0.0
MathParser.org-mXparser, Version=5.2.1.0
Microsoft.VisualBasic, Version=10.0.0.0
Microsoft.Msagl.GraphViewerGdi, Version=3.0.0.0
Microsoft.Msagl.Drawing, Version=3.0.0.0
System.Drawing, Version=4.0.0.0
System.Data.SQLite, Version=1.0.117.0
System.Xml, Version=4.0.0.0
Cronos, Version=0.7.1.0
System.Runtime.Caching, Version=4.0.0.0
System.Data, Version=4.0.0.0
FontAwesome6.Svg.Net, Version=2.5.1.0
ExceptionReporter.NET, Version=3.0.1.0
OxyPlot.Wpf, Version=2.1.2.0
OxyPlot, Version=2.1.2.0
Microsoft.Msagl, Version=3.0.0.0
Imazen.WebP, Version=10.0.1.0
XamlAnimatedGif, Version=2.0.0.0
OxyPlot.Wpf.Shared, Version=2.1.2.0

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

[System Info]

Operating System
-Microsoft Windows 10 Home
--CodeSet = 1252
--CSDVersion =
--CurrentTimeZone = 60
--FreePhysicalMemory = 22823396
--OSArchitecture = 64 bits
--OSLanguage = 3082
--ServicePackMajorVersion = 0
--ServicePackMinorVersion = 0
--Version = 10.0.19045

Machine
-CARGUI-PC
--Manufacturer = Micro-Star International Co., Ltd.
--Model = MS-7B17
--TotalPhysicalMemory = 34290896896

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


[Contact Info]

Email: 
Web:    https://www.henthighschool.net/hhs/
Phone: 
Fax:   
-----------------------------


ElPresideneteTopic starter

Instead of PColor it should be PricipalColor... and easy fix. You cna do it yourself. Jsut open the event in VEE, look fot the ShowTExt block with an ID 74 and in the attached String Variable, inside hte text there should be color blocks that arne't tagged properly.

MrCarguino

Hello again, I get this error. I have looked at the previous comments and I think it is the same error that another user gets. I have downloaded the event again and reloaded it but I still get that.
Sorry for the inconvenience and thank you.

-----------------------------
[General Info]

Application: HHS+
Version:     v1.10.6.0, Release
Region:      English (United Kingdom)
Date: 11/02/2024
Time: 13:53

User Explanation:

User said ""
-----------------------------

[Exception Info 1]

Top-level Exception
Type:        System.ApplicationException
Message:     Location\School\Classroom Shared\SharedClassroomTeacherSex [EXEC] caused an exception at operation SeqCond_PersonGender (ID: 22).
Source:      hhs+.exe

Inner Exception 1
Type:        System.NullReferenceException
Message:     Object reference not set to an instance of an object.
Source:      hhs+
Stack Trace: at hhs_.SeqCond_PersonGender.Activated(EventRunner Runner) in hhs+\_Editor\_EventModules\_EventActions\_EventActions_Person\SeqCond_PersonGender.cs:line 34
   at hhs_.EventRunner.<ExecuteAsync>d__126.MoveNext() in hhs+\_Editor\_EventModules\EventRunner.cs:line 1228

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

[Assembly Info]

mscorlib, Version=4.0.0.0
System.Xaml, Version=4.0.0.0
log4net, Version=2.0.15.0
PresentationCore, Version=4.0.0.0
System, Version=4.0.0.0
WindowsBase, Version=4.0.0.0
PresentationFramework, Version=4.0.0.0
Xceed.Wpf.Toolkit, Version=4.2.0.0
FontAwesome6.Core, Version=2.5.1.0
System.Core, Version=4.0.0.0
WindowsFormsIntegration, Version=4.0.0.0
System.Windows.Forms, Version=4.0.0.0
MathParser.org-mXparser, Version=5.2.1.0
Microsoft.VisualBasic, Version=10.0.0.0
Microsoft.Msagl.GraphViewerGdi, Version=3.0.0.0
Microsoft.Msagl.Drawing, Version=3.0.0.0
System.Drawing, Version=4.0.0.0
System.Data.SQLite, Version=1.0.117.0
System.Xml, Version=4.0.0.0
Cronos, Version=0.7.1.0
System.Runtime.Caching, Version=4.0.0.0
System.Data, Version=4.0.0.0
FontAwesome6.Svg.Net, Version=2.5.1.0
ExceptionReporter.NET, Version=3.0.1.0
OxyPlot.Wpf, Version=2.1.2.0
OxyPlot, Version=2.1.2.0
Microsoft.Msagl, Version=3.0.0.0
Imazen.WebP, Version=10.0.1.0
XamlAnimatedGif, Version=2.0.0.0
OxyPlot.Wpf.Shared, Version=2.1.2.0

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

[System Info]

Operating System
-Microsoft Windows 10 Home
--CodeSet = 1252
--CSDVersion =
--CurrentTimeZone = 60
--FreePhysicalMemory = 21035624
--OSArchitecture = 64 bits
--OSLanguage = 3082
--ServicePackMajorVersion = 0
--ServicePackMinorVersion = 0
--Version = 10.0.19045

Machine
-CARGUI-PC
--Manufacturer = Micro-Star International Co., Ltd.
--Model = MS-7B17
--TotalPhysicalMemory = 34290896896

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

[Contact Info]

Email: 
Web:    https://www.henthighschool.net/hhs/
Phone: 
Fax:   
-----------------------------


ElPresideneteTopic starter

That shouldn't be happening..
Do you get a "No aplicable student" message before the error? Because I check how many students there are and that event branch will not trigger if it's 0 or less.

Also, ACtionImageProvider is not showing images for some reason. Can someone more experienced take a look at what is going on?

MrCarguino


ElPresideneteTopic starter

I keep running into bugs that I cannot figure out.

StudentTEacherSex scrip i nclassomShared - pictures do not show up and sometimes it looks like the processing of hte sex act doesn't trigger either (no messgae with stat/relation changes)

SlaveHandler - I'm STILL getting quadripple repeats evne tough I broke all repeating branches. This is driving me bananas

ElPresideneteTopic starter

Updatesboth evets.zips. Just fixes, still lots of fixin needed.

Haq

Chief I got you another bug. happens whenever clicked on the behind the school location


Location\School\Behind School\BullyEventChainStart [TRY] caused an exception at operation SeqActLat_ShowText (ID: 25).
The calling thread cannot access this object because a different thread owns it.

   at System.Windows.Threading.Dispatcher.VerifyAccess()
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at hhs_._GameWindow.AssignEvent(VisualEvent VE) in hhs+\_View\GameWindow\_GameWindow.xaml.cs:line 2438
   at hhs_._GameWindow.BeginEventUI(VisualEvent VE) in hhs+\_View\GameWindow\_GameWindow.xaml.cs:line 2351
   at hhs_.SeqActLat_ShowText.<ActivatedAsync>d__6.MoveNext() in hhs+\_Editor\_EventModules\_EventActions\_EventActions_UI\_EventActions_UIControls\SeqActLat_ShowText.cs:line 61
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at hhs_.EventRunner.<TryEventAsync>d__113.MoveNext() in hhs+\_Editor\_EventModules\EventRunner.cs:line 849

koko253

Location\Hardman\Home\KarinBlackmail [EXEC] caused an exception at operation SeqAct_TextReplacePersonContext (ID: 150).
Value cannot be null.
Parameter name: Person
Is there a solution for this?

⚧ Squark

Quote from: koko253 on Feb 24, 2024, 12:18 AMLocation\Hardman\Home\KarinBlackmail [EXEC] caused an exception at operation SeqAct_TextReplacePersonContext (ID: 150).
Value cannot be null.
Parameter name: Person
Is there a solution for this?
I think that happens when the game is checking for Petra Hooter as opposed to Peter, given that said character is an option in that event.
There's two ways I know of to fix it - the quick and dirty one I use or relying on the various fixes files provided by ElPresidenete. The latter one is by far safer but my method is what works for me. YMMV.
What I do is this:
0) Load a save from before the event bugged out and re-save it. This is just a precautionary measure in case something goes horribly wrong. Keep this one safe and never save over it.
1) Open the Debug Window, Navigate to Persons then use the dropdown box to select "Enrolled Students".
2) Click Petra Hooter and change CustomeForeName and ForeName to Petra (if they aren't already).
3) Now click Update. The game should apply the changes but it won't work just yet.
4) Make a new save and close the game completely.
5) Reload the save you just made.

N.B. If you're using Peter and not Petra, you must install the HooterFix_NF files instead!
Technically speaking, it should work fine for Petra too if you use the normal HooterFix files.

koko253

Quote from: ⚧ Squark on Feb 24, 2024, 12:41 AM
Quote from: koko253 on Feb 24, 2024, 12:18 AMLocation\Hardman\Home\KarinBlackmail [EXEC] caused an exception at operation SeqAct_TextReplacePersonContext (ID: 150).
Value cannot be null.
Parameter name: Person
Is there a solution for this?
I think that happens when the game is checking for Petra Hooter as opposed to Peter, given that said character is an option in that event.
There's two ways I know of to fix it - the quick and dirty one I use or relying on the various fixes files provided by ElPresidenete. The latter one is by far safer but my method is what works for me. YMMV.
What I do is this:
0) Load a save from before the event bugged out and re-save it. This is just a precautionary measure in case something goes horribly wrong. Keep this one safe and never save over it.
1) Open the Debug Window, Navigate to Persons then use the dropdown box to select "Enrolled Students".
2) Click Petra Hooter and change CustomeForeName and ForeName to Petra (if they aren't already).
3) Now click Update. The game should apply the changes but it won't work just yet.
4) Make a new save and close the game completely.
5) Reload the save you just made.

N.B. If you're using Peter and not Petra, you must install the HooterFix_NF files instead!
Technically speaking, it should work fine for Petra too if you use the normal HooterFix files.
Sorry, my English is weak. Can you explain the first method in detail?
For example, what is the name of the repair file that I must install and how can I install it, because I think that I installed it in the wrong way.

⚧ Squark

Quote from: koko253 on Feb 24, 2024, 02:45 PMSorry, my English is weak. Can you explain the first method in detail?
For example, what is the name of the repair file that I must install and how can I install it, because I think that I installed it in the wrong way.
Go the link in the first post and download HooterFix. Unpack and place the folder within the archive in Schools/NormalSchool/Mods. Load your save and then open the Debug window and go to Reload Events.
Click Add Changed Events and once that's done, click Refresh Files.
Now close the Debug Window, save your game and close the game fully. Then reload your save and it should work now.

Bear in mind that if you're using Peter and NOT Petra, you will need the HooterFix_NF archive instead from that same link. Do not install both versions.