2010年5月28日 星期五
基本組態_The Basic Configuration
主程式:Server/config.xml
ServerIP-* (無須設定,server會自動抓取有效的位置)
ServerPort-預設值:9339;當然可以更改任何port number,只需要設定防火牆通過。
AutoSendPolicyFile-設定true,系統會自動把client端的swf更新到7.0(含)以上
MaxUserIdleTime-
MaxSocketIdleTime-
MaxRoomVars-
開啟smartFoxServer&設定flsh API環境
MS-DOS訊息
|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
| |
| ...::: SmartFoxServer :::... |
| Multiplayer Socket Server |
| version 1.6.6 |
| --- |
| (c) 2004 - 2009 gotoAndPlay() |
| www.smartfoxserver.com |
| www.gotoandplay.it |
| |
|::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::|
::::::::::: { BlueBox INITED } ::::::::::::
: :
: Version 1.0.5 -- (c) 2008 gotoAndPlay() :
: :
:::::::::::::::::::::::::::::::::::::::::::
00:53:51.656 - [ INFO ] > Starting h2 engine...
--- [ System Info ] ------------------------------------------
System CPU(s): 2
VM Max memory: 517 MB
os.name: Windows XP
os.arch: x86
os.version: 5.1
java.version: 1.6.0_13
java.vendor: Sun Microsystems Inc.
java.vendor.url: http://java.sun.com/
java.vm.specification.version: 1.0
java.vm.version: 11.3-b02
java.vm.vendor: Sun Microsystems Inc.
java.vm.name: Java HotSpot(TM) Server VM
--- [ Network Cards ] -----------------------------------------
Card:MS TCP Loopback interface
-> 127.0.0.1
Card:Intel(R) 82566DM Gigabit Network Connection - Packet Scheduler Miniport
-> 140.126.36.96
--- [ Licence Loaded ] ------------------------------------
License Type -> PRO
License Owner -> --== Free Demo Licence ==--
Max. Clients -> 20
BlueBox Type -> Demo Version
--- [ Zones & Rooms ] -------------------------------------
00:53:55.046 - [ INFO ] > Default Buddy List Persister
Zone: simpleChat
The Hall (id: 1, max: 50, pass:N)
The Kitchen (id: 2, max: 50, pass:N)
The Garden (id: 3, max: 50, pass:N)
The Bathroom (id: 4, max: 50, pass:N)
The Garage (id: 5, max: 50, pass:N)
The Living Room (id: 6, max: 50, pass:Y)
00:53:57.703 - [ INFO ] > Zone Extension [ json ] created, for zone:simpleChat
[jsonSample.as]: JSON Example initialized
00:53:57.718 - [ INFO ] > Default Buddy List Persister
Zone: dbZone
MainRoom (id: 7, max: 10, pass:N)
00:53:58.093 - [ INFO ] > Zone Extension [ dbTest ] created, for zone:dbZone
[dbExtension.as]: Initing dbExtension
[dbExtension.as]: DB Manager is not active in this Zone!
00:53:58.484 - [ INFO ] > Zone Extension [ dbTestAdv ] created, for zone:dbZone
[dbExtensionAdv.as]: DB Manager is not active in this Zone!
00:53:58.921 - [ INFO ] > Zone Extension [ simpleExt ] created, for zone:dbZone
[simpleExt.as]: Hello from the Simple Extension Example!
Zone: sftris
The Entrance (id: 8, max: 50, pass:N)
Zone: mazeGame
The Entrance (id: 9, max: 50, pass:N)
Zone: loginZone
The Hall (id: 10, max: 50, pass:N)
00:53:59.140 - [ INFO ] > Zone Extension [ loginEx ] created, for zone:loginZone
Zone: multiChat
Main Lobby (id: 11, max: 50, pass:N)
Zone: yahtzee
The Entrance (id: 12, max: 50, pass:N)
Zone: slogin
The Lobby (id: 13, max: 50, pass:N)
The Garden (id: 14, max: 50, pass:N)
The Swimming Pool (id: 15, max: 50, pass:N)
00:53:59.296 - [ INFO ] > Zone Extension [ slogin ] created, for zone:slogin
Zone: pixel
The Basement (id: 16, max: 4, pass:N)
00:53:59.671 - [ INFO ] > Zone Extension [ pixel ] created, for zone:pixel
[pixelGame.as]: PixelGame extension started!
Zone: letters
Main (id: 17, max: 50, pass:N)
00:53:59.828 - [ INFO ] > Zone Extension [ Letters ] created, for zone:letters
[Letters.as]: Letters script running.
00:53:59.921 - [ INFO ] > Default Buddy List Persister
Zone: messenger
Main (id: 18, max: 40, pass:N)
00:54:00.000 - [ INFO ] > Zone Extension [ smsg ] created, for zone:messenger
Zone: imgMan
MainLobby (id: 19, max: 50, pass:N)
00:54:00.078 - [ INFO ] > Zone Extension [ imgman ] created, for zone:imgMan
[imageManager.as]: Image Manager extension starts...
Zone: bomberman
Lobby (id: 20, max: 50, pass:N)
DB Manager Activated ( org.h2.Driver )
Zone: h2dbzone
Lobby (id: 21, max: 10, pass:N)
00:54:02.843 - [ INFO ] > Zone Extension [ h2db_ext ] created, for zone:h2dbzone
[internalDbDemo.as]: Initing dbExtension
Zone: advBuddyList
Lobby (id: 22, max: 10000, pass:N)
Zone: sloader
Lobby (id: 23, max: 10000, pass:N)
00:54:05.484 - [ INFO ] > Zone Extension [ loader ] created, for zone:sloader
[ it.gotoandplay.extensions.examples.SocketFileLoader ]: Socket File Loader -- S
tarted!
Zone: SmartVideoClipPlayer
The Lobby (id: 24, max: 50, pass:N)
00:54:05.859 - [ INFO ] > Zone Extension [ __$RedBox$__ ] created, for zone:Smar
tVideoClipPlayer
00:54:06.656 - [ INFO ] > [RedBox] RedBox's AVChatManager initialized
00:54:07.187 - [ INFO ] > [RedBox] RedBox's AVClipManager initialized and a/v cl
ips list created (4 clips found)
00:54:07.187 - [ INFO ] > [RedBox] Extension initialized
00:54:07.187 - [ INFO ] > Default Buddy List Persister
Zone: SmartMessengerAV
Main (id: 25, max: 40, pass:N)
00:54:07.187 - [ INFO ] > Zone Extension [ smsg ] created, for zone:SmartMesseng
erAV
00:54:07.203 - [ INFO ] > Zone Extension [ __$RedBox$__ ] created, for zone:Smar
tMessengerAV
00:54:07.203 - [ INFO ] > [RedBox] RedBox's AVChatManager initialized
00:54:07.203 - [ INFO ] > [RedBox] RedBox's AVClipManager initialized and a/v cl
ips list created (0 clips found)
00:54:07.203 - [ INFO ] > [RedBox] Extension initialized
Zone: SmartChatAV
The Hall (id: 26, max: 50, pass:N)
The Kitchen (id: 27, max: 50, pass:N)
The Garden (id: 28, max: 50, pass:N)
The Bathroom (id: 29, max: 50, pass:N)
The Garage (id: 30, max: 50, pass:N)
00:54:07.218 - [ INFO ] > Zone Extension [ __$RedBox$__ ] created, for zone:Smar
tChatAV
00:54:07.218 - [ INFO ] > [RedBox] RedBox's AVChatManager initialized
00:54:07.218 - [ INFO ] > [RedBox] RedBox's AVClipManager initialized and a/v cl
ips list created (0 clips found)
00:54:07.218 - [ INFO ] > [RedBox] Extension initialized
Zone: SmartVideoConference
Conference hall 1 (id: 31, max: 10, pass:N)
Conference hall 2 (id: 32, max: 10, pass:N)
Conference hall 3 (id: 33, max: 10, pass:N)
Zone: openspace
Ranch (inside) (id: 34, max: 50, pass:N)
Ranch (outside) (id: 35, max: 50, pass:N)
Slopes area (id: 36, max: 50, pass:N)
--- [ Server Starting ] ---------------------------------
Server address: All
Server port : 9339
00:54:09.046 - [ INFO ] > [TaskScheduler] ... started ::
00:54:09.046 - [ INFO ] > [BlueBoxHandler]... started ::
00:54:09.046 - [ INFO ] > [EventWriter] ..... started :: 1 thread(s)
00:54:09.046 - [ INFO ] > [SystemHandler] ... started :: 1 thread(s)
00:54:09.046 - [ INFO ] > [ExtensionHandler]. started :: 1 thread(s)
00:54:09.046 - [ INFO ] > [DeadChannelsPolicy: strict]
00:54:09.046 - [ INFO ] > Server is up and running!
[dbExtension.as]: Event received: serverReady
[simpleExt.as]: Event received: serverReady
00:54:09.062 - [ INFO ] > [RedBox] Internal event received: serverReady
00:54:09.062 - [ INFO ] > [RedBox] Internal event received: serverReady
00:54:09.062 - [ INFO ] > [RedBox] Internal event received: serverReady
2. 設定flsh API環境

2010年5月27日 星期四
替代Flash Media Server的多人遊戲開發環境:SmartFoxServer

替代Flash Media Server的多人遊戲開發環境:SmartFoxServer
官方網址:http://www.smartfoxserver.com/
軟體下載:http://www.smartfoxserver.com/products/
Windows 32bit載點
1. 支援:
Adobe Flash/Flex/Air, Java, Android, .Net, Unity3D, Silverlight, Apple iPhone etc...
2. 提供的服務項目
» Server-side Extensions that handle application logic can be written using Actionscript, Javascript, Python and Java.
» Easily access all major database engines (MySQL, Access, MS SQL etc...)
» Embedded web server allows to easily integrate file uploads and server media contents.
» Embedded high-performance database engine provides powerful integrated RDBMS services.
» The BlueBox which allows transparent connection support for all those clients behind firewalls and proxies.
» Extensive server side framework provides extension developers with high-level API to create sophisticated interactions and gives full access to the advanced server features.
» JSON and Raw string protocol allow developers to effectively reduce the amount of data transferred allowing fast, realtime action and optimized bandwidth usage.
» Advanced buddy list management provides all major IM-like features out of the box and the ability to further customize them.
» Extensive documentation and tutorials to quickly learn about the server side API. Includes over 50 examples with source code.
Dome-安裝畫面
