the Sim Settlements forums!

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Question BUG? : Incompatibility with vanilla workshop items

Strec

Active Member
Messages
140
Hi. I'm currently on a mod needing to receive and use the custom workshop events WorkshopActorAssignedToWork and WorkshopActorUnassigned and have a major problem with WorkshopFramework : I dont receive the WorkshopActorAssignedToWork event when I assign an actor to a standard workshop item (not a plot).

In the last part of the post is the complete log from my mod describing the test I've done to be sure the problem come from WorkshopFramework but I resume here:

Without WorkshopFramework running when I assign an actor to a workshop item I receive an event WorkshopActorAssignedToWork and eventually an event WorkshopActorUnassigned if the actor was previously assigned to an other item.

With WorkshopFramework running when I assign an actor to a workshop item that is not a plot I don't receive an event WorkshopActorAssignedToWork but I receive an event WorkshopActorUnassigned if the actor was previously assigned to an other item.

Here is the description of my tests (easily reproductible) and my logs :
Code:
Context : I just come back to Sanctuary after liberating the Garvey's team
A/ I just install a Scavenger station and a Pillory

Test 1A/ : WorkshopFramework not running (but SimSettlements Running)

I assign an actor to the Scavenger Workstation :
[07/10/2020 - 07:33:45PM] Received WorkshopActorAssignedToWork
[07/10/2020 - 07:33:45PM] Object is FF0011FA
[07/10/2020 - 07:33:45PM] Workshop is 000250FE
[07/10/2020 - 07:33:45PM] Actor is Parameters undoable : None
[07/10/2020 - 07:33:45PM] Object is FF0011FA
[07/10/2020 - 07:33:45PM] 0001A4DA assigned to FF0011FA

I assign the same actor to the Pillory :
[07/10/2020 - 07:36:32PM] Received WorkshopActorUnassigned
[07/10/2020 - 07:36:32PM] Object is FF0011FA
[07/10/2020 - 07:36:32PM] Workshop is 000250FE
[07/10/2020 - 07:36:32PM] Actor is Parameters undoable : None
[07/10/2020 - 07:36:32PM] Received WorkshopActorAssignedToWork
[07/10/2020 - 07:36:32PM] Object is FF0012FC
[07/10/2020 - 07:36:32PM] Workshop is 000250FE
[07/10/2020 - 07:36:32PM] Actor is Parameters undoable : None
[07/10/2020 - 07:36:32PM] Object is FF0012FC
[07/10/2020 - 07:36:32PM] 0001A4DA assigned to FF0012FC

All events are received

-------------------------------------------------------------------------------------
Test 2A/ : WorkshopFramework running 

I assign an actor to the Scavenger Workstation :
===> No event received concerning the new assignement

I assign the same actor to the Pillory :
[07/10/2020 - 07:43:30PM] Received WorkshopActorUnassigned
[07/10/2020 - 07:43:30PM] Object is FF0011FA
[07/10/2020 - 07:43:30PM] Workshop is 000250FE
[07/10/2020 - 07:43:30PM] Actor is Parameters undoable : None

B/ Before all I install a industrial plot and assign one actor to it, wait for the plot to be constructed and assigned
I install a second industrial plot and let it free. I save, quit and reload
After that I just install a Scavenger station and a Pillory like in test 1/

Test 1B/ : WorkshopFramework not running (but SimSettlements Running)

I assign an actor to the Scavenger Workstation :
[07/10/2020 - 08:02:34PM] Received WorkshopActorAssignedToWork
[07/10/2020 - 08:02:34PM] Object is FF0011FA
[07/10/2020 - 08:02:34PM] Workshop is 000250FE
[07/10/2020 - 08:02:34PM] Actor is Parameters undoable : None
[07/10/2020 - 08:02:34PM] Object is FF0011FA
[07/10/2020 - 08:02:34PM] 0001A4DA assigned to FF0011FA

I assign the same actor to the Pillory :
[07/10/2020 - 08:03:34PM] Received WorkshopActorUnassigned
[07/10/2020 - 08:03:34PM] Object is FF0011FA
[07/10/2020 - 08:03:34PM] Workshop is 000250FE
[07/10/2020 - 08:03:34PM] Actor is Parameters undoable : None
[07/10/2020 - 08:03:34PM] Received WorkshopActorAssignedToWork
[07/10/2020 - 08:03:35PM] Object is FF0012FC
[07/10/2020 - 08:03:35PM] Workshop is 000250FE
[07/10/2020 - 08:03:35PM] Actor is Parameters undoable : None
[07/10/2020 - 08:03:35PM] Object is FF0012FC
[07/10/2020 - 08:03:35PM] 0001A4DA assigned to FF0012FC

I assign the same actor to the industrial plot used by another actor :
[07/10/2020 - 08:05:13PM] Received WorkshopActorUnassigned
[07/10/2020 - 08:05:13PM] Object is FF0012FC
[07/10/2020 - 08:05:13PM] Workshop is 000250FE
[07/10/2020 - 08:05:13PM] Actor is Parameters undoable : None
[07/10/2020 - 08:05:14PM] Received WorkshopActorUnassigned
[07/10/2020 - 08:05:14PM] Object is FF001C9D
[07/10/2020 - 08:05:14PM] Workshop is 000250FE
[07/10/2020 - 08:05:14PM] Actor is Parameters undoable : None
[07/10/2020 - 08:05:21PM] Received WorkshopActorAssignedToWork
[07/10/2020 - 08:05:21PM] Object is FF001C9D
[07/10/2020 - 08:05:21PM] Workshop is 000250FE
[07/10/2020 - 08:05:21PM] Actor is Parameters undoable : None
[07/10/2020 - 08:05:22PM] Object is FF001C9D
[07/10/2020 - 08:05:22PM] 0001A4DA assigned to FF001C9D

All is ok

Test 2B/ : WorkshopFramework running 

I assign an actor to the Scavenger Workstation :
===> No event received concerning the new assignement

I assign the same actor to the Pillory :
[07/10/2020 - 08:12:31PM] Received WorkshopActorUnassigned
[07/10/2020 - 08:12:31PM] Object is FF0011FA
[07/10/2020 - 08:12:32PM] Workshop is 000250FE
[07/10/2020 - 08:12:32PM] Actor is Parameters undoable : None

I assign the same actor to the free industrial plot :
[07/10/2020 - 08:13:16PM] Received WorkshopActorUnassigned
[07/10/2020 - 08:13:16PM] Object is FF0012FC
[07/10/2020 - 08:13:16PM] Workshop is 000250FE
[07/10/2020 - 08:13:16PM] Actor is Parameters undoable : None
[07/10/2020 - 08:13:17PM] Received WorkshopActorAssignedToWork
[07/10/2020 - 08:13:17PM] Object is FF001093
[07/10/2020 - 08:13:17PM] Workshop is 000250FE
[07/10/2020 - 08:13:17PM] Actor is Parameters undoable : None
[07/10/2020 - 08:13:17PM] Object is FF001093
[07/10/2020 - 08:13:17PM] 0001A4DA assigned to FF001093

I assign the same actor to the industrial plot used by another actor :
[07/10/2020 - 08:14:56PM] Received WorkshopActorUnassigned
[07/10/2020 - 08:14:56PM] Object is FF001093
[07/10/2020 - 08:14:56PM] Workshop is 000250FE
[07/10/2020 - 08:14:56PM] Actor is Parameters undoable : None
[07/10/2020 - 08:15:01PM] Received WorkshopActorUnassigned
[07/10/2020 - 08:15:01PM] Object is FF001C9D
[07/10/2020 - 08:15:01PM] Workshop is 000250FE
[07/10/2020 - 08:15:01PM] Actor is Parameters undoable : None
[07/10/2020 - 08:15:10PM] Received WorkshopActorAssignedToWork
[07/10/2020 - 08:15:10PM] Object is FF001C9D
[07/10/2020 - 08:15:10PM] Workshop is 000250FE
[07/10/2020 - 08:15:10PM] Actor is Parameters undoable : None
[07/10/2020 - 08:15:10PM] Object is FF001C9D
[07/10/2020 - 08:15:11PM] 0001A4DA assigned to FF001C9D
 
I've just tested this with those same two items (scav and pillory), and a large number of other vanilla/DLC items and I'm always receiving the event.

In test 2A, are you running any other mods? How about in your tests with SS - any other mods beyond SS, WSFW, and your own mod?

Are there any loose script in Fallout 4\Data\Scripts? In particular, any with workshop in the name?
 
I use other mods but no one related to settlements things.
No loose files at all ( I reject all mods having any files not in archives)
I will make more tests with less mods (not soon, sorry) but in my last tests I had instant returns of the events as soon as I removed the framework.

Don't worry too much it's not important if it only impact my mod, not sure a lot of modders works on the subject :)
 
Top