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: Thu Oct 02, 2008 1:52 pm   

CMUD and the Two Packages
 
CMUD is having a plethora of issues that I can only seem to isolate my recent change to two packages to. It freezes and crashes in many instances where triggers in the new package are supposed to fire. I continue to have issues with the Tells window which wants to open up with a command line and status bar, even though I repeatedly checked no. I eventually just deleted, sent a tell to myself to have it form again and CMUD crashed. I understand that much of it may be my fault, but I'm not sure why triggers that worked fine before are suddenly crashing CMUD. I don't understand why the tells window is being so finicky, my CMUD has gone from wonderful and stable to buggy and crashing and I can barely use it to play. I'm wondering if I should wipe all of my sessions and make them new with the General Package as well, because right now everything is just not working.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Thu Oct 02, 2008 2:48 pm   
 
I'm not sure what to tell you chamenas. I would start with an XML export/import of your scripts. If they look funky when they are reimported then they were probably messed up somehow.

Now I don't believe I have as many scripts (or as complex as you do) but they're not slouches either, and I work almost exclusively with multiple packages.

Some tips that I use (when designing my packages for general distribution)

1. Have onLoad methods on the packages/module do a check for required data (e.g. I use this to create chat windows, there's a bug with that process and create the Variables module where I store all session variables)
2. I use fully qualified variable references.
3. I do my best to ensure a module only has the scope it needs (to prevent unexpected interactions)
4. I use events to communicate between my various modules and packages.

I hope that helps. If not, maybe you can shed more light on what's happening.
_________________
Asati di tempari!
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Thu Oct 02, 2008 4:08 pm   
 
I decided to just wipe and start from the beginning again, I have most of it stored in text files and can recreate through the editor (Since I'm not going via command line). So far so good. One thing that annoys me is that when I open up settings, it doesn't default to "all", which would see more convenient if you have more than one package.
_________________
Listen to my Guitar - If you like it, listen to more
Reply with quote
Fang Xianfu
GURU


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

PostPosted: Sat Oct 04, 2008 8:24 am   
 
The idea, I believe, is that the package containing the window that has focus when you click Settings is opened. This makes sense, really - you're in your capture window and click settings, you'd want it to show the settings in that window.

I think it's one of those (quite common, with a GUI) cases where you say tomato and he says tomato.

That saying really doesn't work well online, huh?
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
chamenas
Wizard


Joined: 26 Mar 2008
Posts: 1547

PostPosted: Sat Oct 04, 2008 2:03 pm   
 
It's working for the most part now, so I'm going to hope.
_________________
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