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
xekon
Apprentice


Joined: 11 Oct 2007
Posts: 154

PostPosted: Tue Apr 08, 2008 12:31 am   

[2.22] all of my variables are being created as duplicates into the sytem folder
 
[2.22] all of my variables are being created as duplicates into the sytem folder

So now my system folder has TONS of variables from all my various class scripts. what is going on?
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Tue Apr 08, 2008 1:46 pm   
 
By system folder, do you mean under your session window? or in some class called System?

Where are the original variables at? Are they in your session package or in another package? Are the original variables or the classes they are within disabled?

Where are these variables being used--in the same package as the variables, or in separate packages? If separate packages, is the package with the original variables set to global?
Reply with quote
jpolen2
Beginner


Joined: 14 Jan 2004
Posts: 18

PostPosted: Tue Apr 08, 2008 5:31 pm   
 
I've noticed this as well. The original variables as well as the triggers and gauges that reference them are all in my session's main package in the same class folder called vitals. They're now also duplicated in a class folder called System within the same package and my gauges no longer work.
Reply with quote
charneus
Wizard


Joined: 19 Jun 2005
Posts: 1876
Location: California

PostPosted: Tue Apr 08, 2008 5:41 pm   
 
This was actually reported before, and Zugg stated that it had something to do with the Mapper scripts. We're still trying to track it down, though... Check the sticky about Online BUG list. :P

Charneus
Reply with quote
Zugg
MASTER


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

PostPosted: Wed Apr 23, 2008 7:34 pm   
 
I'll need more details on how to reproduce this in order to fix it. It probably depends upon exactly what sort of Room Scripts you are using.
Reply with quote
ennye
Novice


Joined: 17 Dec 2007
Posts: 49

PostPosted: Sun Apr 27, 2008 9:40 am   
 
The same problem on my side.
I know when it happens.
Every time i pass through location with a roomscript operating on variables(write), all next variable changes go to system folder. Vars ar dupped and not read properly. This is huge disfunction.

Mentioned bug with Themes? Cant save theme (got always this ugly office xp theme)
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Apr 28, 2008 5:08 pm   
 
Can you please show me the exact room scripts that you are using that are causing the problem?

Please create separate forum posts for different bugs. The Theme is saved in the CMUD.INI file, so as long as you have proper write access to that file, then it should be saving properly. Set the Theme to Normal to use your default Windows theme instead of the OfficeXp blue theme.
Reply with quote
ennye
Novice


Joined: 17 Dec 2007
Posts: 49

PostPosted: Mon Apr 28, 2008 5:44 pm   
 
Any scripts writing to variables i think.
I use roomscript for setting waypoints.

#va waypoint 4 4 waypoints

I got mapper working, everything is ok, variables are correct, than i go into location with this script, and all goes messed. All variables/triggers/alarms which are changed/added/created since this moment are stored in System or _MapperRoom, no difference if they exist or not. What do i do to repair this? I erase all extra variables created in System, set #class 0 and everything is correct UNTIL the moment i meet another location with #va in roomscript.

It looks like we missed #class 0 after operating on variable command CALLED FROM ROOMSCRIPT.

I noticed such things WHEN USING VA FROM ROOMSCRIPT:
- Variable (without class assigned) fe. "#va location 0" is created properly in _MapperRoom and dissapears correctly when i leave the room, but all operations changing/adding variables since then are stored in _MapperRoom folder until it exists, after leaving location (_MapperRoom deleted) all new var operations go to System folder(1 folder up).

- Variable (with class assigned) fe. "#va location 0 0 waypoints" are created properly and set ok in "waypoints" folder BUT since then all new/changed variables are stored in System folder!

After using variable command from roomscript, all other go wrong (check #trigger, #temp, #alarm, are set in wrong place - System folder when no _mapperroom folder or _MapperRoom if exist even when they are called from normal script)
Reply with quote
ennye
Novice


Joined: 17 Dec 2007
Posts: 49

PostPosted: Mon Apr 28, 2008 6:25 pm   
 
Checking this scripts i noticed another strange thing, can any1 check this for me ?

When you put anything into roomscript field, save this and try to delete...
You delete all letters and hit ok, instead of empty field we got word "All" :)
Impossible to delete this! You can delete, and save, and still get "All" word. Phew.
Reply with quote
Zugg
MASTER


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

PostPosted: Mon Apr 28, 2008 6:59 pm   
 
OK, I'll add this to the bug list and see if it's something I can fix without waiting for the mapper rewrite. I think you are correct that somehow it's not doing a proper "#CLASS 0" after executing the room script.

On the "All" problem, I have also added that to the bug list.
Reply with quote
ennye
Novice


Joined: 17 Dec 2007
Posts: 49

PostPosted: Mon Apr 28, 2008 9:22 pm   
 
Adding #class 0 at the end of the roomscript is a quick workaround of this bug. Helps 100% in all my cases.
Reply with quote
Zugg
MASTER


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

PostPosted: Tue Apr 29, 2008 6:37 pm   
 
OK, I think I have this fixed for v2.23
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