Welcome to the Achaea Forums! Please be sure to read the Forum Rules.

Svof

12829303133

Comments

  • DaironDairon Member Posts: 330 ✭✭✭ - Distinguished
    edited November 2018
    Also, I noticed that the golgotha defence (occultism) is outdated. 

    I've got new lines, but I don't know how to use github to request updates. 

    -- Defences script, line 1310

    if svo.haveskillset('domination') then
    
      defs_data:set('arctar', { type = 'domination',
        on = {"You command your chaos orb to grant you protection; it pulses once before detonating in a soundless conflagration.", "You cannot summon Arctar, the Defender for you have no pact with that entity."},    on_only = "The Entity refuses to send another minion to aid you.",    def = "Surrounded by the power of Arctar.",    off = "Abruptly, the power rippling across your skin dissipates.",})  defs_data:set('golgotha', { type = 'domination',
        on = {"You cannot summon the Ascendant's thrall for you have no pact with that entity.", "Closing your eyes, you focus on your contract with the Ascendant's Thrall, former Emperor of Chaos, beseeching Him for His aide. For the briefest instant the overpowering stench of sulphur fills your nostrils, then a flash of acknowledgement passes to you. Your skin comes alight with a furious burning, and a dire, inhuman sense of vicious amusement fills you as you are suffused with the power of the Emperor of Darkness. Your muscles lock and a scream claws at your throat, but you can do nothing until the pain leaves you except convulse in abject agony."},    def = "You are acknowledged by Jy'Barrak Golgotha, the Ascendant's Thrall."})
    end
    
  • VadimusesVadimuses Member Posts: 1,116 @ - Epic Achaean
    There is an edit button on the github file - click that and edit. Thanks :)
    Dairon
  • VadimusesVadimuses Member Posts: 1,116 @ - Epic Achaean
    Dairon said:
    so I've downloaded the in-client SVOF and have been working on it so I can multiclass.

    An error seems to come up every time a denizen attacks me.
    I've tried to track it down but it seems like svo.addaff is used a billion times in the dictionary script. 

    "[string "Script: Setup"]:1213: svo.addaff: what aff would you like to add? name must be a string" 
    This particular one is in the Setup script, not dictionary
  • DaironDairon Member Posts: 330 ✭✭✭ - Distinguished
    Vadimuses said:
    Dairon said:
    so I've downloaded the in-client SVOF and have been working on it so I can multiclass.

    An error seems to come up every time a denizen attacks me.
    I've tried to track it down but it seems like svo.addaff is used a billion times in the dictionary script. 

    "[string "Script: Setup"]:1213: svo.addaff: what aff would you like to add? name must be a string" 
    This particular one is in the Setup script, not dictionary
    This error seems to pop up everytime I either:
    1. Gain health
    2. Lose health
    3. Gain affiction
    4. Lose affliction
    5. Clot amount changes

    I’ll try to go through setup to see if I can find anything, but I’m guessing that its based off an event. 

    If anyone has any idea why it happens, please let me know! 
  • AntoniusAntonius Member Posts: 4,907 @@ - Legendary Achaean
    Based on the error, there's likely a call to the addaff function that doesn't actually specify an affliction.
    Dairon
  • DaironDairon Member Posts: 330 ✭✭✭ - Distinguished
    Antonius said:
    Based on the error, there's likely a call to the addaff function that doesn't actually specify an affliction.
    Perfect. I’ll look into it! 
  • DaironDairon Member Posts: 330 ✭✭✭ - Distinguished
    Ok, so it seems like something like this is happening.

    svo.addaffdict(svo.dict.illness)

    where illness is a table not a string. (example code of svo.dict.illness)

    svo.dict = {
     illness = {
        gamename = 'nausea',
        herb = {
          aspriority = 0,
          spriority = 0,
    
          isadvisable = function ()
            -- curing illness before hypochondria will make it get re-applied
            return (affs.illness and not affs.madness and not affs.hypochondria) or false
          end,
    
          oncompleted = function ()
            svo.rmaff('illness')
            svo.lostbal_herb()
          end,
    
          eatcure = {'ginseng', 'ferrum'},
          onstart = function ()
            svo.eat(svo.dict.illness.herb)
          end,
    
          empty = function()
            empty.eat_ginseng()
          end
        },
        aff = {
          oncompleted = function ()
            if not svo.find_until_last_paragraph("Your enhanced constitution allows you to shrug off the nausea.", 'exact') then
              svo.addaffdict(svo.dict.illness)
            end
          end,
        },
        gone = {
          oncompleted = function ()
            svo.rmaff('illness')
          end,
        }
      },
    }


    Any idea how to fix this issue?
    The function svo.addaffdict() is the same as old_public_addaff()

    local old_public_addaff = function (new_aff)
    	cecho("<red>\n this shit is the problem !!! - "..new_aff)
      svo.assert(type(new_aff.name) == "string", "svo.addaff: what aff would you like to add? name must be a string")
      svo.assert(svo.dict[new_aff] and svo.dict[new_aff].aff, "svo.addaff: "..new_aff.." isn't a known aff name")
    
      if affs[new_aff] then
        return false
      else
        if svo.dict[new_aff].aff and svo.dict[new_aff].aff.forced then
          svo.dict[new_aff].aff.forced()
        elseif svo.dict[new_aff].aff then
          svo.dict[new_aff].aff.oncompleted()
        else
          old_internal_addaff(svo.dict[new_aff])
        end
    
        signals.after_lifevision_processing:unblock(cnrl.checkwarning)
        sk.checkaeony()
        signals.aeony:emit()
        svo.codepaste.badaeon()
    
        return true
      end
    end
    svo.addaff = function(aff_string_or_table)
      if type(aff_string_or_table) == 'table' then
        old_internal_addaff(aff_string_or_table)
      elseif type(aff_string_or_table) == 'string' then
        old_public_addaff(aff_string_or_table)
    	else 
    		cecho("<blue> Unknown type: "..aff_string_or_table)
      end
    end
    svo.addaffdict = old_public_addaff
    


  • AntoniusAntonius Member Posts: 4,907 @@ - Legendary Achaean
    Those two asserts at the start seem contradictory. The first expects new_aff to be a table with a "name" property, the second seems to expect new_aff to be a string (because the keys in svo.dict are strings). It obviously can't satisfy both situations at the same time, so at least one of them is always going to complain. To confuse things further, svo.dict.illness doesn't have a "name" property; it does have a "gamename" property, though.
  • IsmayIsmay Member Posts: 649 ✭✭✭✭✭ - Grand Achaean
    Blocking spams me out if I block a direction, preblock another before movement, then try to move. I have to leave the room before it will stop. Any fixes for this anywhere?
  • CyrCyr Member Posts: 168 ✭✭✭ - Distinguished
    Huh I thought I'd sent a pull request to fix that aff thing awhile ago. Maybe I missed a spot. I'm not gonna have time to look at anything for another 3 weeks though. 

    Dunn tells you, "I hate you."
    (Party): You say, "Bad plan coming right up."
  • RangorRangor Member Posts: 3,244 @@ - Legendary Achaean
    Ismay said:
    Blocking spams me out if I block a direction, preblock another before movement, then try to move. I have to leave the room before it will stop. Any fixes for this anywhere?
    Vignore blocking and manually block with the rest of us. :)
    image
  • DaironDairon Member Posts: 330 ✭✭✭ - Distinguished
    Cyr said:
    Huh I thought I'd sent a pull request to fix that aff thing awhile ago. Maybe I missed a spot. I'm not gonna have time to look at anything for another 3 weeks though. 
    Mind giving me a breakdown of the fix? I’ll try to figure out the rest and request a fix through github
  • VadimusesVadimuses Member Posts: 1,116 @ - Epic Achaean
    @Antonius those properties are autogenerated later in the setup file along with a few others. Saves on mistakes and typing!
  • KriexKriex Member Posts: 183 ✭✭✭ - Distinguished
    Okay....came back from being dormant and found out the prompt changes are appearing on the left side and not the right side? Any clues?

    so this
    (-20m, 0.3%) 8314[100] 6928[ 99]

    but I want it to go back to being
    8314[100] 6928[ 99] (-20m, 0.3%)





  • RiellRiell Member Posts: 209 ✭✭✭ - Distinguished
    Heyo! So, I have a lot of downtime at work today, and was thinking about setting up Nexus so I can play on the fly.  I've found Jhui's Nexsys system, and would love to give it a try.  However, I'm worried that playing with serverside settings and the like might mess up my SVO setup at home.  Is this something I should worry about?  I don't want to get home to find all my prios and the like are screwy :(
  • VadimusesVadimuses Member Posts: 1,116 @ - Epic Achaean
    It won't, as Svof will reset the serverside prios when it runs
    Riell
  • ZerisZeris Member Posts: 70 ✭✭ - Stalwart
    edited December 2018

    I got a bunch of errors, so I clicked on them and this is what I got.
    When I QQ:

    qq
    "...ti/.config/mudlet/profiles/Zeris Psion/Psion svo/svo:39285: attempt to concatenate field 'charname' (a nil value)"

    I did try it on a new and completely empty profile.

  • KadenKaden Member Posts: 457 ✭✭✭✭ - Eminent
    So something in svof/serverside just broke for me.

    Precaching attempts do this:

    You have no bloodrootnone stored in the Rift.

    Using the "ts" alias does this:

    (svof): Won't keep shield up anymore.
    You have no such set.

    (svof): Will keep shield up.
    You have no such set.

    Tried to do vinstall and get this:

    (svof): Do you want to show changes about your health/mana in the prompt?
    (svof): Use vconfig showchanges yep/nope to answer.
    "...REDACTED/.config/mudlet/profiles/Achaea/Magi svo/svo:42484: attempt to concatenate field 
    'mosshealth' (a nil value)"



    Halp. D:
  • MinifieMinifie Member Posts: 2,319 @@ - Legendary Achaean
    Kaden said:
    So something in svof/serverside just broke for me.

    Precaching attempts do this:

    You have no bloodrootnone stored in the Rift.

    Using the "ts" alias does this:

    (svof): Won't keep shield up anymore.
    You have no such set.

    (svof): Will keep shield up.
    You have no such set.

    Tried to do vinstall and get this:

    (svof): Do you want to show changes about your health/mana in the prompt?
    (svof): Use vconfig showchanges yep/nope to answer.
    "...REDACTED/.config/mudlet/profiles/Achaea/Magi svo/svo:42484: attempt to concatenate field 
    'mosshealth' (a nil value)"



    Halp. D:
    Reset your commandseparator in both svof and serverside config. This seems to have fixed a number of issues (the none next to bloodroot should be a separator)


    (Mhaldor's Next Top Model): Taryius says, "Oops, thats not a foray. Thats two novices going at it in the wilderness."
  • YsabelAYsabelA Member Posts: 7
    SVOF limb counter worked like a charm. Until I upgraded to level one arte morningstars! Now it's reading off assess as if I didn't have them, so limbs break earlier than the limb counter expects. I suspect I have to change something, but where does I go?
  • RiellRiell Member Posts: 209 ✭✭✭ - Distinguished
    YsabelA said:
    SVOF limb counter worked like a charm. Until I upgraded to level one arte morningstars! Now it's reading off assess as if I didn't have them, so limbs break earlier than the limb counter expects. I suspect I have to change something, but where does I go?
    SVO limb counter is pretty terrible, imo.  Try Antonius'!  It's great!

    https://forums.achaea.com/discussion/4480/knight-limb-counter-v2/p1
  • KhalyonKhalyon Member Posts: 38
    Riell said
    SVO limb counter is pretty terrible, imo.  Try Antonius'!  It's great!

    https://forums.achaea.com/discussion/4480/knight-limb-counter-v2/p1
    Do you know if it supports 2h with bastard swords and Warhammer?
  • AltareAltare Member Posts: 2
    I just installed SVOF, for Priest, and some parts of it seem to be working alright, however when I try to defup, using "vdefs basic", even after doing "vshow defup" and adding the things I want in my basic defup, it does nothing. All I get is "Deffing up in basic defence mode." and nothing else. 

    Also, when I try the basher, with the F2 kill command, (though I changed "Kill" to "Smite" in the script) it also does nothing. All I get is "Do-Repeat enabled; will repeat smite rat forever." but it does nothing. 

    Am I missing something? I'm somewhat new to the game, and I don't have a lot of the skills that svof could use, but that shouldn't prevent me from deffing with the few skills I have, right?
  • SobriquetSobriquet Member Posts: 2,366 @@ - Legendary Achaean
    The priest class has changed since svof was last released. I suspect that is why.
    image
  • AltareAltare Member Posts: 2
    Thanks for the response! Does anyone know if there are any efforts to update it for the new changes? Or is there anything I can do to help with the updates...in spite of my lack of coding experience?
    Yelizabeta
  • MorsulMorsul Member Posts: 111 ✭✭✭ - Distinguished
    What's the toggle for SVOF to play nice with server side curing?
  • VeldrinVeldrin DenmarkMember Posts: 427 ✭✭✭✭ - Eminent
    tn ss
    tf ss
    ?
    image
    Morsul
  • SophiSophi Rally PointMember Posts: 78 ✭✭✭ - Distinguished
    Also vshow server to enable/disable handling of certain things by svo with serverside enabled 
  • IsmayIsmay Member Posts: 649 ✭✭✭✭✭ - Grand Achaean
    My NDB doesn't seem to be working at all. I've made sure to download the latest version of Svof. Is there a fix or something?
Sign In to Comment.