PDA

View Full Version : Adding combat tracker to DB help?



Moon Wizard
November 5th, 2007, 23:39
I've been working to get the combat tracker saved to the DB, so that I can use the data to power client-side windows. However, for some reason, the combattracker_entry window is not saving its data to the db.xml file. I'm hoping someone can give me some ideas.

I added a datasource tag ("combattracker") to both the combattracker button in desktop_classes.xml and the combattracker_entry window class in utility_combattracker.xml. Also, I added a datasource tag (".") to the windowlist within the combattracker window class.

This appears to be the way that the other windowlists have been configured to work for images, NPCs, etc. However, any changes I make in the combattracker_entry windows does not get saved. (information is lost when combattracker window closed)

Any ideas of what I am missing?

Thanks,
JPG

Moon Wizard
November 6th, 2007, 03:55
I figured it out. The combattracker is built using controls, which do not save information to the database. By changing them to field objects, that allowed the window to automatically save/load the field values.

Cheers,
JPG