Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 14.05.2006, 00:58   #1
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default what's this? :o

//
// FUNCTION: InitInstance(HANDLE, int)
//
// PURPOSE: Saves instance handle and creates main window
//
// COMMENTS:
//
// In this function, we save the instance handle in a global variable and
// create and display the main program window.
//

CHTMLCache g_HTMLCache;

void LoadData(void)
{
guard(void LoadData(void));




Log.Add(LOG_NORMAL, "Start Loading Server Data");

// GeoData
Log.Add(LOG_NORMAL, "Loading GeoData");
g_World.GetGeo()->Load();
// Log.Add(LOG_NORMAL, "Loading GeoData Finished");


// PCH
Log.Add(LOG_NORMAL, "Loading precompiled IDs");
g_PrecompiledHeaderDB.Load(L"..\\script\\", 0);
// Log.Add(LOG_NORMAL, "Loading precompiled IDs finished");

// PC Parameter
Log.Add(LOG_NORMAL, "Loading PC_Parameter");
g_PCParamDB.Load();
// Log.Add(LOG_NORMAL, "Loading PC_Parameter finished");


// Skill
Log.Add(LOG_NORMAL, "Loading SkillData");
g_SkillDB.Load();
// Log.Add(LOG_NORMAL, "Loading SkillData finished");

// Item (skill)
Log.Add(LOG_NORMAL, "Loading items");
g_ObjectDB.LoadItem();
// Log.Add(LOG_NORMAL, "Loading items finished");

// SkillAcquire (skill, item)
Log.Add(LOG_NORMAL, "Loading SkillAcquire");
g_SkillAcquireDB.Load();
// Log.Add(LOG_NORMAL, "Loading SkillAcquire finished");
/*
std::xvector<SkillAcquireInfo*> testvect;

int ct;
int i;
for (ct = CT_FIGHTER; ct<=CT_WARSMITH; ct++)
{
testvect = g_SkillAcquireDB.GetAcquirableSkills((ClassType)ct );
Log.Add(LOG_NORMAL, L"--- skill of [%d]", ct);
for (i=0; i<testvect.size(); i++)
{
Log.Add(LOG_NORMAL, "[%d : %d]", testvect->nSkillID, testvect->nSkillLevel);
}
}
Digital is offline  
Old 14.05.2006, 01:21   #2
RipperX
Архивный участник
 
Join Date: Dec 2005
Posts: 242
Default

Tell me where did u get and maybe i can tell u what is it.
RipperX is offline  
Old 14.05.2006, 01:39   #3
Roton
Архивный участник
 
Join Date: Apr 2006
Posts: 69
Default

Looks almost like the initialization logging process for L2J or someone's custom-written one. >.>
Roton is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:16.