Page 1 of 1

Mudlet lags on long messages

PostPosted: Tue Aug 31, 2021 10:08 am
by Insomnia
Am I the only one who gets terrible Mudlet lags when it processes long multi-line output messages? –

    look fury
    look shadow
    look conquerors
    look area (in extra large areas like CK)

Every time I do this, Mudlet hangs for several seconds. Disabling triggers helps, but it's not a solution. Any ideas how to fix this? The built-in Mudlet debug window doesn't show anything helpful.

Re: Mudlet lags on long messages

PostPosted: Wed Sep 01, 2021 1:25 am
by Insomnia
Oh, I've found the problem... It came from a very old trigger for parsing gjobs with a crazy long regexp pattern. Does anyone have a good solution for parsing all group members gjobs?

Re: Mudlet lags on long messages

PostPosted: Sat Sep 04, 2021 11:30 am
by *teker*
I'll add it to MSDP GROUP2

Re: Mudlet lags on long messages

PostPosted: Mon Sep 06, 2021 3:15 pm
by cnl
very cool, thanks
>
Code: Select all
lua sendMSDP("REPORT","GROUP2")

<968hp 857ma 349mv -% @15959>
[4:53 pm] (overcast)

lua msdp.GROUP2
{
  Fuligin = {
    CLASS = "Mage",
    HIT_POINTS = {
      CURRENT = "968",
      MAXIMUM = "968"
    },
    JOB = "TombJade",
    LEVELS = "9.40",
    MANA_POINTS = {
      CURRENT = "857",
      MAXIMUM = "857"
    },
    MOVEMENT_POINTS = {
      CURRENT = "349",
      MAXIMUM = "349"
    },
    POSITION = "Leader",
    STATUS = "Ok"
  }
}