-
- local print=myprint
- local nMissionNum = 20
- local i=1
- print("遍历开始>>>")
- while(i<=20) do
- local nMissionIndex=i
- --已接任务 有效任务
- local InUse=DataPool:GetPlayerMission_InUse(i-1) == 1
- --任务名
- local strInfo = DataPool:GetPlayerMission_Memo(i-1);
- --任务等级
- local nMissionLevel = DataPool:GetPlayerMission_Level(i-1);
-
- --任务进度?
- local Mission_Variable = DataPool:GetPlayerMission_Variable(i-1,0);
- --任务ID
- local nScriptId = DataPool:GetPlayerMission_Display(i-1,7)
- --任务序号
- local nIndex = DataPool:GetPlayerMission_Display(nMissionIndex, 7)
- --任务类型?
- local MissionKind = DataPool:GetPlayerMission_Kind(i-1);
- print(i,"遍历:")
- print(i,'已接任务=',tostring(InUse))
- print(i,'任务名='..tostring(strInfo),'任务等级='..nMissionLevel,'Variable'..Mission_Variable,'nScriptId='..nScriptId,'nIndex='..nIndex,'MissionKind='..MissionKind)
- i=i+1
- end
-
- ---- ( MissionLevel - nMyLevel <= 5 and MissionLevel >= nMyLevel -3) (nMyLevel -3)<=任务等级<=(nMyLevel+5)
- local iMissionType=1
- while (iMissionType<=200) do
- local DeployNum = GetMissionOutlineNum( iMissionType )
-
- if( DeployNum >0 ) then
- for i=1, DeployNum do
- local color= ""
-
- -- local iMod = math.mod( nSelIndex, 10000 )
- -- local iFloor = math.floor( nSelIndex / 10000 );
- local MissionLevel, MinLevel, MaxLevel, strNpcName, strNpcPos, strScene, strMissionName, PosX, PosY, SceneID = GetMissionOutlineInfo( iMissionType, i )
- --local MissionLevel, MinLevel, MaxLevel, strNpcName, strNpcPos, strScene, strMissionName = GetMissionOutlineInfo( iMissionType, i )
- strNpcPos = '('..PosX..","..PosY..')'
- local InUse=DataPool:GetPlayerMission_InUse(iMissionType-1) == 1
-
- print('InUse='..tostring(InUse),iMissionType,i,strMissionName,strNpcName, strNpcPos,'SceneID=',SceneID,'MissionLevel='..MissionLevel,MinLevel,MaxLevel)
-
- end
- end
-
- iMissionType=iMissionType+1
- end
-
- print("遍历结束>>>")
-
-
复制代码
>>:InUse=false,11,1,捎口信,邱行洛,(136,184),SceneID=,0,MissionLevel=10,10,120
>>:InUse=false,13,1,第一次送货,蒲良,(216,133),SceneID=,2,MissionLevel=1,1,31
>>:InUse=false,13,2,第二封推荐信,钱龙,(145,138),SceneID=,2,MissionLevel=2,1,32
>>:InUse=false,13,3,做一次大侠,赵天师,(160,156),SceneID=,2,MissionLevel=3,1,33
>>:InUse=false,13,4,第一只珍兽,赵天师,(160,156),SceneID=,2,MissionLevel=5,3,35
>>:InUse=false,13,5,杀更多的怪,赵天师,(160,156),SceneID=,2,MissionLevel=6,4,36
>>:InUse=false,13,6,怎么捉珍兽啊,赵天师,(160,156),SceneID=,2,MissionLevel=7,5,37
>>:InUse=false,13,7,去看看布告,赵天师,(160,156),SceneID=,2,MissionLevel=8,6,38
>>:InUse=false,13,8,打木人巷啦,赵天师,(160,156),SceneID=,2,MissionLevel=9,7,39
>>:InUse=false,17,1,代劳,葛光佩,(240,173),SceneID=,6,MissionLevel=1,1,31
>>:InUse=false,17,2,蜂毒,干光豪,(241,181),SceneID=,6,MissionLevel=3,1,33
>>:InUse=false,17,3,高山白猿,马五德,(92,127),SceneID=,6,MissionLevel=1,1,31
>>:InUse=false,17,4,闪电豹的骚扰,辛双清,(240,175),SceneID=,6,MissionLevel=3,1,33
>>:InUse=false,17,5,平息骚乱,葛光佩,(240,173),SceneID=,6,MissionLevel=5,3,35
>>:InUse=false,17,6,大铁网,辛双清,(240,175),SceneID=,6,MissionLevel=7,5,37
>>:InUse=false,17,7,刺杀特使,辛双清,(240,175),SceneID=,6,MissionLevel=9,7,39
>>:InUse=false,17,8,无量玉壁,辛双清,(240,175),SceneID=,6,MissionLevel=3,1,33
>>:InUse=false,17,9,就地取材,马五德,(92,127),SceneID=,6,MissionLevel=1,1,31
>>:InUse=false,17,10,封锁敦煌,辛双清,(240,175),SceneID=,6,MissionLevel=9,7,39
>>:InUse=false,18,1,红色宝藏钥匙,时迈,(263,201),SceneID=,7,MissionLevel=5,3,35
>>:InUse=false,18,2,黄色宝藏钥匙,时迈,(263,201),SceneID=,7,MissionLevel=5,3,35
>>:InUse=false,18,3,蓝色宝藏钥匙,时迈,(263,201),SceneID=,7,MissionLevel=5,3,35
>>:InUse=false,18,4,蜀道白猿,姜末,(220,68),SceneID=,7,MissionLevel=1,1,31
>>:InUse=false,18,5,蜀道黑猿,姜末,(220,68),SceneID=,7,MissionLevel=1,1,31
>>:InUse=false,18,6,炖肉,姜末,(220,68),SceneID=,7,MissionLevel=8,6,38
>>:InUse=false,18,7,修罗小鬼,姜桂芝,(216,42),SceneID=,7,MissionLevel=9,7,39
>>:InUse=false,18,8,武侯祠,姜桂芝,(215,43),SceneID=,7,MissionLevel=1,1,31
>>:InUse=false,19,1,心愿,杨文广,(252,144),SceneID=,8,MissionLevel=10,8,40
>>:InUse=false,19,2,兵俑,赵行德,(63,90),SceneID=,8,MissionLevel=10,8,40
>>:InUse=false,19,3,荒原豹,赵行德,(63,90),SceneID=,8,MissionLevel=10,8,40
>>:InUse=false,19,4,微薄之力,杨文广,(252,144),SceneID=,8,MissionLevel=10,8,40
脚本文件=d:\tlbb_lua_bak\000025_ScrollInfoOnEventSETSCROLLI.lua : <ScrollInfo_OnEvent("SET_SCROLLINFO");> line=98
脚本文件=d:\tlbb_lua_bak\00001A_PlayerFrameShowTooltip2.lua : <PlayerFrame_ShowTooltip(2)> line=98
脚本文件=d:\tlbb_lua_bak\00001A_PlayerFrameHideTooltip2.lua : <PlayerFrame_HideTooltip(2)> line=98
脚本文件=d:\tlbb_lua_bak\000016_ChatFrameMouseEnter.lua : <ChatFrame_MouseEnter()> line=98
脚本文件=d:\tlbb_lua_bak\000016_ChatFrameMouseLeave.lua : <ChatFrame_MouseLeave()> line=98
脚本文件=d:\tlbb_lua_bak\000017_MissionTrackOnLock.lua : <MissionTrack_On_Lock();> line=98
|