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

Svof

12627282931

Comments

  • RangorRangor Posts: 3,068Member @@ - Legendary Achaean
    --  defs_data_set("fireshroud", { type = "Elemental",

    --    specialskip = function() return not defc.dragonform end,

    --    def = "You have shrouded youself with flame.",

    --    on = "A shroud of flame bursts into being, cloaking you in a burning aura of crimson.")

    I removed this and it started working again. Why it hate my fireshroud defence?
    image
  • RangorRangor Posts: 3,068Member @@ - Legendary Achaean
    Rangor said:
    --  defs_data_set("fireshroud", { type = "Elemental",

    --    specialskip = function() return not defc.dragonform end,

    --    def = "You have shrouded youself with flame.",

    --    on = "A shroud of flame bursts into being, cloaking you in a burning aura of crimson.")

    I removed this and it started working again. Why it hate my fireshroud defence?
    Missing that } to close the Elemental.......... dammit
    image
  • RangorRangor Posts: 3,068Member @@ - Legendary Achaean
    Ok. doesn't work very well. Something's missing. vshow defup and vshow keepup turns up empty, vconfig2 has lost "custom prompt" for example and custom prompt is no longer showing. It's like it doesn't know which class/race it is anymore.

    I'm using the svo allclasses ahmet made a while back btw.
    image
  • RangorRangor Posts: 3,068Member @@ - Legendary Achaean
    I'll wait for new beta to progress :pensive:
    image
  • AcriusAcrius Posts: 3Member
    If you want to add a new def, you have to add it to the def table and the dictionary.
    It looks like you added it to the def table, but not the dictionary, which contains defup logic.

    Based on the way Veldrin implemented his Elemental form, your def table addition should look something like this:
     defs_data:set("fireshroud", { type = "Elemental",
        specialskip = function() return not defc.ElementalLord end,  // Note this should be ElementalLord, not dragonform
        def = "You have shrouded youself with flame.",
        on = "A shroud of flame bursts into being, cloaking you in a burning aura of crimson."})

    Your dict addition should look something like this:
    fireshroud = {
        physical = {
          balanceful_act = true,
          aspriority = 0,
          spriority = 0,
          def = true,
    
          isadvisable = function ()         return (((sys.deffing and defdefup[defs.mode].fireshroud and not defc.fireshroud ) or (conf.keepup and defkeepup[defs.mode].fireshroud and not defc.fireshroud )) and not codepaste.balanceful_defs_codepaste() and defc.ElementalForm) or false       end,
          oncompleted = function ()         defences.got("fireshroud")       end,
          action = "manifest fireshroud",       onstart = function ()         send("manifest fireshroud", conf.commandecho)       end     },     gone = {       oncompleted = function()         defences.lost("fireshroud")       end     }   },
    Finally, you can add it to the sstosvoa table, which contains the way it appears in GMCP. If GMCP called fireshroud, "fireveil" or something, it would look like this:
    fireveil = "fireshroud",
    Adding a new aff would be more complex. I'm not sure if it's doable by directly modifying the svo file, but details can be found here: https://github.com/svof/svof/blob/master/Developer readme.md

    Thankfully, with the new changes, you no longer have to dig through raw files, but the gist of how to add defs/affs should be the same.
  • RangorRangor Posts: 3,068Member @@ - Legendary Achaean
    edited February 13
    I think my version sort of breaks when I switch into a class that isn't recognized. since vshow defup, prompt and vshow keepup stops working.
    image
  • KayeilKayeil Washington StatePosts: 2,800Member @@ - Legendary Achaean
    What are these errors?

    [ERROR:] object:<Get name (clan who)> function:<Trigger3248>
             <...sten\.config\mudlet\profiles\Kayeil NEW/None svo/svo:5961: ndb.isdragon() requires a 
    name>

    [ERROR:] object:<event handler function> function:<mmp.mapdata_changed>
             <Lua error:[string "return mmp.mapdata_changed"]:1: attempt to index global 'mmp' (a nil 
    value)>
    What doesn't kill you gives you exp.

  • KriexKriex Posts: 140Member ✭✭✭ - Distinguished
     the first one looks like an error with svos name database I'm not sure what it pertains to because I don't have that.
     
     The second air looks like it's from your mudlet mapper script. You need to take a look at updating it if it isn't already updated
  • KayeilKayeil Washington StatePosts: 2,800Member @@ - Legendary Achaean
    Kriex said:
     the first one looks like an error with svos name database I'm not sure what it pertains to because I don't have that.
     
     The second air looks like it's from your mudlet mapper script. You need to take a look at updating it if it isn't already updated
    Version 18.2.5 right now, which I think is the most recent one.
    What doesn't kill you gives you exp.

    Voli
  • VadimusesVadimuses Posts: 1,077Member @ - Epic Achaean
    edited February 20
    Rangor said:
    I think my version sort of breaks when I switch into a class that isn't recognized. since vshow defup, prompt and vshow keepup stops working.
    It's supposed to go into a 'none' class if you change to one that doesn't exist.
  • IsmayIsmay Posts: 514Member ✭✭✭✭ - Eminent
    Does 'ndb update all' work for anyone? I can't get it to do anything aside from asking for confirmation, then it says it's rechecking all names. But, doesn't.
    Brenex
  • DragonknightDragonknight Posts: 252Member ✭✭✭✭ - Eminent
    edited February 22
    Works for me.

    Edit: https://ada-young.appspot.com/pastebin/FUQAM8AK
    Tested on both the beta svof and regular

  • IsmayIsmay Posts: 514Member ✭✭✭✭ - Eminent
    Odd, maybe I'm missing an update or something. It's the monk system.
    Brenex
  • DragonknightDragonknight Posts: 252Member ✭✭✭✭ - Eminent
    @Brenex was having a similar issue though.
  • BrenexBrenex Posts: 105Member ✭✭✭ - Distinguished
    edited February 26
    Yes I was. In fact, I made a new profile with no addons and tried again and it didn't work. Furthermore, I did this on both OSX and windows and on both systems I could not get ndb update all to run. I don't know how you got it to work, dragon. I'm not moving on to the beta at this time though.

  • DragonknightDragonknight Posts: 252Member ✭✭✭✭ - Eminent
    edited February 26
    @Brenex Alright, I may have made some edits on my copy to get Namedb to work on the beta. So, what you need to do is find ndb-help.lua. In your non-beta profile. Copy it into ..mudlet/profiles/PROFILENAME/svo folder

    After you've done that go into the ndb alias cheatsheet alias:

    In line 5 change it to:

      local path = getMudletHomeDir().."/svo/ndb-help.lua"


    Granted that has nothing to do with update all on it's own. Just getting the ndb alias to work. Like I said, it is working for me.
  • BrenexBrenex Posts: 105Member ✭✭✭ - Distinguished
    my ndb alias command worked fine. The only thing that doesn't work was update all

  • CaledCaled Posts: 74Member ✭✭ - Stalwart
    I'm confused - I thought NDB wasn't part of the newest svof, and that was to be part of future efforts? 

    I installed APT instead.
  • DragonknightDragonknight Posts: 252Member ✭✭✭✭ - Eminent
    NameDB is in the zip file you downloaded. It just isn't auto installed like in the non-beta Svof.
    Caled
  • BrenexBrenex Posts: 105Member ✭✭✭ - Distinguished
    Ismay said:
    Odd, maybe I'm missing an update or something. It's the monk system.
    I pasted the code here to fix it:

    https://github.com/svof/svof/issues/354

    Ismay
  • IsmayIsmay Posts: 514Member ✭✭✭✭ - Eminent
    That works perfectly. Thank you very much, @Brenex
  • CaledCaled Posts: 74Member ✭✭ - Stalwart
    Maybe there is something missing with my understanding of how the elist sorter works, but I upon typing elist and discovering that I have less than my desired quantities, I want to fill from my rift rather than tuns.

    For anyone else that agrees, add this, slightly modified from the 'refillfromkeg()' function:

    function svo.es_refillfromrift()
      local t = {}
      for _, catt in pairs(svo.es_potions) do
        for potn, pott in pairs(catt) do
          if svo.es_knownstuff[potn] and pott.vials < svo.es_knownstuff[potn] and (svo.es_shortnamesr[potn] and svo.es_shortnamesr[potn] or potn) ~= 'empty' then
            for _ = 1, svo.es_knownstuff[potn] - pott.vials do
              t[#t+1] = string.format("fill empty with %s from rift", (svo.es_shortnamesr[potn] and svo.es_shortnamesr[potn] or potn))
            end
          end
        end
      end
    
      if #t == 0 then svo.echof("I don't think you're short on anything!") return
      else
        svo.sendc(unpack(t))
      end
    end

    If you want a clickable link at the end of the elist output, put this at line 253:
          dechoLink("<0,0,250>("..svo.getDefaultColor().."refill from rift, need "..missing.." refills<0,0,250>)", "svo.es_refillfromrift()", "Click here to refill all necessary things from your rift", true)
    			echo"\n"

    I'm considering something that will top up vials less than 200 sips as well, but I haven't decided how I want to do it yet. 

    And apologies @Vadimuses - I don't really understand git enough to contribute properly. I know how it works if it's just me working on a project, but not working with a crowd.

    Brenex
  • VadimusesVadimuses Posts: 1,077Member @ - Epic Achaean
    @Caled I can walk you through contributing this to Svof's code with Git if you'd like!
  • TaryiusTaryius Posts: 409Member ✭✭✭✭ - Eminent
    Curious if anyone has found a solution to the weird defup problem.

    Trying to defup anything other than what profile you were on when you opened mudlet won't put up any class specific defences. Serverside on or not. 

    Same thing happens when you dragonform, won't put up any class-specific (race-specific?) defences.

    Anyway, hopefully someone has figured out a solution on their own copies.
  • LeffeLeffe Posts: 32Member
    I've been adjusting priorities, and it seems svo doesn't have nausea in its list of stuff to cure. Nor does it call it vomiting or euphorbia.

    What is involved in adding a new affliction to this curing system?
  • CooperCooper IowaPosts: 4,435Member @@ - Legendary Achaean
    Try seeing if it is called illness.

    Leffe
  • AnkhareoutefAnkhareoutef Posts: 347Member ✭✭✭✭ - Eminent
    Hey so svo keeps spamming "board none" and I can't make it stop :(
  • VoliVoli Posts: 82Member ✭✭✭ - Distinguished
    It might be thinking that your mount is 'none' and you're trying to 'board' it. Make sure VKEEP MOUNTING is off, or that you have your mount specified. (MOUNT HORSE) or (VAULT HORSE) or w/e


  • TahquilTahquil Posts: 3,992Member @@ - Legendary Achaean
    I deleted and installed the latest version of the mapper, however, I am now having an issue of when I use QWHOM it only shows this :


    And I can only honours one person before it gets stuck. i.e. I can HONOURS TENNA and it works fine, but then HONOURS RANGOR (or anyone else gives me this :

    (svof): ndb.honors() for Rangor called, when already honours'ing Tenna - not going to do this.
  • AegothAegoth Posts: 2,482Member @@ - Legendary Achaean
    Whatever happened to the beta svof where Vadi unlocked everything and it was multiclass support and all that jazz?
    Cailin
Sign In to Comment.