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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Wed Apr 27, 2011 4:15 pm   

[3.34 Pro] %mxp.data isn't returning my whole prompt anymore
 
In previous versions %mxp.data returned my whole prompt:

%mxp.data = 8580h, 9038m, 38900e, 37250w exdb-

Now it contains this:

%mxp.data = 8580h,

It is now only returning up to the white space.

This breaks all my prompt handling code.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Wed Apr 27, 2011 5:02 pm   
 
You'll need to show me the Script Debugger output with raw input/output messages so I can see the exact MXP codes being sent by the MUD. And then I'll need to see your MXP trigger. I'm not aware of any change in 3.34 that should effect this. So treat it like an obscure error and give me as much details to reproduce it as you can.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Wed Apr 27, 2011 5:29 pm   
 
The Script Debugger output with raw input/output messages
Code:
16.713 | i    Achaea <<CR><LF>
0.0000 | <ESC>[1;37m[OOC]:<ESC>[0;37m Vote for Achaea at TopMudSites!<CR><LF>
0.0000 | = <ESC>[1;32mS<ESC>[0;37m--<ESC>[1;32m@h<ESC>[0;37m99,<ESC>[1;32mH<ESC>[0;37m99,<ESC>[33mCE<ESC>[37m100%,<ESC>[33mW<-<ESC>[37mSE<ESC>[33m@<ESC>[37m20kts,<ESC>[33mC/S-><ESC>[37mW<ESC>[33m@<ESC>[37m0,<ESC>[33mVI<ESC>[37m<CR><LF>
0.0001 | <IAC><SB><201>Char.Vitals { "hp": "8580", "maxhp": "8580", "mp": "9038", "maxmp": "9038", "ep": "38900", "maxep": "38900", "wp": "37250", "maxwp": "37250", "nl": "33", "string": "H:8580/8580 M:9038/9038 E:38900/38900 W:37250/37250 NL:33/100 " }<IAC><SE><ESC>[4z<PROMPT><ESC>[32m8580h, <ESC>[37m<ESC>[32m9038m, <ESC>[37m<ESC>[32m38900e, <ESC>[37m<ESC>[32m37250w <ESC>[37mexdb-<ESC>[4z</PROMPT><IAC><EOR>
0.0022 | a    Achaea #Telnet 201: Char.Vitals { "hp": "8580", "maxhp": "8580", "mp": "9038", "maxmp": "9038", "ep": "38900", "maxep": "38900", "wp": "37250", "maxwp": "37250", "nl": "33", "string": "H:8580/8580 M:9038/9038 E:38900/38900 W:37250/37250 NL:33/100 " }
0.0031 | a    Achaea |8580h, 9038m, 38900e, 37250w exdb-
0.0037 |


MXP Trigger
Code:
<trigger name="Prompt_MXP" type="MXP" priority="20" id="6160">
  <pattern>Prompt</pattern>
  <value><![CDATA[#if (%regex( %mxp.data, "^-$"))  {
  //
  #if (!@blackout) {
    #RAISEEVENT Blackout
    #var blackout 1
    }
  } {
  #if (@blackout) {
    #RAISEEVENT BlackoutCured
    #var blackout 0
    }
  #call %regex( %mxp.data, "^\d+h, \d+m, \d+e, \d+w ([cexkdb]*)\-$", pflags)
  }
#RAISEEVENT Prompt
#if (%regex( @pflags, "ex")) {#RAISEEVENT PromptBalanced}

#tag Prompt

#if (@Moving) {
  #var Moving 0
  #if (%numitems( @RoomExits) <> 8 or (%db( @RoomExits, "s") <> 0 and %db( @RoomExits, "n") <> 0)) {OnRoomEnter}
  }
  ]]></value>
</trigger>
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Thu Apr 28, 2011 4:21 pm   
 
Confirmed and added to bug list for next quick fix. Definitely broken by something new in 3.34.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Fri Apr 29, 2011 1:39 am   
 
Is 3.33a posted anywhere?
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Tue Jun 28, 2011 4:22 am   
 
While I understand this might not be fixed immediately, if its going to take several months you could at least post the past 3.33a version.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Jun 28, 2011 5:06 pm   
 
The download files for v3.33 still exist. I always keep past versions on the server for a while. If you look at the actual download link it's pretty trivial to determine the URL for the older version.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Tue Jun 26, 2012 4:59 am   
 
Is 3.34 the last version? I was wondering if the bug was going to be fixed in a subsequent version or if Zugg stopped the project at 3.34.
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Tue Jun 26, 2012 4:45 pm   
 
It's the last version for now, Zugg's been missing... see http://forums.zuggsoft.com/forums/viewtopic.php?t=37314.
Reply with quote
ReedN
Wizard


Joined: 04 Jan 2006
Posts: 1279
Location: Portland, Oregon

PostPosted: Mon Nov 26, 2012 9:10 pm   
 
Zugg wrote:
Confirmed and added to bug list for next quick fix. Definitely broken by something new in 3.34.


I'd like to be able to use 3.34 at some point in time, instead of 3.33. Is there hope this will ever be fixed? This was listed as to be included in the 'next quick fix'. It's been 19 months since Zugg confirmed this bug.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Mon Nov 26, 2012 9:32 pm   
 
Zugg's put CMud on unofficially-dead status, due in very large part to the hours he spends doing his day job. His hopes for some free time have been moreorless dashed until further notice, so what free time he does have he's spending with family to the exclusion of all else.
_________________
EDIT: I didn't like my old signature
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion 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