↓ Skip to main content

Mudlet lags on long messages

·171 words·1 min

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.

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?

I’ll add it to MSDP GROUP2

very cool, thanks

                                                                                                                   >
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"
  }
}