Jump to content

Optimization Request: Implementing a Global Event Queue to reduce Papyrus Lag


Recommended Posts

Posted

English Translation

Would it be possible to take all the mods currently running in parallel and put them into a queue that checks at specific time intervals?

For example: Mod 1 starts, then the system performs a check to see if it has finished before moving to the next mod. This would reduce the lag caused by Papyrus having too many threads waiting at once.

It would also allow us to create a waiting list for mods trying to trigger an event while the player is in a SexLab animation. The mod would ask, 'Can I start?' and the system would respond, 'Wait.'

This could also be useful for NPCs waiting their turn in mods like Public Whore.

The longer NPCs wait, the higher the chance they decide to group up for their turn.

It would allow for a 'progressive' scene—for example, starting with a gangbang of 3 NPCs, then increasing to 4 as more join the queue.

Posted
5 hours ago, spuer said:

This would reduce the lag caused by Papyrus having too many threads waiting at once.

 

Waiting is practically free. It's the busy threads that could become a problem, especially the ones that do not pause in time when requested by the game leading to stack dumping.

 

5 hours ago, spuer said:

Would it be possible to take all the mods currently running in parallel and put them into a queue that checks at specific time intervals?

 

Sure, but all the mods need a patch to support it.

 

Would be a lot easier to increase the ops budget with Papyrus Tweaks like the rest of us do.

Posted

what's why i asked because when i use hentairim p+ i ave a cross event when i fapping . it whas fill her up who started inflater leak when i showing my boob. 

also in sexlab scene. 

Posted
2 hours ago, spuer said:

what's why i asked because when i use hentairim p+ i ave a cross event when i fapping . it whas fill her up who started inflater leak when i showing my boob. 

also in sexlab scene. 

 

Oh I see, you want to fundamentally change how mods work, not queue things for performance reasons.

 

I think you should learn Papyrus scripting, then you can realize your vision.

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...