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

Quick Coding Questions

1151617181921»

Comments

  • KatalystKatalyst Member Posts: 20 ✭✭✭ - Distinguished
    Just updated mudlet and my alertness is being strange.

    This is what I'm seeing.
    https://ada-young.appspot.com/pastebin/n5Yn9ufF

    this is the error.
    https://ada-young.appspot.com/pastebin/hpo7gbm5

    Not really sure where to go from here, used to work fine pre-update to 3.17.0 mudlet.
  • KlendathuKlendathu Eye of the StormMember Posts: 3,178 @@ - Legendary Achaean
    edited February 4
    It's a known fault with Mudlet, something to do with getLineNumber or some other internal function.

    Tharos, the Announcer of Delos shouts, "It's near the end of the egghunt and I still haven't figured out how to pronounce Clean-dat-hoo."
  • AustereAustere TennesseeMember Posts: 2,270 @@ - Legendary Achaean
    Klendathu said:
    It's a known fault with Mudlet, something to do with getLineNumber or some other internal function.
    @Hirst
  • ShubShub Member Posts: 200 ✭✭✭ - Distinguished
    Are there gmcp messages for server side queueing? I'd love to get better handling of when the queue is full, empty, when a command has gone through, etc. 'Queue full' would be particularly helpful, I tend to spam when I'm desperately trying to escape

  • AntoniusAntonius Member Posts: 4,917 @@ - Legendary Achaean
    No, there isn't any GMCP support for queueing.
  • DynosDynos Member Posts: 25 ✭✭ - Stalwart
    Likely a super easy answer that I just can't seem to find, but how do you get string.format() to put the % sign in the text and not interpreted as a variable? Trying to get svo.cc to announce the precent health following assess and it doesn't seem to like lonely % signs and I can't figure out how to escape the interpreter for % symbols- example below of where the percent sign would go to appear in front of the calculated health percent.

    In this example multimatches[2][2] is the name, and removing the second % sign does report properly just sans % sign in the sentence.

    local percent = math.floor((100/tonumber(multimatches[2][4])) * tonumber(multimatches[2][3]))
    
    svo.cc("%s at % %s",multimatches[2][2],percent)
    


  • ArchaeonArchaeon Ur mums house lolMember Posts: 378 ✭✭✭ - Distinguished
    try %%
  • CooperCooper Member Posts: 5,246 @@ - Legendary Achaean
    This might not be quick, but does anyone have Depthswalker tracking coded into AK?

    If not, I'll pay someone to do that.

  • AustereAustere TennesseeMember Posts: 2,270 @@ - Legendary Achaean
    Cooper said:
    This might not be quick, but does anyone have Depthswalker tracking coded into AK?

    If not, I'll pay someone to do that.
    I do! 
  • CooperCooper Member Posts: 5,246 @@ - Legendary Achaean
    Oh, nice! I definitely forgot about that update. Thank you.

  • AustereAustere TennesseeMember Posts: 2,270 @@ - Legendary Achaean
    Cooper said:
    Oh, nice! I definitely forgot about that update. Thank you.
    Aww, here I was hoping to break into the aftermarket scene and make some sweet credits with ak add-ons. No one ever asks me for stuff except when it breaks :(.

  • CooperCooper Member Posts: 5,246 @@ - Legendary Achaean
    I don't need anything fancy for that, just basic tracking! I was struggling with how to make loop track even semi accurately, and also how to make the progressive stuff work decently. This seems to do that out of the box!

  • TahquilTahquil Member Posts: 4,355 @@ - Legendary Achaean
    edited July 1
    Austere, you made it to good to begin with. That's your problem.
    Austere
  • ArchaeonArchaeon Ur mums house lolMember Posts: 378 ✭✭✭ - Distinguished
    honestly without Austere I would have never got into coding.  Unsure if that is a rant or a rave.
    AustereDochitha
  • FarrahFarrah Member, Secret Squirrel Posts: 2,480 @@ - Legendary Achaean
    Cooper said:
    I don't need anything fancy for that, just basic tracking! I was struggling with how to make loop track even semi accurately, and also how to make the progressive stuff work decently. This seems to do that out of the box!

    If aeon < 100 then chrono aeon farrah end?

    :(
    Cooper
  • CooperCooper Member Posts: 5,246 @@ - Legendary Achaean
    I don't need a tracker for that :)

    Caelan
  • GilliamGilliam Member Posts: 73 ✭✭✭ - Distinguished
    Is there a way to get full gmcp access on nexus or are you limited to what is shown to you in the help pages and whatnot?
  • DominiusDominius Member Posts: 128 ✭✭✭ - Distinguished
    edited September 12
    Something is super off with my logic and it feels I'm in a loop at making things worse. Who can help?

    Problem is that the script stops working at a stage where paralysis haemophilia and impatience are all given, then works again when the opponent loses the affliction. Grrr.

    function paralysislock()

    if affstrack.score.paralysis<99 and
                    affstrack.score.impatience<99 and
                    affstrack.score.weariness<99 and
                    affstrack.score.asthma<99 and
                    affstrack.score.haemophilia<99 and
                    affstrack.score.anorexia<99 and
                    affstrack.score.slickness<99 then
    curse1 = "paralysis"
    curse2 = "haemophilia"
    relapsecurse = "paralysis"
    bloodletcurse = "haemophilia"
    coagcurse = "impatience"

    kickassparalysiscoagulate()

    elseif affstrack.score.paralysis<99 and
                    affstrack.score.impatience>40 and
                    affstrack.score.weariness<99 and
                    affstrack.score.asthma<99 and
                    affstrack.score.haemophilia<99 and
                    affstrack.score.anorexia<99 and
                    affstrack.score.slickness<99 then
    curse1 = "paralysis"
    curse2 = "haemophilia"
    relapsecurse = "paralysis"
    bloodletcurse = "haemophilia"
    coagcurse = "impatience"

    kickassparalysiscoagulate()

    elseif affstrack.score.paralysis>40 and
                    affstrack.score.impatience<99 and
                    affstrack.score.weariness<99 and
                    affstrack.score.asthma<99 and
                    affstrack.score.haemophilia<99 and
                    affstrack.score.anorexia<99 and
                    affstrack.score.slickness<99 then
    curse1 = "haemophilia"
    curse2 = "impatience"
    relapsecurse = "impatience"
    bloodletcurse = "haemophilia"
    coagcurse = "impatience"


    kickassparalysiscoagulate()

    elseif affstrack.score.paralysis>40 and
                    affstrack.score.impatience>40 and
                    affstrack.score.weariness<99 and
                    affstrack.score.asthma<99 and
                    affstrack.score.haemophilia<99 and
                    affstrack.score.anorexia<99 and
                    affstrack.score.slickness<99 then
    curse1 = "haemophilia"
    curse2 = "haemophilia"
    relapsecurse = "impatience"
    bloodletcurse = "haemophilia"
    coagcurse = "impatience"


    kickassparalysiscoagulate()

    elseif affstrack.score.paralysis<99 and
                    affstrack.score.impatience<99 and
                    affstrack.score.weariness<99 and
                    affstrack.score.asthma<99 and
                    affstrack.score.haemophilia>40 and
                    affstrack.score.anorexia<99 and
                    affstrack.score.slickness<99 then
    curse1 = "paralysis"
    curse2 = "impatience"
    relapsecurse = "impatience"
    bloodletcurse = "haemophilia"
    coagcurse = "impatience"

    kickassparalysiscoagulate()

    elseif affstrack.score.paralysis>40 and
                    affstrack.score.impatience<99 and
                    affstrack.score.weariness<99 and
                    affstrack.score.asthma<99 and
                    affstrack.score.haemophilia>40 and
                    affstrack.score.anorexia<99 and
                    affstrack.score.slickness<99 then
    curse1 = "impatience"
    curse2 = "asthma"
    coagcurse = "asthma"
    relapsecurse = "asthma"
    bloodletcurse = "haemophilia"

    kickassparalysiscoagulate()

    elseif affstrack.score.paralysis>40 and
                    affstrack.score.impatience>40 and
                    affstrack.score.weariness<99 and
                    affstrack.score.asthma<99 and
                    affstrack.score.haemophilia>40 and
                    affstrack.score.anorexia<99 and
                    affstrack.score.slickness<99 then
    curse1 = "asthma"
    curse2 = "weariness"
    coagcurse = "weariness"
    relapsecurse = "weariness"
    bloodletcurse = "haemophilia"

    kickassparalysiscoagulate()

    elseif affstrack.score.paralysis>40 and
                    affstrack.score.impatience>40 and
                    affstrack.score.weariness<99 and
                    affstrack.score.asthma>40 and
                    affstrack.score.haemophilia>40 and
                    affstrack.score.anorexia<99 and
                    affstrack.score.slickness<99 then
    curse1 = "weariness"
    curse2 = "anorexia"
    coagcurse = "anorexia"
    relapsecurse = "anorexia"
    bloodletcurse = "haemophilia"

    kickassparalysiscoagulate()

    elseif affstrack.score.paralysis>40 and
                    affstrack.score.impatience>40 and
                    affstrack.score.weariness>40 and
                    affstrack.score.asthma>40 and
                    affstrack.score.haemophilia>40 and
                    affstrack.score.anorexia<99 and
                    affstrack.score.slickness<99 then
    curse1 = "anorexia"
    curse2 = "lethargy"
    coagcurse = "slickness"
    relapsecurse = "lethargy"
    bloodletcurse = "haemophilia"

    kickassparalysiscoagulate()

    elseif affstrack.score.paralysis>40 and
                    affstrack.score.impatience>40 and
                    affstrack.score.weariness>40 and
                    affstrack.score.asthma>40 and
                    affstrack.score.haemophilia>40 and
                    affstrack.score.anorexia>40 and
                    affstrack.score.slickness<99 then
    curse1 = "lethargy"
    curse2 = "clumsiness"
    coagcurse = "slickness"
    relapsecurse = "lethargy"
    bloodletcurse = "haemophilia"


    kickassparalysiscoagulate()

    elseif affstrack.score.paralysis>40 and
                    affstrack.score.impatience>40 and
                    affstrack.score.weariness>40 and
                    affstrack.score.asthma>40 and
                    affstrack.score.haemophilia>40 and
                    affstrack.score.anorexia>40 and
                    affstrack.score.slickness<99 then
    curse1 = "lethargy"
    coagcurse = "slickness"

    kickassparalysislockdown()

    end
    end



    ----------------------

    Would also love to learn how to make tables for this kind of stuff, but can't seem to grasp it!
  • ChubbsChubbs Member Posts: 71 ✭✭✭ - Distinguished
    Gilliam said:
    Is there a way to get full gmcp access on nexus or are you limited to what is shown to you in the help pages and whatnot?

    No idea. Are you looking for anything in particular?
  • JakiroJakiro Member Posts: 117 ✭✭✭ - Distinguished
    Anyone here know if there's a publically available self limb counter (something that counts your limbs and estimates when they'll break)? All I have is an old copy of SLC and that was pre-Weaponmastery days.
    image
  • ArchaeonArchaeon Ur mums house lolMember Posts: 378 ✭✭✭ - Distinguished
    No there isn't
Sign In to Comment.