HTTPsrvRess 1.0

Category / Domain : Tools
SCOL Voy@ger Compatibility : V 3.5 or above
Update : 2001/10

Function

This module is an HTTP server which enables to launch directly a SCOL application allowing to generate the resource files (typically m3d and textures)
in order to share them through the Internet.
This module is generally used with the DynEditor plugin.

Configuration


Figure 1 : HTTPSRVRESS module Interface

(1) : Port => Used to indicate the port number of the HTTP server. If the server is behind a firewall, the indicated port must be open for SCOL. If not, no resource will be accessible to users.

(2) : Root => Used to indicate the directory name in the SCOL partition of the server where .m3d or texture file selection is authorized. All valid files will be treated and made available.

(3) : Tmp => Used to indicate the directory name in the SCOL partition of the server where resource files will be generated and savec. If this file is erased or moved, the resources will have to be generated once again.

(4) : BMP size => Used to indicate the size of the bitmaps of the server resources.

(5) : Generate ressources=> Click on this button to generate or update server textures as well as the m3d resources.

ATTENTION !
The operations implemented by this module can require a long execution time if the number of .m3d and textures files contained in the directory is important. It is thus advised to prepare the contents of this file carefully.

Implementation


Action Function
module.event à HTTPsrvRess.register

Allows to activate the HTTPsrvRess module. This action must be linked to the instance_name_plugin_Dyneditor.register event of the C3d3 module

module.event à HTTPsrvRess.unregister

Allows to deactivate the HTTPsrvRess module. This action must be linked to the instance_name_plugin_Dyneditor.unregister event of the C3d3 module


Event Function
HTTPsrvRess.registered à module Action Starting the module generates an action. This event must be linked to the instance_name_plugin_Dyneditor.init action of the C3d3 module


Zone Function Interface Assignment
None