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
tekky
Beginner


Joined: 08 Feb 2006
Posts: 25

PostPosted: Wed Feb 08, 2006 1:02 pm   

general dbase functions.... (need help)
 
I'm trying to recreate a old script in the new zMUD (was a script from a different client) before I decide to stick with zMUD or back to my original client... my problem is this

my mud allows 2 seperate characters and I want to track information for both characters whtout having to switch settings/files around...
zMUD's database makes thiis very feasible... however I'm not quite catching on to somethings...

I setup a really simple database with 3 columsn
skill_name skill_count and skill_owner
I populated this with some test data and all was great... I could #find someskillname and it would display the relevant information... I was even able to take a new variable using #addkey and inserting it into the database (once anyways... didnt work after that) and have it show up...

My question.... is there more precise methods to doing this stuff other than

#dbload dbname
#dbreset
#find somevalue

I cant get any values returned now when I try find... or anything else...

I've tried #dbclose and reloading... reseting... what am I missing?

Can someone explain this better? I tried searching, thats where I got some of the ideas from, but nothing that explained anything more really.

Thanks
_________________
-Karl
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Wed Feb 08, 2006 9:25 pm   
 
If you are not getting anything at all, perhaps you forgot to open the DB module window? None of the ZMud database commands do anything if it's not open, but they don't ever tell you that it's not open.
_________________
EDIT: I didn't like my old signature
Reply with quote
tekky
Beginner


Joined: 08 Feb 2006
Posts: 25

PostPosted: Thu Feb 09, 2006 3:21 am   
 
ahhh thanks that solved that problem :) kinda... odd that you have to have it open in that manner :(

now to return a single value instead of the record id... :)
_________________
-Karl
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