Mudlet lags on long messages

Mudlet lags on long messages

Postby Insomnia » Tue Aug 31, 2021 10:08 am

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.
Insomnia
 
Posts: 33
Joined: Tue May 19, 2020 7:56 am
Status: Offline

Re: Mudlet lags on long messages

Postby Insomnia » Wed Sep 01, 2021 1:25 am

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?
Insomnia
 
Posts: 33
Joined: Tue May 19, 2020 7:56 am
Status: Offline

Re: Mudlet lags on long messages

Postby *teker* » Sat Sep 04, 2021 11:30 am

I'll add it to MSDP GROUP2
*teker*
Triple 40 Poster
 
Posts: 298
Joined: Sun Apr 05, 2015 3:41 pm
Status: Offline

Re: Mudlet lags on long messages

Postby cnl » Mon Sep 06, 2021 3:15 pm

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"
  }
}
cnl
40 Prime Poster
 
Posts: 42
Joined: Wed Oct 21, 2020 12:16 am
Status: Offline


Return to Mudlet - unlimited possibilities

Who is online

Users browsing this forum: No registered users and 0 guests

cron