PDA

View Full Version : Opcode methods



Leetlewon
05-14-2005, 10:20 AM
I'm just getting started at this. Unfortunately I don't have any pre-patch logs to compare. I imagine this would be useful.

I am trying some basic things such as going to a quiet zone and sitting still. Log this and compare to when I move a little.

Each opcode must have a fairly well defined behavior, as in how often they occur, how much data is in them, how consistent the size is, etc. Can this be scripted out to automate opcode discovery?

When sitting still I see just 4 opcodes in a few seconds.
[OPCode: 0x07f1]
[OPCode: 0x2b94]
[OPCode: 0x5752]
[OPCode: 0x8713]

0x2b94 is the most common of these, spitting out 7x as often as the other 3. Maybe this is related to mob positioning in the zone?

When I move around I get 2 additional opcodes
[OPCode: 0x0bb3]
[OPCode: 0x5bc2]

Neither of these occur frequently, however. I think 0x5bc2 is not due to movement, but related to /gu or maybe a private channel because the ascii data contains a pc name I recognize. Someone must have been chatting when I moved.

Is this the right way to go about finding opcodes? Any helpful suggestions appreciated.