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
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Mon Oct 06, 2008 10:06 pm   

Window bug?
 
I'm beginning to think that there's a bug with capture windows and triggers, one that can only be seen when multiple packages interact with a capture window in a session. As noted earlier, I had trouble with infinite loop detections in many tell triggers. I also send spell fadings to my capture window such as:

Code:

^You feel solid again.$


The code for the capture is simple
Code:

#color white
#CAP Capture Window


however I got an infinite loop detection. When this first occurred I simply deleted the window and tested it and it created the window fine and worked. The second time, in another session, I deleted the window but it's still finding some infinite loop. This same trigger is the same across sessions.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Tue Oct 07, 2008 12:03 am   
 
Chances are, your packages/modules are set as global, and your windows are included in the trigger set. What's happening is your main shows the trigger, and it fires. Then your window shows the same exact line and it goes into that infinite loop.

To fix this, select each module/package. On the right hand side, you'll see checkboxes. Uncheck every box associated with a window.

Charneus
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Tue Oct 07, 2008 3:46 am   
 
Doesn't one of them need to be associated with the window? And I'm not entirely certain of what you speak of, but I'll click on one and check it out.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Tue Oct 07, 2008 4:22 am   
 
Nothing needs to be associated with the windows unless you have triggers running for that window. If that's the case, then you want to put the window triggers in a different module. This is what I mean:



See where the red arrow is? This is my main window. The Continents and the map windows do not have anything except clickable urls checked. You don't want anything checked except maybe the clickable urls.

Charneus
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Tue Oct 07, 2008 10:49 am   
 
What about triggers that send stuff to windows?
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
ralgith
Sorcerer


Joined: 13 Jan 2006
Posts: 715

PostPosted: Tue Oct 07, 2008 12:04 pm   
 
He means disabled everything for the Capture Window
Not the rest of them.
_________________
CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Tue Oct 07, 2008 12:45 pm   
 
I'm trying that, but I had to close out the capture window and now the triggers won't create it. And whenever I try to delete the capture window from settings it crashes CMUD.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Tue Oct 07, 2008 1:21 pm   
 
Why are you trying to destroy and create the window each time? I told you before that would not work well if you want the window in a separate package.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Tue Oct 07, 2008 2:15 pm   
 
chamenas, the reason your triggers are not creating the new window is probably because you forgot to enable the trigger after you've had to disable it for the infinite loop. Check that first.

You shouldn't be deleting the window, period. There's no need to if you're capturing stuff to that window, really. And this is what I mean by disabling the other modules/packages:



See the difference between my posted images? Make your windows look like that, and you'll be ok. :\

Charneus
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Tue Oct 07, 2008 4:49 pm   
 
I did make them like that, but this particular window will disappear when I log back in. It will still be in the settings, but it won't be visible, even though "Window is Visible" is checked. I delete it and at least now it comes back, but it often comes back with all of the packages selected and I have to deselect them every time. Not to mention it's just odd that it wont show up.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Tue Oct 07, 2008 5:29 pm   
 
Move the window to where you need it and #SAVE your settings. Or check that auto-save layout is checked. If that fails, then reset your layout by holding shift and opening the session offline. Then reset your windows and save them again.

Failing that, then redo all your triggers into a new session.

Charneus
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Tue Oct 07, 2008 5:45 pm   
 
Yeah, this is sort of a new situation altogether.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Thu Oct 16, 2008 4:14 pm   
 
So this is odd. If I delete the capture window, it recreates with everything unchecked, including clickable urls. Whether or not I check off clickable urls, when I close it and go back in, everything is checked off and the infinite loops occurs.
_________________
Listen to my Guitar - If you like it, listen to more
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