Lacewing

From FusionWiki

(Redirected from Lacewing Webserver)
Jump to: navigation, search
Lacewing
General Information
Author: Jamie McLaughlin (as AquadaSoft)
Release Date: 2009
Status: Stable - active development
Last updated: Unknown
Version: Build #17
Build: 249
Developer-only: No
Website: Not available
Download: Download
Runtime Versions
HWA: Yes
Flash: Yes
Java: Planned
Java Mobile: No
Vitalize!: No
Unicode: No


Lacewing is an extension by Jamie McLaughlin that allows the use of the Lacewing networking protocol in Multimedia Fusion 2, providing the ability to create multiplayer games and networked applications. It also provides network tools (LAN device enumeration and ICMP ping).

Server-side programming can be done through the Python and C++ libraries, or the Lacewing Server extension for MMF2. Lacewing was developed as a replacement for the MooAPI package of networking extensions.

Contents

Features

  • Based on the Lacewing high performance multithreaded networking library
  • TCP (Send message) and UDP (Blast message) support
  • Channel management
  • Channel listing for non-hidden channels
  • Stack sending and receiving allows the transmission of binary data
  • Communicates with any Lacewing implementation (Python, C++, Flash, Java or MMF2)
  • LAN device enumeration and ICMP ping

Tutorials

DizzyDoo's Tutorials

LB's Examples (More will be added later!)

Game_Master's Examples

FusionWiki Guides

Basic Usage

This is the normal process for using Lacewing:

1
  • Start of Frame
  •  : Connect to "localhost" on port 6121

2
  • On connect
  •  : Set name to "User"

3
  • On name set
  •  : Join channel "Lobby" (hide from list: 0, close automatically: 0)

4
  • On channel join
  •  : Send text "Hello, World!" to channel on subchannel 0

Channels you are connected to and Peers in a channel can be looped through to see how many there are and thier names. This is good for adding to a userlist. There are conditions for On loop and on loop finnished. The peer loop does not select yourself. Each peer has thier own unique ID (per server) and unique Name (per channel), which can be used to identify individual peers for sending messages to. Laceiwng also supports server Channel Listing, which will ask the server to send the client a list of active non-hidden channels on the server, and how many peers are in each. When joining a channel, you can choose to make it hidden if you are the first person to join it, thus creating it. If a channel is not hidden, it is visible to users in the server channel list. You also have the option to make the channel close automatically if you create the channel and become the channel host. If this is 1, then when you/the channel host leave(s), then the channel will close and all peers will be jected from it. There currently is no option for setting a new channel host if the cyrrent one leaves, so if you need that feature either request it or ignore he channel host feature and make your own system.

Stack Messages

Lacewing:StackMessages

External links

Personal tools