让Mangos 支持 1.12.3 修正方法
**********
DBCfmt.cpp
**********
// const char AreaTableEntryfmt[]="ixinxxxxxxixxxxxxxxxx";
const char AreaTableEntryfmt[]="ixinxxxxxxixxxxxxxxxxxxxx"; // 1.12.3 new structure
[...]
// const char ItemSetEntryfmt[]=& quot;dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxiiiiiiiii
iiiiiiiii";
const char ItemSetEntryfmt[]="dxxxxxxxxxxxxxxxxxxxxxxxxxxiiiiiiiiiiiiiiiiii"; // 1.12.3 new structure
***************
WorldSocket.cpp
***************
//Create Addon Packet
// sAddOnHandler.BuildAddonPacket(&recvPacket, &SendAddonPacked, recvPacket.rpos());
SendAddonPacked.Initialize(SMSG_ADDON_INFO); // fix banned addon
SendAddonPacked << uint8( 0x41 ); // fix banned addon
SendAddonPacked << uint8( 0x64 ); // fix banned addon
SendAddonPacked << uint8( 0x64 ); // fix banned addon
SendAddonPacked << uint8( 0x6f ); // fix banned addon
SendAddonPacked << uint8( 0x6e ); // fix banned addon
SendAddonPacked << uint8( 0x00 ); // fix banned addon
SendPacket(&SendAddonPacked);
**********
Master.cpp
**********
sLog.outTitle( " MMMMMM");
sLog.outTitle( " Inofficial MaNGOS modification for 1.12.3.");
sLog.outTitle( " It can have additional problems and unstability.");
sLog.outTitle( " For this version there is NO support.\n\n");
********************
CharacterHandler.cpp
********************
data.Initialize(SMSG_CHAR_CREATE);
// data << (uint8)0x34;
data << (uint8)0x39; // fix for 1.12.3
[...]
std::string motd_1 = std::string(sWorld.GetMotd()) + "\n|cffff6060Inofficial MaNGOS modification for 1.11.x.\nIt can have additional problems and unstability.\nFor this version there is no support.|r";
sChatHandler.FillSystemMessageData(&data, NULL, motd_1.c_str());
// sChatHandler.FillSystemMessageData(&data, this, sWorld.GetMotd());
SendPacket( &data );
**************
UpdateFields.h
**************
PLAYER_FARSIGHT = 0x1CE + UNIT_END + 64,
...
PLAYER_END = 0x3F4 + PLAYER_SELECTION + 64,
************
AuthSocket.h
************
uint8 crc_hash[20];
uint8 number_of_keys;
uint8 unk; //fix for 1.12.3
**************
AuthSocket.cpp
**************
pkt.append(s.AsByteArray(), s.GetNumBytes());
pkt.append(unk3.AsByteArray(), 16);
pkt << (uint8)0; // fix for 1.12.3
********
Common.h
********
#define EXPECTED_MANGOS_CLIENT_BUILD {6141,0} // 1.12.3 商业版发布站程序下载:www.98youx.com商业版发布站程序下载:www.98youx.com
DBCfmt.cpp
**********
// const char AreaTableEntryfmt[]="ixinxxxxxxixxxxxxxxxx";
const char AreaTableEntryfmt[]="ixinxxxxxxixxxxxxxxxxxxxx"; // 1.12.3 new structure
[...]
// const char ItemSetEntryfmt[]=& quot;dxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxiiiiiiiii
iiiiiiiii";
const char ItemSetEntryfmt[]="dxxxxxxxxxxxxxxxxxxxxxxxxxxiiiiiiiiiiiiiiiiii"; // 1.12.3 new structure
***************
WorldSocket.cpp
***************
//Create Addon Packet
// sAddOnHandler.BuildAddonPacket(&recvPacket, &SendAddonPacked, recvPacket.rpos());
SendAddonPacked.Initialize(SMSG_ADDON_INFO); // fix banned addon
SendAddonPacked << uint8( 0x41 ); // fix banned addon
SendAddonPacked << uint8( 0x64 ); // fix banned addon
SendAddonPacked << uint8( 0x64 ); // fix banned addon
SendAddonPacked << uint8( 0x6f ); // fix banned addon
SendAddonPacked << uint8( 0x6e ); // fix banned addon
SendAddonPacked << uint8( 0x00 ); // fix banned addon
SendPacket(&SendAddonPacked);
**********
Master.cpp
**********
sLog.outTitle( " MMMMMM");
sLog.outTitle( " Inofficial MaNGOS modification for 1.12.3.");
sLog.outTitle( " It can have additional problems and unstability.");
sLog.outTitle( " For this version there is NO support.\n\n");
********************
CharacterHandler.cpp
********************
data.Initialize(SMSG_CHAR_CREATE);
// data << (uint8)0x34;
data << (uint8)0x39; // fix for 1.12.3
[...]
std::string motd_1 = std::string(sWorld.GetMotd()) + "\n|cffff6060Inofficial MaNGOS modification for 1.11.x.\nIt can have additional problems and unstability.\nFor this version there is no support.|r";
sChatHandler.FillSystemMessageData(&data, NULL, motd_1.c_str());
// sChatHandler.FillSystemMessageData(&data, this, sWorld.GetMotd());
SendPacket( &data );
**************
UpdateFields.h
**************
PLAYER_FARSIGHT = 0x1CE + UNIT_END + 64,
...
PLAYER_END = 0x3F4 + PLAYER_SELECTION + 64,
************
AuthSocket.h
************
uint8 crc_hash[20];
uint8 number_of_keys;
uint8 unk; //fix for 1.12.3
**************
AuthSocket.cpp
**************
pkt.append(s.AsByteArray(), s.GetNumBytes());
pkt.append(unk3.AsByteArray(), 16);
pkt << (uint8)0; // fix for 1.12.3
********
Common.h
********
#define EXPECTED_MANGOS_CLIENT_BUILD {6141,0} // 1.12.3 商业版发布站程序下载:www.98youx.com商业版发布站程序下载:www.98youx.com
Tags:
作者:佚名评论内容只代表网友观点,与本站立场无关!
评论摘要(共 0 条,得分 0 分,平均 0 分)
查看完整评论