Well, I don't doubt that I could learn to do this using sql commands, but that's not exactly my style. Let me give you all a look at what I'm doing and you'll see why I'm so 'stoked' about it.
BTW this does nothing to touch the EQEmu Admin utilities by Windcatcher. I still use it for most of what I do.
Step 1. Set it all up. Myodbc, table links, etc. This isn't really my work so I'm not the most qualified to offer help on this part, but if you can't figure it out or something I could put together a step-by-step or something.
Step 2. Run a query. This is 50% of why Access has been such a big help to me. I have only one query that I'm currently using. It's on the table 'npc_types'. I'm displaying the fields Id, name, level, and race. I begin by diong a quick search for,say (let's just do this now), 'gnoll'. So I set the Criteria for name to *gnoll*. As is I get 58 different gnolls in the db. I can see that they're all race 39, so I remove the *gnoll* and set race's Criteria to 39. Now that returns 89 of them - something to work with.
Step 3. Apply this query to the database. I now go to the 'faction' report that I have setup to run on this query. It, very simply, inserts the id's into an sql import string. I have a text box that reads 'INSERT INTO npc_faction VALUES (' then the id from the query and then another text box ' ,4,-3,1);' Gnolls will be my fourth faction entry. I now slip into EqEmu Admin and insert 'the gnoll packs' as id 4 at -700. Now I can run my report. It looks fine, so I click the 'Word' button at the top of the report. This puts the thing into MS Word. It's ugly and has a lot of spaces, but appearantly mysql doesn't care. Now I run mysql.exe and input 'use eq'. I simply copy from the first INSERT to the last ; and paste it into mysql.
The end result is that everything with race = 39 now belongs to the faction 'the gnoll packs'.
The same process is applied to spawn groups except I also sort those by level using the 'Between x and y' criteria.
|