MonkeyBoy
First Post
interfaces
Yup, I'd like the same sorts of functionality for my initiative program (InitBrowse) the ability to do the following in fact;
Call Tablesmith to get a result (treasure specifically)
Call Table smith sending in a SEED so I always get the same result (not as silly as it sounds!)
Get just the final calculated initiative out of a PCGen character file
Basically, for me at least, the way to go about this kind of interface (client-server) is to implement a command line interface, say such that issuing the command;
pcgen -v final_initiative mychar.pcg
would echo the value of final_initiative to the command line - I can then do the scooping back into my program. I'm hypothesising -v for "get value" here...
I think Tablesmith either does do this, or does something similar, CLI i mentioned in the docs somewhere, I think.
Obviously, since InitBrowse uses mostly web pages, I can (and do!) interface with the final output of PCGen...
----
From my last looks, the d20 stat block was all very good, but thats an output templating issue, rather than a sensible way to do data transfer (standardised abbreviations are useful though) The main problem with it is I _hate_ their chosen format. Fortunately, since its a templating thing, it doesn't matter!
The d20 XML thing looked to be going no-where when I looked, and IMHO, what it had produced was NOT a good abstraction of the D20 data-space into XML, more a sprinkling of tags into the srd docs...
(wrapping the srd text in xml tags is not very productive, really. and producing attmempts at that kind of exercise doesn't, in actuality, move you any closer to a useful framework)
Yup, I'd like the same sorts of functionality for my initiative program (InitBrowse) the ability to do the following in fact;
Call Tablesmith to get a result (treasure specifically)
Call Table smith sending in a SEED so I always get the same result (not as silly as it sounds!)
Get just the final calculated initiative out of a PCGen character file
Basically, for me at least, the way to go about this kind of interface (client-server) is to implement a command line interface, say such that issuing the command;
pcgen -v final_initiative mychar.pcg
would echo the value of final_initiative to the command line - I can then do the scooping back into my program. I'm hypothesising -v for "get value" here...
I think Tablesmith either does do this, or does something similar, CLI i mentioned in the docs somewhere, I think.
Obviously, since InitBrowse uses mostly web pages, I can (and do!) interface with the final output of PCGen...
----
From my last looks, the d20 stat block was all very good, but thats an output templating issue, rather than a sensible way to do data transfer (standardised abbreviations are useful though) The main problem with it is I _hate_ their chosen format. Fortunately, since its a templating thing, it doesn't matter!
The d20 XML thing looked to be going no-where when I looked, and IMHO, what it had produced was NOT a good abstraction of the D20 data-space into XML, more a sprinkling of tags into the srd docs...
(wrapping the srd text in xml tags is not very productive, really. and producing attmempts at that kind of exercise doesn't, in actuality, move you any closer to a useful framework)