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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
draean
Newbie


Joined: 04 May 2009
Posts: 9

PostPosted: Fri Feb 05, 2010 12:29 am   

[3.12] Script integrity?
 
I generally use cmud to run 2-3 script simultaneously on the same host. the scripts are moderately complex, and I haven't compartmentalized into modules. But sometimes, seemingly at random, or possibly only at crashes, I'll load a script only to find some parts are intact, and some parts have their code replaced with seemingly random stuff. For instance, the auto login trig is replaced with a random number, the attackdecision alias (function that runs logic on several variables to determine what and when to send things to fight correctly), also replaced with a random number (2288), my recall trigger's text was replaced with 'zedraikis' which was elsewhere in the script, but inappropriate for the trigger.

I'm running vista, and 3.12, and it *usually* takes it a long time (3+ hours) to crash, but when it crashes it is not on any specific event, I can just be sitting there doing nothing, no triggers are firing, nothing, thing just freezes up.

Does anyone know what this is or how it happens? I don't really mind the freezing, but having to fix multiple aspects of my script frequently does get old. my scrollback buffer was set to 10,000 lines, I've lowered that to 3000, but the buffer has been full for a long time before crash usually... I think.

When my script is screwed up in a crash, it generally only happens to 1 of the open scripts, not all of them.

Right, that's all I can think of that may be relevant, feel free to ask questions, and thanks in advance for any insights you may have.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Fri Feb 05, 2010 1:35 am   
 
layout or package is corrupted. Layout is easy to fix, just open up CMud and hold down SHIFT while you open up your session in offline mode and when it's open (and, if necessary, after you put all the windows back the way you had them) save your layout.

Corrupted packages require more work, as you have to export the package to XML, delete the old package file, create a new package file, and import the XML.
_________________
EDIT: I didn't like my old signature
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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