• NOW LIVE! Into the Woods--new character species, eerie monsters, and haunting villains to populate the woodlands of your D&D games.

Andargor's SRD 3.5 XML and MySQL database

Bad Paper

First Post
Does anyone use this? My hunch is, yes, of course, there are a few hundred of us, how can we not use such a great tool? What do you use it for? Do you have any standard queries that you run? What have you added to the database? For those not aware of it, here it is: Andargor's excellent database

I have only started using it recently, to help munchkin my Polymorph choices. Anyone else?

PS: MySQL 5.0 is just released. I have not installed it. Has anyone here?
 

log in or register to remove this ad




Access

that's easy.

1) Download and install MySQL
2) Download Andargor's database
3) In MySQL's command line client, tell it to Create Database DnD35;
4) In MySQL's command line client, tell it to \. <path to Andargor's huge SQL textfile here>;
5) Download and install MySQL Connector/ODBC
6) Configure the ODBC connector to point to MySQL's DnD35 database
7) In Access, create your 3.5 database
8) In Access, Get External Data - > Link Tables
9) In the dialog box, choose the drop-down menu of file type: ODBC Databases ()

from there, you can figure it out. You can instead choose to Import Tables in step 8, but then you wind up with duplicate data occupying like 60MB on your drive.

Also note the semicolon in steps 3 and 4. If you press enter before the semicolon, the client keeps prompting you until you give it that ;

I'm still a little fresh to the world of SQL, and I just wrote those steps from memory, so I may only be about 95% right, but it's close enough for jazz.

Oh! I almost forgot. When configuring the ODBC connector, note the defaults. They are not the same defaults that MySQL uses. When you install MySQL it assumes your account is root@localhost and you give it a password. The ODBC connector will call you ODBC@localhost and default to no password. Make sure that the ODBC agrees with the MySQL.

Also, for you Access users, did you know that when you switch back-and-forth between query design view and data view, that that button is actually a drop-down box that can also give you SQL view? This is how I started teaching myself SQL. :cool:
 

I keep trying to come up with a use for it, but spoiled on Andargor's excellent HTML and HLP resources, and using Creative Mountain Games' PDF, along with PCGen, I haven't had a need to create anything with it.
 

If you have Access XP or above you can import the XML file into Access easily, just comes out as one table unfortunately.

I have made an Access database with the spells from the spells xml file. Made my own normalisation for the tables and it works well. Just setting up the qbfs that I want and then making reports from them.

The difficult part I am having is the creation of new spellbooks, selecting spell names and having the spell name, plus relevant info go into a report. I dont know a lot of vba yet, and i know there is an openarg argument that can be used.

And no, not until I have it ready will I make it available for others to use. So unless someone can help me with that problem. ;)
 

Just a heads up on an upcoming 1.4 update. Moving slowly but surely. :)

Planned changes:
- Many user-contributed reports of errors will be fixed
- Some database fixups, such as special abilities for monsters and stat blocks
- Adding the remaining missing content types: races, templates, disciplines, types and subtypes, etc.

When the time comes, if someone could make an MS-SQL and an Access conversion, I would appreciate it, and post it up on my site.

Related to Bad Paper's initial question, are there tools out there using the database? I'd link to them on my site. There are bound to be, since approx. 500-700 downloads of the database occur every month for the past year...

Andargor
 


Um... What's it do?

Seriously. I don't mind putzing with new toys, but I want to have an idea of what it is, first. Is it a rules index? A chargen tool? A house rules and campaign tracker?
 

Into the Woods

Remove ads

Top