donttouchmethere Posted March 20, 2020 Posted March 20, 2020 6 minutes ago, tamai said: oh your'e right i'll give that a shot as well and test it when i can and report back here I always interested in issues that can appear during bathing. ? Bathing is a serious Skyrim business! Especially with all those dirty mods in LO. No Skyrim hand washing mod out yet ? It's always all or nothing (without toilet paper that even makes sense ?) 1
WhatRules Posted March 21, 2020 Posted March 21, 2020 On 3/17/2020 at 7:11 PM, Monoman1 said: Sorry folks but I'm not modding at the moment. Try disabling the mod, exit the mcm, wait 3 seconds, and re-enable. That doesn't help, and now it doesn't work even with fade dirt disabled. Please note that gaining dirt over-time and overlays work, just not the sex part. I also have your tweaks loaded after BiS. And btw, furniture spanking in SDA doesn't seem to work either, so that's two issues with the last updates that wasn't present before. Maybe they have something in common.
Bakon Posted April 1, 2020 Posted April 1, 2020 Weird question but would there be a way to disable/remove the keybind feature, just disable the choice outright or disable MCM that's not too terribly difficult on the amputator tweak/original mod? Sometimes you can disable the MCM quest but that doesn't seem to work here. Would be great to not just be able to F1 and regrow^^
Nymra Posted April 2, 2020 Posted April 2, 2020 5 hours ago, Bakon said: Weird question but would there be a way to disable/remove the keybind feature, just disable the choice outright or disable MCM that's not too terribly difficult on the amputator tweak/original mod? Sometimes you can disable the MCM quest but that doesn't seem to work here. Would be great to not just be able to F1 and regrow^^ is it so hard to not use MCM and just roleplay? other than that: set they keybind to something that is breaking the game or is so annyoing that you would never press it (like set several other keybinds that you never use with pop up windows on the same key as the regrow? Sorry if I missunderstand your problem. 2
WhatRules Posted April 2, 2020 Posted April 2, 2020 11 hours ago, Bakon said: Weird question but would there be a way to disable/remove the keybind feature, just disable the choice outright or disable MCM that's not too terribly difficult on the amputator tweak/original mod? Sometimes you can disable the MCM quest but that doesn't seem to work here. Would be great to not just be able to F1 and regrow^^ Try to set the keybind to the escape button, which is usually the default choice for unbound features. Maybe they set it to escape because that button is already reserved by the game?
Bakon Posted April 2, 2020 Posted April 2, 2020 7 hours ago, Nymra said: is it so hard to not use MCM and just roleplay? other than that: set they keybind to something that is breaking the game or is so annyoing that you would never press it (like set several other keybinds that you never use with pop up windows on the same key as the regrow? Sorry if I missunderstand your problem. 1 hour ago, saltshade said: Try to set the keybind to the escape button, which is usually the default choice for unbound features. Maybe they set it to escape because that button is already reserved by the game? I mean binding the key could make it more of a hassle so its better than nothing, but would be good to lock it up completely. Even better is a way to remove the MCM menu because it serves no other real purpose other than disabling/enabling bugged animations etc. which I have already done hmmm. I'll keep trying and maybe I learn something along the way ^^
sidfu Posted April 10, 2020 Posted April 10, 2020 to work with the new aroused this part of script needs update for slax to work u want to use GetAllActors() instead but i have no idea how to compire it right ;;modifying that nice Redux example code: int myLockNum = Utility.randomInt(10, 32000) Actor [] myActors = sla_Main.getLoadedActors(myLockNum) ;This could be null if called at the wrong time int t = 0 while((!myActors) && t < 5) If doDebug debug.Notification("Warning: ArousedNips could not access Aroused's actor array. Retrying.") EndIf debug.Trace("Warning: TTT_ArousedNips could not access Aroused's actor array. Retrying. t = "+t) Utility.Wait(1) myActors = sla_Main.getLoadedActors(myLockNum) t += 1 endWhile 1
TheMrWick Posted April 11, 2020 Posted April 11, 2020 Quick question, anyone got a working version of BiS Tweaked for SE?
Zukzukarr Posted April 11, 2020 Posted April 11, 2020 10 hours ago, Mr. Wick said: Quick question, anyone got a working version of BiS Tweaked for SE? This is a must. I really dont get the converting process. It would be awesome if someone else does it.
Monoman1 Posted April 11, 2020 Author Posted April 11, 2020 On 4/10/2020 at 7:59 PM, sidfu said: to work with the new aroused this part of script needs update for slax to work u want to use GetAllActors() instead but i have no idea how to compire it right What's the problem exactly? 11 hours ago, Mr. Wick said: Quick question, anyone got a working version of BiS Tweaked for SE? Not that I'm aware of.
Naps-On-Dirt Posted April 11, 2020 Posted April 11, 2020 8 minutes ago, Monoman1 said: What's the problem exactly? It was first reported here: And yesterday @sidfu posted this: I don't actually know what the problem is or if it is affecting me, but I love that mod so I'm hoping the problem can be fixed easily.
sidfu Posted April 11, 2020 Posted April 11, 2020 the issue is it cant accesss the aroused so throws null since thepart of code it refrecing changed [04/11/2020 - 07:27:08PM] TTT_ArousedNips: Momoko has Arousal 38.343704(+0) [04/11/2020 - 07:27:08PM] TTT_ArousedNips: setting NippleSize to -0.606185 [04/11/2020 - 07:27:08PM] TTT_ArousedNips: setting NippleLength to 0.262680 [04/11/2020 - 07:27:08PM] TTT_ArousedNips: setting NipplePerkiness to 0.202062 [04/11/2020 - 07:27:08PM] SlaveTats: Cleared Body [Ovl3] [04/11/2020 - 07:27:08PM] TTT_ArousedNips: setting NippleAreola to 0.121237 [04/11/2020 - 07:27:08PM] SLAX - GetAllActors(23876) [04/11/2020 - 07:27:08PM] SLAX - GetAllActors(23876) - LOCK NOT TAKEN [04/11/2020 - 07:27:08PM] Error: Cannot cast from None to Actor[] stack: [sla_Main (0D042D62)].slamainscr.GetLoadedActors() - "slamainscr.psc" Line 326 [alias TTT_ArousedNipsPlayerAlias on quest TTT_ArousedNipsMainQuest (CB00182B)].ttt_arousednipsalias.OnArousalComputed() - "TTT_ArousedNipsAlias.psc" Line 137 [04/11/2020 - 07:27:08PM] Warning: TTT_ArousedNips could not access Aroused's actor array. Retrying. t = 0
Monoman1 Posted April 12, 2020 Author Posted April 12, 2020 3 hours ago, Naps-On-Dirt said: I don't actually know what the problem is or if it is affecting me, but I love that mod so I'm hoping the problem can be fixed easily. Hmm. After 2 hours of Skyrim I've no trace in my logs of 'Warning: TTT_ArousedNips could not access Aroused's actor array. Retrying'
Naps-On-Dirt Posted April 12, 2020 Posted April 12, 2020 5 minutes ago, Monoman1 said: Hmm. After 2 hours of Skyrim I've no trace in my logs of 'Warning: TTT_ArousedNips could not access Aroused's actor array. Retrying' Are you using the new SexLab Aroused eXtended? It is a drop in replacement for Around Redux, but it seems to have this problem with Aroused Nips.
Monoman1 Posted April 12, 2020 Author Posted April 12, 2020 5 minutes ago, Naps-On-Dirt said: Are you using the new SexLab Aroused eXtended? It is a drop in replacement for Around Redux, but it seems to have this problem with Aroused Nips. Yup. Version 29.0
sidfu Posted April 12, 2020 Posted April 12, 2020 make sure u get the SLAX Edits 7 (with Tenri Fixes). the part that its refecing is planed to be removed and should be getallactros intead of getloaded actors.
Monoman1 Posted April 12, 2020 Author Posted April 12, 2020 7 hours ago, sidfu said: make sure u get the SLAX Edits 7 (with Tenri Fixes). the part that its refecing is planed to be removed and should be getallactros intead of getloaded actors. Ok... but GetLoadedActors returns an array of actors. GetAllActors returns an integer. They're not exactly interchangeable. At all.
Monoman1 Posted April 14, 2020 Author Posted April 14, 2020 On 4/12/2020 at 1:42 PM, decaluka said: I've tried my hand at a few ports for SE, and BiS tweaked worked for me. I converted both the original BiS and BiS tweaked by running Cathedral Assets Optimizer and resaving the esp in the CK. I am uploading both, (install BiS then BiS tweaked as usual). Textures are not included. If someone wants me to delete it, I will. I can't support it either, it's just a conversion. I tried the same with SL Cum Overlays, but while the MCM worked the textures never applied no matter what I tried. Bathing in Skyrim.7z 6.1 MB · 2 downloads Bathing In Skyrim Tweaked.7z 61.01 kB · 3 downloads Hope you converted the SKSE plugin too
decaluka Posted April 14, 2020 Posted April 14, 2020 @Monoman1 Nope, but it seems like you can use Realistic Water 2's INeed patch option, which does have the proper flag. It's not an ideal solution though!
zeik95 Posted April 14, 2020 Posted April 14, 2020 On 4/11/2020 at 8:16 PM, Monoman1 said: Yup. Version 29.0 I'm using version 29.0 of SexLab Aroused eXtended as well, and the Aroused Nipples from this thread, and my log is spammed with the "Warning: TTT_ArousedNips could not access Aroused's actor array" error. I wonder what is different in our setups that the error occurs for us, but not for you? Spoiler [04/14/2020 - 02:33:12PM] TTT_ArousedNips: Arousal event [04/14/2020 - 02:33:12PM] SLAX - GetAllActors(10777) [04/14/2020 - 02:33:12PM] SLAX - GetAllActors(10777) - LOCK NOT TAKEN [04/14/2020 - 02:33:12PM] ERROR: Cannot cast from None to Actor[] stack: [sla_Main (0E042D62)].slamainscr.GetLoadedActors() - "slamainscr.psc" Line ? [BDSOSSchlongQuest (0D035C13)].BDSOSSchlongQuest.OnArousalComputed() - "BDSOSSchlongQuest.psc" Line ? [04/14/2020 - 02:33:12PM] [BDSOS] Checking erection level on ["Eliza" [Actor < (00000014)>]] [04/14/2020 - 02:33:12PM] TTT_ArousedNips: Eliza has Arousal 75.482010(+0) [04/14/2020 - 02:33:12PM] TTT_ArousedNips: setting NippleSize to -0.519518 [04/14/2020 - 02:33:12PM] TTT_ArousedNips: setting NippleLength to 0.692691 [04/14/2020 - 02:33:12PM] TTT_ArousedNips: setting NipplePerkiness to 1.039036 [04/14/2020 - 02:33:12PM] TTT_ArousedNips: setting NippleAreola to 0.000000 [04/14/2020 - 02:33:12PM] SLAX - GetActorExposure BEGIN Eliza is 75.482010 [04/14/2020 - 02:33:12PM] SLAX - GetAllActors(30949) [04/14/2020 - 02:33:12PM] SLAX - GetAllActors(30949) - LOCK NOT TAKEN [04/14/2020 - 02:33:12PM] ERROR: Cannot cast from None to Actor[] stack: [sla_Main (0E042D62)].slamainscr.GetLoadedActors() - "slamainscr.psc" Line ? [alias TTT_ArousedNipsPlayerAlias on quest TTT_ArousedNipsMainQuest (A200182B)].ttt_arousednipsalias.OnArousalComputed() - "TTT_ArousedNipsAlias.psc" Line ? [04/14/2020 - 02:33:12PM] Warning: TTT_ArousedNips could not access Aroused's actor array. Retrying. t = 0 [04/14/2020 - 02:33:12PM] SLAX - GetActorExposure END Eliza returns 75.481422 [04/14/2020 - 02:33:12PM] [BDSOS] ["Eliza" [Actor < (00000014)>]] has schlong level 81 [04/14/2020 - 02:33:12PM] [BDSOS] ** Equipping erection level 9 on ["Eliza" [Actor < (00000014)>]] [04/14/2020 - 02:33:13PM] [BDSOS] ** (EquipSchlong) Actor: ["Eliza" [Actor < (00000014)>]] equipped pelvis: [Armor < (8300090B)>] is strapon: TRUE [04/14/2020 - 02:33:13PM] [BDSOS] GetSchlong from list size 32 [04/14/2020 - 02:33:13PM] [BDSOS] No new genitals for actor ["Eliza" [Actor < (00000014)>]] [04/14/2020 - 02:33:13PM] SLAX - GetAllActors(30949) [04/14/2020 - 02:33:13PM] SLAX - GetAllActors(30949) - LOCK NOT TAKEN [04/14/2020 - 02:33:13PM] ERROR: Cannot cast from None to Actor[] stack: [sla_Main (0E042D62)].slamainscr.GetLoadedActors() - "slamainscr.psc" Line ? [alias TTT_ArousedNipsPlayerAlias on quest TTT_ArousedNipsMainQuest (A200182B)].ttt_arousednipsalias.OnArousalComputed() - "TTT_ArousedNipsAlias.psc" Line ? [04/14/2020 - 02:33:13PM] Warning: TTT_ArousedNips could not access Aroused's actor array. Retrying. t = 1 [04/14/2020 - 02:33:14PM] SLAX - GetAllActors(30949) [04/14/2020 - 02:33:14PM] SLAX - GetAllActors(30949) - LOCK NOT TAKEN [04/14/2020 - 02:33:14PM] ERROR: Cannot cast from None to Actor[] stack: [sla_Main (0E042D62)].slamainscr.GetLoadedActors() - "slamainscr.psc" Line ? [alias TTT_ArousedNipsPlayerAlias on quest TTT_ArousedNipsMainQuest (A200182B)].ttt_arousednipsalias.OnArousalComputed() - "TTT_ArousedNipsAlias.psc" Line ? [04/14/2020 - 02:33:14PM] Warning: TTT_ArousedNips could not access Aroused's actor array. Retrying. t = 2 [04/14/2020 - 02:33:15PM] SLAX - GetAllActors(30949) [04/14/2020 - 02:33:15PM] SLAX - GetAllActors(30949) - LOCK NOT TAKEN [04/14/2020 - 02:33:15PM] ERROR: Cannot cast from None to Actor[] stack: [sla_Main (0E042D62)].slamainscr.GetLoadedActors() - "slamainscr.psc" Line ? [alias TTT_ArousedNipsPlayerAlias on quest TTT_ArousedNipsMainQuest (A200182B)].ttt_arousednipsalias.OnArousalComputed() - "TTT_ArousedNipsAlias.psc" Line ? [04/14/2020 - 02:33:15PM] Warning: TTT_ArousedNips could not access Aroused's actor array. Retrying. t = 3 [04/14/2020 - 02:33:16PM] SLAX - GetAllActors(30949) [04/14/2020 - 02:33:16PM] SLAX - GetAllActors(30949) - LOCK NOT TAKEN [04/14/2020 - 02:33:16PM] ERROR: Cannot cast from None to Actor[] stack: [sla_Main (0E042D62)].slamainscr.GetLoadedActors() - "slamainscr.psc" Line ? [alias TTT_ArousedNipsPlayerAlias on quest TTT_ArousedNipsMainQuest (A200182B)].ttt_arousednipsalias.OnArousalComputed() - "TTT_ArousedNipsAlias.psc" Line ? [04/14/2020 - 02:33:16PM] Warning: TTT_ArousedNips could not access Aroused's actor array. Retrying. t = 4 [04/14/2020 - 02:33:17PM] SLAX - GetAllActors(30949) [04/14/2020 - 02:33:17PM] SLAX - GetAllActors(30949) - LOCK NOT TAKEN [04/14/2020 - 02:33:17PM] ERROR: Cannot cast from None to Actor[] stack: [sla_Main (0E042D62)].slamainscr.GetLoadedActors() - "slamainscr.psc" Line ? [alias TTT_ArousedNipsPlayerAlias on quest TTT_ArousedNipsMainQuest (A200182B)].ttt_arousednipsalias.OnArousalComputed() - "TTT_ArousedNipsAlias.psc" Line ? [04/14/2020 - 02:33:17PM] Warning: TTT_ArousedNips gave up accessing Aroused's actor array. Papyrus.0.log
Monoman1 Posted April 14, 2020 Author Posted April 14, 2020 1 hour ago, zeik95 said: I'm using version 29.0 of SexLab Aroused eXtended as well, and the Aroused Nipples from this thread, and my log is spammed with the "Warning: TTT_ArousedNips could not access Aroused's actor array" error. I wonder what is different in our setups that the error occurs for us, but not for you? Reveal hidden contents [04/14/2020 - 02:33:12PM] TTT_ArousedNips: Arousal event [04/14/2020 - 02:33:12PM] SLAX - GetAllActors(10777) [04/14/2020 - 02:33:12PM] SLAX - GetAllActors(10777) - LOCK NOT TAKEN [04/14/2020 - 02:33:12PM] ERROR: Cannot cast from None to Actor[] stack: [sla_Main (0E042D62)].slamainscr.GetLoadedActors() - "slamainscr.psc" Line ? [BDSOSSchlongQuest (0D035C13)].BDSOSSchlongQuest.OnArousalComputed() - "BDSOSSchlongQuest.psc" Line ? [04/14/2020 - 02:33:12PM] [BDSOS] Checking erection level on ["Eliza" [Actor < (00000014)>]] [04/14/2020 - 02:33:12PM] TTT_ArousedNips: Eliza has Arousal 75.482010(+0) [04/14/2020 - 02:33:12PM] TTT_ArousedNips: setting NippleSize to -0.519518 [04/14/2020 - 02:33:12PM] TTT_ArousedNips: setting NippleLength to 0.692691 [04/14/2020 - 02:33:12PM] TTT_ArousedNips: setting NipplePerkiness to 1.039036 [04/14/2020 - 02:33:12PM] TTT_ArousedNips: setting NippleAreola to 0.000000 [04/14/2020 - 02:33:12PM] SLAX - GetActorExposure BEGIN Eliza is 75.482010 [04/14/2020 - 02:33:12PM] SLAX - GetAllActors(30949) [04/14/2020 - 02:33:12PM] SLAX - GetAllActors(30949) - LOCK NOT TAKEN [04/14/2020 - 02:33:12PM] ERROR: Cannot cast from None to Actor[] stack: [sla_Main (0E042D62)].slamainscr.GetLoadedActors() - "slamainscr.psc" Line ? [alias TTT_ArousedNipsPlayerAlias on quest TTT_ArousedNipsMainQuest (A200182B)].ttt_arousednipsalias.OnArousalComputed() - "TTT_ArousedNipsAlias.psc" Line ? [04/14/2020 - 02:33:12PM] Warning: TTT_ArousedNips could not access Aroused's actor array. Retrying. t = 0 [04/14/2020 - 02:33:12PM] SLAX - GetActorExposure END Eliza returns 75.481422 [04/14/2020 - 02:33:12PM] [BDSOS] ["Eliza" [Actor < (00000014)>]] has schlong level 81 [04/14/2020 - 02:33:12PM] [BDSOS] ** Equipping erection level 9 on ["Eliza" [Actor < (00000014)>]] [04/14/2020 - 02:33:13PM] [BDSOS] ** (EquipSchlong) Actor: ["Eliza" [Actor < (00000014)>]] equipped pelvis: [Armor < (8300090B)>] is strapon: TRUE [04/14/2020 - 02:33:13PM] [BDSOS] GetSchlong from list size 32 [04/14/2020 - 02:33:13PM] [BDSOS] No new genitals for actor ["Eliza" [Actor < (00000014)>]] [04/14/2020 - 02:33:13PM] SLAX - GetAllActors(30949) [04/14/2020 - 02:33:13PM] SLAX - GetAllActors(30949) - LOCK NOT TAKEN [04/14/2020 - 02:33:13PM] ERROR: Cannot cast from None to Actor[] stack: [sla_Main (0E042D62)].slamainscr.GetLoadedActors() - "slamainscr.psc" Line ? [alias TTT_ArousedNipsPlayerAlias on quest TTT_ArousedNipsMainQuest (A200182B)].ttt_arousednipsalias.OnArousalComputed() - "TTT_ArousedNipsAlias.psc" Line ? [04/14/2020 - 02:33:13PM] Warning: TTT_ArousedNips could not access Aroused's actor array. Retrying. t = 1 [04/14/2020 - 02:33:14PM] SLAX - GetAllActors(30949) [04/14/2020 - 02:33:14PM] SLAX - GetAllActors(30949) - LOCK NOT TAKEN [04/14/2020 - 02:33:14PM] ERROR: Cannot cast from None to Actor[] stack: [sla_Main (0E042D62)].slamainscr.GetLoadedActors() - "slamainscr.psc" Line ? [alias TTT_ArousedNipsPlayerAlias on quest TTT_ArousedNipsMainQuest (A200182B)].ttt_arousednipsalias.OnArousalComputed() - "TTT_ArousedNipsAlias.psc" Line ? [04/14/2020 - 02:33:14PM] Warning: TTT_ArousedNips could not access Aroused's actor array. Retrying. t = 2 [04/14/2020 - 02:33:15PM] SLAX - GetAllActors(30949) [04/14/2020 - 02:33:15PM] SLAX - GetAllActors(30949) - LOCK NOT TAKEN [04/14/2020 - 02:33:15PM] ERROR: Cannot cast from None to Actor[] stack: [sla_Main (0E042D62)].slamainscr.GetLoadedActors() - "slamainscr.psc" Line ? [alias TTT_ArousedNipsPlayerAlias on quest TTT_ArousedNipsMainQuest (A200182B)].ttt_arousednipsalias.OnArousalComputed() - "TTT_ArousedNipsAlias.psc" Line ? [04/14/2020 - 02:33:15PM] Warning: TTT_ArousedNips could not access Aroused's actor array. Retrying. t = 3 [04/14/2020 - 02:33:16PM] SLAX - GetAllActors(30949) [04/14/2020 - 02:33:16PM] SLAX - GetAllActors(30949) - LOCK NOT TAKEN [04/14/2020 - 02:33:16PM] ERROR: Cannot cast from None to Actor[] stack: [sla_Main (0E042D62)].slamainscr.GetLoadedActors() - "slamainscr.psc" Line ? [alias TTT_ArousedNipsPlayerAlias on quest TTT_ArousedNipsMainQuest (A200182B)].ttt_arousednipsalias.OnArousalComputed() - "TTT_ArousedNipsAlias.psc" Line ? [04/14/2020 - 02:33:16PM] Warning: TTT_ArousedNips could not access Aroused's actor array. Retrying. t = 4 [04/14/2020 - 02:33:17PM] SLAX - GetAllActors(30949) [04/14/2020 - 02:33:17PM] SLAX - GetAllActors(30949) - LOCK NOT TAKEN [04/14/2020 - 02:33:17PM] ERROR: Cannot cast from None to Actor[] stack: [sla_Main (0E042D62)].slamainscr.GetLoadedActors() - "slamainscr.psc" Line ? [alias TTT_ArousedNipsPlayerAlias on quest TTT_ArousedNipsMainQuest (A200182B)].ttt_arousednipsalias.OnArousalComputed() - "TTT_ArousedNipsAlias.psc" Line ? [04/14/2020 - 02:33:17PM] Warning: TTT_ArousedNips gave up accessing Aroused's actor array. Papyrus.0.log 156.02 kB · 0 downloads Did you download some unofficial scripts from the SLAX thread? Read the previous page here.
zeik95 Posted April 14, 2020 Posted April 14, 2020 Nope, using the base mod from the SLAX download page.
Monoman1 Posted April 15, 2020 Author Posted April 15, 2020 12 hours ago, zeik95 said: Nope, using the base mod from the SLAX download page. We'd have to ask @Lupine00 on the matter as it looks like GetLoadedActors was changed a little from SLA redux. 1. GetLoadedActors is noted as deprecated but is there a similar function that returns the actors from the last scan? 2. GetLoadedActors is called in Aroused Nips when the OnArousalComputed is received. I would have thought theActors would be finalized by then. Is there a way to ensure that none is not returned? When can it be called safely? Or should aroused nips just pass when none is returned.
Lupine00 Posted April 15, 2020 Posted April 15, 2020 1 hour ago, Monoman1 said: 1. GetLoadedActors is noted as deprecated but is there a similar function that returns the actors from the last scan? 2. GetLoadedActors is called in Aroused Nips when the OnArousalComputed is received. I would have thought theActors would be finalized by then. Is there a way to ensure that none is not returned? When can it be called safely? Or should aroused nips just pass when none is returned. 1. Yes. The deprecation note is for me ... and it tells me what to do instead ... However, you can continue to call GetLoadedActors. SLAX does not and will not remove any of the old API; it will remain backwards compatible for all old mods. One day there will be a better replacement exposed for people that want to call from outside. "but is there a similar function that returns the actors from the last scan?" Don't worry about that. Really. It's not your problem. The scanner will simply return the previous results if you call it too often. So, calling GetLoadedActors may, in fact, return cached results already. 2. There is no "finalized by then" because SLAX itself is continually calling that function (albeit regularly). If you get a None result, it's because a scan is running and the LOCK could not be taken. Now, this is a totally lame way of doing things; it could just have returned the old result ... However, I didn't design this API, it's how SLA(R) designed it. I retained their use pattern. However, I changed some details of how it works so that you don't have to pre-lock (which I wouldn't be surprised ArousedNips wasn't doing anyway?) The pre-lock-test is an anti-pattern; it doesn't work because another thread can get in and lock in between you making the test and taking the lock. GetAllActors could have been easier to use though. In the new API (which will not make the old API go away) you won't have any of this. You will simply ask for the list and you'll get a list, and you won't need to worry about whether it's a new scan or not. And if you only want to do something when there IS a new scan, there'll be a mod event. So, if ArousedNips gets None, it should sleep and try again after ten seconds or so. That is the time it takes to "do a scan" - I put this in quotes because it's not really the scan time, but I don't want to get into pointless detail. 1
Monoman1 Posted April 15, 2020 Author Posted April 15, 2020 @Lupine00 After looking a little deeper there might be a problem on the SLAX side. I might be wrong given it's been a while since I did this. Here's the relevant lines from the log: [04/15/2020 - 12:49:29PM] SLAX - GetAllActors(1786) - LOCK NOT TAKEN [04/15/2020 - 12:49:29PM] Error: Cannot cast from None to Actor[] stack: [sla_Main (09042D62)].slamainscr.GetLoadedActors() - "slamainscr.psc" Line 327 [alias TTT_ArousedNipsPlayerAlias on quest TTT_ArousedNipsMainQuest (6600182B)].ttt_arousednipsalias.OnArousalComputed() - "TTT_ArousedNipsAlias.psc" Line 137 [04/15/2020 - 12:49:29PM] Warning: TTT_ArousedNips could not access Aroused's actor array. Retrying. t = 0 Aroused Nips line 137: Actor [] myActors = sla_Main.getLoadedActors(myLockNum) SLAX line 327: Int actorCount = GetAllActors(lockID) The only line that's casting theActors in function GetAllActors(): theActors = SlaInternals.DuplicateActorArray(scanner.arousedActors, _Internal_actorCount) So if I understand correctly it's ok for Aroused nips to retry getting theActors but there shouldn't be any stack errors. So not sure why that's happening. I would have thought you could cast an actor array as none but seems like there's something funny going on. It's probably harmless though, if just a bit spammy.
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