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

What would you like to see in Nexus?

13»

Comments

  • TysandrTysandr Posts: 268Member ✭✭✭ - Distinguished
    Now that there's a contest for writing Nexus scripts, I've uploaded a couple of hopefully helpful aliases for budding contesters:

    `echo simulates Mudlet's echo.

    This allows you to push and test triggers without needing server input.

    It utilizes client.handle_read and I will not be liable for any broken IAC-GA messages. 

    To multiline, just replace newlines with +n.


    `js simulates Mudlet's lua alias.

    Beware: this utilizes the dirty eval() function.

    I will not be held liable for any damage done to your browser/computer.



    Click the sig for more.

    W
    Proof of Concepts: LogrSailing MapTrading
    Simple Nexus things: jqol
    "It's not rocket surgery."

  • KryptonKrypton shi-KhurenaPosts: 2,377Member @@ - Legendary Achaean
    ECHO with \n newlines already exists serverside.
    (Mhaldor): Herenicus says, "Apologies, I am in-and-out of hold with Verizon wireless customer service."
  • LaedhaLaedha Posts: 67Member ✭✭✭ - Distinguished
    Is anyone else having trouble with the wilderness map zoom since the update? I have mapmod installed and using that to zoom used to work for both the regular map and the wilderness map. Now it only works for the regular map. Is there some kind of command internal to nexus to zoom the mini map? I think the scroll wheel might work on a desktop but I use a laptop exclusively. 
  • ZahanZahan ValhallaPosts: 200Member ✭✭✭ - Distinguished
    I'm not sure what you mean. 

    One whole point of the wilderness map scaling in my mapmod plugin is because it lacked a zoom (else I'd just have set the zoom).  Instead, [in mapmod] you set the font_size and line_height according to your window size, to simulate zooming.
    Click here for Nexus packages
    Currently available: Abs, Cnote, Keepalive, Lootpet, Mapmod
  • LaedhaLaedha Posts: 67Member ✭✭✭ - Distinguished
    Zahan said:
    I'm not sure what you mean. 

    One whole point of the wilderness map scaling in my mapmod plugin is because it lacked a zoom (else I'd just have set the zoom).  Instead, [in mapmod] you set the font_size and line_height according to your window size, to simulate zooming.
    Thanks, I forgot that's how to change the size of the map. It got set back to 11 somehow. 
    Zahan
  • TysandrTysandr Posts: 268Member ✭✭✭ - Distinguished
    *Resurrect*

    While trolling through Nexus code to discover if 'path track xxxx' is native to Nexus or serverside, I noticed something.
    // exact, begins, substring, regexp
    // used by aliases and triggers
    var do_matching = function(text, pattern, type, whole_words, case_sensitive) {
        ...
    
        else {
            // TODO: cache this for faster matching!
            var re = pattern;
            ...
            try {
                var exp = new RegExp(re, opts);
            } catch (msg) {
                print("<b style='color: red;'>RegEx Error in Pattern [" + re + "]:</b><br/>" + msg);
                return null;
            }
      ...
    Looks like it's already planned to go ahead/be fixed.

    Looks like do_matching is called by handle_triggersread_data(packet)

    Similar fix to my client created the biggest performance improvement. (Despite Fastdom being amazing.)

    It really wasn't noticeable until I started coding for combat and generated upwards of 600 triggers. (I write a lot of redundant stuff lel.)

    With 600 triggers generating regex on the fly, walking into a larger room with lots of parsing took about 200ms of processing time. When I prefab'd/cached(? is this the technical term) the Regex when the trigger was interpreted, I dropped that to about 12 - 20ms despite having (now) 735 triggers.

    Would recommend fix sooner rather than later.
    Proof of Concepts: LogrSailing MapTrading
    Simple Nexus things: jqol
    "It's not rocket surgery."

  • ShubShub Posts: 56Member ✭✭ - Stalwart
    I'd really like more ability to move and resize the panels without having to make them all float. I like to have a thin strip on the left side, the main window, then two wider columns on the right side. I guess some JS mastery could make if possible.
  • ZekerosZekeros Posts: 11Member
    I dislike the ability to make echos consistently the same colour, I didn't notice a way to store the colours I chose or even some pre-chosen colours. The slider makes it difficult to find the colour I had used, unless I missed something?
  • TectonTecton The Garden of the GodsPosts: 2,488Administrator Admin
    Tysandr said:
    *Resurrect*

    While trolling through Nexus code to discover if 'path track xxxx' is native to Nexus or serverside, I noticed something.
    // exact, begins, substring, regexp
    // used by aliases and triggers
    var do_matching = function(text, pattern, type, whole_words, case_sensitive) {
        ...
    
        else {
            // TODO: cache this for faster matching!
            var re = pattern;
            ...
            try {
                var exp = new RegExp(re, opts);
            } catch (msg) {
                print("<b style='color: red;'>RegEx Error in Pattern [" + re + "]:</b><br/>" + msg);
                return null;
            }
      ...
    Looks like it's already planned to go ahead/be fixed.

    Looks like do_matching is called by handle_triggersread_data(packet)

    Similar fix to my client created the biggest performance improvement. (Despite Fastdom being amazing.)

    It really wasn't noticeable until I started coding for combat and generated upwards of 600 triggers. (I write a lot of redundant stuff lel.)

    With 600 triggers generating regex on the fly, walking into a larger room with lots of parsing took about 200ms of processing time. When I prefab'd/cached(? is this the technical term) the Regex when the trigger was interpreted, I dropped that to about 12 - 20ms despite having (now) 735 triggers.

    Would recommend fix sooner rather than later.
    Added this in today, you should see some pretty decent performance improvements if you've got a lot of triggers!
    Tysandr
  • TeshaTesha Posts: 2,833Member @@ - Legendary Achaean
    Is there anything to convert a mudlet profile to a nexus profile? If there was, I'd probably switch. Otherwise it'd be waaaaaaaaaaaaaaaaaaaaaay too much work for me at the moment.

     i'm a rebel

  • AtalkezAtalkez Posts: 4,352Member, Secret Squirrel @@ - Legendary Achaean
    Two entirely different code bases, so no.


    You hug Aurora compassionately.
13»
Sign In to Comment.