Jump to content

Unofficial SkyRE Script Fixes


steve40

Recommended Posts

At Aminados' request, I made a couple of unofficial script fixes for SkyRE v1.3.01. Both fixed scripts seem to work well and eliminated a lot of the log spam that Aminados was having. As it appears that the authors of both SkyRE and the Unofficial SkyRE Patch are no longer developing those mods, I've decided to post the fixed scripts here in the forums.

 

The fixed scripts are:

 

xxxCombatBehaviourScript.psc

 

- I've modified this script to prevent recursion that could cause stack thrashing leading to massive stack dumps in the Papyrus log like this:

 

 

  Reveal hidden contents

 

 

xxxSpeedActuator.psc

 

- I've added sanity checks to prevent Papyrus log errors like these:

 

 

  Reveal hidden contents

 

 

xxxBowHitStagger.psc

 

- I've modified this script for efficiency and to prevent calls to OnHit from stacking up, which could cause script lag.

 

INSTALLATION: copy the *.pex files from the "Data\Scripts" folder in the archive to your main "Data\Scripts" folder. The other files (source and original scripts) aren't required.

 

Changelog:

 

v2.0 - added "xxxBowHitStagger" script

v1.0 - added "xxxSpeedActuator" and "xxxCombatBehaviourScript" scripts

Edited by steve40
Link to comment
Share on other sites

Thx for this! xxxSpeedActuator.psc was buggin' me for a while.

 

Btw, can u by any chance fix Blade Barrier perk?

 

 

  Quote

I might have forgotten to adjust Blade Barrier to the new timed blocking mechanic.

However, it should be possible to adjust it easily. BB casts a spell on the attacker when you're hit, Replenish casts a spell on the one that got punched. So

1. Make the perk do nothing
2. Adjust the timed blocking script to cast the spell on tha attacker. The script is found on the player alias in xxxSkyReMainQuest

 

 

Link to comment
Share on other sites

  On 8/29/2013 at 1:38 AM, Go0lden_Archer said:

 

Thx for this! xxxSpeedActuator.psc was buggin' me for a while.

 

Btw, can u by any chance fix Blade Barrier perk?

 

 

  Quote

I might have forgotten to adjust Blade Barrier to the new timed blocking mechanic.

However, it should be possible to adjust it easily. BB casts a spell on the attacker when you're hit, Replenish casts a spell on the one that got punched. So

 

1. Make the perk do nothing

2. Adjust the timed blocking script to cast the spell on tha attacker. The script is found on the player alias in xxxSkyReMainQuest

 

 

 

 

Also heard this from T3ndo, and I can't read code so I'm not sure if he did forget.

Link to comment
Share on other sites

I had a question related to a common Skyre pap log error. Here is one that persists through all of my games, wondered if anyone else is getting this when ever they sneak, and better yet wondered if there is a fix or patch. It's not anything game breaking, but instead just an annoyance when I'm looking for problems buried in log entries related to this.

 

[09/03/2013 - 07:18:26AM] warning: Property xxxsneakArcaneAssassin on script xxxMagicSneak attached to Active effect 5 on (3B001828) cannot be initialized because the script no longer contains that property
Link to comment
Share on other sites

  On 9/4/2013 at 8:25 PM, Marcelievsky said:

I have several problems with scripts, could someone give me a light, please?

 

  Reveal hidden contents

 

 

 

 

Why didn't you make a separate topic about your problem? It is is no way relevant to Steve40's scripts.

Edited by vlaka
Link to comment
Share on other sites

@jdavisson10: that warning happens if the author removes a variable from their script while updating the code. The old scripts baked into your save will complain when they can't find the old variable. It's harmless.
Link to comment
Share on other sites

  • 2 weeks later...

I'm not %100 positive but old code searching for a variable can be removed by SKSE. I believe I've read SKSE will clean up old scripts recalling a certain objects but VERY slowly. You can try by adding this

 

In folder: Data\SKSE create a .txt file and rename it to SKSE.ini

Open this file and add this;

[General]
ClearInvalidRegistrations=1

Save & Close the file

Also if you have a plugin folder, copy and paste one in there too just to make sure.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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