zaira Posted July 16, 2016 Posted July 16, 2016 So then I can do RemovePackageOverride(self) from package end fragment if I want one-shot packages? Or will it CTD because I cut the branch where I sit on?
h38fh2mf Posted July 16, 2016 Posted July 16, 2016 You sure the end fragment will even run? Also removing package override will not apply the change immediately, something must trigger package re-evaluation before it actually changes on the actor so there's no CTD. And yes last added with same priority will be first because this is not a normal game's package stack but separate custom one.
Guest Posted July 16, 2016 Posted July 16, 2016 So then I can do RemovePackageOverride(self) from package end fragment if I want one-shot packages? Or will it CTD because I cut the branch where I sit on? You sure the end fragment will even run? Also removing package override will not apply the change immediately, something must trigger package re-evaluation before it actually changes on the actor so there's no CTD. And yes last added with same priority will be first because this is not a normal game's package stack but separate custom one. PackageOverride will not always run the end script. Their stak is not the normal game packages stack. Sadly it depends on what is going on on the game. Sometimes they will, sometime they will not call the script. I stopped long time ago to use end scripts to packages that were added by PackageOverrides. And self-overriding has always be problematic, so try to avoid it.
zaira Posted July 16, 2016 Posted July 16, 2016 Thank you - it would be good if those information becomes part of the papyrus documentation. So if I can't trust override packages (fragments might run or not and the override might be triggered now or later) I cannot not use them at all - there are enough alternatives to assign packages without those restrictions.
Guest Posted July 16, 2016 Posted July 16, 2016 Thank you - it would be good if those information becomes part of the papyrus documentation. So if I can't trust override packages (fragments might run or not and the override might be triggered now or later) I cannot not use them at all - there are enough alternatives to assign packages without those restrictions. Forgive me, but the only thing that is not always working is the self removal of a packageoverride done inside the end fragment of the same package you are setting as override. If you do a package override, then you are doing it in a different piece of code. So you have a place to safely remove the package when you are done.
zaira Posted July 16, 2016 Posted July 16, 2016 Thank you - it would be good if those information becomes part of the papyrus documentation. So if I can't trust override packages (fragments might run or not and the override might be triggered now or later) I cannot not use them at all - there are enough alternatives to assign packages without those restrictions. Forgive me, but the only thing that is not always working is the self removal of a packageoverride done inside the end fragment of the same package you are setting as override. If you do a package override, then you are doing it in a different piece of code. So you have a place to safely remove the package when you are done. This is contradictory - if the end fragment is unreliable and the override package does not run in standard NPC stack - how can I ever know that a package has finished or not?
Guest Posted July 16, 2016 Posted July 16, 2016 This is contradictory - if the end fragment is unreliable and the override package does not run in standard NPC stack - how can I ever know that a package has finished or not? Do some tests. Add in the end fragment of a package something like: debug.trace("Test first") Utility.wait(2.0) debug.trace("Test second") Actorutil.removepackageOverride(akActor, thepackage) debug.trace("Test third") And try. But try by adding the package in different situations. Like an actor playing a scene, and actor involved in a sexlab anim, an actor doing nothing, etc.
zaira Posted July 16, 2016 Posted July 16, 2016 Fortunately ActorUtils is the most easy replaceable feature. I wanted to rewrite my leash system - but now I am sure that I shall better don't use ActorUtils for this if I want to avoid my leashed player to be stuck in his leash.
Guest ffabris Posted July 30, 2016 Posted July 30, 2016 Question re: the latest JsonUtil and paths Using the example from JsonUtil: { "foo": { "bar": [3, 10, 7] } } Is there a way to remove "bar" and all its contents from the file? Is there a way to remove the 10, for example, from the array?
Guest Posted July 31, 2016 Posted July 31, 2016 ... Sadly not right now. But looks like a good thing to have.
Guest ffabris Posted July 31, 2016 Posted July 31, 2016 Yeah, very much so. I have a use case in which removing data would be very much needed. But thanks for the answer.
Kinky Posted August 4, 2016 Posted August 4, 2016 When is 3.3 going to be released? I read only Sexlab has that version atm.
sexcapades Posted August 8, 2016 Posted August 8, 2016 After installing USLEEP 3.5 My papyrus logs have gone to 20mb, the game is running fine but mannequins are spamming my papyrus log. My skyrim ini says (0) for logging, but the logs are still being generated anyway. Is there a toggle for generating logs?
darkconsole Posted August 29, 2016 Posted August 29, 2016 you know what would be awesome? PapyrusUtil.SendPostRequest(String URL) so i can create a counter of soulgem births to put on the SGO page lolol. it would be pretty fkn dope. i been adding stats to sgo all day XD
Content Consumer Posted August 29, 2016 Posted August 29, 2016 you know what would be awesome? PapyrusUtil.SendPostRequest(String URL) so i can create a counter of soulgem births to put on the SGO page lolol. it would be pretty fkn dope. i been adding stats to sgo all day XD Can't this be done with a storageutil integer?
darkconsole Posted August 29, 2016 Posted August 29, 2016 you know what would be awesome? PapyrusUtil.SendPostRequest(String URL) so i can create a counter of soulgem births to put on the SGO page lolol. it would be pretty fkn dope. i been adding stats to sgo all day XD Can't this be done with a storageutil integer? i want to send stats to the internet to display world wide totals...
qotsafan Posted September 2, 2016 Posted September 2, 2016 Sadly not right now. But looks like a good thing to have. Yeah, very much so. I have a use case in which removing data would be very much needed. But thanks for the answer. I second this and the fact, that version 3.3 is still only contained inside SexLab, which means, that if I want to use features from that version, I have to make SexLab v1.62 a requirement, even though my mod doesn't really depend on SexLab. My mod wouldn't exist without PapyrusUtil though, so thanks @h38fh2mf, @Ashal and whoever else is/was involved in making this very useful mod possible
OmegaDragon956 Posted September 4, 2016 Posted September 4, 2016 hello i'm wondering how do i get this mod to be noticed by sex lab as downloaded i'm not sure if i just didn't do something right or what but if anyone can help it would be greatly appreciated
Guest Posted September 4, 2016 Posted September 4, 2016 SexLab already includes papyrusUtil. If you have the latest version of SexLab you have nothing to do.
OmegaDragon956 Posted September 4, 2016 Posted September 4, 2016 SexLab already includes papyrusUtil. If you have the latest version of SexLab you have nothing toits stii its still saying Storageutil.dll X how do i fix that?
Guest Posted September 4, 2016 Posted September 4, 2016 SexLab already includes papyrusUtil. If you have the latest version of SexLab you have nothing toits stii its still saying Storageutil.dll X how do i fix that? Probably your installation of SexLab was not good. Just re-install it.
OmegaDragon956 Posted September 4, 2016 Posted September 4, 2016 SexLab already includes papyrusUtil. If you have the latest version of SexLab you have nothing toits stii its still saying Storageutil.dll X how do i fix that? Probably your installation of SexLab was not good. Just re-install it. i did when you told me sexlab already had paps in it so i thought it was out of date so i should i try one more time?
Guest Posted September 4, 2016 Posted September 4, 2016 i did when you told me sexlab already had paps in it so i thought it was out of date so i should i try one more time? Recommended approach: download (again) SexLab 1.62, and re-install it. In case you are asked for "overwrite" do overwrite.
OmegaDragon956 Posted September 4, 2016 Posted September 4, 2016 i did when you told me sexlab already had paps in it so i thought it was out of date so i should i try one more time? Recommended approach: download (again) SexLab 1.62, and re-install it. In case you are asked for "overwrite" do overwrite. ok
TnTTnT Posted September 16, 2016 Posted September 16, 2016 May I ask to confirm, 3.3 is the same as PapyrusUtil in Sexlab 1.62 or it has some additional fix/enhancement that plan for Sexlab 1.63?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now