temporary fix task
This commit is contained in:
@@ -424,14 +424,15 @@ public class CECHostPlayer : EC_Player
|
||||
|
||||
//A3DRELEASE(m_pTaskInterface);
|
||||
|
||||
var m_pTaskInterface = new CECTaskInterface(this);
|
||||
//todo
|
||||
//var m_pTaskInterface = new CECTaskInterface(this);
|
||||
|
||||
if (!m_pTaskInterface.Init(null, 0, null, 0,
|
||||
null, 0, null, 0, null, 0))
|
||||
{
|
||||
//a_LogOutput(1, "CECHostPlayer::OnMsgHstTaskData, failed to initialize task interface");
|
||||
return;
|
||||
}
|
||||
//if (!m_pTaskInterface.Init(null, 0, null, 0,
|
||||
// null, 0, null, 0, null, 0))
|
||||
//{
|
||||
// //a_LogOutput(1, "CECHostPlayer::OnMsgHstTaskData, failed to initialize task interface");
|
||||
// return;
|
||||
//}
|
||||
|
||||
//m_pTaskInterface.CheckPQEnterWorldInit();
|
||||
|
||||
|
||||
@@ -92,11 +92,11 @@ namespace PerfectWorld.Scripts.Task
|
||||
//if (iStorageTaskListLen < TASK_STORAGE_LIST_BUF_SIZE)
|
||||
// memset((BYTE*)m_pStorageTaskListBuf + iStorageTaskListLen, 0, TASK_STORAGE_LIST_BUF_SIZE - iStorageTaskListLen);
|
||||
|
||||
ATaskTemplMan pTaskMan = GetTaskTemplMan();
|
||||
pTaskMan.Release();
|
||||
pTaskMan.LoadTasksFromPack("data\\tasks.data", true);
|
||||
pTaskMan.LoadNPCInfoFromPack("data\\task_npc.data");
|
||||
pTaskMan.VerifyDynTasksPack("userdata\\dyn_tasks.data");
|
||||
//ATaskTemplMan pTaskMan = GetTaskTemplMan();
|
||||
//pTaskMan.Release();
|
||||
//pTaskMan.LoadTasksFromPack("data\\tasks.data", true);
|
||||
//pTaskMan.LoadNPCInfoFromPack("data\\task_npc.data");
|
||||
//pTaskMan.VerifyDynTasksPack("userdata\\dyn_tasks.data");
|
||||
//InitActiveTaskList();
|
||||
|
||||
//m_bForceNavigateFinish = false;
|
||||
|
||||
Reference in New Issue
Block a user