Сообщений: 43
Тем: 18
Зарегистрирован: Mar 2016
Репутация:
-11
всем здрасте, не могли бы подсказать структуру PROTOCOL_BASE_GET_MYINFO_ACK[Point Blank Global [GSP]]
какой раз сниффе поймать не могу
Сообщений: 322
Тем: 6
Зарегистрирован: Nov 2015
Репутация:
505
/* PlayerInfo */
/* ClanInfo */
/* PrefInfo */
/* StatInfo */
/* CharacterInfo */
/* RankInfo */
/* RejectInfo */
/* InventoryInfo */
/* MedalInfo */
/* QuestInfo */
/* TitleInfo */
/* StageInfo */
/* PcCafeInfo */
/* EventInfo */
Скачай любой исходник и вытащи ACCOUNT_INFO, примеров много
Сообщений: 43
Тем: 18
Зарегистрирован: Mar 2016
Репутация:
-11
Мне нужен код C#
Файлы вложений
d.jpg (Размер: 48.59 KB / Загрузок: 38)
Сообщений: 6,450
Тем: 262
Зарегистрирован: Nov 2007
Репутация:
44,165
C# синтаксисом очень схож с Java. Берёте любую шарную сборку PB и переносите структуру пакета. MYINFO менялся всего пару раз, и там совсем небольшие изменения, так что снифайте и сравнивайте.
Так же можно декомпильнуть pointblank.exe и получить примерную структуру:
0xA06
Код:
case 0xA06u:
sub_57B8C0(
(int)"E:\\PB_Backup_All\\2012_12_20\\PointBlank\\Source_New\\ClientSource\\Source\\Network\\ClientTCPSocket.cpp",
2800,
"* PROTOCOL_BASE_GET_MYINFO_ACK\n");
i3NetworkPacket::ReadData(a2, v399, 4);
if ( *(_DWORD *)v399 >= 0 )
{
i3NetworkPacket::ReadData(a2, &v350, 1);
v153 = v350;
v154 = dword_BA5AB8;
*(_BYTE *)(LODWORD(dword_BA5AB8) + 247340) = v350;
v356 = 0;
v355 = 0;
v354 = 0;
v353 = 0;
v352 = 0;
i3NetworkPacket::ReadData(a2, &v370, 109);
v152 = *(_DWORD *)(LODWORD(dword_BA5AB8) + 162420);
i3NetworkPacket::ReadData(a2, v152, 80);
i3NetworkPacket::ReadData(a2, &v352, 20);
i3NetworkPacket::ReadData(a2, &v372, 20);
i3NetworkPacket::ReadData(a2, &v340, 45);
i3NetworkPacket::ReadData(a2, &v371, 1);
sub_4BF210(SLODWORD(dword_BA5AB8), &v370);
sub_4C02A0(LODWORD(dword_BA5AB8));
sub_4BF290(SLODWORD(dword_BA5AB8), &v340);
sub_4BF3B0(SLODWORD(dword_BA5AB8), (int)&v352);
sub_4BF310(SLODWORD(dword_BA5AB8), (int)&v372);
v150 = v371;
v151 = dword_BA5AB8;
*(_BYTE *)(LODWORD(dword_BA5AB8) + 162467) = v371;
v3 = (int)sub_4BF5C0(SLODWORD(dword_BA5AB8));
sub_8EEA40(v3);
v341 = 0;
i3NetworkPacket::ReadData(a2, &v364, 1);
if ( v364 )
{
i3NetworkPacket::ReadData(a2, &v338, 4);
i3NetworkPacket::ReadData(a2, &v323, 4);
i3NetworkPacket::ReadData(a2, &v327, 4);
i3NetworkPacket::ReadData(a2, &v326, 4);
if ( v338 )
{
v322 = 17 * v338;
v341 = i3mem::AllocTool(
17 * v338,
0,
16,
"E:\\PB_Backup_All\\2012_12_20\\PointBlank\\Source_New\\ClientSource\\Source\\Network\\ClientTCPSocket.cpp",
2865);
i3NetworkPacket::ReadData(a2, v341, v322);
}
v324 = 0;
if ( v323 )
{
v321 = 17 * v323;
v324 = i3mem::AllocTool(
17 * v323,
0,
16,
"E:\\PB_Backup_All\\2012_12_20\\PointBlank\\Source_New\\ClientSource\\Source\\Network\\ClientTCPSocket.cpp",
2874);
i3NetworkPacket::ReadData(a2, v324, v321);
}
sub_465580(SLODWORD(dword_BA5A74), v324, v323);
if ( v324 )
{
i3mem::FreeTool(
v324,
"E:\\PB_Backup_All\\2012_12_20\\PointBlank\\Source_New\\ClientSource\\Source\\Network\\ClientTCPSocket.cpp",
2878);
v324 = 0;
}
v325 = 0;
if ( v327 )
{
v320 = 17 * v327;
v325 = i3mem::AllocTool(
17 * v327,
0,
16,
"E:\\PB_Backup_All\\2012_12_20\\PointBlank\\Source_New\\ClientSource\\Source\\Network\\ClientTCPSocket.cpp",
2885);
i3NetworkPacket::ReadData(a2, v325, v320);
}
sub_4658C0(SLODWORD(dword_BA5A74), v325, v327);
if ( v325 )
{
i3mem::FreeTool(
v325,
"E:\\PB_Backup_All\\2012_12_20\\PointBlank\\Source_New\\ClientSource\\Source\\Network\\ClientTCPSocket.cpp",
2890);
v325 = 0;
}
v319 = 0;
if ( v326 )
{
v318 = 17 * v326;
v319 = i3mem::AllocTool(
17 * v326,
0,
16,
"E:\\PB_Backup_All\\2012_12_20\\PointBlank\\Source_New\\ClientSource\\Source\\Network\\ClientTCPSocket.cpp",
2899);
i3NetworkPacket::ReadData(a2, v319, v318);
}
if ( v319 )
{
i3mem::FreeTool(
v319,
"E:\\PB_Backup_All\\2012_12_20\\PointBlank\\Source_New\\ClientSource\\Source\\Network\\ClientTCPSocket.cpp",
2905);
v319 = 0;
}
}
i3NetworkPacket::ReadData(a2, &v342, 1);
v148 = v342;
v149 = dword_BA5AB8;
*(_BYTE *)(LODWORD(dword_BA5AB8) + 280444) = v342;
i3NetworkPacket::ReadData(a2, LODWORD(dword_BA5AB8) + 247368, 4);
i3NetworkPacket::ReadData(a2, LODWORD(dword_BA5AB8) + 247372, 4);
i3NetworkPacket::ReadData(a2, LODWORD(dword_BA5AB8) + 247376, 4);
i3NetworkPacket::ReadData(a2, LODWORD(dword_BA5AB8) + 247380, 4);
i3NetworkPacket::ReadData(a2, &v357, 89);
for ( i = 0; (signed int)i < 4; ++i )
{
v316 = v358[i];
if ( v316 )
sub_4BCF60(SLODWORD(dword_BA5AB8), v316, i);
}
v373 = sub_4BFA30(SLODWORD(dword_BA5AB8), 1);
for ( j = 0; (signed int)j < 4; ++j )
{
for ( k = 0; k < 10; ++k )
{
for ( l = 0; l < 4; ++l )
{
i3NetworkPacket::ReadData(a2, &v312, 1);
sub_4AD040((void *)v373, j, k, l, v312);
}
}
}
sub_4BCED0(SLODWORD(dword_BA5AB8), (int)&v357, 1);
v359 = 0;
v360 = 0;
i3NetworkPacket::ReadData(a2, &v335, 8);
i3NetworkPacket::ReadData(a2, &v359, 3);
i3NetworkPacket::ReadData(a2, &v362, 4);
v363 = sub_4BF7E0(SLODWORD(dword_BA5AB8), 1);
sub_8657F0((void *)v363, (int)&v359);
sub_865860((void *)v363, v362);
sub_8655D0((void *)v363, v335, v336);
i3NetworkPacket::ReadData(a2, &v343, 56);
sub_587BB0((int)&v343);
v333 = 0;
i3NetworkPacket::ReadData(a2, &v365, 1);
i3NetworkPacket::ReadData(a2, &v367, 1);
if ( (signed int)v367 > 0 )
{
v333 = i3mem::AllocTool(
4 * v367,
0,
16,
"E:\\PB_Backup_All\\2012_12_20\\PointBlank\\Source_New\\ClientSource\\Source\\Network\\ClientTCPSocket.cpp",
2980);
i3NetworkPacket::ReadData(a2, v333, 4 * v367);
sub_587B60(v333, v367);
if ( v333 )
{
i3mem::FreeTool(
v333,
"E:\\PB_Backup_All\\2012_12_20\\PointBlank\\Source_New\\ClientSource\\Source\\Network\\ClientTCPSocket.cpp",
2985);
v333 = 0;
}
}
if ( (signed int)v365 > 0 )
{
v310 = v365;
if ( (signed int)v365 > 102 )
v310 = 102;
i3NetworkPacket::ReadData(a2, &v311, 2 * v310);
sub_587B80((int)&v311);
if ( (signed int)v365 > 102 )
{
for ( m = 0; m < v365 - 102; ++m )
i3NetworkPacket::ReadData(a2, &v308, 2);
}
}
sub_587BA0();
if ( v341 )
{
if ( v338 )
{
sub_4657C0(SLODWORD(dword_BA5A74), v341, v338);
if ( v341 )
{
i3mem::FreeTool(
v341,
"E:\\PB_Backup_All\\2012_12_20\\PointBlank\\Source_New\\ClientSource\\Source\\Network\\ClientTCPSocket.cpp",
3017);
v341 = 0;
}
}
}
if ( (signed int)v365 > 0 )
{
v307 = v365;
if ( (signed int)v365 > 102 )
v307 = 102;
i3NetworkPacket::ReadData(a2, &v306, v307);
sub_587BD0((int)&v306);
if ( (signed int)v365 > 102 )
{
for ( n = 0; n < v365 - 102; ++n )
i3NetworkPacket::ReadData(a2, &v304, 1);
}
}
v374 = 0;
i3NetworkPacket::ReadData(a2, &v328, 1);
if ( (signed int)v328 > 0 )
{
v374 = i3mem::AllocTool(
4 * v328,
0,
16,
"E:\\PB_Backup_All\\2012_12_20\\PointBlank\\Source_New\\ClientSource\\Source\\Network\\ClientTCPSocket.cpp",
3049);
i3NetworkPacket::ReadData(a2, v374, 4 * v328);
sub_416680(dword_BA52D8, v328, v374);
if ( v374 )
{
i3mem::FreeTool(
v374,
"E:\\PB_Backup_All\\2012_12_20\\PointBlank\\Source_New\\ClientSource\\Source\\Network\\ClientTCPSocket.cpp",
3054);
v374 = 0;
}
}
i3NetworkPacket::ReadData(a2, &v339, 4);
i3NetworkPacket::ReadData(a2, &v347, 4);
v146 = (signed __int64)(v339 * 100.0);
v147 = dword_BA5AB8;
*(_DWORD *)(LODWORD(dword_BA5AB8) + 253560) = (signed __int64)(v339 * 100.0);
v144 = (signed __int64)(v347 * 100.0);
v145 = dword_BA5AB8;
*(_DWORD *)(LODWORD(dword_BA5AB8) + 253556) = v144;
i3NetworkPacket::ReadData(a2, LODWORD(dword_BA5AB8) + 278447, 1);
i3NetworkPacket::ReadData(a2, &v368, 2);
i3NetworkPacket::ReadData(a2, LODWORD(dword_BA5AB8) + 278448, v368);
i3NetworkPacket::ReadData(a2, &v369, 4);
v143 = 0;
v141 = v369;
v142 = dword_BA4F44;
*(_DWORD *)(dword_BA4F44 + 8) = v369;
i3NetworkPacket::ReadData(a2, &v348, 4);
v139 = v348;
v140 = dword_BA5AB8;
*(_DWORD *)(LODWORD(dword_BA5AB8) + 250284) = v348;
i3NetworkPacket::ReadData(a2, &v329, 1);
v137 = v329;
v138 = dword_BA5AB8;
*(_BYTE *)(LODWORD(dword_BA5AB8) + 280452) = v329;
v345 = LODWORD(dword_BA5AB8) + 253224;
v349 = LODWORD(dword_BA5AB8) + 253236;
*(_BYTE *)(LODWORD(dword_BA5AB8) + 253296) = 0;
i3NetworkPacket::ReadData(a2, v345, 12);
i3NetworkPacket::ReadData(a2, v349 + 160, 160);
if ( *(_DWORD *)v345 != *(_DWORD *)(v349 + 224) )
{
v135 = 12;
v136 = v345;
while ( v135 )
{
*(_BYTE *)v136++ = 0;
--v135;
}
}
v351 = 0;
v334 = 0;
v330 = 0;
memset(&v331, 0, 0xFFu);
i3NetworkPacket::ReadData(a2, &v351, 4);
i3NetworkPacket::ReadData(a2, &v330, 256);
i3NetworkPacket::ReadData(a2, &v334, 4);
sub_4031C0((int)&v178, &v330);
v400 = 0;
sub_4C0760(LODWORD(dword_BA5AB8), (int)&v178, v334, v351);
v400 = -1;
sub_402D10((int)&v178, 1, 0);
v366 = 0;
i3NetworkPacket::ReadData(a2, &v366, 1);
v133 = v366;
v134 = dword_BA5AB8;
*(_BYTE *)(LODWORD(dword_BA5AB8) + 1652) = v366;
v132 = dword_BA5AB8;
*(_DWORD *)(LODWORD(dword_BA5AB8) + 250288) = 1;
memset(&v344, 0, 0x400u);
i3NetworkPacket::ReadData(a2, &v346, 2);
if ( v346 )
{
if ( (signed int)v346 > 1024 )
v346 = 1024;
i3NetworkPacket::ReadData(a2, &v344, v346);
sub_4C07A0(LODWORD(dword_BA5AB8), (int)&v344);
}
v332 = 1;
i3NetworkPacket::ReadData(a2, &v332, 1);
v337 = 0;
i3NetworkPacket::ReadData(a2, &v337, 1);
v361 = 1;
i3NetworkPacket::ReadData(a2, &v361, 1);
v130 = v337;
v131 = dword_BA5AB8;
*(_BYTE *)(LODWORD(dword_BA5AB8) + 2356) = v337;
}
v127 = *(_DWORD *)v399;
v128 = dword_BA5AB8;
if ( *(_DWORD *)(LODWORD(dword_BA5AB8) + 246084) - *(_DWORD *)(LODWORD(dword_BA5AB8) + 246080) < 64 )
{
v129 = *(_DWORD *)(LODWORD(v128) + 246084) % 64;
*(_DWORD *)(LODWORD(v128) + 4 * v129 + 245300) = 13;
*(_DWORD *)(LODWORD(v128) + 4 * v129 + 245556) = v127;
*(_DWORD *)(LODWORD(v128) + 4 * v129 + 245812) = 0;
++*(_DWORD *)(LODWORD(v128) + 246084);
}
if ( *(_DWORD *)(LODWORD(v128) + 246068) == 13 )
*(_DWORD *)(LODWORD(v128) + 246068) = 0;
if ( *(_BYTE *)(LODWORD(dword_BA5AB8) + 1652) )
sub_4B61E0(LODWORD(dword_BA5AB8), 40, 0, 0, 0, 0, 0);
break;
case 0xA08u:
i3NetworkPacket::ReadData(a2, v399, 4);
if ( *(_DWORD *)v399 >= 0 )
{
i3NetworkPacket::ReadData(a2, &v303, 1);
v125 = v303;
v126 = dword_BA5AB8;
*(_BYTE *)(LODWORD(dword_BA5AB8) + 255092) = v303;
v124 = *(_BYTE *)(LODWORD(dword_BA5AB8) + 255092);
if ( v124 != 1 )
{
i3NetworkPacket::ReadData(a2, LODWORD(dword_BA5AB8) + 255059, 28);
v123 = dword_BA5AB8;
i3NetworkPacket::ReadData(a2, LODWORD(dword_BA5AB8) + 253564, 220);
for ( ii = 0; (signed int)ii < 5; ++ii )
{
i3NetworkPacket::ReadData(a2, &v301, 1);
i3NetworkPacket::ReadData(a2, &v302, v301);
sub_62ED70(&v302, (int)&v302, 255);
i3Error::SetEnv(
"E:\\PB_Backup_All\\2012_12_20\\PointBlank\\Source_New\\ClientSource\\Source\\Network\\ClientTCPSocket.cpp",
3227,
"void __thiscall ClientTCPSocket::_PacketParsingBase(class i3NetworkPacket *)",
0);
i3Error::Log("Receive Macro From Server : %d %s\n");
sub_41C460(LODWORD(dword_BA5AB8), ii, (int)&v302);
}
sub_41B160(SLODWORD(dword_BA5304));
}
v122 = dword_BA52D8 + 1180;
LODWORD(v121) = dword_BA52D8 + 1212;
if ( *(_DWORD *)(dword_BA52D8 + 1236) < 0x10u )
v42 = LODWORD(v121) + 4;
else
v42 = *(_DWORD *)(LODWORD(v121) + 4);
sub_573CB0((void *)dword_BA5AC0, v42, 1, 1, COERCE_INT(2.0), 0);
sub_6956F0();
}
break;
И этот вопрос можно было задать во вчерашней вашей теме
https://forum.zone-game.info/showthread.php?t=40634
Сообщений: 39
Тем: 1
Зарегистрирован: Apr 2016
Репутация:
0
Awiion Написал: /* PlayerInfo */
/* ClanInfo */
/* PrefInfo */
/* StatInfo */
/* CharacterInfo */
/* RankInfo */
/* RejectInfo */
/* InventoryInfo */
/* MedalInfo */
/* QuestInfo */
/* TitleInfo */
/* StageInfo */
/* PcCafeInfo */
/* EventInfo */
Скачай любой исходник и вытащи ACCOUNT_INFO, примеров много
example ?
/* StageInfo */
/* PcCafeInfo */
/* EventInfo */
My stage is not true
http://i.hizliresim.com/Yk0A1j.jpg
Сообщений: 322
Тем: 6
Зарегистрирован: Nov 2015
Репутация:
505
crayonnet Написал: example ?
/* StageInfo */
/* PcCafeInfo */
/* EventInfo */
My stage is not true
http://i.hizliresim.com/Yk0A1j.jpg
Stage
EXAMPLE
Сообщений: 39
Тем: 1
Зарегистрирован: Apr 2016
Репутация:
0
Awiion Написал: Stage EXAMPLE
Thanks