Page 1 of 1

Map_Data

Posted: Mon Jan 16, 2012 2:29 am
by xinux
Ok here it goes after i corrected the OPcode for OP_MapRequest i started going through the maps and noticed some of them weren't coming up so i started digging deeper. The main cause is that they are missing from the map_data table so i started trying to figure it out. Here is the packet from lavastorm map since we already have the data for it.

Code: Select all

0000:	00 09 01 C7 01 FF 87 01 01 FB F2 D4 49 00 00 80 ............I...
0010:	3F 00 00 C8 42 01 00 00 00 01 09 00 6C 61 76 61 ?...B.......lava
0020:	73 74 6F 72 6D 21 00 4E 52 56 4F 42 4D 2F 6E 6D storm!.NRVOBM/nm
0030:	73 2F 6C 61 76 61 73 74 6F 72 6D 5F 65 78 70 6C s/lavastorm_expl
0040:	6F 72 65 64 2E 64 64 73 23 00 4E 52 56 4F 42 4D ored.dds#.NRVOBM
0050:	2F 6E 6D 73 2F 6C 61 76 61 73 74 6F 72 6D 5F 75 /nms/lavastorm_u
0060:	6E 65 78 70 6C 6F 72 65 64 2E 64 64 73 00 00 00 nexplored.dds...
0070:	00 00 00 00 00 40 06 00 00 B0 04 00 00 AE 47 47 .....@........GG 
0080:	C4 71 BD 4D C4 1F 15 A6 44 1F 55 3A 44 AE 47 47 .q.M....D.U:D.GG 
0090:	C4 71 BD 4D C4 1F 15 A6 44 1F 55 3A 44 28 6B 6E .q.M....D.U:D(kn 
00A0:	CE 28 6B 6E 4E 00 70 F2 90 71 50 2A 4F 42 1C 99 .(knN.p..qP*OB.. 
00B0:	52 09 5B BA BC 8F 00                            R.[....          
Here we have the Map_id - FB F2 D4 49 = 1238692603

Code: Select all

0000:	00 09 01 C7 01 FF 87 01 01 FB F2 D4 49 00 00 80 ............I...

Here we have
//lowest 00 00 80 3F
//highest 00 00 C8 42

Code: Select all

0000:   00 09 01 C7 01 FF 87 01 01 FB F2 D4 49 00 00 80 ............I...
0010:   3F 00 00 C8 42 01 00 00 00 01 09 00 6C 61 76 61 ?...B.......lava

Here we have
//bounds1_x AE 47 47 C4
//bounds1_z 71 BD 4D C4
//bounds2_x 1F 15 A6 44
//bounds2_z 1F 55 3A 44
//bounds3_x AE 47 47 C4
//bounds3_z 71 BD 4D C4
//bounds4_x 1F 15 A6 44
//bounds4_z 1F 55 3A 44

Code: Select all

0070:	00 00 00 00 00 40 06 00 00 B0 04 00 00 AE 47 47 .....@........GG 
0080:	C4 71 BD 4D C4 1F 15 A6 44 1F 55 3A 44 AE 47 47 .q.M....D.U:D.GG 
Here we have the
explored_key 70 F2 90 71 50 2A 4F 42 = 4778084254654460528
unexplored_key 1C 99 52 09 5B BA BC 8F = 10357358143206496540

Code: Select all

00A0:	CE 28 6B 6E 4E 00 70 F2 90 71 50 2A 4F 42 1C 99 .(knN.p..qP*OB.. 
00B0	52 09 5B BA BC 8F 00                            R.[....     

Now the only question i have is.
** update no more questions found the other data **

fyi i had more questions but figured them out while typing this and current i have the halas map displaying and going to work on battleground maps tomorrow.

Re: Map_Data

Posted: Mon Jan 16, 2012 7:06 am
by John Adams
Bravo, good investigative work -- and, you posted a message to preserve your great discovery :) Proud moment.

But. ;)

You do know our PacketParser parses this packet already?

See table "map_data"
lavastorm.jpg

Re: Map_Data

Posted: Mon Jan 16, 2012 7:10 pm
by Zcoretri
I have new struct done for this opcode ready if you don't Xinux.

Re: Map_Data

Posted: Tue Jan 17, 2012 3:19 pm
by John Adams
Zcoretri wrote:I have new struct done for this opcode ready if you don't Xinux.
Both Zcoretri and Jabantiz, if you have structs and opcodes completed and verified, I'd like to see them committed before too much time goes by. It's been months, something has to be ready for SVN by now ;)