diablo2-live-viewer icon indicating copy to clipboard operation
diablo2-live-viewer copied to clipboard

How do you see the map?

Open minotaurrr opened this issue 5 years ago • 19 comments

I can see the packets being read but the map is just grey with my character in the middle.

minotaurrr avatar May 02 '19 08:05 minotaurrr

The sniffer / bot is running ?

Are you in game ?

louis030195 avatar May 02 '19 10:05 louis030195

Yep just the sniffer running & in game.

minotaurrr avatar May 02 '19 10:05 minotaurrr

not 100% sure but it looks like listenToPackets() isn't picking up the events?

minotaurrr avatar May 02 '19 10:05 minotaurrr

Did you start the sniffer before joining the game ? The mob packets are sent when the game starts

rom1504 avatar May 02 '19 11:05 rom1504

Yep, sniffer started before Diablo is even on.

minotaurrr avatar May 02 '19 12:05 minotaurrr

Weird. Do you see NPC* packets in the packet page ?

rom1504 avatar May 02 '19 12:05 rom1504

Nah nothing related to NPC.

This was me fighting a monster.

d2gsToServer : D2GS_RUNTOLOCATION {"x":5738,"y":5697}
d2gsToServer : D2GS_RUNTOLOCATION {"x":5727,"y":5687}
d2gsToServer : D2GS_RUNTOLOCATION {"x":5724,"y":5683}
d2gsToServer : D2GS_RUNTOLOCATION {"x":5721,"y":5680}
d2gsToServer : D2GS_RUNTOLOCATION {"x":5718,"y":5679}
d2gsToServer : D2GS_RUNTOLOCATION {"x":5714,"y":5681}
d2gsToServer : D2GS_RUNTOLOCATION {"x":5710,"y":5679}
d2gsToServer : D2GS_RUNTOLOCATION {"x":5706,"y":5677}
d2gsToServer : D2GS_RUNTOLOCATION {"x":5710,"y":5682}
d2gsToServer : D2GS_RUNTOLOCATION {"x":5709,"y":5682}
d2gsToServer : D2GS_RUNTOENTITY {"entityType":1,"entityId":484516555}
d2gsToServer : D2GS_LEFTSKILLONENTITY {"entityType":1,"entityId":484516555}
d2gsToServer : D2GS_RUNTOENTITY {"entityType":1,"entityId":484516555}
d2gsToServer : D2GS_LEFTSKILLONENTITY {"entityType":1,"entityId":484516555}
d2gsToServer : D2GS_RUNTOENTITY {"entityType":1,"entityId":484516555}
d2gsToServer : D2GS_LEFTSKILLONENTITY {"entityType":1,"entityId":484516555}
d2gsToServer : D2GS_PING {"tickCount":28831199,"delay":199,"wardenResponse":0}
d2gsToServer : D2GS_RUNTOLOCATION {"x":5726,"y":5684}
d2gsToServer : D2GS_RUNTOLOCATION {"x":5729,"y":5684}
d2gsToServer : D2GS_RUNTOLOCATION {"x":5732,"y":5683}
d2gsToServer : D2GS_RUNTOLOCATION {"x":5736,"y":5683}
d2gsToServer : D2GS_RUNTOLOCATION {"x":5741,"y":5684}
d2gsToServer : D2GS_UPDATEPOSITION {"x":5739,"y":5684}
d2gsToServer : D2GS_UPDATEPOSITION {"x":5741,"y":5684}

minotaurrr avatar May 02 '19 12:05 minotaurrr

Also noticed this sidToClient : Read error for name : 0 is not in the mappings value

minotaurrr avatar May 02 '19 12:05 minotaurrr

Ah you're missing all the d2gsToClient packets for some reason

rom1504 avatar May 02 '19 12:05 rom1504

Try to restart the sniffer ?

rom1504 avatar May 02 '19 12:05 rom1504

Restarted the sniffer but made no difference. Actually battle net just blocked my IP for some reason. Does this do any kind of modification to the game itself? My understanding was that this is just a plain packet sniffer..

minotaurrr avatar May 02 '19 12:05 minotaurrr

The sniffer doesn't do anything except sniffing indeed. We also have a bot but that's a different script. You did start the sniffer and not the bot right ?

rom1504 avatar May 02 '19 12:05 rom1504

Are you using battlenet sid ip ?

rom1504 avatar May 02 '19 12:05 rom1504

We only tried on path of diablo Sid, there might be differences on battlenet

rom1504 avatar May 02 '19 12:05 rom1504

I only started the sniffer not the bot. What's a sid IP? I thought it was just the regular bnet..

minotaurrr avatar May 02 '19 12:05 minotaurrr

Blizzard confirmed my IP has been blocked because of my ISP having issues NOT the sniffer. So that's good at least..

minotaurrr avatar May 02 '19 12:05 minotaurrr

Ah got it, yeah so you're connecting to battle net with the client. We only tried to sniff path of diablo traffic, not Battle net I guess there is probably a difference of version that breaks the to client packet.

We could try to fix that

rom1504 avatar May 02 '19 13:05 rom1504

ahh okay I get it..

Yeah I was getting a lot of these.

name: 'PartialReadError',
message: 'Read error for fileData : undefined',
partialReadError: true,
field: 'fileData'

I was basically looking for a mapreveal that does the job without injecting and/or modifying the game directly, which by the look of it this seems to do

minotaurrr avatar May 02 '19 13:05 minotaurrr

Yeah no we're not at that stage yet. We have mobs and objects displayed on the map but not the map itself.

For that we need to be able to use a game dll to generate the map because of how Diablo2 works

On Thu, May 2, 2019, 08:37 minotaurrr [email protected] wrote:

ahh okay I get it..

Yeah I was getting a lot of these.

name: 'PartialReadError', message: 'Read error for fileData : undefined', partialReadError: true, field: 'fileData'

I was basically looking for a mapreveal that does the job without injecting and/or modifying the game directly

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MephisTools/diablo2-live-viewer/issues/10#issuecomment-488676418, or mute the thread https://github.com/notifications/unsubscribe-auth/AAR437VGYI6GZT3FCIH67E3PTLVB7ANCNFSM4HJ4PJJA .

rom1504 avatar May 02 '19 13:05 rom1504