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
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Fri Feb 11, 2011 5:06 am   

[3.33]no GMCP roomnum update with scripted movement
 
Code:
<trigger type="Alarm" priority="2150" id="48">
  <pattern>*15</pattern>
  <value>$dirs = ""
#forall %roomexit() {
  #if ((%roomlink(,%i) > 0) and (%roomlink(,%i) != 13444)) {#additem $dirs %i}
}
$dircount = %numitems($dirs)
#send %item($dirs,%random(1,$dircount))
#send recon</value>
</trigger>


I discovered that the last line of the alarm (#SEND recon) is interrupting the GMCP room number/mask color updating of a room (the other mapper events work just fine, though I'm not too sure about the rest of the GMCP info since that's already part of the room data). Not sure if this is really a bug or not, but I don't understand why it does so. If I move this command to a temporary alarm, everything works identically as if I were using the command line.
_________________
EDIT: I didn't like my old signature
Reply with quote
Zugg
MASTER


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

PostPosted: Fri Feb 11, 2011 11:15 pm   
 
Hmm I don't understand how GMCP could have any effect on this at all. It's true that alarms are run in parallel so your #send could happen at any point in the middle of other text being received from the MUD. But GMCP is sent via telnet option data so I really don't see any connection.

Do you have any GMCP triggers or anything else that might be related to this to help put it into context. At this point there really isn't anything for me to test.
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