Other Areas of Interest
Games
Telnet
Files
Chat
Grey's Home Server
MC2 Reborn
 
EMME CEE ^2 Main
 
EMME CEE ^2 Forum Index EMME CEE ^2 Home Page
Grey's Home Server




:: StormDoor v0.1 beta ::


Project Home http://www.vaper.org/stormdoor.htm
Documenation found at http://www.vaper.org/sdhelp.htm
Download found athttp://www.vaper.org/stormdoor.zip

StormDoor is the first (and only) BBS Doorkit written specifically for Visual Basic. StormDoor is compiled into an ActiveX object (OCX), so it can be used from within many different Windows programming languages including VB, VC++ and .NET. It's very easy to use, supports ANSI, and realtime multi-node communication. Multi-node communication is accomplished using windows sockets (via UDP protocol) to communicate between the multiple instances of the door. Some current limitations of StormDoor are that it only supports the door32 dropfile format, only supports telnet connections (sorry, no COM), and (obviously) the door game will only run under the Windows operating system


StormDoor v0.1 beta

Properties

Alias (string)
Holds the client's alias, as read from the dropfile.

BaudRate (string)
Holds the client's baud rate, as read from the dropfile.

BBSID (string)
Holds the client's BBS record ID, as read from the dropfile.

CommType (integer)
Holds the client's comm type, as read from the dropfile.
Should always be set to 2, because StormDoor only supports telnet.

Emulation (integer)
Holds the client's emulation, as read from the dropfile.

RealName (string)
Holds the client's real name, as read from the dropfile.

SecurityLevel (integer)
Holds the client's security level, as read from the dropfile.

ThisNode (integer)
Holds the client's current BBS node, as read from the dropfile.

TimeLeft (integer)
Holds the client's time left in minutes, as read from the dropfile.

SocketHandle (integer)
Holds the client's winsock connection socket handle, as read from the dropfile.

UserRecord (integer)
Holds the client's BBS record number, as read from the dropfile.


Methods

OpenDropFile(path)
Opens the door32 dropfile and establishes all connections to the client.

path - Path to the door32 dropfile.

SendNode(tonode, data)
Sends a message to another node.

tonode - Node number of user to send the message to.
data - Message to send to the other node.

Display(data)
Prints the desired text to the client's terminal.
Use the ChangeColor function to print in desired ANSI colors.

data - Text to be displayed on the client's terminal.

ClearDisplay()
Sends the ANSI command to clear the screen.

ChangeColor(foreground, background)
Selects the ANSI colors to be used when the Display function is called.

foreground - Foreground color, choose from the popup list.
background - Background color, choose from the popup list.

DisplayANSI(path)
Displays an ANSI file to the client's terminal.

path - Path to the ANSI file.

Quit()
This function should be called in order to close the connection gracefully.

WaitForKey([WaitKeys], [Default]. [TimeLimit])
Waits for keyboard input from the client. Function returns the key that was pressed.

WaitKeys - Optional. Comma-seperated string of valid characters to wait for.
                 ie: "A,B,C". Focus will be return only after one of these keys have
                 been selected. If left blank, focus will be returned after any key is
                 pressed.

Default - Optional. Character to be automatically selected if the Enter key is pressed.

TimeLimit - Optional. Time in minutes to wait at the prompt. If time limit expires,
                 function returns an empty string.

MoveToPos(line_num,col_num)
Sends the ANSI command to move the cursor to the specified coordinates.

line_num - Specifies which line number to move to.
col_num - Specifies which column number to move to.

ClearToEndOfLine()
Sends the ANSI command to clear from the current cursor position to the end of the current line.


Events

ConnectionClosed()
Event fires when the client's connection is dropped unexpectedly.

NodeRecv(fromnode,data)
Event fires when the current node receives a message from another node.

fromnode - Contains the node number that sent the message.
data - Contains the message that was sent.

NodeSignOn(node,alias)
Event fires when another user signs onto a different node in the game.

node - Contains the node number that the other user signed onto.
alias - Contains the alias of the user that just signed on.

NodeSignOff(node,alias)
Event fires when another user signs out of a different node in the game.

node - Contains the node number that the other user off of.
alias - Contains the alias of the user that just signed off.

RanOutofTime()
Event fires when the client runs out of online time. StormDoor internally keeps track
of how much time the client has left online, based on the contents of the doorfile.



The original version of this document can be found at http://www.vaper.org/stormdoor.htm

Support our favorite software
Download Trillian! Download Ultraedit! Download mySql! Mercury Mail

Member of
RARSNET


Powered by Microsoft NT 4.0/SQL Server 7.0/IIS 4.0/Exchange 5.5 and phpBB 2.0.8 © 2003 Grey Smith