PDA

View Full Version : Finishing Touches - Problems adding "Notes" to GM Client



nezzir
May 13th, 2007, 03:20
I'm putting the finishing touches on my mod, typing in the last bits of data, making minor interface adjustments, etc.

I'd like to add the "notes" option that the players have on the player client to the GM client. I found the code and I copied it to the "GM" section. The icon appears, the window opens, but you can't "Create a new item".

I looked through the file pretty close, it appears that the information for the classes are all contained in the two files listed below. I just can't seem to get it to work.

The files that appear to be involved are:
utility_notes.xml
-and-
desktop_classes.xml

What am I missing?


P.S. I never did get the "drag spells" code to work :(

TarynWinterblade
May 13th, 2007, 06:55
The problem is on line 112 of utility_notes.xml

Specifically in the datasource of the windowlist. It's trying to create a new node in the root level of your database, which won't work quite too well.

What you (probably) need to do is make a copy of the code from lines 92 down to 141 (the "notelist" windowclass), and make a new GM version of it that references something like "<datasource>gmnotes</datasource>".

Probably would work that way.

Why not use the story sheet as notes, though?

nezzir
May 13th, 2007, 15:39
Why not use the story sheet as notes, though?


I just wanted another button on my screen. I like buttons :)

Thanks, I'll try that.