News:

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

Former www.henthighschool.com

[Mod] [Mods] barteke22's mod index

Started by barteke22, May 13, 2022, 11:54 PM

Previous topic - Next topic

rackstackjack

Thanks for that, things are looking good so far

rackstackjack

#31
Hrmm getting the following. Appears to be just for Show Text and despite changing the text to anything generic it still throws this;
[Exception Info 1]

Top-level Exception
Type:        System.ApplicationException
Message:     PersonAttachedEvents\Principal\Pregnancy\Birth [EXEC] caused an exception at operation SeqActLat_ShowText (ID: 400).
Source:      hhs+.exe

Inner Exception 1
Type:        System.ArgumentOutOfRangeException
Message:     Index and length must refer to a location within the string.
Parameter name: length
Source:      mscorlib
Stack Trace: at System.String.Substring(Int32 startIndex, Int32 length)
   at hhs_.TextReplacer.ReplaceAgeText(StringBuilder sb, String tag, Boolean capital, Int32 age) in D:\Torrents\DONE\dun\hhs-source\hhs+\_Modules\Util\TextReplacer.vb:line 421
   at hhs_.TextReplacer.ReplaceText(IDictionary`2 persons, StringBuilder sb) in D:\Torrents\DONE\dun\hhs-source\hhs+\_Modules\Util\TextReplacer.vb:line 193
   at hhs_.EventRunner.PerformTextReplacement(String text) in D:\Torrents\DONE\dun\hhs-source\hhs+\_Editor\_EventModules\EventRunner.vb:line 1069
   at hhs_.SeqActLat_ShowText.VB$StateMachine_7_ActivatedAsync.MoveNext() in D:\Torrents\DONE\dun\hhs-source\hhs+\_Editor\_EventModules\_EventActions\_EventActions_UI\_EventActions_UIControls\SeqActLat_ShowText.vb:line 44
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at hhs_.EventRunner.VB$StateMachine_109_ExecuteAsync.MoveNext() in D:\Torrents\DONE\dun\hhs-source\hhs+\_Editor\_EventModules\EventRunner.vb:line 993

Skipping the Show Text box it goes passed it, however then fails at id:574. This was Annette so may be specific somehow? Still don't actually get why it's failing though.

Edit: Can probably ignore this, I started another run but vanilla-ish to test and don't seem to do it. I had a lot of config tweaks before, still not too sure what it was actually complaining about.


barteke22Topic starter

#33
Quote from: rackstackjack on Jul 12, 2022, 05:22 AMHrmm getting the following. Appears to be just for Show Text and despite changing the text to anything generic it still throws this...

It should be fixed in the latest game patch (hopefully).

rackstackjack

Thanks for that, and all the work you've put in!

Johnny

#35
Hi,

my futa PC had a child and then I got a "rapid growth" event in the hospital. Now the child is no longer a baby and the "at home" event fails to find a child? I think that's the reason at least, since the event worked before (I'd call it a "play with child" event, as there was no father).

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

Application: HHS+
Version:    v1.10.1.2, Release
Region:      English (United Kingdom)
Date: 16/07/2022
Time: 21:02

User Explanation:

User said "see above xD"
-----------------------------

[Exception Info 1]

Top-level Exception
Type:        System.ApplicationException
Message:    FunctionLibrary\Pregnancy\GetChildByID [TRY] caused an exception at operation SeqAct_GetParentsOfPerson (ID: 86).
    called by PersonAttachedEvents\Principal\Pregnancy\Children at SeqActLat_RemoteEvent (ID: 839)
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_.SeqAct_GetParentsOfPerson.Activated(EventRunner Runner) in D:\Torrents\DONE\dun\hhs-source\hhs+\_Editor\_EventModules\_EventActions\_EventActions_GetPerson\SeqAct_GetParentsOfPerson.vb:line 23
  at hhs_.EventRunner.VB$StateMachine_96_TryEventAsync.MoveNext() in D:\Torrents\DONE\dun\hhs-source\hhs+\_Editor\_EventModules\EventRunner.vb:line 637




And a 2nd exception (follows right after the first):
-----------------------------
[Exception Info 1]

Top-level Exception
Type:        System.ApplicationException
Message:    PersonAttachedEvents\Principal\Pregnancy\Children [EXEC] caused an exception at operation SeqActLat_ShowText (ID: 294).
Source:      hhs+.exe

Inner Exception 1
Type:        System.ArgumentException
Message:    Token is not valid. - '{0}[/color' is not a valid color name!
Source:      hhs+
Stack Trace: at hhs_.EventTextBlockParser.GetColorFromString(String col) in D:\Torrents\DONE\dun\hhs-source\hhs+\_Modules\Util\EventTextBlockParser.vb:line 154
  at hhs_.EventTextBlockParser.ParsePage(IEnumerable`1 tokens) in D:\Torrents\DONE\dun\hhs-source\hhs+\_Modules\Util\EventTextBlockParser.vb:line 85
  at hhs_.EventTextBlockParser.VB$StateMachine_8_ParseText.MoveNext() in D:\Torrents\DONE\dun\hhs-source\hhs+\_Modules\Util\EventTextBlockParser.vb:line 60
  at hhs_.SeqActLat_ShowText.VB$StateMachine_7_ActivatedAsync.MoveNext() in D:\Torrents\DONE\dun\hhs-source\hhs+\_Editor\_EventModules\_EventActions\_EventActions_UI\_EventActions_UIControls\SeqActLat_ShowText.vb:line 59
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
  at hhs_.EventRunner.VB$StateMachine_109_ExecuteAsync.MoveNext() in D:\Torrents\DONE\dun\hhs-source\hhs+\_Editor\_EventModules\EventRunner.vb:line 993

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 D:\Torrents\DONE\dun\hhs-source\hhs+\_Modules\Util\EventTextBlockParser.vb:line 152
[close]


The event just doesn't work, the game continues just fine.

dcsobral

Is VisibleSlaveColar stable? It's on the download folder but I didn't see a mention of it anywhere in this thread.

barteke22Topic starter

Quote from: Johnny on Jul 16, 2022, 09:19 PMHi,

my futa PC had a child and then I got a "rapid growth" event in the hospital. Now the child is no longer a baby and the "at home" event fails to find a child? I think that's the reason at least, since the event worked before (I'd call it a "play with child" event, as there was no father).

The event just doesn't work, the game continues just fine.

Have you updated to the latest patch (game and mod) that came out a few days ago (and reloaded events)?  If so, can you provide a save?

Quote from: dcsobral on Jul 21, 2022, 01:12 AMIs VisibleSlaveColar stable? It's on the download folder but I didn't see a mention of it anywhere in this thread.

It should be, it was more of a random test to showcase what's possible than a mod, but it does what it says on the tin.

dcsobral

Quote from: barteke22 on Jul 21, 2022, 08:19 PM
Quote from: dcsobral on Jul 21, 2022, 01:12 AMIs VisibleSlaveColar stable? It's on the download folder but I didn't see a mention of it anywhere in this thread.

It should be, it was more of a random test to showcase what's possible than a mod, but it does what it says on the tin.

It fails validation, though. It says a couple of events (one on give, one on take) refer to themselves and thus break the chain.

barteke22Topic starter

It's a proof of concept that wasn't intended for the public, so I didn't bother tracking down and hiding the false-positives.

Bizaru

Quote from: dcsobral on Jul 22, 2022, 12:47 AM
Quote from: barteke22 on Jul 21, 2022, 08:19 PM
Quote from: dcsobral on Jul 21, 2022, 01:12 AMIs VisibleSlaveColar stable? It's on the download folder but I didn't see a mention of it anywhere in this thread.

It should be, it was more of a random test to showcase what's possible than a mod, but it does what it says on the tin.

It fails validation, though. It says a couple of events (one on give, one on take) refer to themselves and thus break the chain.


It worked, at least for me and not immediately. I threw off a few collars and when NPCs picked them up I didn't see any visual changes, but after a few game days the collars were visible on the necks.

Nonya Bizz

Downloading updates and just had a thought: is it possible to add an event to have characters ask for a condom or not? As it is in the game, if you don't carry condoms but NPCs do then you'll automatically put it on, and if you happened to run out without realizing then it could be an issue if you didn't want the baby. Sorta like a "we don't have any condoms, we shouldn't do this... unless... you wanted to?" kinda thing if the character would normally use condoms but is X amount of horny (or even turn you down if you don't have condoms between the both of you).

I'm sure it'd be annoying to even add an event like that to happen before/during sex (especially for stuff like dating where it could happen multiple times, and not all times would be vaginal), just tossing out an idea I guess.

storm4n

Is it me or pregnancies are extremely short? I doubt 9 actual months passed... is there a way to set it like that midgame?.

I wanted a harem of pregnant slave girls but they keep popping every month or so and they always day they're 2 weeks pregnant.

barteke22Topic starter

Quote from: Nonya Bizz on Jul 27, 2022, 12:00 AMDownloading updates and just had a thought: is it possible to add an event to have characters ask for a condom or not? As it is in the game, if you don't carry condoms but NPCs do then you'll automatically put it on, and if you happened to run out without realizing then it could be an issue if you didn't want the baby. Sorta like a "we don't have any condoms, we shouldn't do this... unless... you wanted to?" kinda thing if the character would normally use condoms but is X amount of horny (or even turn you down if you don't have condoms between the both of you).

I'm sure it'd be annoying to even add an event like that to happen before/during sex (especially for stuff like dating where it could happen multiple times, and not all times would be vaginal), just tossing out an idea I guess.

On generic AskForSex perhaps, but it wouldn't really be feasible for custom events.


Quote from: storm4n on Aug 16, 2022, 11:25 AMIs it me or pregnancies are extremely short? I doubt 9 actual months passed... is there a way to set it like that midgame?.

I wanted a harem of pregnant slave girls but they keep popping every month or so and they always day they're 2 weeks pregnant.

By default it lasts 3 months, so it's easier to unlock the ageing drugs.  You can change that in the map settings.

storm4n

Quote from: storm4n on Aug 16, 2022, 11:25 AMIs it me or pregnancies are extremely short? I doubt 9 actual months passed... is there a way to set it like that midgame?.

I wanted a harem of pregnant slave girls but they keep popping every month or so and they always day they're 2 weeks pregnant.

By default it lasts 3 months, so it's easier to unlock the ageing drugs.  You can change that in the map settings.
[/quote]

Can you please be a little more specific? map options where? and does it work mid-game?
thanks in advance!