PDA

View Full Version : Problem sharing db.xml data with clients



Foen
October 7th, 2007, 08:59
Hi folks

I'm trying to give players access to some of the content in the host's db.xml file, and wondered if there is any documentation or experienced modders out there that can help.

If I create a windowlist on the host with data in it, then the client opens that list, it seems empty on the client. If the client adds an item, the new item appears on the host but over-writes the first entry on the host list (I presume the id values clash) :( .

I'm guessing data must be shareable, because charsheets are visible and so are notes entries.

Are there any special steps I should take?

Cheers

Stuart

Foen
October 7th, 2007, 09:01
Doh! RTFM!

I'll use the <shareable/> tag in the windowclass and see how I get on.

*slaps head*

Toadwart
October 7th, 2007, 23:29
<sharable/> should work. However, I think that only a single player at a time can be granted permission to update it. Of, course, that might be all you need...