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
Zelex
Newbie


Joined: 09 Nov 2008
Posts: 3

PostPosted: Thu Nov 20, 2008 8:58 am   

Wierd interaction #wait, #window
 
I have a button performing a #wait, if in a trigger a #window command is executed during the wait, the #wait waits forever.
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Thu Nov 20, 2008 9:50 am   
 
What are you doing after the wait? You need to be careful when and how you use #wait because it uses threading, which can cause all kinds of problems if you're not careful. Give us your code.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Zelex
Newbie


Joined: 09 Nov 2008
Posts: 3

PostPosted: Thu Nov 20, 2008 5:37 pm   
 
There is zero interaction between these two pieces. No global variables are shared between them. In fact, the trigger with the #window has no variables at all. This is very much a bug in cmud.
Reply with quote
Tarken Aurelius
Apprentice


Joined: 23 Oct 2008
Posts: 120
Location: Cincinnati, Ohio

PostPosted: Thu Nov 20, 2008 5:49 pm   
 
Zelex, given the information you have provided, I was unable to duplicate the bug. Perhaps check somewhere if you have a #SUSPEND hanging around or doing something you hadn't anticipated or intended. But in agreement with Fang, we would be able to help you more if you showed us your code.

Try this though to see what is going on:
I want you to go to Options in the menu, then click on General.
On the Scripting tab click the 'Show trigger debug messages'. This will visually show you all the patterns that CMUD is reacting to as they happen. A bit spammy, but incredibly informative. If you can't seem to figure it out from this, but you can duplicate the bug while this option is on, please take a screenshot and post it here.

I hope this helps you.
_________________
Tarken Aurelius, quality triggers since 2004! Trigger consulting since 2008! Content Developer at BatMUD (www.bat.org)
Reply with quote
Zelex
Newbie


Joined: 09 Nov 2008
Posts: 3

PostPosted: Sat Nov 22, 2008 4:40 am   
 
k, I'll give it a shot and let you know how it goes. I'd rather give out the code privately though.
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