Thanks for the thoughts, all. It looks like both Cavedude and PEQ keep their id's for this table under 25,000, so I'm just:
- doing an (id +25000) to generate it, and
- if for some reason it goes over 50,000, just don't write that particular insert statement.
It looks like this is working. Soulshot and I are testing it on Darktides right now, but we ran the program against 4 zones and loaded them up, and it seems to be working. Basically, the program will read the "from" database record, checking the "to" database for the existance of that record, and generating the insert statment. Its currently creating the npc, spells, faction, spawn, loot and movement information insert statements. As long as things seem to be working over the next day or two, I'll post the program.
__________________
"Like what you like, enjoy what you enjoy, and don't take crap from anybody."
|