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
Evangelist
Adept


Joined: 10 Oct 2000
Posts: 224
Location: USA

PostPosted: Tue Feb 04, 2003 3:39 am   

Databases
 
Two questions.

Can I open a database and add info to it via triggers, then close it, open another and add to that one. The databases themselves are in my INETPUB directory for my website. Should there be any problem with that? Also, if I want to be able to use the databases for a website, will I have trouble opening the db in access, or is there a converter?

Evangelist/Pernius
telnet://phidar.com:9000
Reply with quote
Emit
Magician


Joined: 24 Feb 2001
Posts: 342
Location: USA

PostPosted: Tue Feb 04, 2003 4:20 am   
 
I don't really use the database, but i'll take a stab at this one.
use #dbload and #dbclose? don't know about access though

--------

moon.icebound.net:9000
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Tue Feb 04, 2003 4:33 am   
 
Yes, you can open a database, modify it, close it and then open another. I believe you can't open a database if it is not wihin the zMUD directory, but I might be wrong on that. Finally, the databases are stored in a propietary format, so there is no way to view them except with zMUD.

Kjata
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Tue Feb 04, 2003 5:09 pm   
 
I've never tried it, but I get the impression it's possible to open more than one database in zMUD. If you plan to do this, you should try to make sure the first two characters of each database are different.
database 1, equipment.db
database 2, mobs.db
database 3, areas.db


LightBulb
Advanced Member
Reply with quote
Evangelist
Adept


Joined: 10 Oct 2000
Posts: 224
Location: USA

PostPosted: Wed Feb 05, 2003 6:42 pm   
 
Anyway to convert the database to a readable format? I'm not trying to share maps or anything, I just need a way to get all the items I have got into the database where I can put them on a website and make it searchable, I really don't want to add stuff by hand.

Evangelist/Pernius
telnet://phidar.com:9000
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Wed Feb 05, 2003 6:58 pm   
 
You can go through your entire database and spit it out to a text file
using CSV format etc.

Ton Diening
Reply with quote
Evangelist
Adept


Joined: 10 Oct 2000
Posts: 224
Location: USA

PostPosted: Wed Feb 05, 2003 7:00 pm   
 
Can I export it into a .csv file (I'm at school, else I would have tested it)

Evangelist/Pernius
telnet://phidar.com:9000
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