![]() Tech Notes |
DAPI Specification - Overview |
This document outlines the supported Developer's API (DAPI) for WorldsAway add-on external applications (DAPI applications). General DescriptionIn-world entrepreneurs have been using the ESP feature of the client to develop there own add-on applications, such as the popular 'Bingo' apps. We have added a supported, platform-independent interface to the client which will allow developers to send messages through the client to other clients running in the same world. Developers can more easily develop applications for use in WorldsAway such as games (chess, checkers,bingo, poker, blackjack, etc.) or any application that can use a generic text stream to communicate. DAPI is available for both the Windows client, using Dynamic Data Exchange (DDE) and the Macintosh client using Apple events. User InterfaceWhen the DAPI application starts it must Register a unique application name with WorldsAway. The Register entry remains in effect until the DAPI application either Unregisters, or until the WorldsAway client exits. At exit WorldsAway discards all Register entries. Once Registered, the application can
FeaturesThe Developers API supports launching multiple applications through the current WorldsAway client (Register, Unregister). The Developers API allows general data exchange between multiple clients through the world server (Send, Receive, Communicate, Get text). ControlsThe Developers API requires that users be logged into a WorldsAway world for the entire time they are running the DAPI application. The WorldsAway server limits the number of messages sent by an individual client to less than 10 per second. Attempting to send more 10 or more messages in a second will cause the world server to log the client out. DAPI attempts to prevent this by throttling calls that send messages to the server (Send and Communicate). However, if the end user interacts with the regular client interface while DAPI is sending messages, this may cause the total message count to exceed the allowed less than 10 per second. The Developers API allows World Producers to control when a user can use DAPI. Settings are:
The Developers API shall allow World Producers to control in which regions DAPI applications may be used. |