用户登录  | 
首 页技术文章软件发布广告价格
当前位置:传奇游戏服务端下载站传奇站长论坛资源网站程序技术文章文章资讯游戏架设教程魔兽技术文章

让Mangos 支持 1.12.3 修正方法

减小字体 增大字体 作者:佚名  来源:本站整理  发布时间:2014-10-04 07:54:52
**********
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 分) 查看完整评论
传奇资源网提供最新传奇开区一条龙版本下载,本站声明:只更新最新最好的传奇服务端分享给大家。