Re: Dragonball Online Release Source
than I don't know
did you change much in your client?
Re: Dragonball Online Release Source
What do i do with the Authserver? cause ive got VS 2010 Running could someone direct me from their?
Re: Dragonball Online Release Source
Nothing.. Only the packet encryption changed to NONE
And LOAD_DATA_MODE from DATA_MODE_BIN to DATA_MODE_ENC because with BIN always client crash.
Re: Dragonball Online Release Source
@Daneos
you could also try
strcpy_s((char*)&sPacket.AuthKey, MAX_AUTHKEY_SIZE, "Dbooooo");
Re: Dragonball Online Release Source
Doesnt work. Looks like I have to wait till @snaity release new version of his server files
Re: Dragonball Online Release Source
I also don't get the authkey at my character server
I recieve the same bytes nomather what I send 0 0 136 162 130 1 162 162 130 1 17 0
Re: Dragonball Online Release Source
but thats weird.. Maybe the UC_LOGIN_REQ dont need username server id and auth key? but thats weird.
Re: Dragonball Online Release Source
Quote:
Originally Posted by
xDarKyx
Seems like most of the errors disappeard and those are left:
Code:
Error 473 error LNK2019: unresolved external symbol _RwFreeListCreate referenced in function __rpMeshOpen rpworld.lib
Error 474 error LNK2001: unresolved external symbol _RwFreeListCreate rpworld.lib
Error 475 error LNK2001: unresolved external symbol _RwFreeListCreate rpworld.lib
Error 476 error LNK2001: unresolved external symbol _RwFreeListCreate rtimport.lib
Error 477 error LNK2001: unresolved external symbol _RtQuatConvertToMatrix ntlsimulation.lib
Error 478 error LNK2001: unresolved external symbol _RtQuatConvertToMatrix ntlsimulation.lib
Error 479 error LNK2019: unresolved external symbol _RtQuatConvertToMatrix referenced in function "public: static void __cdecl CNtlMath::MathGetRotationMatrix(struct RwMatrixTag *,struct RwV3d const *,struct RwV3d const *)" (?MathGetRotationMatrix@CNtlMath@@SAXPAURwMatrixTag@@PBURwV3d@@1@Z) ntlcore.lib
Error 480 error LNK2001: unresolved external symbol _RtQuatConvertToMatrix ntlpresentation.lib
Error 481 error LNK2001: unresolved external symbol _RtQuatConvertToMatrix ntlpresentation.lib
Error 482 error LNK2001: unresolved external symbol _RtQuatConvertToMatrix ntlsimulation.lib
Error 483 error LNK2019: unresolved external symbol "public: static void * __stdcall GMemory::DebugAlloc(unsigned int,int,char const *,int,char const *)" (?DebugAlloc@GMemory@@SGPAXIHPBDH0@Z) referenced in function "public: static void * __cdecl GRefCountBaseImpl::operator new(unsigned int)" (??2GRefCountBaseImpl@@SAPAXI@Z) ntlflasher.lib
Error 484 error LNK2001: unresolved external symbol "public: static void * __stdcall GMemory::DebugAlloc(unsigned int,int,char const *,int,char const *)" (?DebugAlloc@GMemory@@SGPAXIHPBDH0@Z) ntlflasher.lib
Error 485 error LNK2019: unresolved external symbol "public: static void __stdcall GMemory::DebugFree(void *,int,char const *,int,char const *)" (?DebugFree@GMemory@@SGXPAXHPBDH1@Z) referenced in function "public: static void __cdecl GRefCountBaseImpl::operator delete(void *)" (??3GRefCountBaseImpl@@SAXPAX@Z) ntlflasher.lib
Error 486 error LNK2001: unresolved external symbol "public: static void __stdcall GMemory::DebugFree(void *,int,char const *,int,char const *)" (?DebugFree@GMemory@@SGXPAXHPBDH1@Z) ntlflasher.lib
Error 487 error LNK2001: unresolved external symbol _GFx_Compile_without_GFC_BUILD_DEBUG ntlflasher.lib
Error 488 error LNK2001: unresolved external symbol _GFx_Compile_without_GFC_BUILD_DEBUG ntlflasher.lib
Error 489 error LNK2019: unresolved external symbol _RpHAnimHierarchySetFlags referenced in function "protected: int __thiscall CNtlPLCharacter::CreateAnim(unsigned int,float,int)" (?CreateAnim@CNtlPLCharacter@@IAEHIMH@Z) ntlpresentation.lib
Error 490 error LNK2001: unresolved external symbol _RpHAnimHierarchySetFlags ntlpresentation.lib
Error 491 error LNK2001: unresolved external symbol _RpHAnimHierarchySetFlags ntlpresentation.lib
Error 492 error LNK2019: unresolved external symbol _RpHAnimHierarchyGetFlags referenced in function "protected: int __thiscall CNtlPLCharacter::CreateAnim(unsigned int,float,int)" (?CreateAnim@CNtlPLCharacter@@IAEHIMH@Z) ntlpresentation.lib
Error 493 error LNK2001: unresolved external symbol _RpHAnimHierarchyGetFlags ntlpresentation.lib
Error 494 error LNK2001: unresolved external symbol _RpHAnimHierarchyGetFlags ntlpresentation.lib
Error 495 error LNK2001: unresolved external symbol _RpHAnimHierarchyGetFlags ntlpresentation.lib
Error 496 error LNK2001: unresolved external symbol _RpHAnimHierarchySetCurrentAnim ntlpresentation.lib
Error 497 error LNK2001: unresolved external symbol _RpHAnimHierarchySetCurrentAnim ntlpresentation.lib
Error 498 error LNK2019: unresolved external symbol _RpHAnimHierarchySetCurrentAnim referenced in function "protected: int __thiscall CNtlPLCharacter::CreateAnim(unsigned int,float,int)" (?CreateAnim@CNtlPLCharacter@@IAEHIMH@Z) ntlpresentation.lib
Error 499 error LNK2001: unresolved external symbol _RpHAnimHierarchySetCurrentAnim ntlpresentation.lib
Error 500 error LNK2001: unresolved external symbol _RpHAnimHierarchySetCurrentAnim ntlpresentation.lib
Error 501 error LNK2001: unresolved external symbol _RpHAnimHierarchySetCurrentAnim ntlpresentation.lib
Error 502 error LNK2019: unresolved external symbol _RpHAnimHierarchyBlend referenced in function "public: int __thiscall CNtlAnimLayer::Update(float)" (?Update@CNtlAnimLayer@@QAEHM@Z) ntlpresentation.lib
Error 503 error LNK2019: unresolved external symbol _RpHAnimHierarchyCopy referenced in function "public: int __thiscall CNtlAnimLayer::Update(float)" (?Update@CNtlAnimLayer@@QAEHM@Z) ntlpresentation.lib
Error 504 error LNK2019: unresolved external symbol _RpHAnimHierarchySetCurrentAnimTime referenced in function "public: int __thiscall CNtlAnimLayer::Update(float)" (?Update@CNtlAnimLayer@@QAEHM@Z) ntlpresentation.lib
Error 505 error LNK2001: unresolved external symbol _RpHAnimHierarchySetCurrentAnimTime ntlpresentation.lib
Error 506 error LNK2019: unresolved external symbol _RpHAnimHierarchyAddAnimTime referenced in function "public: virtual int __thiscall CNtlPLObject::Update(float)" (?Update@CNtlPLObject@@UAEHM@Z) ntlpresentation.lib
Error 507 error LNK2001: unresolved external symbol _RpHAnimHierarchyAddAnimTime ntlpresentation.lib
Error 508 error LNK2001: unresolved external symbol _RpHAnimHierarchyAddAnimTime ntlpresentation.lib
Error 509 error LNK2019: unresolved external symbol _RpPTankAtomicSetTexture referenced in function "public: virtual void __thiscall CNtlInstanceParticleSystem::Delete(void)" (?Delete@CNtlInstanceParticleSystem@@UAEXXZ) ntlpresentation.lib
Error 510 error LNK2001: unresolved external symbol _RpPTankAtomicSetTexture ntlpresentation.lib
Error 511 error LNK2019: unresolved external symbol _RpPTankAtomicSetBlendModes referenced in function "public: virtual int __thiscall CNtlInstanceParticleSystem::Render(void)" (?Render@CNtlInstanceParticleSystem@@UAEHXZ) ntlpresentation.lib
Error 512 error LNK2001: unresolved external symbol _RpPTankAtomicSetBlendModes ntlpresentation.lib
Error 513 error LNK2019: unresolved external symbol _RpPTankAtomicSetVertexAlpha referenced in function "public: virtual int __thiscall CNtlInstanceParticleSystem::Render(void)" (?Render@CNtlInstanceParticleSystem@@UAEHXZ) ntlpresentation.lib
Error 514 error LNK2001: unresolved external symbol _RpPTankAtomicSetVertexAlpha ntlpresentation.lib
Error 515 error LNK2019: unresolved external symbol _RpPTankAtomicGetActiveParticlesCount referenced in function "public: virtual int __thiscall CNtlPLWeatherControllerPTank::GetCountRender(void)" (?GetCountRender@CNtlPLWeatherControllerPTank@@UAEHXZ) ntlpresentation.lib
Error 516 error LNK2019: unresolved external symbol _RpPTankAtomicSetConstantColor referenced in function "public: virtual int __thiscall CNtlPLWeatherControllerPTank::Create(class CNtlPLWeatherProperty *,struct SPLWeatherEmitter *)" (?Create@CNtlPLWeatherControllerPTank@@UAEHPAVCNtlPLWeatherProperty@@PAUSPLWeatherEmitter@@@Z) ntlpresentation.lib
Error 517 error LNK2019: unresolved external symbol _RpPTankAtomicSetConstantSize referenced in function "public: virtual int __thiscall CNtlPLWeatherControllerPTank::Create(class CNtlPLWeatherProperty *,struct SPLWeatherEmitter *)" (?Create@CNtlPLWeatherControllerPTank@@UAEHPAVCNtlPLWeatherProperty@@PAUSPLWeatherEmitter@@@Z) ntlpresentation.lib
Error 518 error LNK2019: unresolved external symbol _RpPTankAtomicSetConstantVtx2TexCoords referenced in function "public: virtual int __thiscall CNtlPLWeatherControllerPTank::Create(class CNtlPLWeatherProperty *,struct SPLWeatherEmitter *)" (?Create@CNtlPLWeatherControllerPTank@@UAEHPAVCNtlPLWeatherProperty@@PAUSPLWeatherEmitter@@@Z) ntlpresentation.lib
Error 519 error LNK2019: unresolved external symbol _RpPTankAtomicSetActiveParticlesCount referenced in function "public: virtual int __thiscall CNtlPLWeatherControllerPTank::Create(class CNtlPLWeatherProperty *,struct SPLWeatherEmitter *)" (?Create@CNtlPLWeatherControllerPTank@@UAEHPAVCNtlPLWeatherProperty@@PAUSPLWeatherEmitter@@@Z) ntlpresentation.lib
Error 520 error LNK2019: unresolved external symbol "public: __thiscall CNtlUnzip::CNtlUnzip(char const *)" (??0CNtlUnzip@@QAE@PBD@Z) referenced in function "public: virtual bool __thiscall CDboTSCMain::Create(void)" (?Create@CDboTSCMain@@UAE_NXZ) ntlsimulation.lib
Error 521 error LNK2001: unresolved external symbol "public: __thiscall CNtlUnzip::CNtlUnzip(char const *)" (??0CNtlUnzip@@QAE@PBD@Z) dbotrigger.lib
Error 522 error LNK2019: unresolved external symbol "public: bool __thiscall CNtlUnzip::GotoNextFile(char const *)" (?GotoNextFile@CNtlUnzip@@QAE_NPBD@Z) referenced in function "protected: bool __thiscall CDboTSCMain::LoadEventMapperFromFile(void)" (?LoadEventMapperFromFile@CDboTSCMain@@IAE_NXZ) ntlsimulation.lib
Error 523 error LNK2001: unresolved external symbol "public: bool __thiscall CNtlUnzip::GotoNextFile(char const *)" (?GotoNextFile@CNtlUnzip@@QAE_NPBD@Z) dbotrigger.lib
Error 524 error LNK2019: unresolved external symbol "public: bool __thiscall CNtlUnzip::ReadFileData(char *,int)" (?ReadFileData@CNtlUnzip@@QAE_NPADH@Z) referenced in function "protected: bool __thiscall CDboTSCMain::LoadEventMapperFromFile(void)" (?LoadEventMapperFromFile@CDboTSCMain@@IAE_NXZ) ntlsimulation.lib
Error 525 error LNK2001: unresolved external symbol "public: bool __thiscall CNtlUnzip::ReadFileData(char *,int)" (?ReadFileData@CNtlUnzip@@QAE_NPADH@Z) dbotrigger.lib
Error 526 error LNK2019: unresolved external symbol "public: bool __thiscall CNtlUnzip::GetFileInfo(struct sUZ_FILEINFO &)" (?GetFileInfo@CNtlUnzip@@QAE_NAAUsUZ_FILEINFO@@@Z) referenced in function "protected: bool __thiscall CDboTSCMain::LoadEventMapperFromFile(void)" (?LoadEventMapperFromFile@CDboTSCMain@@IAE_NXZ) ntlsimulation.lib
Error 527 error LNK2001: unresolved external symbol "public: bool __thiscall CNtlUnzip::GetFileInfo(struct sUZ_FILEINFO &)" (?GetFileInfo@CNtlUnzip@@QAE_NAAUsUZ_FILEINFO@@@Z) dbotrigger.lib
Error 528 error LNK2019: unresolved external symbol "public: bool __thiscall CNtlUnzip::GotoFirstFile(char const *)" (?GotoFirstFile@CNtlUnzip@@QAE_NPBD@Z) referenced in function "protected: bool __thiscall CDboTSCMain::LoadEventMapperFromFile(void)" (?LoadEventMapperFromFile@CDboTSCMain@@IAE_NXZ) ntlsimulation.lib
Error 529 error LNK2001: unresolved external symbol "public: bool __thiscall CNtlUnzip::GotoFirstFile(char const *)" (?GotoFirstFile@CNtlUnzip@@QAE_NPBD@Z) dbotrigger.lib
Error 530 error LNK2019: unresolved external symbol "public: virtual __thiscall CNtlUnzip::~CNtlUnzip(void)" (??1CNtlUnzip@@UAE@XZ) referenced in function "protected: bool __thiscall CDboTSCMain::LoadEventMapperFromFile(void)" (?LoadEventMapperFromFile@CDboTSCMain@@IAE_NXZ) ntlsimulation.lib
Error 531 error LNK2001: unresolved external symbol "public: virtual __thiscall CNtlUnzip::~CNtlUnzip(void)" (??1CNtlUnzip@@UAE@XZ) dbotrigger.lib
Error 532 error LNK2019: unresolved external symbol "public: bool __thiscall CNtlUnzip::OpenZip(char const *,char const *,int)" (?OpenZip@CNtlUnzip@@QAE_NPBD0H@Z) referenced in function "protected: bool __thiscall CDboTSCMain::LoadEventMapperFromFile(void)" (?LoadEventMapperFromFile@CDboTSCMain@@IAE_NXZ) ntlsimulation.lib
Error 533 error LNK2001: unresolved external symbol "public: bool __thiscall CNtlUnzip::OpenZip(char const *,char const *,int)" (?OpenZip@CNtlUnzip@@QAE_NPBD0H@Z) dbotrigger.lib
Error 534 error LNK2019: unresolved external symbol "public: bool __thiscall CNtlUnzip::OpenZip(char const *)" (?OpenZip@CNtlUnzip@@QAE_NPBD@Z) referenced in function "protected: bool __thiscall CDboTSMain::LoadTSZip(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::map<unsigned short,class CNtlTSTrigger *,struct std::less<unsigned short>,class std::allocator<struct std::pair<unsigned short const ,class CNtlTSTrigger *> > > &)" (?LoadTSZip@CDboTSMain@@IAE_NV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAV?$map@GPAVCNtlTSTrigger@@U?$less@G@std@@V?$allocator@U?$pair@$$CBGPAVCNtlTSTrigger@@@std@@@3@@3@@Z) dbotrigger.lib
Error 535 error LNK2019: unresolved external symbol "public: bool __thiscall CNtlUnzip::GotoFile(char const *,bool)" (?GotoFile@CNtlUnzip@@QAE_NPBD_N@Z) referenced in function "protected: bool __thiscall CDboTSMain::LoadTriggerObjectFromUnZip(unsigned short,class CNtlUnzip *,class std::map<unsigned short,class CNtlTSTrigger *,struct std::less<unsigned short>,class std::allocator<struct std::pair<unsigned short const ,class CNtlTSTrigger *> > > &)" (?LoadTriggerObjectFromUnZip@CDboTSMain@@IAE_NGPAVCNtlUnzip@@AAV?$map@GPAVCNtlTSTrigger@@U?$less@G@std@@V?$allocator@U?$pair@$$CBGPAVCNtlTSTrigger@@@std@@@3@@std@@@Z) dbotrigger.lib
Error 536 fatal error LNK1120: 29 unresolved externals Debug\DBO.exe
I switched to VS 2010 and now all the errors seem to be gone , but I can't compile the zlib project.
Code:
Error 4 error LNK1123: failure during conversion to COFF: file invalid or corrupt C:\Users\DarKy\Documents\Visual Studio 2010\Projects\dbo\source\NtlLib\Shared\Zip\zlib123\projects\visualdotnet2005\Debug4ClientLocalizeDev\zlib1.res 1 1 zlib
Re: Dragonball Online Release Source
How about you read the error?
failure during conversion to COFF: file invalid or corrupt
@Arnie36 do you know which packets are used after UC_CHARACTER_LOAD_REQ
Re: Dragonball Online Release Source
only sCU_CHARACTER_INFO until the user clicks the start button
Re: Dragonball Online Release Source
Hmm then I dont know what else I could do, to be able to go on the character window.
I always get black screen and disconnected after I click the log in button
Re: Dragonball Online Release Source
This thread sure has alot of seo users.. good job MentaL
Re: Dragonball Online Release Source
daneos maybe the sql is out of wack.. some games don't use that type of sql format. take like flyff there sql is different ..
Re: Dragonball Online Release Source
Here is charserver.cpp
Code:
void CharServer::PacketControl(CharClient* client, unsigned char* pData)
{
int opcode = *(unsigned short*)&pData[4];
switch (opcode)
{
case 1:
{
sUC_LOGIN_REQ* aReq = (sUC_LOGIN_REQ*)pData;
sCU_LOGIN_RES sPacket;
memset(&sPacket, 0, sizeof(sCU_LOGIN_RES));
printf("--- LOGIN CHAR SERVER REQUEST --- \n");
sPacket.OpCode = CU_LOGIN_RES;
sPacket.ResultCode = 200;
sPacket.lastServerFarmId = 0;
sPacket.RaceAllowedFlag = 0;
sPacket.Size = sizeof(sPacket);
sPacket.Count = client->SendCount;
sPacket.Hash = 0;
client->Send((unsigned char*)&sPacket, sPacket.Size);
}
break;
case UC_CHARACTER_SERVERLIST_ONE_REQ:
{
sCU_SERVER_FARM_INFO sPackeFarmInfo;
printf("--- LOAD SERVER FARM INFO --- \n");
sPackeFarmInfo.OpCode = CU_SERVER_FARM_INFO;
sPackeFarmInfo.serverFarmInfo.serverFarmId = 0;
wcscpy_s(sPackeFarmInfo.serverFarmInfo.GameServerFarmName, MAX_SIZE_SERVER_FARM_NAME, L"TESTNAME");
sPackeFarmInfo.Size = sizeof(sPackeFarmInfo);
sPackeFarmInfo.Count = client->SendCount;
sPackeFarmInfo.Hash = 0;
client->Send((unsigned char*)&sPackeFarmInfo, sPackeFarmInfo.Size);
sCU_CHARACTER_SERVERLIST_ONE_RES sPacket;
memset(&sPacket, 0, sizeof(sCU_CHARACTER_SERVERLIST_ONE_RES));
printf("--- LOAD SERVER LIST ONE --- \n");
sPacket.OpCode = CU_CHARACTER_SERVERLIST_ONE_RES;
sPacket.ResultCode = 200;
sPacket.Size = sizeof(sPacket);
sPacket.Count = client->SendCount;
sPacket.Hash = 0;
client->Send((unsigned char*)&sPacket, sPacket.Size);
sCU_SERVER_CHANNEL_INFO sPacketChannel;
memset(&sPacket, 0, sizeof(sCU_CHARACTER_SERVERLIST_ONE_RES));
printf("--- LOAD SERVER CHANNEL --- \n");
sPacketChannel.OpCode = CU_SERVER_CHANNEL_INFO;
sPacketChannel.byCount = 1;
sPacketChannel.serverChannelInfo[0].serverFarmId = 0;
sPacketChannel.serverChannelInfo[0].byServerChannelIndex = 0;
sPacketChannel.Size = sizeof(sPacketChannel);
sPacketChannel.Count = client->SendCount;
sPacketChannel.Hash = 0;
client->Send((unsigned char*)&sPacketChannel, sPacketChannel.Size);
}
break;
case UC_CHARACTER_SERVERLIST_REQ:
{
sCU_CHARACTER_SERVERLIST_RES sPacket;
memset(&sPacket, 0, sizeof(sCU_CHARACTER_SERVERLIST_RES));
printf("--- LOAD SERVER LIST --- \n");
sPacket.OpCode = CU_CHARACTER_SERVERLIST_RES;
sPacket.ResultCode = 201;
sPacket.Size = sizeof(sPacket);
sPacket.Count = client->SendCount;
sPacket.Hash = 0;
client->Send((unsigned char*)&sPacket, sPacket.Size);
}
break;
case UC_CHARACTER_LOAD_REQ:
{
sCU_CHARACTER_INFO sPacketCharInfo;
memset(&sPacketCharInfo, 0, sizeof(sCU_CHARACTER_INFO));
printf("--- LOAD CHARACTERS --- \n");
sPacketCharInfo.OpCode = CU_CHARACTER_INFO;
// sPacketCharInfo.DelData[MAX_COUNT_USER_CHAR_SLOT];
sPacketCharInfo.byCount = 0;
// sPacketCharInfo.PcData[MAX_COUNT_USER_CHAR_SLOT];
sPacketCharInfo.Size = sizeof(sPacketCharInfo);
sPacketCharInfo.Count = client->SendCount;
sPacketCharInfo.Hash = 0;
client->Send((unsigned char*)&sPacketCharInfo, sPacketCharInfo.Size);
sUC_CHARACTER_LOAD_REQ* dReq = (sUC_CHARACTER_LOAD_REQ*)pData;
sCU_CHARACTER_LOAD_RES sPacket;
memset(&sPacket, 0, sizeof(sCU_CHARACTER_LOAD_RES));
printf("--- LOAD CHARACER REQUEST ---\n Account ID: %d Server ID %d \n", dReq->AccountID, dReq->serverFarmId);
sPacket.OpCode = CU_CHARACTER_LOAD_RES;
sPacket.ResultCode = 207;
sPacket.Size = sizeof(sPacket);
sPacket.Count = client->SendCount;
sPacket.Hash = 0;
client->Send((unsigned char*)&sPacket, sPacket.Size);
}
break;
default:
printf("opcode %i recieved \n", opcode);
break;
}
}
charserver.h
Code:
#ifndef _CHARPROTOCOL_H
#define _CHARPROTOCOL_H
#include "Packet.h"
#include "Cons.h"
enum eOpcode
{
UC_LOGIN_REQ = 2000,
UC_CHARACTER_SERVERLIST_REQ,
UC_CHARACTER_SERVERLIST_ONE_REQ,
UC_CHARACTER_ADD_REQ,
UC_CHARACTER_DEL_REQ,
UC_CHARACTER_SELECT_REQ,
UC_CHARACTER_EXIT_REQ,
UC_CHARACTER_LOAD_REQ,
UC_CHARACTER_DEL_CANCEL_REQ,
UC_CONNECT_WAIT_CHECK_REQ,
UC_CONNECT_WAIT_CANCEL_REQ,
UC_CHARACTER_RENAME_REQ,
CU_HEARTBEAT = 3000,
CU_SERVER_FARM_INFO,
CU_SERVER_CHANNEL_INFO,
CU_LOGIN_RES,
CU_CHARACTER_SERVERLIST_RES,
CU_CHARACTER_SERVERLIST_ONE_RES,
CU_CHARACTER_ADD_RES,
CU_CHARACTER_DEL_RES,
CU_CHARACTER_SELECT_RES,
CU_CHARACTER_INFO,
CU_CHARACTER_LOAD_RES,
CU_CHARACTER_EXIT_RES,
CU_CHARACTER_DEL_CANCEL_RES,
CU_DISCONNECTED_NFY,
CU_SERVER_FARM_INFO_REFRESHED_NFY,
CU_SERVER_CHANNEL_INFO_REFRESHED_NFY,
CU_CONNECT_WAIT_CHECK_RES,
CU_CONNECT_WAIT_COUNT_NFY,
CU_CONNECT_WAIT_CANCEL_RES,
CU_CONNECT_WAIT_CANCEL_NFY,
CU_NETMARBLEMEMBERIP_NFY,
CU_CHARACTER_DEL_NFY,
CU_CHARACTER_RENAME_RES,
};
struct CHARINFSTRUCT
{
CHARACTERID CharID;
DWORD PastTick;
};
struct sPC_SUMMARY
{
CHARACTERID CharID;
WCHAR CharName[MAX_SIZE_CHAR_NAME + 1];
BYTE Race;
BYTE Class;
bool IsAdult;
BYTE Gender;
BYTE Face;
BYTE Hair;
BYTE HairColor;
BYTE SkinColor;
BYTE Level;
TBLIDX worldTblidx; // world table index
WORLDID worldId;
float fPositionX;
float fPositionY;
float fPositionZ;
DWORD Money;
DWORD MoneyBank;
// sITEM_SUMMARY Item[EQUIP_SLOT_TYPE_COUNT];
DWORD MapInfoIndex;
bool TutorialFlag;
// sMARKING Marking;
bool NeedNameChange;
// sDBO_DOGI_DATA Dogi;
};
struct DBO_GAME_SERVER_FARM_INFO
{
SERVERFARMID serverFarmId;
WCHAR GameServerFarmName[MAX_SIZE_SERVER_FARM_NAME + 1];
};
struct GAME_SERVER_CHANNEL_INFO
{
SERVERFARMID serverFarmId;
BYTE byServerChannelIndex;
bool bIsVisible;
};
#pragma pack(push, 1)
BEGIN_PACKET(CU_HEARTBEAT)
END_PACKET()
BEGIN_PACKET(CU_SERVER_FARM_INFO)
DBO_GAME_SERVER_FARM_INFO serverFarmInfo;
END_PACKET()
BEGIN_PACKET(CU_SERVER_CHANNEL_INFO)
BYTE byCount;
GAME_SERVER_CHANNEL_INFO serverChannelInfo[MAX_SERVER_CHANNEL_COUNT_IN_SERVER_FARM];
END_PACKET()
BEGIN_PACKET(UC_LOGIN_REQ)
ACCOUNTID AccountID;
BYTE AuthKey[MAX_AUTHKEY_SIZE];
SERVERFARMID ServerFarmID;
END_PACKET()
BEGIN_PACKET(CU_LOGIN_RES)
WORD ResultCode;
SERVERFARMID lastServerFarmId;
DWORD RaceAllowedFlag;
END_PACKET()
BEGIN_PACKET(UC_CHARACTER_SERVERLIST_REQ)
END_PACKET()
BEGIN_PACKET(UC_CHARACTER_SERVERLIST_ONE_REQ)
END_PACKET()
BEGIN_PACKET(CU_CHARACTER_SERVERLIST_RES)
WORD ResultCode;
END_PACKET()
BEGIN_PACKET(CU_CHARACTER_SERVERLIST_ONE_RES)
WORD ResultCode;
END_PACKET()
BEGIN_PACKET(UC_CHARACTER_ADD_REQ)
WCHAR CharName[MAX_SIZE_CHAR_NAME + 1];
DWORD CodePage;
BYTE Race;
BYTE Class;
BYTE Gender;
BYTE Face;
BYTE Hair;
BYTE HairColor;
BYTE SkinColor;
BYTE Blood;
END_PACKET()
BEGIN_PACKET(CU_CHARACTER_ADD_RES)
WORD ResultCode;
sPC_SUMMARY PcDataSummary; /*sPC_SUMMARY*/
END_PACKET()
BEGIN_PACKET(UC_CHARACTER_DEL_REQ)
CHARACTERID CharID;
END_PACKET()
BEGIN_PACKET(CU_CHARACTER_DEL_RES)
WORD ResultCode;
CHARACTERID CharID;
END_PACKET()
BEGIN_PACKET(UC_CHARACTER_SELECT_REQ)
CHARACTERID CharID;
BYTE ServerChannelIndex;
END_PACKET()
BEGIN_PACKET(CU_CHARACTER_SELECT_RES)
WORD ResultCode;
CHARACTERID CharID;
BYTE AuthKey[MAX_AUTHKEY_SIZE];
char GameServerIP[MAX_LENGTH_OF_IP + 1];
WORD GameServerPortForClient;
END_PACKET()
BEGIN_PACKET(CU_CHARACTER_INFO)
CHARINFSTRUCT DelData[MAX_COUNT_USER_CHAR_SLOT];
BYTE byCount;
sPC_SUMMARY PcData[MAX_COUNT_USER_CHAR_SLOT];
END_PACKET()
BEGIN_PACKET(UC_CHARACTER_LOAD_REQ)
ACCOUNTID AccountID;
SERVERFARMID serverFarmId;
END_PACKET()
BEGIN_PACKET(CU_CHARACTER_LOAD_RES)
WORD ResultCode;
END_PACKET()
BEGIN_PACKET(UC_CHARACTER_EXIT_REQ)
bool IsGameMove;
END_PACKET()
BEGIN_PACKET(CU_CHARACTER_EXIT_RES)
WORD ResultCode;
END_PACKET()
BEGIN_PACKET(UC_CHARACTER_DEL_CANCEL_REQ)
ACCOUNTID AccountID;
CHARACTERID CharID;
SERVERFARMID serverFarmId; /*SERVERFARMID*/
END_PACKET()
BEGIN_PACKET(CU_CHARACTER_DEL_CANCEL_RES)
WORD ResultCode;
CHARACTERID CharID; /*CHARACTERID*/
END_PACKET()
BEGIN_PACKET(CU_DISCONNECTED_NFY)
WORD ResultCode;
END_PACKET()
BEGIN_PACKET(CU_SERVER_FARM_INFO_REFRESHED_NFY)
SERVERFARMID ServerID;
BYTE ServerStatus;
DWORD MaxLoad;
DWORD Load;
END_PACKET()
BEGIN_PACKET(CU_SERVER_CHANNEL_INFO_REFRESHED_NFY)
BYTE serverChannelInfo;
END_PACKET()
BEGIN_PACKET(UC_CONNECT_WAIT_CHECK_REQ)
BYTE ServerChannelIndex;
END_PACKET()
BEGIN_PACKET(CU_CONNECT_WAIT_CHECK_RES)
WORD ResultCode;
END_PACKET()
BEGIN_PACKET(CU_CONNECT_WAIT_COUNT_NFY)
DWORD CountWaiting;
END_PACKET()
BEGIN_PACKET(UC_CONNECT_WAIT_CANCEL_REQ)
BYTE ServerChannelIndex;
END_PACKET()
BEGIN_PACKET(CU_CONNECT_WAIT_CANCEL_RES)
WORD ResultCode;
END_PACKET()
BEGIN_PACKET(CU_CONNECT_WAIT_CANCEL_NFY)
BYTE ServerType;
END_PACKET()
BEGIN_PACKET(CU_CHARACTER_DEL_NFY)
CHARACTERID CharID; /*CHARACTERID*/
END_PACKET()
BEGIN_PACKET(UC_CHARACTER_RENAME_REQ)
CHARACTERID CharID; /*CHARACTERID*/
DWORD CodePage;
WCHAR CharName[MAX_SIZE_CHAR_NAME + 1];
END_PACKET()
BEGIN_PACKET(CU_CHARACTER_RENAME_RES)
CHARACTERID CharID; /*CHARACTERID*/
WORD ResultCode;
END_PACKET()
#pragma pack(pop)
#endif
Maybe anyone can need it.. Its almost same like on the dbo virtual server..
Re: Dragonball Online Release Source
Do it to the same way of DboVirtualServer, did you try? I can't help you because i don't have VS 13 i don't want to download, but i'm pretty sure is the same think