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


Joined: 05 Jul 2003
Posts: 24
Location: Sweden

PostPosted: Wed Aug 06, 2003 10:09 pm   

database general questions...
 
Heya,

I got thios output from my mud when I type identify.

For swords and weapons

Object 'sword guard queen'sguard' is type weapon, usable by all.
Wear Location: take wield sheath
Weight is 11, value is 150, level is 40.
Weapon type is sword.
Damage is 5d9 (average 25).
Affects damage roll by 1.
Affects hit roll by 1.


For items

Object 'silver engraved bracelet' is type armor, usable by all.
Wear Location: take wrist
Weight is 4, value is 80, level is 99.
Armor class is 22 pierce, 22 bash, 22 slash, and 22 vs. magic.
Affects strength by 1.
Affects armor class by -4.
Affects damage roll by 2.


And for armor etc its

Object 'patched gleeman's gleemans cloak' is type armor, usable by all.
Wear Location: take back
Weight is 7, value is 0, level is 75.
Armor class is 18 pierce, 18 bash, 18 slash, and 18 vs. magic.
Affects wisdom by 1.
Affects intelligence by 1.
Affects strength by 1.
Affects dexterity by 1.


Now, my question is this, when making a database, it goes from creating it into fields....how do I add those frields and what do I type in the creation of the database?

Then next question is what do I use to capture the output from the mud regarding the item and add them into the database?

Thanx for any help...Very Happy
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Thu Aug 07, 2003 5:19 am   
 
Well your in luck, it just so happens Charabel has went through a lot of trouble to make this very thing into a finished mud script and can be found at this link:

http://www.zuggsoft.com/forum/topic.asp?TOPIC_ID=2164

You may have to do some Trigger fixing to macth your own mud but as you look it over you will see how it is done and should be able to conform it to your needs.

For making the data base you will probably have to read the help files and just play around with it, It is a process that I just don't have time to get into right now,sorry Sad

As far as how to capture the output from the mud, that's usually the #TRIGGER that does that.

look at the link and you will see how it is put together if your still got questions, we'll still be here.
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