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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Sylvos
Newbie


Joined: 12 Feb 2004
Posts: 3
Location: Canada

PostPosted: Thu Feb 12, 2004 4:16 pm   

Class not found message
 
Hello everybody. I've run into a weird problem while trying to set up a standard equipment database. I'm running v6.62 on WinXP, and cannot for the life of me get a command line script to add records to a database.

The only thing I can find wrong is when I go into the database window, go to options->set fields and I get a friendly little error box.

Class DBSetD not found.

Goggle gives me nothing when I search for this, and I can't find any other resources for it. Any help would be welcome. Thanks in advance.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5187

PostPosted: Thu Feb 12, 2004 11:05 pm   
 
I will see if I can find a way to reproduce this problem. The database module has a few odd bugs that have never been fixed, and if I can find a way to produce what you speak of then Zugg can fix it for the next public version.

In the meantime any information you can supply about the exact steps taken, or your specific database configuration would help me. The only suggestion I can give to help you is create another database.
Reply with quote
Sylvos
Newbie


Joined: 12 Feb 2004
Posts: 3
Location: Canada

PostPosted: Tue Feb 17, 2004 6:05 pm   
 
I've attempted to create three databases now, and none of them will add records from the command line.

The database currently is a new database with a single field:
Field Name: Name
Type: Text
Hint: Name of item.

I then have a variable, name dbitem, type Data Record. Contents are.
Name|totem bone long snake skin

I have tried a number of different formats to add this through the command line.
#NEW All @dbitem
#new All @dbitem
#NEW ALL @dbitem
#NEW @dbitem
#new dbitem
#new WAND @dbitem

And other variations on case. None of them will add a record, though I can manually add one. I've suspected there is a problem with my db definitions, but I made the initial variable as simplistic as I could and still nothing. I have also attempted to add records by making the dbitem variable value only have a single word, still to no effect.

While I investigated, I started going through the menus. To get the error message, in a standard popup box, I clicked on the DB icon, then on actions, and then set fields. I have no idea what set fields is supposed to do, but for me and one other user I've talked with, it produces that error. Sadly, her equipment database works but she just copied triggers from somewhere else and thus can't assist me at all.

Let me know if I can provide any further information, I'm very thoroughly boggled by this.
Reply with quote
Sylvos
Newbie


Joined: 12 Feb 2004
Posts: 3
Location: Canada

PostPosted: Wed Feb 18, 2004 8:58 pm   
 
With the newest Zmud release, I no longer get the Class not found message when I follow those menu steps. But I still cannot add a record to a database through the command line.

Is there a setting or something I'm missing?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5187

PostPosted: Wed Feb 18, 2004 10:31 pm   
 
First do you have the database window open when trying to use #NEW? It does need to be open.

Second your record variable should display as Data Record in the Settings Editor automatically. If viewed as text it would have the format 'field1=value1|field2=value2...'.

Third you should use braces around arguements to commands. For example:
#NEW All {@dbitem}
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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