Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Tue May 18, 2010 8:27 pm   

[3.17]Bug report using this script...
 
I created this script in 3.14, where it worked perfectly. It worked in 3.16 as well, I believe. However, in 3.17, I get the following bug report:

Code:
date/time         : 2010-05-18, 13:11:45, 143ms
computer name     : CHARNEUS-LAPTOP
user name         : Charneus <admin>
registered owner  : Charneus
operating system  : Windows 7 build 7600
system language   : English
system up time    : 5 hours 34 minutes
program up time   : 6 minutes 27 seconds
processors        : 2x AMD Turion(tm) 64 X2 Mobile Technology TL-60
physical memory   : 823/1918 MB (free/total)
free disk space   : (C:) 38.55 GB
display mode      : 1280x800, 32 bit
process id        : $ad4
allocated memory  : 125.33 MB
command line      : "C:\Program Files\CMUD\cMUD.exe" "Aardwolf"
executable        : cMUD.exe
exec. date/time   : 2010-05-07 14:33
version           : 3.17.0.0
compiled with     : BCB 2006/07
madExcept version : 3.0k
contact name      :
contact email     :
callstack crc     : $61264c4b, $d58c6ba8, $d58c6ba8
exception number  : 1
exception class   : EAccessViolation
exception message : Access violation at address 00406203 in module 'cMUD.exe'. Read of address 0000001F.

Main ($1430):
00406203 +0027 cMUD.exe     System    6390   +0 @LStrCatN
00da1084 +00c0 cMUD.exe     CodeExec  1179   +8 EvalTwo
00da96b5 +08cd cMUD.exe     CodeExec  3476 +165 TCodeExec.InternalExecute
00d9f503 +0053 cMUD.exe     CodeExec   511   +8 TCodeExec.Execute
00d939c2 +00c2 cMUD.exe     PrefDat  10934   +9 TCacheNode.Execute
00d8ff5c +035c cMUD.exe     PrefDat   9394  +61 PrefRec.InternalExecute
00d901c3 +001f cMUD.exe     PrefDat   9452   +2 PrefRec.Execute
00cce2af +0153 cMUD.exe     MAIN      6750  +14 TMUDForm.ExecThread
00cd6d0c +0528 cMUD.exe     MAIN      9736 +101 TMUDForm.ExecTrig
00cd42b5 +13d5 cMUD.exe     MAIN      8866 +340 TMUDForm.HandleTrigger
00cd29af +000f cMUD.exe     MAIN      8350   +1 TMUDForm.UserOutNewLine
00a231eb +0067 cMUD.exe     term      9748   +6 TTerm.DoTriggerLine
00a21b1a +020e cMUD.exe     term      9306  +34 HandleNewLine
00a22379 +06e1 cMUD.exe     term      9434 +104 TTerm.PutText
00a2295b +0053 cMUD.exe     term      9541   +2 TTerm.Add
00cbc99e +00b6 cMUD.exe     MAIN      1828   +8 TMUDForm.OutputStr
00cbccc2 +011a cMUD.exe     MAIN      1916  +29 TMUDForm.NextMUDLine
00cbd192 +0022 cMUD.exe     MAIN      1997   +4 TMUDForm.DoNextLine
004bc093 +02bb cMUD.exe     Controls            TControl.WndProc
004c0097 +04fb cMUD.exe     Controls            TWinControl.WndProc
004a25f7 +0553 cMUD.exe     Forms               TCustomForm.WndProc
004bf7c0 +002c cMUD.exe     Controls            TWinControl.MainWndProc
0047d424 +0014 cMUD.exe     Classes             StdWndProc
76b13573 +000a USER32.dll                       DispatchMessageA
004aa76c +00fc cMUD.exe     Forms               TApplication.ProcessMessage
004aa7a6 +000a cMUD.exe     Forms               TApplication.HandleMessage
004aaa9b +00b3 cMUD.exe     Forms               TApplication.Run
00e38bb8 +0088 cMUD.exe     CMUD       373  +20 initialization
754a1192 +0010 kernel32.dll                     BaseThreadInitThunk

error details:
Running gqh command


Not sure what to make of this at all, but here's the script:

Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
  <class name="Gquests" copy="yes">
    <alias name="gqh" copy="yes">
      <value>#T+ "HistStart"
#T+ "ScrollCapture"
#T+ "GQLevelSet"
gqreset
#IF (%1) {#IF (%isnumber( %1)) {
    GQCheckLevel=%1
    #IF (%2) {GQHReport=%-2}
    } {GQHReport=%-1}}
scroll
scroll 0
level
gq history</value>
    </alias>
    <alias name="gqreset" copy="yes">
      <value>#VAR GQLeft {1to4|1to8|1to12|5to16|9to20|13to24|17to28|21to32|25to36|29to40|33to44|37to48|41to52|45to56|49to60|53to64|57to68|61to72|65to76|69to80|73to84|77to88|81to92|85to96|89to100|93to104|97to108|101to112|105to116|109to120|113to125|117to130|121to135|126to140|131to145|136to150|141to155|146to160|151to165|156to170|161to175|166to180|171to185|176to190|181to195|186to201|191to201|194to201}
GQHistList=%null
GQHReport=%null
GQCheckLevel=%null
GQScrollSet=0</value>
    </alias>
    <alias name="gqshow" copy="yes">
      <value>#LOCAL GQLow GQHigh GQSelf GQMyRange
#IF (!%1) {
  $GQSelf=@GQLeft
  #FORALL $GQSelf {
    #CALL %regex( %i, "(\d+)to(\d+)", $GQLow, $GQHigh)
    #IF ($GQLow <= @GQCurrentLevel AND $GQHigh >= @GQCurrentLevel) {
      #ADDITEM $GQMyRange %i
      #DELITEM $GQSelf %i
      }
    }
  #SEND @GQDefaultChan "@W[@CF@cirst @CG@cQ@W]@r: @c"%replace( @GQFirst, "to", "@R-@c")  " @W[@g"%eval( %numitems( $GQSelf)+%numitems( $GQMyRange))"@c remain"%if( %numitems( $GQSelf)=1, "s")"@W]@r: @CF@cor @Cl@cevel @G"%item(@statline,31)": @W[@C"%if( $GQMyRange, %replace( %expandlist( $GQMyRange, "@R|@C"), "to", "@W-@C"), "None")"@W] "%if( $GQMyRange, "@G("%format( "&amp;0.2n", %eval( %float( %numitems( $GQMyRange))/(%numitems( $GQSelf)+%numitems( $GQMyRange))*100))"%) ")"@W[@c"%replace( %expandlist( $GQSelf, "@R|@c"), "to", "@W-@c")"@W]@w"
  } {#SEND %-1 "@B[@RMelvin@B]@c: @W[@CF@cirst @CG@cQ@W]@r: @c"%replace( @GQFirst, "to", "@W-@c")" @W[@g"%numitems( @GQLeft)"@c remain"%if( %numitems( @GQLeft)=1, "s")"@W]@r: @W[@c"%replace( %expandlist( @GQLeft, "@R|@c"), "to", "@W-@c")"@W]@w"}
  #IF (%numitems(@gqwaiting)) {#EXEC %pop(gqwaiting)} {gqchecking=0}</value>
    </alias>
    <alias name="gqupdate" copy="yes">
      <value>#WAIT
#IF (@GQHistList != %null) {
  #LOCAL GQHist GQStart GQCycleCount GQLow GQHigh
  $GQHist = @GQHistList
  #IF (%numitems( $GQHist)<48) {
    $GQStart=%numitems( $GQHist)
    #LOOP $GQStart {#DELITEM GQLeft %item( $GQHist, %i)}
    GQFirst = %item( $GQHist, %numitems( $GQHist))
    } {
    #WHILE (!$GQStart) {
      #ADDKEY $GQCycle {@GQCycleDB} {0}
      $GQCycleCount = 0
      #LOOP %eval( %numitems( $GQHist)-47),%numitems( $GQHist) {#ADDKEY $GQCycle %item( $GQHist, %i) %eval( %db( $GQCycle, %item( $GQHist, %i))+1)}
      #LOOPDB $GQCycle {#IF (%val=1) {#ADD $GQCycleCount 1}}
      #IF ($GQCycleCount = 48) {$GQStart = %numitems( $GQHist)} {#DELNITEM $GQHist %numitems( $GQHist)}
      }
    #LOOP %mod( $GQStart, 48) {#DELITEM GQLeft %item( $GQHist, %i)}
    GQFirst=%item( $GQHist, %mod( $GQStart, 48))
    }
  }
#IF (@GQCheckLevel) {gqcheck @GQCheckLevel %if( @GQHReport, @GQHReport)} {gqshow %if( @GQHReport, @GQHReport)}</value>
    </alias>
    <var name="GQCycleDB" type="StringList" copy="yes">1to4|1to8|1to12|5to16|9to20|13to24|17to28|21to32|25to36|29to40|33to44|37to48|41to52|45to56|49to60|53to64|57to68|61to72|65to76|69to80|73to84|77to88|81to92|85to96|89to100|93to104|97to108|101to112|105to116|109to120|113to125|117to130|121to135|126to140|131to145|136to150|141to155|146to160|151to165|156to170|161to175|166to180|171to185|176to190|181to195|186to201|191to201|194to201</var>
    <var name="GQFirst" type="Literal" copy="yes">37to48</var>
    <var name="GQHistList" copy="yes">93to104|1to8|101to112|131to145|151to165|176to190|156to170|13to24|121to135|89to100|9to20|17to28|21to32|49to60|37to48|49to60|176to190|93to104|121to135|166to180|117to130|25to36|89to100|29to40|53to64|37to48|1to12|21to32|85to96|186to201|65to76|131to145|141to155|5to16|101to112|171to185|13to24|191to201|161to175|77to88|113to125|33to44|109to120|1to8|41to52|81to92|181to195|126to140|9to20|136to150|73to84|105to116|17to28|97to108|194to201|156to170|146to160|69to80|1to4|57to68|45to56|151to165|61to72|131to145|181to195|176to190|17to28|5to16|13to24|93to104|57to68|29to40|1to12|45to56|65to76|141to155|33to44|49to60|1to8|186to201|146to160|53to64|37to48|85to96|171to185|41to52|21to32|161to175|151to165|69to80|156to170|136to150|166to180|105to116|97to108|113to125|9to20|117to130|1to4|191to201|109to120</var>
    <var name="GQHReport" copy="yes"/>
    <var name="GQLeft" type="StringList" copy="yes">1to4|1to8|1to12|5to16|9to20|13to24|17to28|21to32|25to36|29to40|33to44|37to48|41to52|45to56|49to60|53to64|57to68|61to72|65to76|69to80|73to84|77to88|81to92|85to96|89to100|93to104|97to108|101to112|105to116|109to120|113to125|117to130|121to135|126to140|131to145|136to150|141to155|146to160|151to165|156to170|161to175|166to180|171to185|176to190|181to195|186to201|191to201|194to201</var>
    <trigger name="GQTrigger" priority="10220" enabled="false" copy="yes">
      <pattern>^%w%s%w%s%d%s%d:%d:%d%s%d%s(%d)%s(%d)%s*%s%d</pattern>
      <value>GQHistList=%additem(%concat(%1,"to",%2),@GQHistList)
#GAGSPACE</value>
    </trigger>
    <trigger name="HistStart" priority="10230" enabled="false" copy="yes">
      <pattern>^Date/Time%sfinished%sFrom%sTo%sCompleted%sby%sMinutes</pattern>
      <value>#T+ "GQTrigger"
#GAG 2</value>
      <trigger enabled="false">
        <pattern>^$</pattern>
        <value>#T- "GQTrigger"
#T- "HistStart"
#IF (@GQScrollSet) {scroll @GQScrollSet}
#T- "ScrollCapture"
#T- "GQLevelSet"
gqupdate</value>
      </trigger>
    </trigger>
    <alias name="gqcheck" copy="yes">
      <value>#LOCAL GQLow GQHigh GQSelf GQMyRange
$GQSelf=@GQLeft
  #FORALL $GQSelf {
  #CALL %regex( %i, "(\d+)to(\d+)", $GQLow, $GQHigh)
  #IF ($GQLow <= %1 AND $GQHigh >= %1) {
    #ADDITEM $GQMyRange %i
    #DELITEM $GQSelf %i
    }
  }
#SEND {%if(%2,%-2,"echo") " @B[@RMelvin@B]@c: @W[@CF@cirst @CG@cQ@W]@r: @c"%replace( @GQFirst, "to", "@W-@c")" @W[@g"%eval( %numitems( $GQSelf)+%numitems( $GQMyRange))"@c remain"%if( %numitems( $GQSelf)=1, "s")"@W]@r: @CF@cor @Cl@cevel @g"%1"@r: @W[@C"%if( $GQMyRange, %replace( %expandlist( $GQMyRange, "@R|@C"), "to", "@W-@C"), "None")"@W] "%if( $GQMyRange, "@G("%format( "&amp;0.2n", %eval( %float( %numitems( $GQMyRange))/(%numitems( $GQSelf)+%numitems( $GQMyRange))*100))"%) ")"@W[@c"%replace( %expandlist( $GQSelf, "@R|@c"), "to", "@W-@c")"@W]@w"}
#IF (%numitems(@gqwaiting)) {#EXEC %pop(gqwaiting)} {gqchecking=0}</value>
    </alias>
    <var name="GQCheckLevel" copy="yes"/>
    <var name="GQDefaultChan" copy="yes">echo</var>
    <trigger name="GQLevelSet" priority="25220" enabled="false" copy="yes">
      <pattern>^You are level (%d).</pattern>
      <value>gqcycleset %1
#GAGSPACE</value>
    </trigger>
    <alias name="gqcycleset" copy="yes">
      <value>GQCurrentLevel=%1</value>
    </alias>
    <var name="GQCurrentLevel" copy="yes">136</var>
    <var name="GQScrollSet" copy="yes">0</var>
    <trigger name="ScrollCapture" priority="25230" enabled="false" copy="yes">
      <pattern>^{You currently display (%d) lines per page|Page size set to %d lines.|You do not page long messages.|Paging disabled.}</pattern>
      <value>#IF (%1) {GQScrollSet=%1}
#GAG 2</value>
    </trigger>
    <var name="gqwaiting" type="StringList" copy="yes"/>
    <var name="gqchecking" copy="yes">0</var>
  </class>
</cmud>


The output from the MUD after running gqh goes like this:


Code:

You currently display 100 lines per page.
Use 'pagesize <lines>' to change, or 'pagesize 0' to disable paging.

Paging disabled.

You are level 136.

Date/Time finished        From  To  Completed by Minutes
------------------------- ---- ---- ------------ -------
Tue May 18 16:22:28 2010     1   12 Slowster           2
Tue May 18 16:09:04 2010    93  104 Nuala             12
Tue May 18 15:45:01 2010     1    8 Slowster           1
Tue May 18 15:31:44 2010   101  112 Kers               4
Tue May 18 15:15:50 2010   131  145 No Winner          5
Tue May 18 14:59:31 2010   151  165 Tasuja             5
Tue May 18 14:42:55 2010   176  190 Delgar            35
Tue May 18 13:56:11 2010   156  170 Miracle            9
Tue May 18 13:35:05 2010    13   24 Tianshi            3
Tue May 18 13:19:50 2010   121  135 Gnidlohnad         6
Tue May 18 13:01:34 2010    89  100 Angstrom           6
Tue May 18 12:44:00 2010     9   20 Kenshi             2
Tue May 18 12:29:47 2010    17   28 Zxavier            4
Tue May 18 12:14:24 2010    21   32 Mollusk            8
Tue May 18 11:54:39 2010    49   60 Anya               2
Tue May 18 11:40:33 2010    37   48 Karlos             2
Tue May 18 11:27:07 2010    49   60 Wyverex            3
Tue May 18 11:12:17 2010   176  190 Sparhawk           6
Tue May 18 10:54:40 2010    93  104 Drareg            14
Tue May 18 10:28:40 2010   121  135 Godot             16
Tue May 18 10:01:00 2010   166  180 Hiroki            10
Tue May 18 09:39:23 2010   117  130 Drtoki            11
Tue May 18 09:16:30 2010    25   36 Dagnir             5
Tue May 18 08:59:23 2010    89  100 Keitarou          11
Tue May 18 08:36:20 2010    29   40 Munxip             3
Tue May 18 08:20:57 2010    53   64 Cirrus             9
Tue May 18 08:00:27 2010    37   48 Alok               2
Tue May 18 07:46:09 2010     1   12 Tianshi            2
Tue May 18 07:32:57 2010    21   32 Munxip             7
Tue May 18 07:13:51 2010    85   96 Phlox              6
Tue May 18 06:56:18 2010   186  201 Cooler             5
Tue May 18 06:39:16 2010    65   76 Argent             4
Tue May 18 06:23:44 2010   131  145 Duckbat            3
Tue May 18 06:08:37 2010   141  155 No Winner         50
Tue May 18 05:07:15 2010     5   16 Versace            3
Tue May 18 04:51:56 2010   101  112 Kers               6
Tue May 18 04:34:22 2010   171  185 Sparhawk           6
Tue May 18 04:16:45 2010    13   24 Zxavier            3
Tue May 18 04:01:43 2010   191  201 Cooler            11
Tue May 18 03:38:34 2010   161  175 Alucard            7
Tue May 18 03:19:42 2010    77   88 Doubt              8
Tue May 18 02:59:17 2010   113  125 Solkanar           6
Tue May 18 02:41:02 2010    33   44 Redryn             5
Tue May 18 02:24:21 2010   109  120 Solkanar           4
Tue May 18 02:08:31 2010     1    8 Zakum              2
Tue May 18 01:54:47 2010    41   52 Alok               4
Tue May 18 01:39:24 2010    81   92 Phlox             13
Tue May 18 01:14:37 2010   181  195 Sparhawk           8
Tue May 18 00:54:27 2010   126  140 No Winner          5
Tue May 18 00:37:52 2010     9   20 Zxavier            2
Tue May 18 00:23:59 2010   136  150 Hiroki             4
Tue May 18 00:08:11 2010    73   84 Angstrom           5
Mon May 17 23:52:03 2010   105  116 Solkanar           3
Mon May 17 23:36:49 2010    17   28 Zxavier            2
Mon May 17 23:23:05 2010    97  108 Kers               6
Mon May 17 23:04:55 2010   194  201 Argyle             3
Mon May 17 22:49:53 2010   156  170 Miracle           10
Mon May 17 22:28:15 2010   146  160 Miracle            7
Mon May 17 22:09:44 2010    69   80 Alixana            4
Mon May 17 21:53:50 2010     1    4 Vexator            5
Mon May 17 21:36:20 2010    57   68 Kimble             5
Mon May 17 21:20:08 2010    45   56 Spicyhot           3
Mon May 17 21:05:27 2010   151  165 Soma              19
Mon May 17 20:34:36 2010    61   72 Alixana            3
Mon May 17 20:19:34 2010   131  145 Katta              9
Mon May 17 19:58:42 2010   181  195 No Winner          5
Mon May 17 19:42:06 2010   176  190 No Winner          5
Mon May 17 19:25:55 2010    17   28 Parzifal           2
Mon May 17 19:12:05 2010     5   16 Zxavier            4
Mon May 17 18:56:11 2010    13   24 Zxavier            2
Mon May 17 18:41:56 2010    93  104 Kers               3
Mon May 17 18:26:42 2010    57   68 Alixana            3
Mon May 17 18:11:42 2010    29   40 Rhodes             7
Mon May 17 17:52:36 2010     1   12 Slowster           1
Mon May 17 17:39:51 2010    45   56 Kimble             3
Mon May 17 17:25:12 2010    65   76 Alixana            3
Mon May 17 17:10:22 2010   141  155 Ultimate           5
Mon May 17 16:53:53 2010    33   44 Krikon            23
Mon May 17 16:18:28 2010    49   60 Nextepeua          4
Mon May 17 16:02:24 2010     1    8 Slowster           1
Mon May 17 15:49:39 2010   186  201 Ninja              6
Mon May 17 15:31:41 2010   146  160 Nokian             7
Mon May 17 15:12:41 2010    53   64 Anya               3
Mon May 17 14:57:49 2010    37   48 Wyverex            3
Mon May 17 14:43:05 2010    85   96 No Winner          5
Mon May 17 14:26:29 2010   171  185 No Winner          5
Mon May 17 14:10:17 2010    41   52 Alok               8
Mon May 17 13:50:24 2010    21   32 Rhodes             6
Mon May 17 13:32:23 2010   161  175 Alucard            7
Mon May 17 13:13:57 2010   151  165 Tianshi            7
Mon May 17 12:54:56 2010    69   80 Jagad              4
Mon May 17 12:39:14 2010   156  170 Alucard            6
Mon May 17 12:20:58 2010   136  150 Hiroki             3
Mon May 17 12:05:59 2010   166  180 Alucard            7
Mon May 17 11:46:57 2010   105  116 Duckbat            7
Mon May 17 11:28:27 2010    97  108 Kers               3
Mon May 17 11:13:39 2010   113  125 Stormlord         14
Mon May 17 10:47:23 2010     9   20 Reignaeker         7
Mon May 17 10:28:31 2010   117  130 Stormlord          6
Mon May 17 10:10:57 2010     1    4 Versace            2
Mon May 17 09:57:10 2010   191  201 Rocky              6



Any idea what's going on?

Charneus
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net