Jump to content

Ximboliex

Community
  • Content Count

    270
  • Joined

  • Last visited

  • Days Won

    6

Ximboliex last won the day on May 10 2023

Ximboliex had the most liked content!

Community Reputation

85 Good

6 Followers

About Ximboliex

  • Rank
    First Mate

Recent Profile Visitors

6,363 profile views
  1. Hola, En el foro de ingles solo se publica en ingles, si publicas en español u otro idioma no seran respondidos ningunos de tus post
  2. Hi Comunity, I have a small problem, I want to add 1 or more rows to a file as they did with stoneinfo.txt in CO files with the RGB column, in this case it would be Characterposeinfo.txt which consists of 7 arguments which are Fists Sword 2H Sword Dual Swords Firegun Bow Dagger My knowledge is not enough that's why I come to ask for help, the file I modified was Characterposet.h This Characterposet.h is a original #pragma once #include "TableData.h" class CPoseInfo : public CRawDataInfo { public: CPoseInfo() { for(int i = 0; i < 7; i++) sRealPoseID[i] = 0; } short sRealPoseID[7]; // 5�ֶ�������, ����, ��������, ˫������, ����..... }; class CPoseSet : public CRawDataSet { public: static CPoseSet* I() { return _Instance; } CPoseSet(int nIDStart, int nIDCnt) : CRawDataSet(nIDStart, nIDCnt) { _Instance = this; _Init(); } protected: static CPoseSet* _Instance; // �൱�ڵ���, ���Լ���ס virtual CRawDataInfo* _CreateRawDataArray(int nCnt) { return new CPoseInfo[nCnt]; } virtual void _DeleteRawDataArray() { delete[](CPoseInfo*) _RawDataArray; } virtual int _GetRawDataInfoSize() { return sizeof(CPoseInfo); } virtual void* _CreateNewRawData(CRawDataInfo* pInfo) { return NULL; } virtual void _DeleteRawData(CRawDataInfo* pInfo) { //SAFE_DELETE(pInfo->pData); } virtual BOOL _ReadRawDataInfo(CRawDataInfo* pRawDataInfo, vector<string>& ParamList) { if(ParamList.size() == 0) return FALSE; CPoseInfo* pInfo = (CPoseInfo*)pRawDataInfo; pInfo->sRealPoseID[0] = (short)Str2Int(ParamList[0]); pInfo->sRealPoseID[1] = (short)Str2Int(ParamList[1]); pInfo->sRealPoseID[2] = (short)Str2Int(ParamList[2]); pInfo->sRealPoseID[3] = (short)Str2Int(ParamList[3]); pInfo->sRealPoseID[4] = (short)Str2Int(ParamList[4]); pInfo->sRealPoseID[5] = (short)Str2Int(ParamList[5]); pInfo->sRealPoseID[6] = (short)Str2Int(ParamList[6]); // LG("poseset", "Read Pose List [%d][%s]\n", pInfo->nID, pInfo->szDataName); return TRUE; } }; inline CPoseInfo* GetPoseInfo(short sPoseID) { return (CPoseInfo*)CPoseSet::I()->GetRawDataInfo(sPoseID); } inline short GetRealPoseID(short sPoseID, short sPoseType) { CPoseInfo* pInfo = GetPoseInfo(sPoseID); return pInfo->sRealPoseID[sPoseType]; } and this Characterposet.h is a edited #pragma once #include "TableData.h" class CPoseInfo : public CRawDataInfo { public: CPoseInfo() { for(int i=0; i<9; i++) sRealPoseID[i] = 0; } short sRealPoseID[9]; // }; class CPoseSet : public CRawDataSet { public: static CPoseSet* I() { return _Instance; } CPoseSet(int nIDStart, int nIDCnt) :CRawDataSet(nIDStart, nIDCnt) { _Instance = this; _Init(); } protected: static CPoseSet* _Instance; // 相当于单键, 把自己记住 virtual CRawDataInfo* _CreateRawDataArray(int nCnt) { return new CPoseInfo[nCnt]; } virtual void _DeleteRawDataArray() { delete[] (CPoseInfo*)_RawDataArray; } virtual int _GetRawDataInfoSize() { return sizeof(CPoseInfo); } virtual void* _CreateNewRawData(CRawDataInfo *pInfo) { return NULL; } virtual void _DeleteRawData(CRawDataInfo *pInfo) { SAFE_DELETE(pInfo->pData); } virtual BOOL _ReadRawDataInfo(CRawDataInfo *pRawDataInfo, vector<string> &ParamList) { if(ParamList.size()==0) return FALSE; CPoseInfo *pInfo = (CPoseInfo*)pRawDataInfo; pInfo->sRealPoseID[0] = (short)Str2Int(ParamList[0]); pInfo->sRealPoseID[1] = (short)Str2Int(ParamList[1]); pInfo->sRealPoseID[2] = (short)Str2Int(ParamList[2]); pInfo->sRealPoseID[3] = (short)Str2Int(ParamList[3]); pInfo->sRealPoseID[4] = (short)Str2Int(ParamList[4]); pInfo->sRealPoseID[5] = (short)Str2Int(ParamList[5]); pInfo->sRealPoseID[6] = (short)Str2Int(ParamList[6]); pInfo->sRealPoseID[7] = (short)Str2Int(ParamList[7]); pInfo->sRealPoseID[8] = (short)Str2Int(ParamList[8]); LG("poseset", "Read Pose List [%d][%s]\n", pInfo->nID, pInfo->szDataName); return TRUE; } }; inline CPoseInfo* GetPoseInfo(short sPoseID) { return (CPoseInfo*)CPoseSet::I()->GetRawDataInfo(sPoseID); } inline short GetRealPoseID(short sPoseID, short sPoseType) { CPoseInfo *pInfo = GetPoseInfo(sPoseID); return pInfo->sRealPoseID[sPoseType]; } but but when I compile it gives me a parameter error when adding another column (parameter) more, What else do I need to modify or is my modification incorrect?
  3. I'll check About group server crash when you try chat in friend chat, some time crash whit send party invitations, i still checking that.
  4. Links broken, please update post @Sharshabel
  5. Have a litle trouble whit guild, When I create the guild it does not register me as a leader and indicates that the guild has no people and when I change the map or relog or switch character the guild disappears as if it had never been created, any help or suggestions? I have resolved everything else, such as the items not showing attributes and fairies, the acc and pr registration in the stats window, etc. @Mdrst
  6. Buen Dia, Eso es por que tu AI esta modificado para que pase , tienes que buscar la en script/ai y revisa y compara con unos Files clean antes de publicar ayuda, si el problema no lo encuentras ahi entonces publica si necesitas ayuda, en la seccion de ingles en Question & Request y te ayudaremos !
  7. Hi, Your need add item in iteminfo.txt in server side, if it were only in the iteminfo.bin the game would disconnect you when getting it
  8. If you want extract gem whit refining gem whit native UI need edit .exe (src) If you have Client Src then looking for "UIPurifyForm.cpp"
  9. i have this error, i dont move anithing, have CO Src
  10. go resourcer/puzzleworld2/ctrl.lua , here you can see where open portal ,remove or edit
  11. Hello good, Does anyone know how you take the staked gems in the Corsair files, i can get whit "GetItemStackSize()" but cant delete the stacked gems, if anyone can help me I would really appreciate it
×
×
  • Create New...