- Initialization API: give me the most recent 5 roll sets for the character.
- Update API: push the fact that a character just made a roll or set of rolls.
- Polling APIs: give me all new rolls for all characters I'm interested in.
I think the structure should look something like this (I've
represented it as XML, though it will probably actually be JSON):
<RollSet description="Scorching Burst">
    <Roll description="Damage" dice="2d6+8" result="15" />
    <Roll description="Attack 1" dice="1d20+8" result="18" />
    <Roll description="Attack 2" dice="1d20+8" result="24" />
</Rollset>
Seem about right?
On Wed, Apr 14, 2010 at 10:38 AM, OverloadUT <overl...@gmail.com> wrote:
> I don't have much insight in to the specifics of how to do this, but I
> just want to say that I am extremely excited that you are doing this!
>
> I was going to request exactly this because it's in line with exactly
> what my encounter manager tool is going to do. Having iPlay4e handle
> the networked bits with the players would be a huge help!
>
> The biggest thing I am interested in which you did not mention, is for
> the api to communicate dice rolls from player sheets. I don't know if
> this is within the scope of what you're talking about, but that's
> definitely my #1 desire.
>
> Thanks,
> Greg
>
> On Apr 13, 6:51 pm, Andrew Reutter <andrew.reut...@gmail.com> wrote:
>> Hi folks,
>>
>> I've been threatening this for weeks, and am finally getting off my
>> lazy butt to do something about it.  Time to talk about the combat
>> API.  There are now multiple third party products that integrate with
>> iplaye to load character and even campaign data.  They're stunningly
>> cool - but we can do better.
>>
>> The basic idea is for iplay4e to be the master source for
>> character-related combat data, with an arbitrary number of other
>> products able to simultaneously read from and write to that data in
>> real-time.  I should be able to run a combat using inCombat while
>> displaying a map using Masterplan, while one of my players is viewing
>> their character on iplay4e with their iPhone, another is seeing their
>> sheet embedded on Epic Words, and another is using Google Wave to view
>> all the characters in the campaign.  Furthermore, when a change is
>> made to a character using any of those mechanisms, it should be
>> visible in all the products without undue delay.
>>
>> To pull this off, we'll need a set of APIs, some of which already
>> exist and are documented, some of which need docs, and some of which
>> remain to be specified.
>>
>> These already exist, complete with docs on the main group page:
>>
>> -  Authentication API enabling products to retain iplay4e sessions
>> using Google Account credentials.
>> - Search API enabling the listing of campaigns and characters for a
>> user, the listing of the characters in a campaign, and ad-hoc queries.
>>
>> These also exist currently but lack documentation (volunteers? ;-):
>>
>> - Data API describing how to consume character and campaign XML.  This
>> is for static values like max HP, defenses, and so forth.  The docs
>> are currently in the XML itself; I would love for it to move to the
>> group for consolidation and data size reasons.
>> - Initialization API describing how to retrieve and consume starting
>> character state such as current hit points and conditions.  Not
>> documented, but reverse-engineerable because iplay4e itself uses it.
>> - Update API enabling products to push changes made to characters.
>> Also reverse engineerable.
>>
>> Finally, this API is missing:
>>
>> - Polling API enabling efficient retrieval of state updates for
>> multiple characters simultaneously.
>>
>> Before we dive into the specifics of any individual API, I'd like to
>> nail down this high level list.  Am I missing anything?
>>
>> Cheers,
>> Andrew
>
>
> --
> To unsubscribe, reply using "remove me" as the subject.
>
Not from Maptools, though, unless someone writes some Maptools code ;->