PDA

View Full Version : Item runtime error



VenomousFiligree
October 10th, 2011, 20:39
I've tweaked the code for Items and have them working sort of... :)

I can create an item fine, I can do this from Item's on the right and from an "inventory" window on the sheet. However if I create "pre-generated" items in a module, i get problems.

I can drag the item from the module to the sheet or Items frame and it opens from these places, however if I try to view from the Module entry as a Player I get:

Runtime Error: Invalid window data source 'item', data not bound to data base

If I open from the module as a GM it opens no problem.

Moon Wizard
October 16th, 2011, 04:52
It sounds like you are setting a windowreferencefield to the value of the module database node, and that the module database is host-only.

In the 3.5E and 4E rulesets, I have moved towards making a copy of the item within the character sheets, and self-referencing the item node in the character sheet for displaying details. It gets around this issue completely.

Regards,
JPG

VenomousFiligree
October 16th, 2011, 11:26
Thanks for the reply JPG, I'd sorted it out anyway :)