繼續firefly,我們來看看as3網遊烽煙ol的架設和簡單分析

白天都在寫仙劍demo的序列化存儲,暫時沒辦法更新,所以更新些我以前寫的東西,上一篇我們安裝了firefly服務器框架,現在我們運行烽煙ol的客戶端。

首先:如果沒安裝過ide 請先安裝FlashDevelop,(抱歉flex我手頭沒有)

http://www.flashdevelop.org,下載最新版本爲安裝之前先記得把java的jdk(包括環境變量)搞定,下載後安裝,記得安裝過程中全程聯網(flashdevep3.0的時候安裝配置很麻煩,所以後來改成聯網安裝,自動配置,不要給自己添麻煩,聯網安裝吧), 解壓WebClientFT client 1.6 壓縮包 雙擊打開工程,或者開啓flashdevep之後,Projecr->open project->打開工程之後如圖

點開src目錄可以看到綠色箭頭的webClient.mxml這個是我們烽煙客戶端的文檔類,相當於

AS3中的Main類(flashcs裏的舞臺【通俗點其實是flash的第一幀(很多as2發展來的程序,習慣在第一幀直接寫代碼)】),在mxml裏面的<s:Application定義的是程序的根標籤,裏面有個xmlns:local="*"說明是當前文件目錄的所有組件,在烽煙ol遊戲中直接找的是ApplicationContext.as這個組件類

下面我們開始配置編譯

我們在project->properties

這些都是自動配置好的,我們不必理會

下面我們說我們要設置的裝完flashdevep之後ide會自動安裝最新的版本如flex4.6.0,air3.7(注,我安裝的flashdevep並不是最新版,所以默認是flex4.6.0,air3.7),只有一個sdk選項,我們要編譯的話,會爆很多錯誤,如果對找錯誤有信心,可以按照官網的教程一步步慢慢改,我這裏使用安裝flash4.0a,air1.5.3sdk的辦法,如何安裝SDK,首先下載這是最囧的一件事,上網搜索發現沒有下載的鏈接,因爲adobe現在不提供SDK的直接下載鏈接了,而是提供一個專用的下載工具來下載,flashdevep其實已經集成了這個工具,在哪呢?FlashDevelop\Tools\flexsdk下面FlexLicense.swf

之後直接select下載,如果FlashDevelop\Tools\flexsdk找不到,直接點鏈接http://ys-f.ys168.com/2.0/326547716/m4G466446K4M56T5i6wR/FlexLicense.swf

SDK下載之後解壓到FlashDevelop\Tools,名字記得改下別跟原來的flexsdk文件夾衝突了,我這裏改名爲flexsdk_4,之後將flexsdk_4加入環境變量,好了現在加載

點manage->installed flexsSDKS 後面的按鈕->instaledsdk集合編輯器裏面點添加指定FlashDevelop\Tools\ flexsdk_4,之後,確定。回到SDK選項卡,就可以選擇flex4.0a,air1.5.3這個選項了,現在我們調試了,小箭頭大家都懂的,如果不懂ctrl+enter,在輸出窗口中會有

E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\framework.swc$defaults.css(487):Warning: The style 'dropShadowVisible' is only supported by type'mx.controls.List' with the theme(s) 'spark'.
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(26):Warning: The style 'backgroundColor' is only supported by type'spark.components.BorderContainer' with the theme(s) 'spark'.
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(54):Warning: The style 'dropShadowVisible' is only supported by type'spark.components.ComboBox' with the theme(s) 'spark'.
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(99):Warning: The style 'borderColor' is only supported by type'spark.components.Panel' with the theme(s) 'spark'.
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(97):Warning: The style 'backgroundColor' is only supported by type'spark.components.Panel' with the theme(s) 'spark'.
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(101):Warning: The style 'dropShadowVisible' is only supported by type'spark.components.Panel' with the theme(s) 'spark'.
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(100):Warning: The style 'cornerRadius' is only supported by type'spark.components.Panel' with the theme(s) 'spark'.
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(99):Warning: The style 'borderAlpha' is only supported by type'spark.components.Panel' with the theme(s) 'spark'.
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(168):Warning: The style 'borderColor' is only supported by type'spark.components.TitleWindow' with the theme(s) 'spark'.
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(170):Warning: The style 'dropShadowVisible' is only supported by type'spark.components.TitleWindow' with the theme(s) 'spark'.
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(169):Warning: The style 'cornerRadius' is only supported by type 'spark.components.TitleWindow'with the theme(s) 'spark'.
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(168):Warning: The style 'borderAlpha' is only supported by type'spark.components.TitleWindow' with the theme(s) 'spark'.
(fcsh)Running Post-Build Command Line...
cmd: module.bat
 
E:\source\Flexwork\WebClientFT client1.6\WebClientFT>mxmlc -load-externs=report.xml -source-path=src,libs-library-path+=libs -debug=true -theme=${flexlib}/themes/Halo/halo.swc-target-player=10.0 -keep-as3-metadata+=Injectsrc/createRoleModule/CreateRoleModule.mxml -obin/createRoleModule/CreateRoleModule.swf
正在加載配置文件“E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\flex-config.xml”
E:\source\Flexwork\WebClientFT client1.6\WebClientFT\src\WebClient.mxml(4): 警告: 組件中不支持 CSS 類型選擇器:“mx.controls.VScrollBar”
                   xmlns:mx="library://ns.adobe.com/flex/mx"
E:\source\Flexwork\WebClientFT client1.6\WebClientFT\src\WebClient.mxml(17): 警告: 組件中不支持 CSS 類型選擇器:“mx.controls.Menu”
           <![CDATA[
E:\source\Flexwork\WebClientFT client1.6\WebClientFT\src\WebClient.mxml(32): 警告: 組件中不支持 CSS 類型選擇器:“global”
                 private functionpreInit():void{
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\framework.swc$defaults.css(487):警告: 僅主題爲“spark”的類型“mx.controls.List”支持樣式“dropShadowVisible”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(26):警告: 僅主題爲“spark”的類型“spark.components.BorderContainer”支持樣式“backgroundColor”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(54):警告: 僅主題爲“spark”的類型“spark.components.ComboBox”支持樣式“dropShadowVisible”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(99):警告: 僅主題爲“spark”的類型“spark.components.Panel”支持樣式“borderColor”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(97):警告: 僅主題爲“spark”的類型“spark.components.Panel”支持樣式“backgroundColor”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(101):警告: 僅主題爲“spark”的類型“spark.components.Panel”支持樣式“dropShadowVisible”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(100):警告: 僅主題爲“spark”的類型“spark.components.Panel”支持樣式“cornerRadius”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(99):警告: 僅主題爲“spark”的類型“spark.components.Panel”支持樣式“borderAlpha”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(168):警告: 僅主題爲“spark”的類型“spark.components.TitleWindow”支持樣式“borderColor”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(170):警告: 僅主題爲“spark”的類型“spark.components.TitleWindow”支持樣式“dropShadowVisible”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(169):警告: 僅主題爲“spark”的類型“spark.components.TitleWindow”支持樣式“cornerRadius”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(168):警告: 僅主題爲“spark”的類型“spark.components.TitleWindow”支持樣式“borderAlpha”。
E:\source\Flexwork\WebClientFT client1.6\WebClientFT\bin\createRoleModule\CreateRoleModule.swf(349823 字節)
 
E:\source\Flexwork\WebClientFT client1.6\WebClientFT>mxmlc -load-externs=report.xml -source-path=src,libs-library-path+=libs -debug=true -theme=${flexlib}/themes/Halo/halo.swc-target-player=10.0 -keep-as3-metadata+=Inject src/logonModule/LogonModule.mxml-o bin/logonModule/LogonModule.swf
正在加載配置文件“E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\flex-config.xml”
E:\source\Flexwork\WebClientFT client1.6\WebClientFT\src\WebClient.mxml(4): 警告: 組件中不支持 CSS 類型選擇器:“mx.controls.VScrollBar”
                   xmlns:mx="library://ns.adobe.com/flex/mx"
E:\source\Flexwork\WebClientFT client 1.6\WebClientFT\src\WebClient.mxml(17):警告: 組件中不支持 CSS 類型選擇器:“mx.controls.Menu”
           <![CDATA[
E:\source\Flexwork\WebClientFT client1.6\WebClientFT\src\WebClient.mxml(32): 警告: 組件中不支持 CSS 類型選擇器:“global”
                 private functionpreInit():void{
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\framework.swc$defaults.css(487):警告: 僅主題爲“spark”的類型“mx.controls.List”支持樣式“dropShadowVisible”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(26):警告: 僅主題爲“spark”的類型“spark.components.BorderContainer”支持樣式“backgroundColor”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(54):警告: 僅主題爲“spark”的類型“spark.components.ComboBox”支持樣式“dropShadowVisible”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(99):警告: 僅主題爲“spark”的類型“spark.components.Panel”支持樣式“borderColor”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(97):警告: 僅主題爲“spark”的類型“spark.components.Panel”支持樣式“backgroundColor”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(101):警告: 僅主題爲“spark”的類型“spark.components.Panel”支持樣式“dropShadowVisible”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(100):警告: 僅主題爲“spark”的類型“spark.components.Panel”支持樣式“cornerRadius”。
 
 
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(99):警告: 僅主題爲“spark”的類型“spark.components.Panel”支持樣式“borderAlpha”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(168):警告: 僅主題爲“spark”的類型“spark.components.TitleWindow”支持樣式“borderColor”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(170):警告: 僅主題爲“spark”的類型“spark.components.TitleWindow”支持樣式“dropShadowVisible”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(169):警告: 僅主題爲“spark”的類型“spark.components.TitleWindow”支持樣式“cornerRadius”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(168):警告: 僅主題爲“spark”的類型“spark.components.TitleWindow”支持樣式“borderAlpha”。
 
 
E:\source\Flexwork\WebClientFT client1.6\WebClientFT\bin\logonModule\LogonModule.swf(128042 字節)
 
E:\source\Flexwork\WebClientFT client1.6\WebClientFT>mxmlc -load-externs=report.xml -source-path=src,libs-library-path+=libs -debug=true -theme=${flexlib}/themes/Halo/halo.swc-target-player=10.0 -keep-as3-metadata+=Inject src/sceneModule/SceneModule.mxml-o bin/sceneModule/SceneModule.swf
正在加載配置文件“E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\flex-config.xml”
E:\source\Flexwork\WebClientFT client1.6\WebClientFT\src\WebClient.mxml(4): 警告: 組件中不支持 CSS 類型選擇器:“mx.controls.VScrollBar”
                    xmlns:mx="library://ns.adobe.com/flex/mx"
E:\source\Flexwork\WebClientFT client1.6\WebClientFT\src\WebClient.mxml(17): 警告: 組件中不支持 CSS 類型選擇器:“mx.controls.Menu”
           <![CDATA[
E:\source\Flexwork\WebClientFT client1.6\WebClientFT\src\WebClient.mxml(32): 警告: 組件中不支持 CSS 類型選擇器:“global”
                 private functionpreInit():void{
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\framework.swc$defaults.css(487):警告: 僅主題爲“spark”的類型“mx.controls.List”支持樣式“dropShadowVisible”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(26):警告: 僅主題爲“spark”的類型“spark.components.BorderContainer”支持樣式“backgroundColor”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(54):警告: 僅主題爲“spark”的類型“spark.components.ComboBox”支持樣式“dropShadowVisible”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(99):警告: 僅主題爲“spark”的類型“spark.components.Panel”支持樣式“borderColor”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(97):警告: 僅主題爲“spark”的類型“spark.components.Panel”支持樣式“backgroundColor”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(101):警告: 僅主題爲“spark”的類型“spark.components.Panel”支持樣式“dropShadowVisible”。
 
 
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(100):警告: 僅主題爲“spark”的類型“spark.components.Panel”支持樣式“cornerRadius”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(99):警告: 僅主題爲“spark”的類型“spark.components.Panel”支持樣式“borderAlpha”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(168):警告: 僅主題爲“spark”的類型“spark.components.TitleWindow”支持樣式“borderColor”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(170):警告: 僅主題爲“spark”的類型“spark.components.TitleWindow”支持樣式“dropShadowVisible”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(169):警告: 僅主題爲“spark”的類型“spark.components.TitleWindow”支持樣式“cornerRadius”。
E:\Y\FlashDevelop\Tools\flexsdk_4\frameworks\libs\spark.swc$defaults.css(168):警告: 僅主題爲“spark”的類型“spark.components.TitleWindow”支持樣式“borderAlpha”。
 
E:\source\Flexwork\WebClientFT client1.6\WebClientFT\bin\sceneModule\SceneModule.swf(1707939 字節)
Build succeeded
Done(0)

爆出一堆css樣式表的警告我們不用管,我們只關心我們的swf運行咋樣了。

我們啓動服務器,網絡適配器記得選用橋接模式(爲什麼選橋接,等過後我發服務器鏡像的時候講)開始我們的服務器開啓工作,我們先查下服務器的ip地址我們看到ip地址爲192.168.0.101,我們在客戶端裏面改下

好了,現在運行

終端下

swordfishx@swordfishx-virtual-machine:~/fenyanOL$ python startmaster.py
2014-03-13 21:36:13+0800 [-] Log opened.
2014-03-13 21:36:13+0800 [-] DelaySite starting on 9998
2014-03-13 21:36:13+0800 [-] Starting factory <firefly.web.delayrequest.DelaySite instance at 0xa6593ac>
2014-03-13 21:36:13+0800 [-] BilateralFactory starting on 9999
2014-03-13 21:36:13+0800 [-] Starting factory <firefly.distributed.root.BilateralFactory instance at 0xa65994c>
2014-03-13 21:36:16+0800 [-] Log opened.
2014-03-13 21:36:17+0800 [-] Log opened.
2014-03-13 21:36:17+0800 [-] __init__ Pool..
2014-03-13 21:36:17+0800 [-] __init__ Pool..
2014-03-13 21:36:18+0800 [-] Log opened.
2014-03-13 21:36:18+0800 [-] Log opened.
2014-03-13 21:36:18+0800 [-] __init__ Pool..
2014-03-13 21:36:18+0800 [-] net start...
2014-03-13 21:36:18+0800 [-] net pid: 3641
2014-03-13 21:36:19+0800 [BilateralBroker,0,127.0.0.1] node [net] takeProxy ready
2014-03-13 21:36:23+0800 [-] gate start...
2014-03-13 21:36:23+0800 [-] gate pid: 3639
2014-03-13 21:36:23+0800 [BilateralBroker,1,127.0.0.1] node [gate] takeProxy ready
2014-03-13 21:36:23+0800 [Broker,client] call method remote_connect on service[single]
2014-03-13 21:36:23+0800 [Broker,client] Starting factory <twisted.spread.pb.PBClientFactory instance at 0xb6a5504c>
2014-03-13 21:36:23+0800 [BilateralBroker,0,127.0.0.1] node [net] takeProxy ready
2014-03-13 21:36:25+0800 [-] chat start...
2014-03-13 21:36:25+0800 [-] chat pid: 3644
2014-03-13 21:36:25+0800 [BilateralBroker,2,127.0.0.1] node [chat] takeProxy ready
2014-03-13 21:36:30+0800 [-] scense_1000 start...
2014-03-13 21:36:30+0800 [-] scense_1000 pid: 3643
2014-03-13 21:36:30+0800 [BilateralBroker,3,127.0.0.1] node [scense_1000] takeProxy ready
2014-03-13 21:36:30+0800 [Broker,client] call method remote_connect on service[single]
2014-03-13 21:36:30+0800 [Broker,client] Starting factory <twisted.spread.pb.PBClientFactory instance at 0xb6a76c6c>
2014-03-13 21:36:30+0800 [Broker,client] call method remote_connect on service[single]
2014-03-13 21:36:30+0800 [Broker,client] Starting factory <twisted.spread.pb.PBClientFactory instance at 0xb6a76d2c>
2014-03-13 21:36:30+0800 [BilateralBroker,1,127.0.0.1] node [scense_1000] takeProxy ready
2014-03-13 21:36:30+0800 [BilateralBroker,0,127.0.0.1] node [scense_1000] takeProxy ready
然後開啓客戶端如果輸出端口這樣,就說明一切正常(不過這個心跳的trace建議註釋掉),我們進遊戲

一個大坑出現了,爲什麼呢?因爲我們沒有註冊用戶,如何註冊?客戶端裏貌似沒提供5555555555555555

沒辦法,都到這步了,沒什麼能阻止我們進入遊戲了,既然數據庫裏沒數據,我們寫數據進去就行了,看下數據庫文件

/*Table structure for table `tb_register` */

DROP TABLE IF EXISTS `tb_register`;

CREATE TABLE `tb_register` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '用戶id',
  `username` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT '用戶名',
  `password` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT '用戶密碼',
  `email` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT '' COMMENT '用戶註冊郵箱',
  `characterId` int(10) DEFAULT '0' COMMENT '用戶的角色ID',
  `pid` int(11) DEFAULT '-1' COMMENT '邀請人的角色id',
  `lastonline` datetime NOT NULL DEFAULT '2012-06-05 00:00:00' COMMENT '最後在線時間',
  `logintimes` int(11) NOT NULL DEFAULT '0' COMMENT '登陸次數',
  `enable` tinyint(4) NOT NULL DEFAULT '1' COMMENT '是否可以登錄',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1915 DEFAULT CHARSET=utf8;

/*Data for the table `tb_register` */

數據庫註冊信息sql語句是這樣的,我大致解釋一下,`id` int(11) NOT NULLAUTO_INCREMENT COMMENT '用戶id',這是用戶id並且設置了主鍵,不用我們寫入信息,會自動遞增

  `username` varchar(255) CHARACTER SET utf8COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT '用戶名',

  `password` varchar(255) CHARACTER SET utf8COLLATE utf8_bin NOT NULL DEFAULT '' COMMENT '用戶密碼',

  `email` varchar(255) CHARACTER SET utf8COLLATE utf8_bin DEFAULT '' COMMENT '用戶註冊郵箱',

3個是要外部寫入了,NOT NULL說明不能爲空,是我們註冊時必須要做的,

後面的幾項都有DEFAULT這個條件,所以可以不寫(當然自己填的時候,要寫),知道這個結構了我們就沒什麼好猶豫的了,打開Mysqlnavigator

進去直接寫數吧,是不是有些過於簡單粗暴了?如果加個用戶就進去寫一次,當只有自己一個人玩的時候,當然沒什麼,但隨着註冊用戶增多,數據庫就會變得不可維護,因爲如果自己填寫東西的話,包括id,和DEFAULT這些都要填寫,但進入遊戲之後,DEFAULT這些數據其實是會被遊戲自動修改的,而且,如果不小心,會出現兩個相同用戶名的情況,截個圖給大家看上面仔細看就會發現1931和1932兩個id的用戶名是一樣的,這是我在開發註冊系統的時候,開始沒有對數據庫做查詢判斷,出的錯誤,其實如果自己填寫數據庫表格,很容易出現這樣的錯誤,如果出了這樣的錯誤,那麼登陸游戲肯定會出問題,怎麼辦?自己動手豐衣足,我利用nodejs寫了一個烽煙ol的註冊系統,等下邊我們貼出來,這裏礙於篇幅,先不講

進遊戲吧,回到遊戲客戶端登陸界面

還是鍵入原來一樣的數據,登陸


進來了,選個喜歡的職業吧,很酷的人物選擇界面(CreateRoleFTViewMediator.as這裏實現的,等換皮的時候我們再討論),現在選人進遊戲,起名進遊戲

進入遊戲了

看下這時客戶端都在做什麼

[C] Console v2.52 build 593. StandAlone WIN 11,7,700,202.
[-] [21:14:11:457, [控制數據更新905]]
LocalConfigFileLoadedCommand.as,在此配置socket服務器信息以及驗證碼服務器信息
[-] [21:14:12:640, [請求連接到服務器, 192.168.0.101, :, 11009]]
[-] [21:14:12:641, [清理socket信息]]
[-] [21:14:12:659, [成功連接到服務器]]
[-] [21:14:13:376, [素材包加載完成 , ldbtn_res]]
密碼長度爲6-20
密碼長度爲6-20
密碼長度爲6-20
密碼長度爲6-20
密碼長度爲6-20
[-] [21:14:25:189, [控制數據更新101]]
[-] [21:14:25:268, [控制數據更新103]]
[-] [21:14:25:300, [控制數據更新601]]
ModulePool Unload:logonModule/LogonModule.swf
[-] [21:14:27:532, [申請軍團升級信息]]
[-] [21:14:27:533, [控制數據更新1323]]
[-] [21:14:27:535, [控制數據更新308]]
[-] [21:14:27:536, [控制數據更新1319]]
[-] [21:14:27:536, [控制數據更新310]]
[-] [21:14:27:537, [控制數據更新1321]]
[-] [21:14:27:541, [控制數據更新1421]]
[-] [21:14:27:542, [控制數據更新1422]]
[-] [21:14:27:552, [控制數據更新608]]
[-] [21:14:27:552, [控制數據更新609]]
[-] [21:14:27:553, [控制數據更新610]]
[-] [21:14:27:554, [控制數據更新611]]
[-] [21:14:28:29, [清理新手指引 event : , null,  close_ui :, false]]
[-] [21:14:28:237, [控制數據更新3801]]
[-] [21:14:28:240, [任務追蹤:, <span class='null'></span>]]
[-] [21:14:28:243, [控制數據更新2200]]
[-] [21:14:28:245, [控制數據更新2400]]
[-] [21:14:28:253, [控制數據更新2900]]
[-] [21:14:28:256, [控制數據更新2600]]
[-] [21:14:28:257, [控制數據更新602]]
[-] [21:14:28:258, [控制數據更新906]]
[-] [21:14:28:258, [控制數據更新901]]
[-] [21:14:28:259, [控制數據更新209]]
[-] [21:14:28:260, [控制數據更新504]]
[-] [21:14:28:260, [控制數據更新1404]]
[-] [21:14:28:261, [控制數據更新1705]]
[-] [21:14:28:261, [控制數據更新605]]
[-] [21:14:28:280, 進入場景, {"npclist":[{"hasFuncType":true,"hasNpcName":true,"hasResourceId":true,"hasNpcId":true,"hasPositionY":true,"npcName":"【魏】御前侍衛","hasPositionX":true,"npcId":100001,"resourceId":5005,"positionY":850,"funcType":2,"positionX":1100},{"hasFuncType":true,"hasNpcName":true,"hasResourceId":true,"hasNpcId":true,"hasPositionY":true,"npcName":"【魏】城中郎中","hasPositionX":true,"npcId":100004,"resourceId":5002,"positionY":850,"funcType":5,"positionX":500},{"hasFuncType":true,"hasNpcName":true,"hasResourceId":true,"hasNpcId":true,"hasPositionY":true,"npcName":"【魏】三品大夫","hasPositionX":true,"npcId":130002,"resourceId":5017,"positionY":833,"funcType":5,"positionX":1100},{"hasFuncType":true,"hasNpcName":true,"hasResourceId":true,"hasNpcId":true,"hasPositionY":true,"npcName":"【魏】城門看守","hasPositionX":true,"npcId":140001,"resourceId":5012,"positionY":791,"funcType":5,"positionX":1012},{"hasFuncType":true,"hasNpcName":true,"hasResourceId":true,"hasNpcId":true,"hasPositionY":true,"npcName":"【魏】城門看守","hasPositionX":true,"npcId":140002,"resourceId":5013,"positionY":793,"funcType":11,"positionX":950},{"hasFuncType":true,"hasNpcName":true,"hasResourceId":true,"hasNpcId":true,"hasPositionY":true,"npcName":"【魏】守衛長","hasPositionX":true,"npcId":140005,"resourceId":5016,"positionY":789,"funcType":3,"positionX":392},{"hasFuncType":true,"hasNpcName":true,"hasResourceId":true,"hasNpcId":true,"hasPositionY":true,"npcName":"【魏】宮女","hasPositionX":true,"npcId":150000,"resourceId":5002,"positionY":824,"funcType":4,"positionX":450},{"hasFuncType":true,"hasNpcName":true,"hasResourceId":true,"hasNpcId":true,"hasPositionY":true,"npcName":"【魏】掌燈小吏","hasPositionX":true,"npcId":150001,"resourceId":50001,"positionY":798,"funcType":5,"positionX":416}],"portals":[{"resourceId":1000001,"positionY":1700,"funcType":1,"portalId":1,"hasPortalId":true,"portalName":"南中-江州","hasPortalName":true,"hasResourceId":true,"hasPositionY":true,"hasPositionX":true,"positionX":300,"hasFuncType":true}],"sceneId":1000,"resourceId":1000,"scenename":"南中","sceneType":1,"rewardCorpsName":"尚未佔領","hasRewardCorpsName":true,"corpsName":"尚未佔領","hasCorpsName":true}]
[-] [21:14:28:290, [控制數據更新218]]
[-] [21:14:28:290, [控制數據更新711]]
[-] [21:14:28:291, [控制數據更新1503]]
[-] [21:14:28:291, [控制數據更新1408]]
[-] [21:14:28:292, [控制數據更新201]]
[-] [21:14:28:293, [控制數據更新1806]]
[-] [21:14:28:293, [控制數據更新1810]]
[-] [21:14:28:294, [控制數據更新1407]]
[-] [21:14:28:294, [控制數據更新222]]
[-] [21:14:28:296, [控制數據更新506]]
[-] [21:14:28:297, [控制數據更新604]]
[-] [21:14:28:298, [控制數據更新300]]
[-] [21:14:28:299, [控制數據更新603]]
[-] [21:14:28:300, [控制數據更新3701]]
[-] [21:14:28:392, 更新npc, {"NPCQuestStatusList":[{"hasStatu":true,"hasNpcID":true,"npcID":100001,"statu":2},{"hasStatu":true,"hasNpcID":true,"npcID":100004,"statu":0},{"hasStatu":true,"hasNpcID":true,"npcID":130002,"statu":0},{"hasStatu":true,"hasNpcID":true,"npcID":140001,"statu":0},{"hasStatu":true,"hasNpcID":true,"npcID":140002,"statu":0},{"hasStatu":true,"hasNpcID":true,"npcID":140005,"statu":0},{"hasStatu":true,"hasNpcID":true,"npcID":150000,"statu":0},{"hasStatu":true,"hasNpcID":true,"npcID":150001,"statu":0}]}]
[-] [21:14:28:395, [任務追蹤更新廣播, {TaskTracListNotify}]]
[-] [21:14:28:398, [任務追蹤:, <span class='tword'><span class='tword'><span class='tword'>[主] <span class='cur_task_name'>趕走亂軍</span> </span><br>    擊敗黃巾步兵(0/1)</span><br></span>]]
[-] [21:14:28:400, [任務追蹤:, <span class='tword'><span class='tword'><span class='tword'>[主] <span class='cur_task_name'>趕走亂軍</span> </span><br>    擊敗黃巾步兵(0/1)</span><br></span>]]
126
Command1002
Command1001
[-] [21:14:28:449, [任務追蹤:, <span class='tword'><span class='tword'><span class='tword'>[主] <span class='cur_task_name'>趕走亂軍</span> </span><br>    擊敗黃巾步兵(0/1)</span><br></span>]]
[-] [21:14:28:814, 進入場景, 1000]
[-] [21:14:29:460, 創建實體, {"id":100001,"isMySelf":false,"name":"【魏】御前侍衛","position":{"x":1100,"y":850,"length":1390.1438774457845},"professionType":5005,"functionType":2}]
[-] [21:14:29:465, no imgs , charwudoubing, arise4]
[-] [21:14:29:467, 開始加載隊列, charwudoubing]
[-] [21:14:29:468, no imgs , charyexingren, arise4]
[-] [21:14:29:469, no imgs , charyexingren, arise4]
[-] [21:14:29:469, no imgs , charyexingren, arise4]
[-] [21:14:29:470, no imgs , charyexingren, arise4]
[-] [21:14:29:472, no imgs , npcheadtype2, action]
[-] [21:14:29:474, 創建實體, {"id":100004,"isMySelf":false,"name":"【魏】城中郎中","position":{"x":500,"y":850,"length":986.154146165801},"professionType":5002,"functionType":5}]
[-] [21:14:29:475, no imgs , chartengjiabing, arise4]
[-] [21:14:29:476, no imgs , chargongjianbing, arise4]
[-] [21:14:29:476, no imgs , chargongjianbing, arise4]
[-] [21:14:29:476, no imgs , chargongjianbing, arise4]
[-] [21:14:29:477, no imgs , chargongjianbing, arise4]
[-] [21:14:29:477, no imgs , chargongjianbing, arise4]
[-] [21:14:29:478, no imgs , chargongjianbing, arise4]
[-] [21:14:29:479, no imgs , npcheadtype5, action]
[-] [21:14:29:481, 創建實體, {"id":130002,"isMySelf":false,"name":"【魏】三品大夫","position":{"x":1100,"y":833,"length":1379.8148426509986},"professionType":5017,"functionType":5}]
[-] [21:14:29:482, 沒有角色資源配置,用 changqiangbing 代替, 5017]
[-] [21:14:29:483, no imgs , charchangqiangbing, arise4]
[-] [21:14:29:485, no imgs , npcheadtype5, action]
[-] [21:14:29:486, 創建實體, {"id":140001,"isMySelf":false,"name":"【魏】城門看守","position":{"x":1012,"y":791,"length":1284.4551374026264},"professionType":5012,"functionType":5}]
[-] [21:14:29:488, no imgs , charjiangling1, arise4]
[-] [21:14:29:489, no imgs , charhuangjinbing, arise4]
[-] [21:14:29:489, no imgs , charyexingren, arise4]
[-] [21:14:29:489, no imgs , chargongjianbing, arise4]
[-] [21:14:29:490, no imgs , charhuangjinbing, arise4]
[-] [21:14:29:490, no imgs , charyexingren, arise4]
[-] [21:14:29:491, no imgs , chargongjianbing, arise4]
[-] [21:14:29:492, no imgs , npcheadtype5, action]
[-] [21:14:29:494, 創建實體, {"id":140002,"isMySelf":false,"name":"【魏】城門看守","position":{"x":950,"y":793,"length":1237.4768684706798},"professionType":5013,"functionType":11}]
[-] [21:14:29:495, 沒有角色資源配置,用 changqiangbing 代替, 5013]
[-] [21:14:29:496, no imgs , charchangqiangbing, arise4]
[-] [21:14:29:498, no imgs , npcheadtype11, action]
[-] [21:14:29:499, 創建實體, {"id":140005,"isMySelf":false,"name":"【魏】守衛長","position":{"x":392,"y":789,"length":881.0136207800649},"professionType":5016,"functionType":3}]
[-] [21:14:29:500, 沒有角色資源配置,用 changqiangbing 代替, 5016]
[-] [21:14:29:501, no imgs , charchangqiangbing, arise4]
[-] [21:14:29:502, no imgs , npcheadtype3, action]
[-] [21:14:29:504, 創建實體, {"id":150000,"isMySelf":false,"name":"【魏】宮女","position":{"x":450,"y":824,"length":938.869533002323},"professionType":5002,"functionType":4}]
[-] [21:14:29:505, no imgs , chartengjiabing, arise4]
[-] [21:14:29:505, no imgs , chargongjianbing, arise4]
[-] [21:14:29:506, no imgs , chargongjianbing, arise4]
[-] [21:14:29:506, no imgs , chargongjianbing, arise4]
[-] [21:14:29:507, no imgs , chargongjianbing, arise4]
[-] [21:14:29:507, no imgs , chargongjianbing, arise4]
[-] [21:14:29:508, no imgs , chargongjianbing, arise4]
[-] [21:14:29:509, no imgs , npcheadtype4, action]
[-] [21:14:29:511, 創建實體, {"id":150001,"isMySelf":false,"name":"【魏】掌燈小吏","position":{"x":416,"y":798,"length":899.9222188611636},"professionType":50001,"functionType":5}]
[-] [21:14:29:512, 沒有角色資源配置,用 changqiangbing 代替, 50001]
[-] [21:14:29:512, no imgs , charchangqiangbing, arise4]
[-] [21:14:29:514, no imgs , npcheadtype5, action]
[-] [21:14:29:585, [控制數據更新1507]]
[-] [21:14:29:586, [控制數據更新603]]
[-] [21:14:29:587, [控制數據更新1408]]
[-] [21:14:29:666, 隊列資源加載完成, charwudoubing]
[-] [21:14:29:667, 剩餘隊列, [charyexingren, function Function() {}, [false], charyexingren, function Function() {}, [false], charyexingren, function Function() {}, [false], charyexingren, function Function() {}, [false], npcheadtype2, function Function() {}, [false], chartengjiabing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], npcheadtype5, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype5, function Function() {}, [false], charjiangling1, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charyexingren, function Function() {}, [false], chargongjianbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charyexingren, function Function() {}, [false], chargongjianbing, function Function() {}, [false], npcheadtype5, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype11, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype3, function Function() {}, [false], chartengjiabing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], npcheadtype4, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype5, function Function() {}, [false]]]
[-] [21:14:29:670, 開始加載隊列, charyexingren]
[-] [21:14:29:708, 隊列資源加載完成, charyexingren]
[-] [21:14:29:709, 剩餘隊列, [npcheadtype2, function Function() {}, [false], chartengjiabing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], npcheadtype5, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype5, function Function() {}, [false], charjiangling1, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], npcheadtype5, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype11, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype3, function Function() {}, [false], chartengjiabing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], npcheadtype4, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype5, function Function() {}, [false]]]
[-] [21:14:29:711, 開始加載隊列, npcheadtype2]
[-] [21:14:29:727, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":671,"y":629,"length":919.718435174592},"gemType":-1,"profession":"騎兵","curHp":75,"trueProfessionType":4,"professionType":4,"maxHp":75,"chaLevel":1,"chaType":1,"isMySelf":true,"name":"test5557","chaDirection":0,"id":1000087,"layer":20,"campid":0,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:730, no imgs , charhuangjinjiangling2, arise4]
[-] [21:14:29:731, no imgs , charhuangjinbing, arise4]
[-] [21:14:29:732, no imgs , charhuangjinbing, arise4]
[-] [21:14:29:732, no imgs , charhuangjinbing, arise4]
[-] [21:14:29:733, no imgs , charhuangjinbing, arise4]
[-] [21:14:29:734, no imgs , charhuangjinbing, arise4]
[-] [21:14:29:734, no imgs , charhuangjinbing, arise4]
[-] [21:14:29:736, 設置人物個數, 0]
[-] [21:14:29:747, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":1000,"y":800,"length":1280.6248474865697},"gemType":-1,"profession":"蜀國騎兵","curHp":1,"trueProfessionType":0,"professionType":5013,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"蜀國騎兵","chaDirection":0,"id":1,"layer":19,"campid":1,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:748, 沒有角色資源配置,用 changqiangbing 代替, 5013]
[-] [21:14:29:749, no imgs , charchangqiangbing, arise4]
[-] [21:14:29:751, 設置人物個數, 0]
[-] [21:14:29:753, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":500,"y":800,"length":943.3981132056604},"gemType":-1,"profession":"蜀國投石車","curHp":1,"trueProfessionType":0,"professionType":5014,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"蜀國投石車","chaDirection":0,"id":2,"layer":19,"campid":1,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:754, 沒有角色資源配置,用 changqiangbing 代替, 5014]
[-] [21:14:29:755, no imgs , charchangqiangbing, arise4]
[-] [21:14:29:756, 設置人物個數, 0]
[-] [21:14:29:758, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":1500,"y":800,"length":1700},"gemType":-1,"profession":"蜀國投石車","curHp":1,"trueProfessionType":0,"professionType":5014,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"蜀國投石車","chaDirection":0,"id":3,"layer":19,"campid":1,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:759, 沒有角色資源配置,用 changqiangbing 代替, 5014]
[-] [21:14:29:760, no imgs , charchangqiangbing, arise4]
[-] [21:14:29:761, 設置人物個數, 0]
[-] [21:14:29:764, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":1000,"y":500,"length":1118.033988749895},"gemType":-1,"profession":"蜀國投石車","curHp":1,"trueProfessionType":0,"professionType":5014,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"蜀國投石車","chaDirection":0,"id":4,"layer":19,"campid":1,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:765, 沒有角色資源配置,用 changqiangbing 代替, 5014]
[-] [21:14:29:766, no imgs , charchangqiangbing, arise4]
[-] [21:14:29:767, 設置人物個數, 0]
[-] [21:14:29:769, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":1000,"y":1100,"length":1486.6068747318504},"gemType":-1,"profession":"蜀國投石車","curHp":1,"trueProfessionType":0,"professionType":5014,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"蜀國投石車","chaDirection":0,"id":5,"layer":19,"campid":1,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:770, 沒有角色資源配置,用 changqiangbing 代替, 5014]
[-] [21:14:29:770, no imgs , charchangqiangbing, arise4]
[-] [21:14:29:772, 設置人物個數, 0]
[-] [21:14:29:774, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":2449,"y":528,"length":2505.271442379049},"gemType":-1,"profession":"黃巾步兵","curHp":1,"trueProfessionType":0,"professionType":5005,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"黃巾步兵","chaDirection":0,"id":1005,"layer":19,"campid":-1,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:776, 設置人物個數, 0]
[-] [21:14:29:778, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":520,"y":1507,"length":1594.192271967218},"gemType":-1,"profession":"黃巾步兵","curHp":1,"trueProfessionType":0,"professionType":5005,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"黃巾步兵","chaDirection":0,"id":1006,"layer":19,"campid":-1,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:780, 設置人物個數, 0]
[-] [21:14:29:783, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":962,"y":483,"length":1076.4446107440922},"gemType":-1,"profession":"黃巾步兵","curHp":1,"trueProfessionType":0,"professionType":5005,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"黃巾步兵","chaDirection":0,"id":1007,"layer":19,"campid":-1,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:785, 設置人物個數, 0]
[-] [21:14:29:787, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":1911,"y":574,"length":1995.34383002028},"gemType":-1,"profession":"黃巾步兵","curHp":1,"trueProfessionType":0,"professionType":5005,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"黃巾步兵","chaDirection":0,"id":1008,"layer":19,"campid":-1,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:789, 設置人物個數, 0]
[-] [21:14:29:792, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":1621,"y":1291,"length":2072.2745957039574},"gemType":-1,"profession":"黃巾步兵","curHp":1,"trueProfessionType":0,"professionType":5005,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"黃巾步兵","chaDirection":0,"id":1009,"layer":19,"campid":-1,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:793, 設置人物個數, 0]
[-] [21:14:29:796, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":1372,"y":1265,"length":1866.1749650019422},"gemType":-1,"profession":"黃巾步兵","curHp":1,"trueProfessionType":0,"professionType":5005,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"黃巾步兵","chaDirection":0,"id":1010,"layer":19,"campid":-1,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:798, 設置人物個數, 0]
[-] [21:14:29:801, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":1035,"y":1541,"length":1856.3151672062586},"gemType":-1,"profession":"黃巾步兵","curHp":1,"trueProfessionType":0,"professionType":5005,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"黃巾步兵","chaDirection":0,"id":1011,"layer":19,"campid":-1,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:803, 設置人物個數, 0]
[-] [21:14:29:805, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":441,"y":372,"length":576.9445380623687},"gemType":-1,"profession":"黃巾步兵","curHp":1,"trueProfessionType":0,"professionType":5005,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"黃巾步兵","chaDirection":0,"id":1012,"layer":19,"campid":-1,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:808, 設置人物個數, 0]
[-] [21:14:29:810, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":2926,"y":598,"length":2986.482881250117},"gemType":-1,"profession":"黃巾步兵","curHp":1,"trueProfessionType":0,"professionType":5005,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"黃巾步兵","chaDirection":0,"id":1013,"layer":19,"campid":-1,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:812, 設置人物個數, 0]
[-] [21:14:29:814, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":2523,"y":680,"length":2613.030615970659},"gemType":-1,"profession":"黃巾步兵","curHp":1,"trueProfessionType":0,"professionType":5005,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"黃巾步兵","chaDirection":0,"id":1014,"layer":19,"campid":-1,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:817, 設置人物個數, 0]
[-] [21:14:29:820, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":1994,"y":649,"length":2096.9589886309172},"gemType":-1,"profession":"黃巾步兵","curHp":1,"trueProfessionType":0,"professionType":5005,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"黃巾步兵","chaDirection":0,"id":1015,"layer":19,"campid":-1,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:822, 設置人物個數, 0]
[-] [21:14:29:824, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":1428,"y":202,"length":1442.2163499281237},"gemType":-1,"profession":"黃巾步兵","curHp":1,"trueProfessionType":0,"professionType":5005,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"黃巾步兵","chaDirection":0,"id":1016,"layer":19,"campid":-1,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:826, 設置人物個數, 0]
[-] [21:14:29:828, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":690,"y":1058,"length":1263.1167800326302},"gemType":-1,"profession":"黃巾步兵","curHp":1,"trueProfessionType":0,"professionType":5005,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"黃巾步兵","chaDirection":0,"id":1017,"layer":19,"campid":-1,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:830, 設置人物個數, 0]
[-] [21:14:29:832, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":2939,"y":553,"length":2990.5735235904167},"gemType":-1,"profession":"黃巾步兵","curHp":1,"trueProfessionType":0,"professionType":5005,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"黃巾步兵","chaDirection":0,"id":1018,"layer":19,"campid":-1,"masterId":0,"isSelfPet":false}]
[-] [21:14:29:834, 設置人物個數, 0]
[-] [21:14:29:842, 隊列資源加載完成, npcheadtype2]
[-] [21:14:29:843, 剩餘隊列, [chartengjiabing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], npcheadtype5, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype5, function Function() {}, [false], charjiangling1, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], npcheadtype5, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype11, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype3, function Function() {}, [false], chartengjiabing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], npcheadtype4, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype5, function Function() {}, [false], charhuangjinjiangling2, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false]]]
[-] [21:14:29:845, 開始加載隊列, chartengjiabing]
[-] [21:14:29:920, 隊列資源加載完成, chartengjiabing]
[-] [21:14:29:920, 剩餘隊列, [chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], npcheadtype5, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype5, function Function() {}, [false], charjiangling1, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], npcheadtype5, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype11, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype3, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], chargongjianbing, function Function() {}, [false], npcheadtype4, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype5, function Function() {}, [false], charhuangjinjiangling2, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false]]]
[-] [21:14:29:922, 開始加載隊列, chargongjianbing]
[-] [21:14:30:1, 隊列資源加載完成, chargongjianbing]
[-] [21:14:30:2, 剩餘隊列, [npcheadtype5, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype5, function Function() {}, [false], charjiangling1, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], npcheadtype5, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype11, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype3, function Function() {}, [false], npcheadtype4, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype5, function Function() {}, [false], charhuangjinjiangling2, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false]]]
[-] [21:14:30:3, 開始加載隊列, npcheadtype5]
[-] [21:14:30:14, 隊列資源加載完成, npcheadtype5]
[-] [21:14:30:15, 剩餘隊列, [charchangqiangbing, function Function() {}, [false], charjiangling1, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype11, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], npcheadtype3, function Function() {}, [false], npcheadtype4, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], charhuangjinjiangling2, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false], charchangqiangbing, function Function() {}, [false]]]
[-] [21:14:30:17, 開始加載隊列, charchangqiangbing]
[-] [21:14:30:40, 更新npc, {"NPCQuestStatusList":[{"hasStatu":true,"hasNpcID":true,"npcID":100001,"statu":2},{"hasStatu":true,"hasNpcID":true,"npcID":100004,"statu":0},{"hasStatu":true,"hasNpcID":true,"npcID":130002,"statu":0},{"hasStatu":true,"hasNpcID":true,"npcID":140001,"statu":0},{"hasStatu":true,"hasNpcID":true,"npcID":140002,"statu":0},{"hasStatu":true,"hasNpcID":true,"npcID":140005,"statu":0},{"hasStatu":true,"hasNpcID":true,"npcID":150000,"statu":0},{"hasStatu":true,"hasNpcID":true,"npcID":150001,"statu":0}]}]
[-] [21:14:30:40, no imgs , npcheadtaskstate2, action]
[-] [21:14:30:41, no imgs , npcheadtaskstate0, action]
[-] [21:14:30:41, no imgs , npcheadtaskstate0, action]
[-] [21:14:30:42, no imgs , npcheadtaskstate0, action]
[-] [21:14:30:42, no imgs , npcheadtaskstate0, action]
[-] [21:14:30:43, no imgs , npcheadtaskstate0, action]
[-] [21:14:30:43, no imgs , npcheadtaskstate0, action]
[-] [21:14:30:43, no imgs , npcheadtaskstate0, action]
[-] [21:14:30:74, 隊列資源加載完成, charchangqiangbing]
[-] [21:14:30:75, 剩餘隊列, [charjiangling1, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], npcheadtype11, function Function() {}, [false], npcheadtype3, function Function() {}, [false], npcheadtype4, function Function() {}, [false], charhuangjinjiangling2, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], npcheadtaskstate2, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false]]]
[-] [21:14:30:77, 開始加載隊列, charjiangling1]
[-] [21:14:30:150, 隊列資源加載完成, charjiangling1]
[-] [21:14:30:150, 剩餘隊列, [charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], npcheadtype11, function Function() {}, [false], npcheadtype3, function Function() {}, [false], npcheadtype4, function Function() {}, [false], charhuangjinjiangling2, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], charhuangjinbing, function Function() {}, [false], npcheadtaskstate2, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false]]]
[-] [21:14:30:152, 開始加載隊列, charhuangjinbing]
[-] [21:14:30:187, 隊列資源加載完成, charhuangjinbing]
[-] [21:14:30:188, 剩餘隊列, [npcheadtype11, function Function() {}, [false], npcheadtype3, function Function() {}, [false], npcheadtype4, function Function() {}, [false], charhuangjinjiangling2, function Function() {}, [false], npcheadtaskstate2, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false]]]
[-] [21:14:30:188, 配置文件中沒有素材id, npcheadtype11]
[-] [21:14:30:189, 開始加載隊列, npcheadtype3]
[-] [21:14:30:218, 隊列資源加載完成, npcheadtype3]
[-] [21:14:30:218, 剩餘隊列, [npcheadtype4, function Function() {}, [false], charhuangjinjiangling2, function Function() {}, [false], npcheadtaskstate2, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false]]]
[-] [21:14:30:219, 開始加載隊列, npcheadtype4]
[-] [21:14:30:232, 隊列資源加載完成, npcheadtype4]
[-] [21:14:30:233, 剩餘隊列, [charhuangjinjiangling2, function Function() {}, [false], npcheadtaskstate2, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false]]]
[-] [21:14:30:234, 開始加載隊列, charhuangjinjiangling2]
[-] [21:14:30:303, 隊列資源加載完成, charhuangjinjiangling2]
[-] [21:14:30:303, 剩餘隊列, [npcheadtaskstate2, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false]]]
[-] [21:14:30:304, 開始加載隊列, npcheadtaskstate2]
[-] [21:14:30:329, 隊列資源加載完成, npcheadtaskstate2]
[-] [21:14:30:329, 剩餘隊列, [npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false]]]
[-] [21:14:30:330, 配置文件中沒有素材id, npcheadtaskstate0]
[-] [21:14:30:330, 配置文件中沒有素材id, npcheadtaskstate0]
[-] [21:14:30:331, 配置文件中沒有素材id, npcheadtaskstate0]
[-] [21:14:30:331, 配置文件中沒有素材id, npcheadtaskstate0]
[-] [21:14:30:332, 配置文件中沒有素材id, npcheadtaskstate0]
[-] [21:14:30:332, 配置文件中沒有素材id, npcheadtaskstate0]
[-] [21:14:30:332, 配置文件中沒有素材id, npcheadtaskstate0]

控制數據更新的trace都是客戶端向服務器發送請求的請求commandID號碼,我們移動下人物,看看,會有什麼輸出

[-] [21:20:9:540, [控制數據更新603]]
[-] [21:20:9:542, [刪除自動尋路信息]]
[-] [21:20:9:715, [控制數據更新603]]
[-] [21:20:9:715, [刪除自動尋路信息]]

看到了吧,我們控制人物行走,客戶端通過

public functionsend(responder:IResponder, commandID:int, data:ByteArray=null, isSend:Boolean =true):void{

xtrace("控制數據更新"+commandID);

簡單說下send方法是怎麼回事,因爲他是我們遊戲通訊最核心的地方,以socketService.send(newResponder(resultEnterGameHandler, faultHandler), URLConst.ENTER_GAME_COMMANDID,byteArray)進入遊戲時的方法調用爲列,URLConst.ENTER_GAME_COMMANDID這個是id號,byteArray是我們發送的數據,newResponder(resultEnterGameHandler, faultHandler)裏面resultEnterGameHandler是如果通訊成功我們要做的事情,faultHandler是失敗要執行的方法,而數據控制的id常量都在URLConst類裏做了定義

}這個方法發送請求數據給服務器端,試試戰鬥

<span style="color:#0000ff;">[-] [21:22:17:322, 請求進入戰鬥]
[-] [21:22:17:386, remove player, {"id":4}]
</span><span style="color:#ff0000;">[-] [21:22:17:389, [控制數據更新201]]//比如說201就是獲取角色信息,我們可以通過數據通訊所打印出來的id來查找,代碼運行的過程,當然也可以設斷點
[-] [21:22:17:441, 進入戰鬥, </span><span style="color:#0000ff;">{FightResponse}, {"result":true,"message":"","hasData":true,"hasMessage":true,"data":{"centerX":1000,"rResArr":[1,5014530,6,64,5014570,50,4530,5014580,4570],"centerY":325,"setData":[{"defenseGoal":0,"hasDefenseGoal":true,"goldBonus":0,"hasSlayGoal":true,"hasItemsBonus":true,"slayGoal":0,"name":"test5557","hasProfession":true,"profession":4,"itemsBonus":{"stack":1,"itemId":30000016,"hasStack":true,"hasItemId":true},"hasExpBonus":true,"popularity":0,"hasPopularity":true,"hasId":true,"hasAttackGoal":true,"expBonus":100,"id":1000087,"attackGoal":0,"hasCoinBonus":true,"hasName":true,"coinBonus":0,"hasGoldBonus":true}],"battleResult":1,"fightType":1,"stepData":[{"chaBuffArr":[],"chaBuffShowList":[],"chaTargetPos":[493,473],"chaStartPos":[1071,258],"enemyChaArr":[{"enemyTargetPos":[433,473],"enemyStartPos":[433,473],"enemyBuffShowList":[],"enemyBuffArr":[],"enemyPowerUp":0,"hasEnemyCurrentPower":true,"hasEnemyPowerUp":true,"enemyCurrentPower":50,"chaEnemyEffectId":0,"hasEnemyChangeHp":true,"enemyBattleId":15,"enemyChangeHp":-1,"hasEnemyCurrentHp":true,"hasEnemyCounterHit":true,"enemyCounterHit":0,"enemyCurrentHp":75,"hasEnemyChaId":true,"enemyProfessionType":4,"chaEffectId":0,"hasEnemyProfessionType":true,"enemyTotalHp":75,"hasEnemyDirection":true,"enemyDirection":1,"hasEnemyTotalHp":true,"hasChaEffectId":true,"hasEnemyPowerEffectId":true,"hasEnemyTotalPower":true,"enemyPowerEffectId":0,"enemyTotalPower":100,"hasEnemyBattleId":true,"enemyChaId":1000087,"enemyChaName":"test5557","hasChaEnemyEffectId":true,"hasEnemyActionId":true,"hasEnemyChaName":true,"enemyActionId":4570,"hasEnemychaLevel":true,"hasChaThrowEffectId":true,"hasEnemyCounterHitActionId":true,"enemychaLevel":1,"chaThrowEffectId":0,"hasEnemyTxtEffectId":true,"enemyCounterHitActionId":0,"enemyTxtEffectId":0,"hasChaEnemyAoeEffectId":true,"chaEnemyAoeEffectId":0}],"hasChaBattleId":true,"hasChaName":true,"hasCounterHitActionId":true,"hasIsDeathOfCounterHit":true,"isDeathOfCounterHit":0,"counterHitActionId":5014570,"hasTxtEffectId":true,"hasChaLevel":true,"chaProfessionType":5014,"txtEffectId":0,"hasChaEffectId":true,"hasChaEnemyEffectId":true,"hasChaProfessionType":true,"hasChaThrowEffectId":true,"chaAttackType":1,"chaThrowEffectId":50,"chaDirection":2,"hasChaDirection":true,"hasChaAoeEffectId":true,"hasChaCurrentHp":true,"chaId":4,"hasChaPowerUp":true,"hasChaCurrentPower":true,"chaPowerUp":50,"hasChaPowerDown":true,"chaPowerDown":0,"chaEnemyEffectId":6,"actionId":1,"hasChaTotalHp":true,"hasChaChangeHp":true,"chaChangeHp":0,"chaCurrentPower":0,"chaTotalPower":100,"hasChaExpendHp":true,"chaEffectId":64,"chaAoeEffectId":0,"hasChaTotalPower":true,"chaExpendHp":0,"chaCurrentHp":1,"hasChaAttackType":true,"hasIsCriticalBlow":true,"isCriticalBlow":false,"chaName":"蜀國投石車","chaTotalHp":1,"hasChaId":true,"hasPowerEffectId":true,"powerEffectId":0,"chaLevel":24,"chaBattleId":29,"hasActionId":true},{"chaBuffArr":[],"chaBuffShowList":[],"chaTargetPos":[433,473],"chaStartPos":[433,473],"enemyChaArr":[{"enemyTargetPos":[1071,258],"enemyStartPos":[1071,258],"enemyBuffShowList":[],"enemyBuffArr":[],"enemyPowerUp":0,"hasEnemyCurrentPower":true,"hasEnemyPowerUp":true,"enemyCurrentPower":50,"chaEnemyEffectId":0,"hasEnemyChangeHp":true,"enemyBattleId":29,"enemyChangeHp":-34,"hasEnemyCurrentHp":true,"hasEnemyCounterHit":true,"enemyCounterHit":0,"enemyCurrentHp":1,"hasEnemyChaId":true,"enemyProfessionType":5014,"chaEffectId":0,"hasEnemyProfessionType":true,"enemyTotalHp":1,"hasEnemyDirection":true,"enemyDirection":2,"hasEnemyTotalHp":true,"hasChaEffectId":true,"hasEnemyPowerEffectId":true,"hasEnemyTotalPower":true,"enemyPowerEffectId":0,"enemyTotalPower":100,"hasEnemyBattleId":true,"enemyChaId":4,"enemyChaName":"蜀國投石車","hasChaEnemyEffectId":true,"hasEnemyActionId":true,"hasEnemyChaName":true,"enemyActionId":5014580,"hasEnemychaLevel":true,"hasChaThrowEffectId":true,"hasEnemyCounterHitActionId":true,"enemychaLevel":24,"chaThrowEffectId":0,"hasEnemyTxtEffectId":true,"enemyCounterHitActionId":0,"enemyTxtEffectId":0,"hasChaEnemyAoeEffectId":true,"chaEnemyAoeEffectId":0}],"hasChaBattleId":true,"hasChaName":true,"hasCounterHitActionId":true,"hasIsDeathOfCounterHit":true,"isDeathOfCounterHit":0,"counterHitActionId":4570,"hasTxtEffectId":true,"hasChaLevel":true,"chaProfessionType":4,"txtEffectId":0,"hasChaEffectId":true,"hasChaEnemyEffectId":true,"hasChaProfessionType":true,"hasChaThrowEffectId":true,"chaAttackType":2,"chaThrowEffectId":0,"chaDirection":1,"hasChaDirection":true,"hasChaAoeEffectId":true,"hasChaCurrentHp":true,"chaId":1000087,"hasChaPowerUp":true,"hasChaCurrentPower":true,"chaPowerUp":50,"hasChaPowerDown":true,"chaPowerDown":0,"chaEnemyEffectId":0,"actionId":0,"hasChaTotalHp":true,"hasChaChangeHp":true,"chaChangeHp":0,"chaCurrentPower":50,"chaTotalPower":100,"hasChaExpendHp":true,"chaEffectId":0,"chaAoeEffectId":0,"hasChaTotalPower":true,"chaExpendHp":0,"chaCurrentHp":74,"hasChaAttackType":true,"hasIsCriticalBlow":true,"isCriticalBlow":false,"chaName":"test5557","chaTotalHp":75,"hasChaId":true,"hasPowerEffectId":true,"powerEffectId":0,"chaLevel":1,"chaBattleId":15,"hasActionId":true}],"startData":[{"chaPos":[433,473],"hasChaBattleId":true,"hasChaName":true,"hasChaTotalHp":true,"hasChaLevel":true,"chaCurrentPower":50,"chaTotalPower":100,"chaProfessionType":4,"hasChaTotalPower":true,"chaCurrentHp":75,"hasChaIcon":true,"chaTotalHp":75,"hasChaProfessionType":true,"chaIcon":4,"chaName":"test5557","hasChaDirection":true,"hasChatype":false,"chaDirection":1,"hasChaId":true,"hasChaCurrentHp":true,"chaId":1000087,"chaLevel":1,"chaBattleId":15,"chatype":0,"hasChaCurrentPower":true},{"chaPos":[1071,258],"hasChaBattleId":true,"hasChaName":true,"hasChaTotalHp":true,"hasChaLevel":true,"chaCurrentPower":0,"chaTotalPower":100,"chaProfessionType":5014,"hasChaTotalPower":true,"chaCurrentHp":1,"hasChaIcon":true,"chaTotalHp":1,"hasChaProfessionType":true,"chaIcon":5014,"chaName":"蜀國投石車","hasChaDirection":true,"hasChatype":true,"chaDirection":2,"hasChaId":true,"hasChaCurrentHp":true,"chaId":4,"chaLevel":24,"chaBattleId":29,"chatype":220000,"hasChaCurrentPower":false}]}}]
50
Command2700
[-] [21:22:17:471, [任務追蹤:, <span class='tword'><span class='tword'><span class='tword'>[主] <span class='cur_task_name'>趕走亂軍</span> </span><br>    擊敗黃巾步兵(0/1)</span><br></span>]]
[-] [21:22:17:953, enter fight in view]
[-] [21:22:17:954, 清理戰鬥動作]
[-] [21:22:17:959, 創建實體, {"chaPos":[1071,258],"hasChaBattleId":true,"hasChaName":true,"hasChaTotalHp":true,"hasChaLevel":true,"chaCurrentPower":0,"chaTotalPower":100,"chaProfessionType":5014,"hasChaTotalPower":true,"chaCurrentHp":1,"hasChaIcon":true,"chaTotalHp":1,"hasChaProfessionType":true,"chaIcon":5014,"chaName":"蜀國投石車","hasChaDirection":true,"hasChatype":true,"chaDirection":2,"hasChaId":true,"hasChaCurrentHp":true,"chaId":4,"chaLevel":24,"chaBattleId":29,"chatype":220000,"hasChaCurrentPower":false}]
[-] [21:22:17:960, 沒有角色資源配置,用 changqiangbing 代替, 5014]
[-] [21:22:17:962, 設置人物個數, 0]
[-] [21:22:17:964, 初始化戰鬥實體]
[-] [21:22:17:967, 創建實體, {"chaPos":[433,473],"hasChaBattleId":true,"hasChaName":true,"hasChaTotalHp":true,"hasChaLevel":true,"chaCurrentPower":50,"chaTotalPower":100,"chaProfessionType":4,"hasChaTotalPower":true,"chaCurrentHp":75,"hasChaIcon":true,"chaTotalHp":75,"hasChaProfessionType":true,"chaIcon":4,"chaName":"test5557","hasChaDirection":true,"hasChatype":false,"chaDirection":1,"hasChaId":true,"hasChaCurrentHp":true,"chaId":1000087,"chaLevel":1,"chaBattleId":15,"chatype":0,"hasChaCurrentPower":true}]
[-] [21:22:17:969, 設置人物個數, 0]
[-] [21:22:17:971, 初始化戰鬥實體]
[-] [21:22:17:973, no img , default, face5014]
[-] [21:22:20:957, 換場結束,開始解析戰鬥動作]
[-] [21:22:20:961, 解析回合數據]
[-] [21:22:20:966, 添加戰鬥動作, {"actionTypeName":"Action_Type_Move","arg6":null,"nextActionTriger":0,"arg4":500,"arg5":null,"arg7":null,"arg1":29,"arg9":null,"arg2":493,"arg10":null,"actionType":1,"arg11":null,"fatherID":-1,"arg8":null,"id":0,"arg3":473}]
[-] [21:22:20:971, 添加戰鬥動作, {"actionTypeName":"Action_Type_Char_Action","arg6":null,"nextActionTriger":0,"arg4":null,"arg5":null,"arg7":null,"arg1":29,"arg9":null,"arg2":"magicattack","arg10":null,"actionType":2,"arg11":null,"fatherID":0,"arg8":null,"id":1,"arg3":700}]
[-] [21:22:20:974, 添加戰鬥動作, {"actionTypeName":"Action_Type_MP_DEC","arg6":null,"nextActionTriger":0,"arg4":0,"arg5":100,"arg7":null,"arg1":29,"arg9":null,"arg2":null,"arg10":null,"actionType":11,"arg11":null,"fatherID":0,"arg8":null,"id":2,"arg3":null}]
[-] [21:22:20:978, 添加戰鬥動作, {"actionTypeName":"Action_Type_Skill_Eff_Single","arg6":null,"nextActionTriger":0,"arg4":null,"arg5":null,"arg7":null,"arg1":29,"arg9":null,"arg2":"effect1000","arg10":null,"actionType":4,"arg11":null,"fatherID":2,"arg8":null,"id":3,"arg3":null}]
[-] [21:22:20:982, 添加戰鬥動作, {"actionTypeName":"Action_Type_Skill_Eff_Single","arg6":null,"nextActionTriger":0,"arg4":null,"arg5":null,"arg7":null,"arg1":15,"arg9":null,"arg2":"effect1001","arg10":null,"actionType":4,"arg11":null,"fatherID":3,"arg8":null,"id":4,"arg3":null}]
[-] [21:22:20:986, 添加戰鬥動作, {"actionTypeName":"Action_Type_HP_DEC","arg6":null,"nextActionTriger":0,"arg4":74,"arg5":75,"arg7":null,"arg1":15,"arg9":null,"arg2":null,"arg10":null,"actionType":10,"arg11":null,"fatherID":4,"arg8":null,"id":5,"arg3":-1}]
[-] [21:22:20:988, 添加戰鬥動作, {"actionTypeName":"Action_Type_Char_Action","arg6":null,"nextActionTriger":0,"arg4":null,"arg5":null,"arg7":null,"arg1":15,"arg9":null,"arg2":"attacked","arg10":null,"actionType":2,"arg11":null,"fatherID":4,"arg8":null,"id":6,"arg3":700}]
[-] [21:22:20:991, 添加戰鬥動作, {"actionTypeName":"Action_Type_Buff_Eff_Add","arg6":null,"nextActionTriger":0,"arg4":null,"arg5":[],"arg7":null,"arg1":15,"arg9":null,"arg2":null,"arg10":null,"actionType":6,"arg11":null,"fatherID":6,"arg8":null,"id":7,"arg3":null}]
[-] [21:22:20:992, 開始播放回合動畫]
[-] [21:22:20:993, 檢測父id, -1, 的子動作]
[-] [21:22:20:995, 執行動作, {"actionTypeName":"Action_Type_Move","arg6":null,"nextActionTriger":0,"arg4":500,"arg5":null,"arg7":null,"arg1":29,"arg9":null,"arg2":493,"arg10":null,"actionType":1,"arg11":null,"fatherID":-1,"arg8":null,"id":0,"arg3":473}]
[-] [21:22:20:996, 剩餘回合爲, [{FightAction}, {FightAction}, {FightAction}, {FightAction}, {FightAction}, {FightAction}, {FightAction}]]
[-] [21:22:21:488, 檢測父id, 0, 的子動作]
[-] [21:22:21:492, 執行動作, {"actionTypeName":"Action_Type_Char_Action","arg6":null,"nextActionTriger":0,"arg4":null,"arg5":null,"arg7":null,"arg1":29,"arg9":null,"arg2":"magicattack","arg10":null,"actionType":2,"arg11":null,"fatherID":0,"arg8":null,"id":1,"arg3":700}]
[-] [21:22:21:498, 執行動作, {"actionTypeName":"Action_Type_MP_DEC","arg6":null,"nextActionTriger":0,"arg4":0,"arg5":100,"arg7":null,"arg1":29,"arg9":null,"arg2":null,"arg10":null,"actionType":11,"arg11":null,"fatherID":0,"arg8":null,"id":2,"arg3":null}]
[-] [21:22:21:500, 剩餘回合爲, [{FightAction}, {FightAction}, {FightAction}, {FightAction}, {FightAction}]]
[-] [21:22:21:502, 檢測父id, 2, 的子動作]
[-] [21:22:21:507, 執行動作, {"actionTypeName":"Action_Type_Skill_Eff_Single","arg6":null,"nextActionTriger":0,"arg4":null,"arg5":null,"arg7":null,"arg1":29,"arg9":null,"arg2":"effect1000","arg10":null,"actionType":4,"arg11":null,"fatherID":2,"arg8":null,"id":3,"arg3":null}]
[-] [21:22:21:510, 開始加載隊列, effect1000]
[-] [21:22:21:512, 剩餘回合爲, [{FightAction}, {FightAction}, {FightAction}, {FightAction}]]
[-] [21:22:21:537, 隊列資源加載完成, effect1000]
[-] [21:22:21:539, 剩餘隊列, []]
[-] [21:22:22:22, 檢測父id, 3, 的子動作]
[-] [21:22:22:25, 執行動作, {"actionTypeName":"Action_Type_Skill_Eff_Single","arg6":null,"nextActionTriger":0,"arg4":null,"arg5":null,"arg7":null,"arg1":15,"arg9":null,"arg2":"effect1001","arg10":null,"actionType":4,"arg11":null,"fatherID":3,"arg8":null,"id":4,"arg3":null}]
[-] [21:22:22:27, 開始加載隊列, effect1001]
[-] [21:22:22:28, 剩餘回合爲, [{FightAction}, {FightAction}, {FightAction}]]
[-] [21:22:22:51, 隊列資源加載完成, effect1001]
[-] [21:22:22:52, 剩餘隊列, []]
[-] [21:22:22:204, 檢測父id, 1, 的子動作]
[-] [21:22:22:205, 剩餘回合爲, [{FightAction}, {FightAction}, {FightAction}]]
[-] [21:22:22:573, 檢測父id, 4, 的子動作]
[-] [21:22:22:577, 執行動作, {"actionTypeName":"Action_Type_HP_DEC","arg6":null,"nextActionTriger":0,"arg4":74,"arg5":75,"arg7":null,"arg1":15,"arg9":null,"arg2":null,"arg10":null,"actionType":10,"arg11":null,"fatherID":4,"arg8":null,"id":5,"arg3":-1}]
[-] [21:22:22:578, 設置人物個數, 0]
[-] [21:22:22:586, 執行動作, {"actionTypeName":"Action_Type_Char_Action","arg6":null,"nextActionTriger":0,"arg4":null,"arg5":null,"arg7":null,"arg1":15,"arg9":null,"arg2":"attacked","arg10":null,"actionType":2,"arg11":null,"fatherID":4,"arg8":null,"id":6,"arg3":700}]
[-] [21:22:22:587, 剩餘回合爲, [{FightAction}]]
[-] [21:22:22:988, 檢測父id, 5, 的子動作]
[-] [21:22:22:990, 剩餘回合爲, [{FightAction}]]
[-] [21:22:23:290, 檢測父id, 6, 的子動作]
[-] [21:22:23:297, 執行動作, {"actionTypeName":"Action_Type_Buff_Eff_Add","arg6":null,"nextActionTriger":0,"arg4":null,"arg5":[],"arg7":null,"arg1":15,"arg9":null,"arg2":null,"arg10":null,"actionType":6,"arg11":null,"fatherID":6,"arg8":null,"id":7,"arg3":null}]
[-] [21:22:23:303, 剩餘回合爲, []]
[-] [21:22:23:321, 檢測父id, 7, 的子動作]
[-] [21:22:23:322, 剩餘回合爲, []]
[-] [21:22:23:323, 檢測角色回到原始位置]
[-] [21:22:24:654, 解析回合數據]
[-] [21:22:24:660, 添加戰鬥動作, {"actionTypeName":"Action_Type_Char_Action","arg6":null,"nextActionTriger":0,"arg4":null,"arg5":null,"arg7":null,"arg1":15,"arg9":null,"arg2":"physicalattack","arg10":null,"actionType":2,"arg11":null,"fatherID":-1,"arg8":null,"id":8,"arg3":700}]
[-] [21:22:24:668, 添加戰鬥動作, {"actionTypeName":"Action_Type_MP_DEC","arg6":null,"nextActionTriger":0,"arg4":50,"arg5":100,"arg7":null,"arg1":15,"arg9":null,"arg2":null,"arg10":null,"actionType":11,"arg11":null,"fatherID":-1,"arg8":null,"id":9,"arg3":null}]
[-] [21:22:24:676, 添加戰鬥動作, {"actionTypeName":"Action_Type_HP_DEC","arg6":null,"nextActionTriger":0,"arg4":0,"arg5":1,"arg7":null,"arg1":29,"arg9":null,"arg2":null,"arg10":null,"actionType":10,"arg11":null,"fatherID":-1,"arg8":null,"id":10,"arg3":-34}]
[-] [21:22:24:682, 添加戰鬥動作, {"actionTypeName":"Action_Type_Char_Action","arg6":null,"nextActionTriger":0,"arg4":null,"arg5":null,"arg7":null,"arg1":29,"arg9":null,"arg2":"attacked","arg10":null,"actionType":2,"arg11":null,"fatherID":-1,"arg8":null,"id":11,"arg3":700}]
[-] [21:22:24:686, 添加戰鬥動作, {"actionTypeName":"Action_Type_Buff_Eff_Add","arg6":null,"nextActionTriger":0,"arg4":null,"arg5":[],"arg7":null,"arg1":29,"arg9":null,"arg2":null,"arg10":null,"actionType":6,"arg11":null,"fatherID":11,"arg8":null,"id":12,"arg3":null}]
[-] [21:22:24:689, 添加戰鬥動作, {"actionTypeName":"Action_Type_Char_Remove","arg6":null,"nextActionTriger":0,"arg4":null,"arg5":null,"arg7":null,"arg1":29,"arg9":null,"arg2":null,"arg10":null,"actionType":13,"arg11":null,"fatherID":12,"arg8":null,"id":13,"arg3":null}]
[-] [21:22:24:690, 開始播放回合動畫]
[-] [21:22:24:691, 檢測父id, -1, 的子動作]
[-] [21:22:24:694, 執行動作, {"actionTypeName":"Action_Type_Char_Action","arg6":null,"nextActionTriger":0,"arg4":null,"arg5":null,"arg7":null,"arg1":15,"arg9":null,"arg2":"physicalattack","arg10":null,"actionType":2,"arg11":null,"fatherID":-1,"arg8":null,"id":8,"arg3":700}]
[-] [21:22:24:698, 執行動作, {"actionTypeName":"Action_Type_MP_DEC","arg6":null,"nextActionTriger":0,"arg4":50,"arg5":100,"arg7":null,"arg1":15,"arg9":null,"arg2":null,"arg10":null,"actionType":11,"arg11":null,"fatherID":-1,"arg8":null,"id":9,"arg3":null}]
[-] [21:22:24:701, 執行動作, {"actionTypeName":"Action_Type_HP_DEC","arg6":null,"nextActionTriger":0,"arg4":0,"arg5":1,"arg7":null,"arg1":29,"arg9":null,"arg2":null,"arg10":null,"actionType":10,"arg11":null,"fatherID":-1,"arg8":null,"id":10,"arg3":-34}]
[-] [21:22:24:702, 死亡,不重新設置人物個數]
[-] [21:22:24:706, 執行動作, {"actionTypeName":"Action_Type_Char_Action","arg6":null,"nextActionTriger":0,"arg4":null,"arg5":null,"arg7":null,"arg1":29,"arg9":null,"arg2":"attacked","arg10":null,"actionType":2,"arg11":null,"fatherID":-1,"arg8":null,"id":11,"arg3":700}]
[-] [21:22:24:707, 剩餘回合爲, [{FightAction}, {FightAction}]]
[-] [21:22:24:708, 檢測父id, 9, 的子動作]
[-] [21:22:24:709, 剩餘回合爲, [{FightAction}, {FightAction}]]
[-] [21:22:25:119, 檢測父id, 10, 的子動作]
[-] [21:22:25:120, 剩餘回合爲, [{FightAction}, {FightAction}]]
[-] [21:22:25:403, 檢測父id, 8, 的子動作]
[-] [21:22:25:404, 剩餘回合爲, [{FightAction}, {FightAction}]]
[-] [21:22:25:421, 檢測父id, 11, 的子動作]
[-] [21:22:25:423, 執行動作, {"actionTypeName":"Action_Type_Buff_Eff_Add","arg6":null,"nextActionTriger":0,"arg4":null,"arg5":[],"arg7":null,"arg1":29,"arg9":null,"arg2":null,"arg10":null,"actionType":6,"arg11":null,"fatherID":11,"arg8":null,"id":12,"arg3":null}]
[-] [21:22:25:424, 剩餘回合爲, [{FightAction}]]
[-] [21:22:25:438, 檢測父id, 12, 的子動作]
[-] [21:22:25:440, 執行動作, {"actionTypeName":"Action_Type_Char_Remove","arg6":null,"nextActionTriger":0,"arg4":null,"arg5":null,"arg7":null,"arg1":29,"arg9":null,"arg2":null,"arg10":null,"actionType":13,"arg11":null,"fatherID":12,"arg8":null,"id":13,"arg3":null}]
[-] [21:22:25:441, 剩餘回合爲, []]
[-] [21:22:25:753, 檢測父id, 13, 的子動作]
[-] [21:22:25:754, 剩餘回合爲, []]
[-] [21:22:25:754, 檢測角色回到原始位置]
[-] [21:22:26:571, 解析回合數據]
[-] [21:22:26:572, 所有戰鬥動畫完成]
[-] [21:23:41:645, [刪除自動尋路信息]]
[-] [21:23:41:646, 清理戰鬥動作]
</span><span style="color:#ff0000;">[-] [21:23:41:653, [控制數據更新704]]//通知退出戰鬥消息
[-] [21:23:41:682, [控制數據更新201]]// 獲取角色信息(因爲戰鬥和平時屬於不同場景,所以需要角色初始化)
[-] [21:23:41:761, [任務追蹤:, <span class='tword'><span class='tword'><span class='tword'>[主] <span class='cur_task_name'>趕走亂軍</span> </span><br>    擊敗黃巾步兵(0/1)</span><br></span>]]
[-] [21:23:42:328, 設置人物個數, 0]</span><span style="color:#0000ff;">
</span>

紅色的部分看到了吧,我們完成了一個任務

看看界面上面的變化

<span style="color:#ff0000;">[-] [21:26:18:204, [控制數據更新704]]
[-] [21:26:18:237, [任務達到完成條件, {TaskFinshNotify}]]
[-] [21:26:18:241, [控制數據更新201]]</span>
[-] [21:26:18:460, [任務追蹤:, <span class='tword'><span class='tover'><span class='tword'>[主] <span class='cur_task_name'>趕走亂軍</span> 完成</span><br>    (1/1)</span><br></span>]]
[-] [21:26:19:210, 設置人物個數, 0]
[-] [21:26:19:214, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":948,"y":476,"length":1060.7921568337504},"gemType":-1,"profession":"黃巾步兵","curHp":1,"trueProfessionType":0,"professionType":5005,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"黃巾步兵","chaDirection":0,"id":1019,"layer":19,"campid":-1,"masterId":0,"isSelfPet":false}]
[-] [21:26:19:217, 設置人物個數, 0]
[-] [21:27:20:563, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":1000,"y":500,"length":1118.033988749895},"gemType":-1,"profession":"蜀國投石車","curHp":1,"trueProfessionType":0,"professionType":5014,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"蜀國投石車","chaDirection":0,"id":4,"layer":19,"campid":1,"masterId":0,"isSelfPet":false}]
[-] [21:27:20:565, 沒有角色資源配置,用 changqiangbing 代替, 5014]
[-] [21:27:20:571, 設置人物個數, 0]

我們現在去交任務

打開商店

有資源沒找到,

[-] [21:28:44:809, [開始加載素材包 , ui_npc_task]]
[-] [21:28:44:906, [init progress bar]]
[-] [21:28:44:961, [素材包加載完成 , ui_npc_task]]
[-] [21:28:45:0, [add npc taks mediator]]
[-] [21:28:45:2, [請求NPC任務信息, {TaskNpcTaskInfoRequest}]]
<span style="color:#ff0000;">[-] [21:28:45:2, [控制數據更新1410]]// 申請ncp任務信息</span>
[-] [21:28:45:17, [回覆NPC任務信息, {TaskNpcTaskInfoResponse}]]
[BulkLoader] After 3 I am giving up on ?v=undefined
[BulkLoader] Error loading LoadingItem url: ?v=undefined, type:text, status: error Error #2032: 流錯誤。 URL: file:///E|/source/Flexwork/WebClientFT%20client%201.6/WebClientFT/bin/?v=undefined
[-] [21:28:45:44, [加載出錯, [ErrorEvent type="error" bubbles=true cancelable=false eventPhase=2 text="Error #2032: 流錯誤。 URL: file:///E|/source/Flexwork/WebClientFT%20client%201.6/WebClientFT/bin/?v=undefined"]]]
[-] [21:28:52:278, [清理新手指引 event : , null,  close_ui :, false]]
[-] [21:28:52:281, [開始加載素材包 , ui_pet]]
[-] [21:28:52:312, [init progress bar]]
[-] [21:28:52:550, [素材包加載完成 , ui_pet]]
<span style="color:#ff0000;">[-] [21:28:52:598, [控制數據更新3500]]//魔獸酒館信息(打開傭兵商店)
</span>

根據提示我們後面專門找,現在交任務

<span style="color:#ff0000;">[-] [21:35:37:662, [請求提交任務, {TaskNpcSubTaskRequest}]]
[-] [21:35:37:663, [控制數據更新1411]]// 提交已經完成的任務</span>
warning: unable to bind to property 'icon' on class 'Object' (class is not an IEventDispatcher)
warning: unable to bind to property 'contentStr' on class 'Object' (class is not an IEventDispatcher)
warning: unable to bind to property 'tishiStr' on class 'Object' (class is not an IEventDispatcher)
warning: unable to bind to property 'caozuoStr' on class 'Object' (class is not an IEventDispatcher)
warning: unable to bind to property 'iconType' on class 'Object' (class is not an IEventDispatcher)
<span style="color:#ff0000;">[-] [21:35:37:862, [控制數據更新201]]//更新角色信息
[-] [21:35:37:863, [控制數據更新201]]</span>
[-] [21:35:37:868, 更新npc, {"NPCQuestStatusList":[{"hasStatu":true,"hasNpcID":true,"npcID":100001,"statu":1},{"hasStatu":true,"hasNpcID":true,"npcID":100004,"statu":0},{"hasStatu":true,"hasNpcID":true,"npcID":130002,"statu":0},{"hasStatu":true,"hasNpcID":true,"npcID":140001,"statu":0},{"hasStatu":true,"hasNpcID":true,"npcID":140002,"statu":0},{"hasStatu":true,"hasNpcID":true,"npcID":140005,"statu":0},{"hasStatu":true,"hasNpcID":true,"npcID":150000,"statu":0},{"hasStatu":true,"hasNpcID":true,"npcID":150001,"statu":0}]}]
[-] [21:35:37:869, no imgs , npcheadtaskstate1, action]
[-] [21:35:37:870, 開始加載隊列, npcheadtaskstate1]
[-] [21:35:37:871, no imgs , npcheadtaskstate0, action]
[-] [21:35:37:871, no imgs , npcheadtaskstate0, action]
[-] [21:35:37:872, no imgs , npcheadtaskstate0, action]
[-] [21:35:37:872, no imgs , npcheadtaskstate0, action]
[-] [21:35:37:872, no imgs , npcheadtaskstate0, action]
[-] [21:35:37:873, no imgs , npcheadtaskstate0, action]
[-] [21:35:37:873, no imgs , npcheadtaskstate0, action]
<span style="color:#ff0000;">[-] [21:35:37:874, [任務追蹤更新廣播, {TaskTracListNotify}]]</span>
[-] [21:35:37:875, [任務追蹤:, <span class='tword'><span class='tword'><span class='tword'>[主] <span class='cur_task_name'>瞭解形勢</span> </span><br>    與大內侍衛談談(0/1)</span><br></span>]]
[-] [21:35:37:876, [任務追蹤:, <span class='tword'><span class='tword'><span class='tword'>[主] <span class='cur_task_name'>瞭解形勢</span> </span><br>    與大內侍衛談談(0/1)</span><br></span>]]
[-] [21:35:37:887, [提交任務回覆, {TaskNpcSubTaskResponse}]]
[-] [21:35:37:888, [清理新手指引 event : , null,  close_ui :, false]]
[-] [21:35:37:890, [清理新手指引 event : , null,  close_ui :, false]]
[-] [21:35:37:890, [新手指引--, 檢測任務狀態]]
[-] [21:35:37:943, [任務追蹤:, <span class='tword'><span class='tword'><span class='tword'>[主] <span class='cur_task_name'>瞭解形勢</span> </span><br>    與大內侍衛談談(0/1)</span><br></span>]]
[-] [21:35:37:953, 隊列資源加載完成, npcheadtaskstate1]
[-] [21:35:37:954, 剩餘隊列, [npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false], npcheadtaskstate0, function Function() {}, [false]]]
[-] [21:35:37:955, 配置文件中沒有素材id, npcheadtaskstate0]
[-] [21:35:37:955, 配置文件中沒有素材id, npcheadtaskstate0]
[-] [21:35:37:956, 配置文件中沒有素材id, npcheadtaskstate0]
[-] [21:35:37:956, 配置文件中沒有素材id, npcheadtaskstate0]
[-] [21:35:37:957, 配置文件中沒有素材id, npcheadtaskstate0]
[-] [21:35:37:957, 配置文件中沒有素材id, npcheadtaskstate0]
[-] [21:35:37:958, 配置文件中沒有素材id, npcheadtaskstate0]
[-] [21:35:37:969, [任務追蹤:, <span class='tword'><span class='tword'><span class='tword'>[主] <span class='cur_task_name'>瞭解形勢</span> </span><br>    與大內侍衛談談(0/1)</span><br></span>]]
[-] [21:35:39:179, [刪除自動尋路信息]]
[-] [21:35:39:180, 清理戰鬥動作]
<span style="color:#ff0000;">[-] [21:35:39:186, [控制數據更新704]]// 退出戰鬥
[-] [21:35:39:221, [控制數據更新201]]</span>
[-] [21:35:39:288, [任務追蹤:, <span class='tword'><span class='tword'><span class='tword'>[主] <span class='cur_task_name'>瞭解形勢</span> </span><br>    與大內侍衛談談(0/1)</span><br></span>]]
[-] [21:35:40:242, 設置人物個數, 0]
[-] [21:36:41:720, 創建實體, {"unionName":"","vipLevel":0,"isVip":false,"position":{"x":1000,"y":1100,"length":1486.6068747318504},"gemType":-1,"profession":"蜀國投石車","curHp":1,"trueProfessionType":0,"professionType":5014,"maxHp":1,"chaLevel":0,"chaType":2,"isMySelf":false,"name":"蜀國投石車","chaDirection":0,"id":5,"layer":19,"campid":1,"masterId":0,"isSelfPet":false}]
[-] [21:36:41:722, 沒有角色資源配置,用 changqiangbing 代替, 5014]
[-] [21:36:41:725, 設置人物個數, 0]

任務更新廣播,好了,看來現在服務器端和客戶端除了個別資源有問題以外,都全部正常了,我們的安裝很成功,以後我們慢慢學習討論烽煙的二次開發換皮。。。

上面的東西可能有些亂,但說實話。

本來這篇文章就是抱着學習的態度來寫的,我感覺大家可能遇到的問題,就都貼了出來,可能有些對你沒有用,所以請高人們跳過不需要的閱讀。

好了,今天就到這。。








發佈了66 篇原創文章 · 獲贊 57 · 訪問量 24萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章