Jump to content

Cum Alchemy Addon - Vial Collection


Recommended Posts

Posted

Cum Alchemy Addon - Vial Collection

View File

Description

Cum Alchemy Remastered comes with a configuration for SL Triggers that give vials of cum on the completing of scenes. This is great, but has two issues with it that make it not ideal for my use anymore

  • There are a bunch of reports of people having trouble setting up the triggers properly or them not working for whatever reason
  • They only work for SexLab

 

This mod can be used as a replacement for those triggers, implementing the same logic in Papyrus and hooking into both SexLab and OStim events to give vials. Vials are only generated for scenes that the player is involved in and always given to the player, never to NPCs. It should work for both human and creature (SexLab only) partners.

 

MCM Settings

MCM is called "Cum Alchemy Vial Collection". It contains

  • Two flags indicating which of SexLab and Ostim were detected - not configurable, just informative

  • OStim: Give vials on orgasm - If checked, for OStim scenes a vial will be generated whenever an orgasm by an appropriate actor occurs (possibly more than once per scene). If unchecked vials will be generated for each actor when the scene ends.

    • SexLab scenes always have the latter behaviour, as the SexLab orgasm event does not seem to indicate which actor orgasmed, only that one occurred.

  • Give vials from males only - If checked, vials will only be generated for male actors. If unchecked, vials are generated for each actor in the scene.

    • If SexLab is installed and enabled then this is based on the actors SexLab gender (even for OStim scenes), otherwise it is based on the sex of the actor.

  • Give vials from self - If checked, vials will be generated for the player character if they meet the previous criteria. If unchecked, vials will only be generated for partners.

  • Vials per orgasm - Number of vials generated per orgasm.

  • And two options controlling where debug messages are displayed, if at all

 

Requirements

SkyUI - for the MCM

Cum Alchemy Remastered - v1.6.6 ESPFE is required

JContainers

PapyrusUtil

SexLabFramework - if you want it to generate vials for SexLab scenes - soft requirement

OStim Standalone - if you want it to generate vials for OStim scenes - soft requirement

And all requirements of these mods

 

This has only been tested on Skyrim SE v1.5.97, because that's all I have installed. My code is all Papyrus, so it may work if all the requirements work on newer versions.

 

I have tested this with some races, but not all of them - let me know if you encounter any that don't work and I will investigate. I believe I copied in the mapping correctly from the triggers but could have introduced errors.


  • Submitter
  • Submitted
    10/11/2024
  • Category
  • Requirements
  • Regular Edition Compatible

 

Posted
2 hours ago, Derflingerz said:

Great Alternative for SL Triggers, any plans on having option to add Custom Race? some companion uses Custom Race so they're not giving vials after the scenes.

 

Custom races should still give a vial, it would just be the one called something like "Vial of Mysterious Cum". I didn't add any builtin support for custom races as I just encoded the same set of races that were in the SL Triggers and I don't use any custom races in my load order. With the way I have it implemented adding support for a custom race is just a matter of adding one more entry to a map, saying which vial they should give. If you have specific ones you want supported I can add them fairly easily - I'd just need to know the editor id of the race and which val they should produce.

 

What would take me a bit more time to do but is an option if I have some free time would be to add code to read in a file with custom mappings, that would be added to the builtin ones. Then you could put any mappings (race -> item) for whatever additional races you want to work.

Posted (edited)
10 hours ago, zeelok said:

 

Custom races should still give a vial, it would just be the one called something like "Vial of Mysterious Cum". I didn't add any builtin support for custom races as I just encoded the same set of races that were in the SL Triggers and I don't use any custom races in my load order. With the way I have it implemented adding support for a custom race is just a matter of adding one more entry to a map, saying which vial they should give. If you have specific ones you want supported I can add them fairly easily - I'd just need to know the editor id of the race and which val they should produce.

 

What would take me a bit more time to do but is an option if I have some free time would be to add code to read in a file with custom mappings, that would be added to the builtin ones. Then you could put any mappings (race -> item) for whatever additional races you want to work.

image.png.fd74a20485d091df45d772dbea203a96.png
That's the thing companion with custom race doesn't give Mysterious Vial of Cum.
This are the Editor IDs of the Companions, from SEXYBONO's Daedric Bitches 2024 https://www.nexusmods.com/skyrimspecialedition/mods/117528
you can just set them to Nord Vials

Edited by Derflingerz
Posted
7 hours ago, Derflingerz said:

image.png.fd74a20485d091df45d772dbea203a96.png
That's the thing companion with custom race doesn't give Mysterious Vial of Cum.
This are the Editor IDs of the Companions, from SEXYBONO's Daedric Bitches 2024 https://www.nexusmods.com/skyrimspecialedition/mods/117528
you can just set them to Nord Vials

Apparently I accidentally deleted the bit of code that was supposed to give mysterious vials for any unknown race, I've readded that and added those three races, all with nord vials, to the internal mapping in the newly uploaded file.

Posted
3 hours ago, zeelok said:

Apparently I accidentally deleted the bit of code that was supposed to give mysterious vials for any unknown race, I've readded that and added those three races, all with nord vials, to the internal mapping in the newly uploaded file.

thank you, it works now.

Posted

For some reason I am missing the MCM so I am guessing I don't get any vials because I did not set it up from there.

All requirements are installed properly except SexLab which I am not using, only Ostim SA.

Is there a way to get the MCM to show up or configure it via the console?

Posted (edited)
51 minutes ago, fauiwen said:

For some reason I am missing the MCM so I am guessing I don't get any vials because I did not set it up from there.

All requirements are installed properly except SexLab which I am not using, only Ostim SA.

Is there a way to get the MCM to show up or configure it via the console?

You can try running the console command

setStage ski_configManagerInstance 1 

which should cause all MCMs to re-register, hopefully that will make it show up.

 

With the default settings you should receive vials from any male non-player character that orgasms during an OStim scene, so if that didn't happen then it's more than just the MCM that is having issues.

 

I did test on a new game with OStim installed but not SexLab and was able to see the MCM and receive a vial after a scene, so it should work with just that. If you continue to have issues then papyrus logs would be necessary to try to help debug it.

Edited by zeelok
Posted

The mod has worked pretty neat, SL triggers had been failing me recently and this mod is a great alternative. I would like to ask something or maybe it's already avaiable and I just cant find it.

Would be posible to configue the amount of vials that are gotten from scenes, you see I am currently on an alchemist playthrough and from each scene I only get one vial, would it be posible to increase to three or more?

Posted (edited)
9 hours ago, Pavlovian Afterdark said:

The mod has worked pretty neat, SL triggers had been failing me recently and this mod is a great alternative. I would like to ask something or maybe it's already avaiable and I just cant find it.

Would be posible to configue the amount of vials that are gotten from scenes, you see I am currently on an alchemist playthrough and from each scene I only get one vial, would it be posible to increase to three or more?

 

If you use OStim you can get multiple vials per scene if the actors generating them orgasm more than once, but currently for SexLab there is only one orgasm per scene so only one vial. I can add a configuration option to set the number of vials generated per orgasm - defaulting to one, but you could then increase it.

 

EDIT: v1.2 has been uploaded with this option added to the MCM.

Edited by zeelok
Posted
4 hours ago, zeelok said:

 

If you use OStim you can get multiple vials per scene if the actors generating them orgasm more than once, but currently for SexLab there is only one orgasm per scene so only one vial. I can add a configuration option to set the number of vials generated per orgasm - defaulting to one, but you could then increase it.

 

EDIT: v1.2 has been uploaded with this option added to the MCM.

Incredible, thank you so much! I'll try it this afternoon.

Posted

Thanks for this! Weird question/request but could this be made to be compatible with SL Survival's vials? Or triggering the same effect when consuming an ingredient? I tried exploring the .esp and source scripts and I think the problem could be solved at the script level.

Posted
38 minutes ago, Aeon said:

Thanks for this! Weird question/request but could this be made to be compatible with SL Survival's vials? Or triggering the same effect when consuming an ingredient? I tried exploring the .esp and source scripts and I think the problem could be solved at the script level.

 

Cum Alchemy Remastered already have built in compatibility with SL Survival. From its compatibility list:

Quote

SL Survival - Compatible. Craft SL Survival cum potions using the corresponding vials and by having the book "Semenologist's Guide to Survival" in your inventory. The book is only available for purchase in Natural Harvest.

 

Is there something else making this mod incompatible? I don't use SL Survival, so if there is a specific change that would make this more compatible I would need some more detail.

Posted (edited)

doesn't seem to be working for me. i turned on debug messages and it's correctly identifying the actors in the ostim scene and stating that it's giving the vial to the player, but not *actually* giving vials on orgasm. i'm on 1.5.97 and have checked requirements. running cum alchemy version 1.6.6ESPFE with version 1.2 of this mod.

Edited by Mio_Sugiyama
Posted
7 hours ago, Mio_Sugiyama said:

doesn't seem to be working for me. i turned on debug messages and it's correctly identifying the actors in the ostim scene and stating that it's giving the vial to the player, but not *actually* giving vials on orgasm. i'm on 1.5.97 and have checked requirements. running cum alchemy version 1.6.6ESPFE with version 1.2 of this mod.

 

So it's showing these messages:

Quote

Actor has race '<whatever>'

Found vial for actor race, giving to player

But then not giving any item to the player? That seems very strange, as the giving of the item is literally the next line of code after that second message. Is your Vials Per Orgasm in the MCM somehow set to 0? 1 is supposed to be the minimum and default, but maybe try setting it higher and seeing if items are received.

 

If you can provide a papyrus log covering a time when the item failed to generate it could potentially have information helpful in investigating this.

Posted (edited)
1 hour ago, zeelok said:

 

So it's showing these messages:

But then not giving any item to the player? That seems very strange, as the giving of the item is literally the next line of code after that second message. Is your Vials Per Orgasm in the MCM somehow set to 0? 1 is supposed to be the minimum and default, but maybe try setting it higher and seeing if items are received.

 

If you can provide a papyrus log covering a time when the item failed to generate it could potentially have information helpful in investigating this.


yeah, it's showing the messages, but when i check my inventory nothing changes. shows both in console and on screen with settings enabled.
papyrus log here: https://pastebin.com/7ta28RQZ
it seems like based on my quick glance it's finding the vial but then adding nothing to inventory? relevant lines near the end:
[10/27/2024 - 07:47:56AM] error: Cannot add None to a container
stack:
    [ (00000014)].Actor.AddItem() - "<native>" Line ?
    [ca_Quest_VialCollection (FE05A800)].CA_VialCollection.HandleActor() - "CA_VialCollection.psc" Line 202
    [ca_Quest_VialCollection (FE05A800)].CA_VialCollection.ostim_orgasm() - "CA_VialCollection.psc" Line 275

the count is set to 1 in the mcm. i'll try with a count of 2 and see if that works.

EDIT: raising the count in mcm didn't change anything.
 

Edited by Mio_Sugiyama
Posted (edited)
50 minutes ago, Mio_Sugiyama said:


yeah, it's showing the messages, but when i check my inventory nothing changes. shows both in console and on screen with settings enabled.
papyrus log here: https://pastebin.com/7ta28RQZ
it seems like based on my quick glance it's finding the vial but then adding nothing to inventory? relevant lines near the end:
[10/27/2024 - 07:47:56AM] error: Cannot add None to a container
stack:
    [ (00000014)].Actor.AddItem() - "<native>" Line ?
    [ca_Quest_VialCollection (FE05A800)].CA_VialCollection.HandleActor() - "CA_VialCollection.psc" Line 202
    [ca_Quest_VialCollection (FE05A800)].CA_VialCollection.ostim_orgasm() - "CA_VialCollection.psc" Line 275

the count is set to 1 in the mcm. i'll try with a count of 2 and see if that works.

EDIT: raising the count in mcm didn't change anything.
 

 

The relevant line of code is

            player.AddItem(JDB.solveForm(path, UnknownVial), TheMCM.VialsPerOrgasm)

 

If it printed the message "Found vial for actor race, giving to player", then JDB.solveForm should return a valid item to add but it is apparently returning null. That indicates to me that the vial formid I have entered for whatever race is involved is possibly incorrect. Could you let me know what race the actors involved in the scene are, or turn on trace logging by adding "bEnableTrace=1" to the papyrus section of your ini file and then provide a new papyrus log that will include that information.

Edited by zeelok
Posted
55 minutes ago, Mio_Sugiyama said:

i can let you know it's not working with nord, breton, imperial, orc, and wood elf, so from there i can surmise it's not working with any player race.

 

It does work for me with on a scene with a nord (screenshot below, from a new game), and it also works for me as a male player nord with "Give vials from self" enabled, so that race is correctly associated with a vial. That means it is likely something with your mod list that is preventing the item from being given. Additional information such as the trace papyrus log would be needed to debug this.

 

test.png.dcf16415391fddebc62f92acbe71293e.png

Posted (edited)

before i make a dumbass of myself, trace logs are part of the normal papyrus log, right? i turned on trace logging and repeated my test, just want to be sure i know where to check for them and what to paste!

EDIT: also gonna try a new save and see if it's still bugged there.

Edited by Mio_Sugiyama
Posted
22 hours ago, Mio_Sugiyama said:

before i make a dumbass of myself, trace logs are part of the normal papyrus log, right? i turned on trace logging and repeated my test, just want to be sure i know where to check for them and what to paste!

EDIT: also gonna try a new save and see if it's still bugged there.

 

Turning on trace does just mean more entries will appear in the normal papyrus log, yes. It allows anything passed to Debug.Trace to be printed to those logs, otherwise those messages don't show up anywhere.

 

I don't yet know why this mod worked on a new game but not your existing one, that is worth investigating. It did work for me when I added it to my existing game, but we likely have entirely different modlists.

  • 4 weeks later...
Posted

Does Cum Alchemy Remastered + this addon work with SexLab Separate Orgasm SE? Cum Alchemy Remastered doesn't state if SLSO is compatible or not but I really want to use it along with this... would I have to do any extra work to make them work nicely together?

Posted
9 minutes ago, Connector196 said:

Does Cum Alchemy Remastered + this addon work with SexLab Separate Orgasm SE? Cum Alchemy Remastered doesn't state if SLSO is compatible or not but I really want to use it along with this... would I have to do any extra work to make them work nicely together?

 

This should work fine with SLSO, as for SexLab it gives the vials at the end of the scene and does not care when/whether orgasms occur.

  • 1 month later...
Posted

Is there a way to fix wolves and dogs giving mysterious cum? i had a similar bug with the sl triggers version, in which it would give chaurus cum instead, and the mod's original creator said this:
"What most likely happened was that the dog was detected as a "canine" by SL and, since my mod only checks for the keywords added by the SPID add-on, it defaulted to the next item on the list which was the Chaurus vial."

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...