|
Jah Wanderer
Joined: 11 Oct 2000 Posts: 52 Location: Sweden
|
Posted: Mon Jul 07, 2003 9:42 pm
Dblists lagging |
Is it normal for db-lists to lag before actually showing up on screen?
Or is there some tweak that improves the speed to the lightning like im used to :) |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Mon Jul 07, 2003 10:49 pm |
No, it's not normal. How big is the list and what's the code you're using to generate/show it? Are any triggers apparently/deliberately matching the list output?
|
|
|
|
Jah Wanderer
Joined: 11 Oct 2000 Posts: 52 Location: Sweden
|
Posted: Mon Jul 07, 2003 10:59 pm |
#TRIGGER {$} {#var templist "";#var templist2 "";#var gnum "";#T- Healthchecker;:group: #CLR;#VARIABLE templist "";#LOOPDB @healthchecker {#VARIABLE templist %concat( @templist, "|", %repeat( "0", 4 - %len( %val)), %val, "=", %key)};#VARIABLE templist %delete( @templist, 1, 1);#VARIABLE templist %sort( @templist, 1);#VARIABLE templist2 %sort( @templist, 1);#FORALL @templist {#add gnum 1;:group: #SHOW F@gnum : %concat( %copy( %i, %pos( "=", %i) + 1, %len( %i) - %pos( "=", %i) + 1), ": -", %number( %copy( %i, 1, %pos( "=", %i) - 1)));#key F@gnum {fh %copy( %i, %pos( "=", %i) + 1, %len( %i) - %pos( "=", %i) + 1)}};#Var healthchecker ""} "Healthchecker"
and
#TRIGGER {*%s(%d)/(%d)%s hit,*move (%*)} {#if %ismember( %3, @Group) {#noop} {#var Group %additem( %3, @Group)};#var hp %1;#var maxhp %2;#Var sub %line;#math minus (@hp - @maxhp);#math minusplus (@maxhp - @hp);#addkey healthchecker {%3=@minusplus};#math status (@hp*100/@maxhp);#if (@status<0) {#VAR sub2 @status} {#if (@status<16) {#var sub2 {%ansi( blink, high, red) @status~% @minus}} {#if (@status<31) {#VAR sub2 {%ansi( high, red) @status~% @minus}} {#if (@status<51) {#VAR sub2 {%ansi( high, yellow) @status~% @minus}} {#if (@status<76) {#VAR sub2 {%ansi( high, green) @status~% @minus}} {#if (@status<599) {#VAR sub2 {%ansi( high, green) @status~% @minus}}}}}}};#if (@status<599) {#SUB {@sub @sub2}};#VAR sub ""} "Healthchecker" |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|