PDA

View Full Version : OpCodes 2005-01-27



ieatacid
02-01-2005, 11:18 PM
Adding more as I get them.

zone opcodes

<opcode id="0165" name="OP_DeletePetition" updated="01/27/05">
<comment>Player /deletepetition</comment>
</opcode>
<opcode id="01a9" name="OP_CombatAbility" updated="01/27/05">
<comment></comment>
</opcode>
<opcode id="01ed" name="OP_Dye" updated="01/27/05">
<comment></comment>
</opcode>
<opcode id="03e0" name="OP_Begging" updated="01/27/05">
<comment></comment>
</opcode>
<opcode id="0860" name="OP_WhoAllRequest" updated="01/27/05">
<comment>old WhoAllReqCode</comment>
</opcode>
<opcode id="0972" name="OP_Petition" updated="01/27/05">
<comment></comment>
</opcode>
<opcode id="09c7" name="OP_LFGCommand" updated="01/27/05">
<comment>old LFGReqCode</comment>
</opcode>
<opcode id="11b4" name="OP_Bug" updated="01/27/05">
<comment>/bug</comment>
</opcode>
<opcode id="1586" name="OP_TraderShop" updated="01/27/05">
<comment>old OpenTraderCode right-click on a trader in bazaar</comment>
</opcode>
<opcode id="1838" name="OP_Camp" updated="01/27/05">
<comment>old cStartCampingCode</comment>
</opcode>
<opcode id="1cc6" name="OP_Consider" updated="01/27/05">
<comment>old ConsiderCode</comment>
<payload dir="both" typename="considerStruct" sizechecktype="match"/>
</opcode>
<opcode id="2a9c" name="OP_DisarmTraps" updated="01/27/05">
<comment>Clicked disarm traps</comment>
</opcode>
<opcode id="2d5f" name="OP_HPUpdate" implicitlen="6" updated="01/27/05">
<comment>old NpcHpUpdateCode Update HP % of a PC or NPC</comment>
<payload dir="both" typename="hpNpcUpdateStruct" sizechecktype="match"/>
</opcode>
<opcode id="2e7e" name="OP_SetRunMode" updated="01/27/05">
<comment>old cRunToggleCode</comment>
</opcode>
<opcode id="31d4" name="OP_GetGuildMOTD" updated="01/27/05">
<comment></comment>
</opcode>
<opcode id="3479" name="OP_Hide" updated="01/27/05">
<comment></comment>
</opcode>
<opcode id="34bc" name="OP_SaveOnZoneReq" updated="01/27/05">
<comment></comment>
</opcode>
<opcode id="34de" name="OP_ShopEnd" updated="01/27/05">
<comment>old CloseVendorCode</comment>
<payload dir="both" typename="unknown" sizechecktype="none"/>
</opcode>
<opcode id="38df name="OP_SenseHeading" updated="01/27/05">
<comment>old cSenseHeadingCode</comment>
</opcode>
<opcode id="3adf" name="OP_CommonMessage" updated="01/27/05">
<comment>old ChannelMessageCode</comment>
<payload dir="both" typename="channelMessageStruct" sizechecktype="none"/>
</opcode>
<opcode id="3eec" name="OP_ShopRequest" updated="01/27/05">
<comment>old OpenVendorCode</comment>
<payload dir="both" typename="unknown" sizechecktype="none"/>
</opcode>
<opcode id="4033" name="OP_MoveItem" updated="01/27/05">
<comment>Client moving an item from one slot to another</comment>
</opcode>
<opcode id="4208" name="OP_FaceChange" updated="01/27/05">
<comment>/face</comment>
</opcode>
<opcode id="470c" name="OP_ClientReady" updated="01/27/05">
<comment></comment>
</opcode>
<opcode id="4963" name="OP_MemorizeSpell" updated="01/27/05">
<comment>old MemSpellCode</comment>
<payload dir="both" typename="memSpellStruct" sizechecktype="match"/>
</opcode>
<opcode id="4c5a" name="OP_ItemLinkClick" updated="01/27/05">
<comment></comment>
</opcode>
<opcode id="4fc1" name="OP_BazaarSearch" updated="01/27/05">
<payload dir="client" typename="bazaarSearchQueryStruct" sizechecktype="none"/>
<payload dir="server" typename="bazaarSearchResponseStruct" sizechecktype="modulus"/>
<payload dir="server" typename="utf8" sizechecktype="none"/>
<comment>Bazaar search tool</comment>
</opcode>
<opcode id="5698" name="OP_TargetMouse" updated="01/27/05">
<comment>Targeting a person - old ClientTargetCode</comment>
<payload dir="both" typename="clientTargetStruct" sizechecktype="match"/>
</opcode>
<opcode id="57a2" name="OP_Bazaar" updated="01/27/05">
<comment></comment>
</opcode>
<opcode id="5d87" name="OP_RaidInvite" updated="01/27/05">
<comment></comment>
</opcode>
<opcode id="5f20" name="OP_Illusion" updated="01/27/05">
<comment>old IllusionCode</comment>
<payload dir="both" typename="uint8_t" sizechecktype="none"/>
</opcode>
<opcode id="662d" name="OP_InspectAnswer" updated="01/27/05">
<comment>old InspectDataCode</comment>
<payload dir="server" typename="inspectDataStruct" sizechecktype="match"/>
</opcode>
<opcode id="66ee" name="OP_GMKill" updated="01/27/05">
<comment>GM /kill - Insta kill mob/pc</comment>
</opcode>
<opcode id="6996" name="OP_GuildPublicNote" updated="01/27/05">
<comment></comment>
</opcode>
<opcode id="6f60" name="OP_ConsiderCorpse" updated="01/27/05">
<comment>old cConCorpseCode</comment>
</opcode>
<opcode id="71f2" name="OP_ConfirmDelete" updated="01/27/05">
<comment>Client sends this to server to confirm op_deletespawn</comment>
</opcode>
<opcode id="7357" name="OP_RandomReply" updated="01/27/05">
<comment>old RandomCode</comment>
<payload dir="server" typename="randomStruct" sizechecktype="match"/>
</opcode>
<opcode id="744f" name="OP_ClientUpdate" implicitlen="18" updated="01/27/05">
<comment>old PlayerPosCode</comment>
<payload dir="server" typename="playerSpawnPosStruct" sizechecktype="match"/>
<payload dir="both" typename="playerSelfPosStruct" sizechecktype="match"/>
</opcode>
<opcode id="7455" name="OP_Report" updated="01/27/05">
<comment></comment>
</opcode>
<opcode id="74ab" name="OP_BeginCast" implicitlen="8" updated="01/27/05">
<comment>old BeginCastCode</comment>
<payload dir="both" typename="beginCastStruct" sizechecktype="match"/>
</opcode>
<opcode id="76d0" name="OP_Jump" updated="01/27/05">
<comment>old cJumpCode?</comment>
</opcode>
<opcode id="7847" name="OP_FindResponse" updated="01/27/05">
<comment></comment>
</opcode>
<opcode id="790e" name="OP_GMKick" updated="01/27/05">
<comment>GM /kick - Boot player</comment>
</opcode>
<opcode id="7bef" name="OP_GMLastName" updated="01/27/05">
<comment>GM /lastname - Change user lastname</comment>
</opcode>
<opcode id="7c81" name="OP_TradeSkillCombine" updated="01/27/05">
<comment></comment>
</opcode>
<opcode id="7e46" name="OP_LFGResponse" updated="01/27/05">
<comment></comment>
</opcode>

world opcodes

<opcode id="1054" name="OP_World_Client_CRC1" updated="01/27/05">
<comment>Contains a snippet of spell data</comment>
</opcode>
<opcode id="6051" name="OP_AckPacket" updated="01/27/05">
<comment>Appears to be generic ack at the presentation level</comment>
</opcode>

Konaan
02-02-2005, 09:32 AM
Not to be newbish but what do we do with these? I am using the .16 version of showeq.

uRit1u2CBBA=
02-02-2005, 10:10 AM
You'll see worldpcodes.xml and zoneopcodes.xml files in /usr/local/share/showeq.

ieatacid
02-02-2005, 06:59 PM
I also have new incoming and outgoing packet dumps if anyone needs them.

Konaan
02-03-2005, 10:53 PM
Ok, found the files and have editted the world file. Is there an easier way to do the zone file other than doing a copy/paste on each section all the way down the list?

uRit1u2CBBA=
02-04-2005, 06:18 AM
Someone has to bang it in by hand, and if it were a complete list, I'd post a patch (or just the new file as stand-alone) -- but since it's incomplete, and it wouldn't help us anyway with everything else not working, I've not yet done that.

Konaan
02-04-2005, 06:48 AM
Okies. I will start working my way down the list then.

Is this supposed to fix showeq and get it working again? Even though I can play EQ just fine without Showeq, just makes it nice when I am running across zones or doing CR for myself or someone else. About the only real reason I even use it.

purple
02-04-2005, 08:15 AM
Is this supposed to fix showeq and get it working again?

No. This is just part of the process of making things work again. This is the development forum! If you just want something you download, compile, and install which works, wait for an announcement.

Konaan
02-04-2005, 12:44 PM
Thank you all that are working on this. I dont mean to come across wrong. I thoroughly appreciate all the hard work you put into this. I will wait and see what happens from here.

blvan
02-04-2005, 01:54 PM
my question is what can we do to help?
if you need packet dumps, let us know how to (ie. tcpdump [parms] > packet.log ), and then who would we email them to?
if there is anything else we can do, if anyone wants to give a quick tutorial on things to look for when a patch comes out to figure out opcodes.

Feel like I'm a blind n00b runnning around zones, constantly looking at blank screen to my right when I play now.

ieatacid
02-04-2005, 03:52 PM
I have a bunch more opcodes (probably all of the rest of them) but I haven't had time to sit down and try match them up to the old structs so they can be identified. It'd be nice if I did some packet dumps before the patch, too, so I had something to compare with.

Walpurgiss
02-04-2005, 05:11 PM
Fill that blank screen with pr0n in the meantime.

purple
02-05-2005, 06:04 AM
I'm getting kinda close to having the net layer working, mostly thanks to Doodman giving me an excellent example. I just have one niggling fragmentation error where things get off by two, where I'm probably taking the CRC off the end when I shouldn't, but I haven't been able to track it down.

That said, in the next couple days is when all this opcode stuff is going to be very useful, so if anyone has been working on mapping opcodes and wants to save me some work, please post it up. Any help there is very appreciated.