Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[DEVELOPMENT] Current Progress Of DAKCore

Status
Not open for further replies.
Dbo Dev
Joined
Sep 19, 2009
Messages
921
Reaction score
191
Is there a way to get an item and skill id list?
There are .rdf files in the data folder but i don't know how to open them.
read the skill list and dump it (write on file)
example:
Code:
ofstream fout("skill", ios::binary);
	if(fout.is_open())
	{
		CSkillTable* pSkillTbl = g_pTableContainer->GetSkillTable();
		cout << "File Opened successfully!!!. Writing data from array to file" << endl;


		for ( CTable::TABLEIT itSKILLS = pSkillTbl->Begin(); itSKILLS != pSkillTbl->End(); ++itSKILLS )
		{
			sSKILL_TBLDAT* pSKILLTblData = (sSKILL_TBLDAT*) itSKILLS->second;


			fout << "ID: " << (int)pSKILLTblData->tblidx 
				 << " dwNextSkillTblidx: " << (int)pSKILLTblData->dwNextSkillTblidx
				 << " Root_Skill: " << (int)pSKILLTblData->Root_Skill
				 << " bDash_Able: " << (int)pSKILLTblData->bDash_Able
				 << " bDefaultDisplayOff: " << (int)pSKILLTblData->bDefaultDisplayOff
				 << " bKeep_Effect: " << (int)pSKILLTblData->bKeep_Effect
				 << " bDash_AbSelfTrainble: " << (int)pSKILLTblData->bSelfTrain
				 << " bValidity_Able: " << (int)pSKILLTblData->bValidity_Able
				 << " byApply_Area_Size_1: " << (int)pSKILLTblData->byApply_Area_Size_1
				 << " byApply_Area_Size_2: " << (int)pSKILLTblData->byApply_Area_Size_2
				 << " byApply_Range: " << (int)pSKILLTblData->byApply_Range
				 << " byApply_Target: " << (int)pSKILLTblData->byApply_Target
				 << " byApply_Target_Max: " << (int)pSKILLTblData->byApply_Target_Max
				 << " byAppoint_Target: " << (int)pSKILLTblData->byAppoint_Target
				 << " byBuff_Group: " << (int)pSKILLTblData->byBuff_Group
				 << " byPC_Class_Change: " << (int)pSKILLTblData->byPC_Class_Change
				 << " byRequire_Epuip_Slot_Type: " << (int)pSKILLTblData->byRequire_Epuip_Slot_Type
				 << " byRequire_Item_Type: " << (int)pSKILLTblData->byRequire_Item_Type
				 << " byRequire_RP_Ball: " << (int)pSKILLTblData->byRequire_RP_Ball
				 << " byRequire_Train_Level: " << (int)pSKILLTblData->byRequire_Train_Level
				 << " bySkill_Active_Type: " << (int)pSKILLTblData->bySkill_Active_Type
				 << " bySkill_Class: " << (int)pSKILLTblData->bySkill_Class
				 << " bySkill_Grade: " << (int)pSKILLTblData->bySkill_Grade
				 << " bySkill_Type: " << (int)pSKILLTblData->bySkill_Type
				 << " bySlot_Index: " << (int)pSKILLTblData->bySlot_Index
				 << " dwPC_Class_Bit_Flag: " << (int)pSKILLTblData->dwPC_Class_Bit_Flag
				 << " dwRequire_Zenny: " << (int)pSKILLTblData->dwRequire_Zenny
				 << " fSuccess_Rate: " << (float)pSKILLTblData->fSuccess_Rate
				 << " uiRequire_Skill_Tblidx_Max_1: " << (float)pSKILLTblData->uiRequire_Skill_Tblidx_Max_1
				 << " uiRequire_Skill_Tblidx_Max_2: " << (int)pSKILLTblData->uiRequire_Skill_Tblidx_Max_2
				 << " uiRequire_Skill_Tblidx_Min_1: " << (int)pSKILLTblData->uiRequire_Skill_Tblidx_Min_1
				 << " uiRequire_Skill_Tblidx_Min_2: " << (int)pSKILLTblData->uiRequire_Skill_Tblidx_Min_2
				 << " wAction_Animation_Index: " << (int)pSKILLTblData->wAction_Animation_Index
				 << " wAction_End_Animation_Index: " << (int)pSKILLTblData->wAction_End_Animation_Index
				 << " wAction_Loop_Animation_Index: " << (int)pSKILLTblData->wAction_Loop_Animation_Index
				 << " wAdditional_Aggro_Point: " << (int)pSKILLTblData->wAdditional_Aggro_Point
				 << " wCasting_Animation_Loop: " << (int)pSKILLTblData->wCasting_Animation_Loop
				 << " wCasting_Animation_Start: " << (int)pSKILLTblData->wCasting_Animation_Start
				 << " wCool_Time: " << (int)pSKILLTblData->wCool_Time
				 << " wFunction_Bit_Flag: " << (int)pSKILLTblData->wFunction_Bit_Flag
				 << " wKeep_Time: " << (int)pSKILLTblData->wKeep_Time
				 << " wNext_Skill_Train_Exp: " << (int)pSKILLTblData->wNext_Skill_Train_Exp
				 << " wRequireSP: " << (int)pSKILLTblData->wRequireSP
				 << " wRequire_EP: " << (int)pSKILLTblData->wRequire_EP
				 << " wRequire_LP: " << (int)pSKILLTblData->wRequire_LP


			<<endl;


		}


	}
 
Newbie Spellweaver
Joined
Jun 9, 2014
Messages
48
Reaction score
8
Doesn`t compile gameserver since lastest update:
14>e:\dbo\akcore-master\server\gameserver\playerinfos.h(83): error C2864: 'PlayerInfos::isSitted' : only static const integral data members can be initialized within a class
 
Status
Not open for further replies.
Back
Top