Jump to content

Recommended Posts

Posted
19 minutes ago, Monoman1 said:

You're way behind

You answered too fast, without reading the update I made to my post literally seconds later.

That said, the documentation for the license variables in the API file is non-existent. So while you can find the example of fetching and dumping them in the debug statement, it doesn't explain the SEMANTICS of the values stored.

 

My guess is that anything > 0 mean you have a license. Maybe the value is days remaining? It doesn't say in the version I have, which is 635.

Posted
10 minutes ago, Lupine00 said:

My guess is that anything > 0 mean you have a license. Maybe the value is days remaining? It doesn't say in the version I have, which is 635.

Should be there in the comments:

Values: -1: Licence type disabled, 0: Does not have licence or licence expired, 1: Has a valid licence

Posted

How it started

 

On 12/3/2020 at 4:54 PM, Corsayr said:

Hi MM1 ?

 

It's me again. ?

 

I know you are like probably super bored, and looking for a new difficult to implement feature with fringe appeal at best. So I have just the thing

 

How about when the player is wet (frostfall wet) there is a chance of licenses getting ruined? 

 

Hope this post finds you in good health and good spirits, let me know how much you hate the idea it in the comments below. ?

 

How it's going

 

Spoiler

ScreenShot821.thumb.png.26e1e65984d0a769c947b63b8fe0a4da.pngScreenShot822.thumb.png.04ef4572cb4213a8a368896ddd0a4c59.pngScreenShot823.thumb.png.9e941dd787b371fdd2458aa74bbf6cdc.png

 

If I forgot to mention it, I am absolutely loving the license getting wet feature. ?

 

Thanks MM1!

Posted
4 minutes ago, Corsayr said:

If I forgot to mention it, I am absolutely loving the license getting wet feature. 

While making that and for a while after I was thinking maybe there should be something you could buy to mitigate the risk of licences getting destroyed while wet. 

A leather satchel or something. Is it busywork to buy a satchel for your licences to go in? Shouldn't really cost much since it's just a leather satchel. So would it actually bring anything to the mechanic....?

Posted
5 minutes ago, Monoman1 said:

While making that and for a while after I was thinking maybe there should be something you could buy to mitigate the risk of licences getting destroyed while wet. 

A leather satchel or something. Is it busywork to buy a satchel for your licences to go in? Shouldn't really cost much since it's just a leather satchel. So would it actually bring anything to the mechanic....?

 

If you're just doing it for me, no need. I like things as they are. ?

 

 

Posted
3 minutes ago, Hiderius said:

I have a suggestion if I may and that suggestion is this "a chance of your license/license's getting stolen

 

If you are using SSE there is a mod sl_triggers that has addons for potentially losing licenses after sex. Otherwise Defeat, SL Adventures, and probably others I can't think of all have theft mechanics that can (and sometime do) steal your licenses.

 

 

Posted
32 minutes ago, Monoman1 said:

Should be there in the comments:

Values: -1: Licence type disabled, 0: Does not have licence or licence expired, 1: Has a valid licence

So hard to find I gave up looking... Should be with the events at the top...

 

Anyway, here is a quick hack of how the feature might work. Absolutely zero testing, in my inimitable style.

My opinions are the same as facts, and my code has no bugs, so I don't need to test! ?

 

I only listed the functions I needed to change - not the whole file.

Based this on SSLV 6.3.4, which may not even be latest - but whatever the latest changes were, they appeared to be irrelevant to my game, so I didn't update.

 

Spoiler

event OnUpdate()

    ;if GetStage() >= 20 && Getstage() < 120
       ;Game.DisablePlayerControls(True, False, False, False, False, False, False)
      ; RegisterForSingleUpdate(0.3)
    ;endif Working's for solution to DD issue.
    
    if Getstage() == 25
    
        ; Clean up objective after license release...
        If StorageUtil.GetIntValue(None, "_SLS_HasValidFreedomLicence") > 0 && \
            StorageUtil.GetIntValue(None, "_SSLV_ReleasedDueToLicense") > 0
            SetObjectiveCompleted(25)
            StorageUtil.UnsetIntValue(None, "_SSLV_ReleasedDueToLicense")
            SetStage(120) ; Note, we're still using the objective from stage 25...
            RegisterForSingleUpdate(20.0)
            Return
        EndIf
            
        ; ASSIGN VARIABLES BEFORE YOU USE THEM!!!
        BG = Keyword.GetKeyword("zad_BlockGeneric")
        QD = Keyword.GetKeyword("zad_QuestItem")
        HB = Keyword.GetKeyword("zad_DeviousHeavyBondage")
    
        If !PlayerRef.WornHasKeyword(BG) && !PlayerRef.WornHasKeyword(QD)
            Utility.wait(5)
            Debug.Notification("Since you removed your devices your skin has been tingling.")
            Utility.wait(5)
            Debug.Notification("Your skin feels like it's on fire!  What's happening?")    
            PlayerRef.PlayIdle(BleedOutStart)
            Utility.wait(3)
            if !PlayerRef.WornHasKeyword(BG) && !PlayerRef.WornHasKeyword(QD)
                Reset()
                Debug.MessageBox("You black out for a second.\nYour vision clears, and you realize your back at the auction!\nYou were free...no... how?  Those spells they used on you.\nThey must have enchanted you to teleport back here once you removed those devices.")
                SendModEvent("SSLV Entry")
                PlayerRef.PlayIdle(BleedOutStop)
                SetObjectiveFailed(25)
            else
                RegisterForSingleUpdate(20.0)
                PlayerRef.PlayIdle(BleedOutStop)
                Debug.Notification("It seems that device has stopped your skin feeling like it's on fire.")
            endif
        Else
            RegisterForSingleUpdate(20.0)
        EndIf
    endif

Endevent

 

 

 

function Stage_25()    ; This stage is dedicated to dealing with devices

    ; Dirty hack demo of how Freedom license might work.
    If StorageUtil.GetIntValue(None, "_SLS_HasValidFreedomLicence") > 0
        StorageUtil.SetIntValue(None, "_SSLV_ReleasedDueToLicense", 1)
        playerref.SetAngle(0, 0, 180)
        SetObjectiveCompleted(20)
        SetObjectiveDisplayed(25)
        Debug.MessageBox("They check your freedom license and realize that selling you would be illegal. Amazingly, you're free to go.")
        enablecontrols()
        Debug.SendAnimationEvent(playerref, "IdleForceDefaultState")
        RegisterForSingleUpdate(20.0) ; We will use the update to clear the objective
        Return
    EndIf

       SendModEvent("dhlp-Suspend")
    playerref.SetAngle(0, 0, 180)

    SetObjectiveCompleted(20)
    BG = Keyword.GetKeyword("zad_BlockGeneric")
    QD = Keyword.GetKeyword("zad_QuestItem")
    if PlayerRef.WornHasKeyword(BG) || PlayerRef.WornHasKeyword(QD)
        int iOption = BlockingDevicesMsg.Show()
        if iOption == 0
            iOption = LastChanceMsg.Show()
        endif
        if iOption == 1
            SetObjectiveDisplayed(25)
            Debug.MessageBox("They try to remove your restraints, casting all kinds of spells.  They give up and tell you, \"We can't sell an owned slave.\"\n\nIt seems they're are gonna let you walk out the front door.")
            SendModEvent("dhlp-Resume")
            enablecontrols()
            Debug.SendAnimationEvent(playerref, "IdleForceDefaultState")
            RegisterForSingleUpdate(1.0) ; RegisterForSingleUpdate should be LAST thing you do!!!
            return
        endif
    endif

     ;game.disablePlayerControls() 
    Utility.Wait(1.0)
    game.forcethirdperson()
    Utility.Wait(1.0)
    ClearDevices()
    playerref.PlayIdle(ZazAPCAO301)
    playerref.SetAngle(0, 0, 180)
    SetStage(30)
Endfunction

You'll notice I highlight/fix a few "bugs" in SSLV in just these couple of routines.

This thing is a horror show. I said I'd never touch it, and it's a bottomless pit of fixing. 

This code is just a proof-of-concept. I'm not taking it any further.

 

I think a proper solution should have its own quest stage for the license fail out, but I wanted to show you can do it without even touching the ESP.

Posted
13 minutes ago, Lupine00 said:

Should be with the events at the top...

Fixed! :P

 

Scriptname _SLS_Api extends Quest  

; See the relevant function for more details and examples!

 

Posted
25 minutes ago, Monoman1 said:

Is it busywork to buy a satchel for your licences to go in?

I think it should be a given that you take measures to protect your licenses from weather and water, which are not exactly surprises in Skyrim.

I think you'd have something like a sealed scroll tube, or bottle to keep them in.

Also, it seems reasonable the the writing on the licenses wouldn't run in water, and there would be official seals or other parts that are waterproof anyway.

Nor, do we have lots of other equipment that you're carrying around in a bag suddenly deteriorate for no reason.

 

Shouldn't the map and compass also be vulnerable?

Thus, I don't enable the destroyed by wetness feature as it stands.

 

However, there is something appealing about the feature concept.

 

Maybe if you don't have a backpack, there could be a modifier?

Then you could set the chance so it's zero with a backpack, and low without one?

 

 

Maybe more important, most of the time, is how licenses are stolen, or not stolen, in defeat scenarios.

Tricky...

 

Simple Slavery ... while we're talking about it ... leaves all the player inventory intact.

I simply don't GET this decision.

 

It should - always - have gone into a chest in the AH, like an arrest.

Including Quest items.

 

Return to Riften to collect it from escrow if you ever become free. Maybe pay a fee for release.

 

 

Amongst the two dozen things that annoy me in SS, that's ... one.

Posted
29 minutes ago, Lupine00 said:

Anyway, here is a quick hack of how the feature might work.

6.3.7 already has the freedom license feature.  It was simple, so I did it right away.  Corsayr and Herowynne tested the script change before I posted the update.

Posted
12 minutes ago, HexBolt8 said:

6.3.7 already has the freedom license feature.  It was simple, so I did it right away.  Corsayr and Herowynne tested the script change before I posted the update.

Sorry. That made no sense to me when I read it earlier. I thought 637 was a SLS version and it was talking about access to license states, which had me baffled, because SLS is still on 635 as far as I can see.

 

Well there's a waste of an hour I could have better spent on something actually useful to someone.

On top of which, editing SSLV code has left me with a sensation like something is crawling under my skin.

Not that I don't have to deal with some other code that triggers and frustrates me on a daily basis, but I didn't make SSLV my problem.

Posted

The issue with licenses right now is that they take over your entire game. Even at low cost values.

 

That's probably fine if you don't have other things in your game, but if you have a slavery mod that stops you holding any cash, you can't get any licenses.

 

That's annoying because you aren't even the one that is profiting from loot sales or whatever, nor are you the responsible party for the items.

 

Maybe slaves shouldn't be wearing armor or carrying weapons around the hold, but they exist to haul loot and do other menial tasks.

The two aspects are joined in SLS.

 

I have a plan to work around this for DF, but I'm not even sure SLS will allow it to work for me yet.

Posted
3 minutes ago, Lupine00 said:

Well there's a waste of an hour.

Ouch, the loss of an hour like that is truly frustrating.  It kinda leaves a person demotivated for the rest of the day.

 

(Topic change)

 

Speaking of version numbers, is there a planned point when SL Survival will go to 1.0?

Posted
2 hours ago, Lupine00 said:

Also, it seems reasonable the the writing on the licenses wouldn't run in water, and there would be official seals or other parts that are waterproof anyway.

 

Not reasonable if the guy issuing it doesn't care if it gets damaged. ?

 

They really have no incentive to put it on good paper or quality ink or really anything. 

 

2 hours ago, Lupine00 said:

I think it should be a given that you take measures to protect your licenses from weather and water, which are not exactly surprises in Skyrim.

 

Clothing with better coverage will reduce saturation over time, this is already a mechanic of frostfall. 

 

2 hours ago, Lupine00 said:

Simple Slavery ... while we're talking about it ... leaves all the player inventory intact.

I simply don't GET this decision.

 

It should - always - have gone into a chest in the AH, like an arrest.

Including Quest items.

 

Return to Riften to collect it from escrow if you ever become free. Maybe pay a fee for release.

 

agreed, and maybe somethings should be missing... ?

 

2 hours ago, Lupine00 said:

Shouldn't the map and compass also be vulnerable?

 

Maps you either make yourself or buy from a merchant. So there are market influences for them to be made more sturdy* which do not exist for the licenses. At least this is my thinking on it though I could be talked into letting the wet feature destroy maps. But it would not make sense for wetness to damage a compass. So doing maps would require separating the maps and the compass into two items which is more work for MM1 for not much end value I think. Easier to just say maps are inked on to parchment and then waxed to protect from elements or just inked on to leather. ?

 

 

*Also maps are made ahead of time, the licenses are made on the spot. Things like waxing the paper, and/or curing the inks take time which would not be available for an on demand license.

Posted
5 minutes ago, Corsayr said:
39 minutes ago, Lupine00 said:

I think it should be a given that you take measures to protect your licenses from weather and water, which are not exactly surprises in Skyrim.

 

Clothing with better coverage will reduce saturation over time, this is already a mechanic of frostfall. 

 

Just to add to this, protecting untreated paper in a society that has not developed reliably water resistant synthetic materials is a lot harder than you would think. Try going to a beach sometime without one of those plastic containers or a zip lock bag. (drawing from personal experience on this one) ?

Posted
10 minutes ago, HexBolt8 said:

Speaking of version numbers, is there a planned point when SL Survival will go to 1.0?

Plan. Me?

Eh.... Nope. I just bump up the version number whenever i need to run the update routine because I can't be bothered to create a new game. Which is why the version jumps randomly between updates. 

 

I have been known to make mod plans though.... In Ms paint....

Posted
11 minutes ago, Monoman1 said:

Plan. Me?

Eh.... Nope. I just bump up the version number whenever i need to run the update routine because I can't be bothered to create a new game. Which is why the version jumps randomly between updates. 

 

I have been known to make mod plans though.... In Ms paint....

 

Spoiler

image.thumb.png.625bc59fa67f8b34c8993fcd88d0488f.png

 

Posted
27 minutes ago, Corsayr said:

one of those plastic containers or a zip lock bag

Skyrim has invented the bottle.

People put messages into the SEA in them ... for centuries.

Also ... magic ink!

Dwemer constructs that function for centuries without running out of soulgempower.

Magic traps devices that lie dormant in tombs since a previous age.

 

But I guess even though they could make an armbinder that will jump onto you after a seven hundred year storage time, they can't make a license container that will resist a water depth of less than a meter.

 

If you want to believe that disintegrating licenses are plausible, that's your business.

They are, after all, just a tongue-in-cheek mechanic in a fantasy game.

I just don't believe it myself.

 

 

People are always with the "they couldn't do this or that at such a time", often ignoring the many solutions that people in times with different technology had to solve their problems. Like keeping your bread fresh for example? Or storing milk without refrigeration. Or operating a continent spanning empire with a complex tax and trade network that lasted for hundreds of years, without the benefit of the typewriter, computer, telegraph, telephone, or 5G mobile.

 

I could overlook it if I really wanted the mechanic, but in practice it just means you can't go in the water - which you usually can't anyway - because Frostfall.

 

As for destroying them due to some moderate rainfall... There's no way I could tolerate that.

Because rain in Skyrim is a total surprise to you? It's probably raining in Whiterun when you BUY them.

 

Or there's that bit where you finish BFB at the start of the game, and you can either swim the lake to get straight to Riverwood, or walk about one thousand miles around. I guess, if you like to make that really annoying and time sinking (and everyone loves a certain amount of really annoying and time sinking) then it's great for that - as that lake is generally swimmable without freezing to death, due to the hunter's fire, etc.

 

 

As an aside, you can't trade licensed items with that hunter without bribing him, even though he lives out in the wilds.

Maybe that's OK, but the dialog he uses when he rejects your items ... is sort of out of place.

 

 

Of course, if the mechanic was a little different, and the hold officers kept the licenses (because who would give paperwork to a woman?) and you then had to be verified by the license issuer as the recipient, there'd never be a problem with a license ever being spoiled, lost, misplaced, or misattributed ???

 

I like the idea of that, because your stuff could always be taken at the gate as part of the process and you'd have to go and get it back from the quartermaster. Or maybe you have a mishap on the way?

Posted
1 minute ago, Lupine00 said:

Skyrim has invented the bottle.

People put messages into the SEA in them ... for centuries.

 

Bottles break in combat ?

Posted
2 hours ago, Corsayr said:

Bottles break in combat

Never lost a mead, ale or wine in combat yet.

Maybe you should make a mod for that?

 

You'd need to actually get hit. (My characters usually can't take more than a couple of hits before they're dead, so bottle breaking potential might be low).

And knockdowns would be the most likely time to get something broken.

Maybe a feature to add extra padding/packing to protect important items, like you would use in real life?

Extra weight though.

 

Would it be fun?

I'm not sure. Depends on how easy it is to use, and how fair it feels.

If you're putting your backpack down before fighting, it probably can't get broken then either.

And of course we have wine and water skins, which are clearly waterproof but less fragile, less weight, and collapsible.

Posted
13 minutes ago, Lupine00 said:

Never lost a mead, ale or wine in combat yet.

 

iNeed has a feature for waterskins getting damaged in combat... But too many types of bottles, trying to figure out if the player is carrying one would be a hassle. Plus I don't see how it would be fun. 

Posted
20 hours ago, Corsayr said:

I don't see how it would be fun. 

I don't see how it would be fun either.

 

Or I didn't.

Now, I'm not so sure. There's more here than I thought.

So many types of bottles! Exactly!

 

And then you break a wine bottle in your backpack, and everything you own is soaked in sticky wine and reeks of booze.

Your licenses are ruined. (Or maybe they're the only thing that is saved because you had them in a waterproof leather tube).

Your spare clothes are ruined.

Your clothes have stains on them and smell of stale wine (or ale).

Your map is glued shut, and your compass sticks.

Your precious soap is ruined... (There's another thing that seems highly vulnerable to moisture).

Your scrolls and books are all ruined. (A bag full of ruined books isn't worth much).

That leather armor you collected and cleaned all the bits of dead bandit off are now even less valuable than before.

Your valuable alchemy ingredients ... flowers ... herbs ... dried "things" ... volatile essences ... a complete bees' nest ... all contaminated and useless!!!

Your backpack also smells of wine ... forever ... and people keep mentioning that you smell like an alcoholic whore after a night on skooma and cheap wine.

I guess metal armors, gems and soulstones are easy enough to wash clean, though the smell light linger, even there.

Many foods would also be spoiled, though not the raw ones. Bread, sweetrolls, crostatas, and other nice things would be spoiled though.

I guess you could still eat them if you're desperate enough.

And the delicious Alto vintage you were saving for a post-dragon-slaying celebration is gone too.

Your devious devices would be mysteriously untouched. They're naturally made to be sticky substance repelling, for convenient cleaning in normal use.

And that's not even considering that you now have a pack full of razor sharp shards of broken glass/pottery.

 

And then there's the possibility of a broken lantern.

Or a broken lantern oil container.

Lantern oil might be even worse than wine in some ways, as it would ruin even raw foods - if we imagine it's something a bit like paraffin rather than purified Horka fat.

 

iNeed seems to assume you carry waterskins outside your pack though, so they're a little different.

 

 

And then all the loot items to help you avoid these issues...

 

"Dwemer sports water bottle" - aluminium for lightness and lasts a thousand years without even losing its shine!

"Thalmor sandwich box" - no racial impurities will taint their sandwich!*

"Bosmer living bento box" - why wouldn't a race of cannibals have a semi-sentient lunchbox that keeps food fresh and nice to look at?

"Nord jerky" - basically indestructible, the question is, does it eat you, or do you eat it?

"Redguard wine decanter" - it's big, black and curved - just drinking from this thing raises arousal.

"Khajit snack bag" - it's useless for preserving your food, but it's hours of fun to play with.

"Argonian backpack" - not made by Argonians, but from their skins. Beautifully waterpoof in the smelliest of swamps.

"Breton luggage" - complete with smuggling compartments to get things past those pesky gate guards.

"Imperial rations" - so boring that they're only edible after they've been spoiled.

"Orsimer game-toting pole" - carry your hunterborne meats over your shoulder in a manly fashion, and then hit your enemies with them if a fight breaks out (which it will).

"Sheogorrath's Amazing Packing Container" - put things in it and ... take other things out ... whatever you find inside bears no logical relationship to what you put in. Sometimes using it turns you into a butterfly.

 

* Footnote

Spoiler

The Stormcloaks and the Thalmor ... two sides of the same coin. Both massive racists with a superiority complex.

 

Well, those might only be available in Troubles of Heroine, but you could make less silly versions if you were really determined.

Posted
20 hours ago, mangalo said:

 

The same kind of happened to me and  I took it as an opportunity to move to SE.  With a humongous load order as I had, it took me one week or two but I got there without losing any mod.

It's a boring step to take as a LE diehard but no regrets so far.  The SKSE plugins and fixes on SE are much welcome.

I Ever Have A Plan to Do, But Since I Used HDT PE Skimpy Outfit That Not Working on SE, (SE Using SMP)

I Still Keep In LE, And I Still Find A Way To Convert The Outfit To Work On SE Anyway. ?

 

Anyway Are You Tried To Increase Memory Allocation Yet?

I'm Using SSME And I Increase It Beyond Recommended.

It's Really Took Time to Load If You Set It To Recommended Setting.

 

My Setup:

"NewValue01=0x00000480" 896MB --> I Got CTD If Set This to 500

"NewValue02=0x40000000" 1024MB

 

And I Rarely Stuck From Infinity Loading Anymore.

 

Also Avoid Any Orange Checklist ESP File In Wrye Smash. That Indicate Upside-Down Can Also Cause Performance Issues. My Sure All Green Check-List.

 

Costume "d3dx9_42" From ENB Also Help to Boost Loading And Performance, Even I Totally Disable The Global Effect. I'm Using Wrapper Version.

Posted
9 hours ago, Monoman1 said:

While making that and for a while after I was thinking maybe there should be something you could buy to mitigate the risk of licences getting destroyed while wet. 

A leather satchel or something. Is it busywork to buy a satchel for your licences to go in? Shouldn't really cost much since it's just a leather satchel. So would it actually bring anything to the mechanic....?

 

I've been using backpack containers and that's basically the same function as a satchel, if it starts raining or I need to cross a river on purpose and I'm not getting chased I have to do the busywork of putting the licenses in the backpack, which can lead to me forgetting to take them out as I enter a town and getting all my stuff confiscated, and then having to go reclaim them, since I do have a license. I imagine if I had the buyback option turned on this would actually be even more detrimental, but as it stands that's probably enough hassle.

 

The wet licenses is a nice mechanic but I think it's perfectly fine as it is right now, anything else would just undermine it further and at that point you might as well just turn the feature off.

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
×
×
  • Create New...