|
From: <bon...@us...> - 2008-01-19 19:34:19
|
Revision: 692
http://seq.svn.sourceforge.net/seq/?rev=692&view=rev
Author: bonkersbobcat
Date: 2008-01-19 11:34:16 -0800 (Sat, 19 Jan 2008)
Log Message:
-----------
Historical checkin for 12/16/07
- Updated Opcodes
- Removed all the obfuscator stuff
Version to 5.12.0
Modified Paths:
--------------
showeq/trunk/ChangeLog
showeq/trunk/conf/worldopcodes.xml
showeq/trunk/conf/zoneopcodes.xml
showeq/trunk/configure.in
showeq/trunk/src/everquest.h
showeq/trunk/src/interface.cpp
showeq/trunk/src/packet.cpp
showeq/trunk/src/packet.h
Modified: showeq/trunk/ChangeLog
===================================================================
--- showeq/trunk/ChangeLog 2008-01-19 19:29:08 UTC (rev 691)
+++ showeq/trunk/ChangeLog 2008-01-19 19:34:16 UTC (rev 692)
@@ -1,12 +1,10 @@
Version: $Id$ $Name$
-BlueAdept (11/27/07)
+BlueAdept (12/16/07)
----------------
-+ Updated version to 5.11.1
-+ Updated structs (BlueAdept, Markdark and ieatacid)
-+ Changed Opcode for CoprseLocResponse (ieatacid)
-+ Updated spellshell.h to reflect current spells
-+ Re-added spells_en2spellsh.pl to keep spellshell.h updated
++ Updated version to 5.12.0
++ Updated Opcodes (ieatacid)
++ Removed all the obfuscator stuff (ieatacid)
BlueAdept (11/21/07)
----------------
Modified: showeq/trunk/conf/worldopcodes.xml
===================================================================
--- showeq/trunk/conf/worldopcodes.xml 2008-01-19 19:29:08 UTC (rev 691)
+++ showeq/trunk/conf/worldopcodes.xml 2008-01-19 19:34:16 UTC (rev 692)
@@ -11,14 +11,21 @@
</opcode>
-->
+ <opcode id="04fb" name="OP_GuildList" updated="03/14/07">
+ <comment>old GuildListCode</comment>
+ <payload dir="server" typename="worldGuildListStruct" sizechecktype="match"/>
+ </opcode>
+ <opcode id="5711" name="OP_MOTD" updated="03/14/07">
+ <comment>old MOTDCode Server message of the day</comment>
+ <payload dir="server" typename="worldMOTDStruct" sizechecktype="none"/>
+ </opcode>
+
+<!-- Not necessary for SEQ to run but here to name packets in logs -->
<opcode id="6c3c" name="OP_SendLoginInfo" updated="03/14/07">
<comment>Client starting world session by asking for login information</comment>
</opcode>
- <opcode id="04fb" name="OP_GuildList" updated="03/14/07">
- <comment>old GuildListCode</comment>
- <payload dir="server" typename="worldGuildListStruct" sizechecktype="match"/>
- </opcode>
+
<opcode id="129a" name="OP_LogServer" updated="03/14/07">
<comment></comment>
</opcode>
@@ -43,10 +50,6 @@
<opcode id="45f9" name="OP_UnknownChecksum" updated="03/14/07">
<comment>Third client verification packet</comment>
</opcode>
- <opcode id="5711" name="OP_MOTD" updated="03/14/07">
- <comment>old MOTDCode Server message of the day</comment>
- <payload dir="server" typename="worldMOTDStruct" sizechecktype="none"/>
- </opcode>
<opcode id="71b8" name="OP_SetChatServer" updated="03/14/07">
<comment>Chatserver? IP,Port,servername.Charname,password(?)</comment>
</opcode>
@@ -60,9 +63,8 @@
<comment>Client telling world server it is done. World replies by disconnecting.</comment>
</opcode>
+<!--
-
-
<opcode id="26c9" name="OP_DeleteCharacter" updated="10/27/05">
<comment>Delete character @ char select</comment>
</opcode>
@@ -75,4 +77,5 @@
<opcode id="23d4" name="OP_RandomNameGenerator" updated="06/29/05">
<comment>Returns a random name</comment>
</opcode>
+-->
</seqopcodes>
Modified: showeq/trunk/conf/zoneopcodes.xml
===================================================================
--- showeq/trunk/conf/zoneopcodes.xml 2008-01-19 19:29:08 UTC (rev 691)
+++ showeq/trunk/conf/zoneopcodes.xml 2008-01-19 19:34:16 UTC (rev 692)
@@ -1,16 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE seqopcodes SYSTEM "seqopcodes.dtd">
<seqopcodes>
- <opcode id="7930" name="OP_ObfuscatorInfo" updated="10/20/07">
- <comment>Obfuscator info</comment>
- <payload dir="server" typename="worldObfuscatorStruct" sizechecktype="match"/>
- </opcode>
- <opcode id="71b9" name="OP_SendAATable" updated="03/14/07">
- <comment></comment>
- </opcode>
- <opcode id="6f05" name="OP_SendAAStats" updated="03/14/07">
- <comment></comment>
- </opcode>
+
+<!-- Verified 12-1-2007 -->
<opcode id="0feb" name="OP_PlayerProfile" updated="03/14/07">
<comment>old CharProfileCode</comment>
<payload dir="server" typename="charProfileStruct" sizechecktype="match"/>
@@ -20,9 +12,6 @@
<payload dir="client" typename="ClientZoneEntryStruct" sizechecktype="match"/>
<payload dir="server" typename="ServerZoneEntryStruct" sizechecktype="match"/>
</opcode>
- <opcode id="4d38" name="OP_AckPacket" updated="03/14/07">
- <comment>Appears to be generic ack at the presentation level</comment>
- </opcode>
<opcode id="5af2" name="OP_ZoneSpawns" updated="03/14/07">
<comment>old ZoneSpawnsCode</comment>
<payload dir="server" typename="spawnStruct" sizechecktype="modulus"/>
@@ -31,38 +20,10 @@
<comment>old TimeOfDayCode</comment>
<payload dir="server" typename="timeOfDayStruct" sizechecktype="match"/>
</opcode>
- <opcode id="71fb" name="OP_TributeUpdate" updated="03/14/07">
- <comment>Tribute information</comment>
- </opcode>
- <opcode id="08a3" name="OP_ItemPlayerPacket" updated="03/14/07">
- <comment>Inventory/bank items coming over during zone</comment>
- <payload dir="server" typename="uint8_t" sizechecktype="none"/>
- </opcode>
- <opcode id="0af9" name="OP_TaskDescription" updated="03/14/07">
- <comment>Task descriptions coming down for task window</comment>
- </opcode>
- <opcode id="2e60" name="OP_TaskActivity" updated="03/14/07">
- <comment>Task activity descriptions coming down for task window</comment>
- </opcode>
- <opcode id="5855" name="OP_CompletedTasks" updated="03/14/07">
- <comment>Task history for task window</comment>
- </opcode>
- <opcode id="70a5" name="OP_Weather" updated="03/14/07">
- <comment>old WeatherCode</comment>
- </opcode>
- <opcode id="5417" name="OP_ReqNewZone" updated="03/14/07">
- <comment>Client requesting NewZone_Struct</comment>
- </opcode>
<opcode id="5d22" name="OP_NewZone" updated="03/14/07">
<comment>old NewZoneCode</comment>
<payload dir="server" typename="newZoneStruct" sizechecktype="match"/>
</opcode>
- <opcode id="2e8f" name="OP_CustomTitles" updated="03/14/07">
- <comment>List of available titles</comment>
- </opcode>
- <opcode id="45d2" name="OP_ReqClientSpawn" updated="03/14/07">
- <comment>Client requesting spawn data</comment>
- </opcode>
<opcode id="68c8" name="OP_SpawnDoor" updated="03/14/07">
<comment>old DoorSpawnsCode</comment>
<payload dir="server" typename="doorStruct" sizechecktype="modulus"/>
@@ -76,9 +37,6 @@
<comment>Coords in a zone that will port you to another zone</comment>
<payload dir="server" typename="zonePointsStruct" sizechecktype="none"/>
</opcode>
- <opcode id="3703" name="OP_SendExpZonein" updated="03/14/07">
- <comment>Both directions. Negotiating sending of exp info.</comment>
- </opcode>
<opcode id="3518" name="OP_AAExpUpdate" updated="03/14/07">
<comment>Receiving AA experience. Also when percent to AA changes.</comment>
<payload dir="server" typename="altExpUpdateStruct" sizechecktype="match"/>
@@ -87,21 +45,6 @@
<comment>old ExpUpdateCode</comment>
<payload dir="server" typename="expUpdateStruct" sizechecktype="match"/>
</opcode>
- <opcode id="0a4f" name="OP_AAAction" updated="03/14/07">
- <comment>Used for changing percent, buying? and activating skills</comment>
- </opcode>
- <opcode id="7038" name="OP_SetServerFilter" updated="03/14/07">
- <comment>Client telling server /filter information</comment>
- </opcode>
- <opcode id="3854" name="OP_ClientReady" updated="03/14/07">
- <comment></comment>
- </opcode>
- <opcode id="0137" name="OP_TGB" updated="03/14/07">
- <comment>Client telling server to set targetgroupbuff</comment>
- </opcode>
- <opcode id="237e" name="OP_RaidJoin" updated="03/14/07">
- <comment></comment>
- </opcode>
<opcode id="317c" name="OP_GuildMemberList" updated="03/14/07">
<comment></comment>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
@@ -110,17 +53,6 @@
<comment>GuildMOTD</comment>
<payload dir="server" typename="guildMOTDStruct" sizechecktype="none"/>
</opcode>
- <opcode id="7161" name="OP_GuildExtendedInfo" updated="03/14/07">
- <comment>Extra guild info (i.e. chat channel, url)</comment>
- </opcode>
- <opcode id="6774" name="OP_GuildTributeStatus" updated="03/14/07">
- <comment>Guild tribute stats send on zone</comment>
- </opcode>
- <opcode id="28c1" name="OP_GuildTributeInfo" updated="06/13/06">
- <comment>Guild tribute loadout, only if on</comment>
- </opcode>
-
-
<opcode id="5cf3" name="OP_ClientUpdate" updated="03/14/07">
<comment>Position updates</comment>
<payload dir="server" typename="playerSpawnPosStruct" sizechecktype="match"/>
@@ -146,9 +78,6 @@
<comment>old NewCorpseCode</comment>
<payload dir="server" typename="newCorpseStruct" sizechecktype="match"/>
</opcode>
- <opcode id="063b" name="OP_RespawnWindow" updated="03/14/07">
- <comment>Server telling client enough to populate the respawn window when you die</comment>
- </opcode>
<opcode id="7bf6" name="OP_RespawnFromHover" updated="03/14/07">
<comment>Server telling client that it is coming back from hover death</comment>
<payload dir="server" typename="uint8_t" sizechecktype="none"/>
@@ -157,9 +86,6 @@
<comment>old SpawnUpdateCode</comment>
<payload dir="both" typename="SpawnUpdateStruct" sizechecktype="match"/>
</opcode>
- <opcode id="5c2f" name="OP_Animation" updated="03/14/07">
- <comment></comment>
- </opcode>
<opcode id="50ec" name="OP_SpawnAppearance" updated="03/14/07">
<comment>old SpawnAppearanceCode</comment>
<payload dir="both" typename="spawnAppearanceStruct" sizechecktype="match"/>
@@ -172,15 +98,6 @@
<comment>old NpcHpUpdateCode Update HP % of a PC or NPC</comment>
<payload dir="both" typename="hpNpcUpdateStruct" sizechecktype="match"/>
</opcode>
- <opcode id="23f1" name="OP_InitialMobHealth" updated="03/14/07">
- <comment>Initial health sent when a player clicks on the mob. Subsequent updated will be OP_MobHealth</comment>
- </opcode>
- <opcode id="311a" name="OP_MobHealth" updated="03/14/07">
- <comment>health sent when a player clicks on the mob</comment>
- </opcode>
- <opcode id="16c1" name="OP_DeltaCheck" updated="03/14/07">
- <comment>Client sending server delta information.</comment>
- </opcode>
<opcode id="71d1" name="OP_GuildMemberUpdate" updated="03/14/07">
<comment></comment>
<payload dir="server" typename="GuildMemberUpdate" sizechecktype="match"/>
@@ -214,20 +131,14 @@
<comment>Spawn being illusioned (changing forms)</comment>
<payload dir="both" typename="spawnIllusionStruct" sizechecktype="match"/>
</opcode>
- <opcode id="61e2" name="OP_Shroud" updated="03/14/07">
+ <opcode id="02c4" name="OP_Shroud" updated="12/01/07">
<comment>Server putting players into shroud form</comment>
<payload dir="server" typename="spawnShroudSelf" sizechecktype="none"/>
</opcode>
-
- <opcode id="24d8" name="OP_RequestZoneChange" updated="10/20/07">
- <comment>Send by server when a click causes zone. Also, origin</comment>
- <payload dir="server" typename="requestZoneChangeStruct" sizechecktype="match"/>
- </opcode>
<opcode id="201e" name="OP_ZoneChange" updated="03/14/07">
<comment>old ZoneChangeCode</comment>
<payload dir="both" typename="zoneChangeStruct" sizechecktype="match"/>
</opcode>
-
<opcode id="6321" name="OP_GroupInvite" updated="03/14/07">
<payload dir="both" typename="groupInviteStruct" sizechecktype="match"/>
<payload dir="both" typename="groupAltInviteStruct" sizechecktype="match"/>
@@ -251,14 +162,6 @@
<comment>Disband from group</comment>
<payload dir="both" typename="groupDisbandStruct" sizechecktype="match"/>
</opcode>
-
- <opcode id="34d4" name="OP_WhoAllRequest" updated="03/14/07">
- <comment>old WhoAllReqCode</comment>
- </opcode>
- <opcode id="3817" name="OP_WhoAllResponse" updated="03/14/07">
- <comment>old sWhoAllOutputCode</comment>
- </opcode>
-
<opcode id="7bd6" name="OP_Buff" updated="03/14/07">
<comment>old BuffDropCode</comment>
<payload dir="both" typename="buffStruct" sizechecktype="match"/>
@@ -275,9 +178,6 @@
<comment>old StartCastCode</comment>
<payload dir="both" typename="startCastStruct" sizechecktype="match"/>
</opcode>
- <opcode id="61ac" name="OP_LoadSpellSet" updated="02/13/07">
- <comment>/mem spellsetname</comment>
- </opcode>
<opcode id="1418" name="OP_SwapSpell" updated="10/20/07">
<comment>old TradeSpellBookSlotsCode</comment>
<payload dir="both" typename="tradeSpellBookSlotsStruct" sizechecktype="match"/>
@@ -286,15 +186,10 @@
<comment>old MemSpellCode</comment>
<payload dir="both" typename="memSpellStruct" sizechecktype="match"/>
</opcode>
-
- <opcode id="5a79" name="OP_InspectRequest" updated="10/20/07">
- <comment>old InspectRequestCode</comment>
- </opcode>
<opcode id="084f" name="OP_InspectAnswer" updated="10/20/07">
<comment>old InspectDataCode</comment>
<payload dir="both" typename="inspectDataStruct" sizechecktype="match"/>
</opcode>
-
<opcode id="5f4d" name="OP_Emote" updated="03/14/07">
<comment>old EmoteTextCode</comment>
<payload dir="both" typename="emoteTextStruct" sizechecktype="none"/>
@@ -323,10 +218,151 @@
<comment>old RandomCode</comment>
<payload dir="server" typename="randomStruct" sizechecktype="match"/>
</opcode>
+ <opcode id="4d30" name="OP_ConsentResponse" updated="03/14/07">
+ <comment>Server replying with consent information after /consent</comment>
+ <payload dir="server" typename="consentResponseStruct" sizechecktype="match"/>
+ </opcode>
+ <opcode id="607e" name="OP_DenyResponse" updated="03/14/07">
+ <comment>Server replying with deny information after /deny</comment>
+ <payload dir="server" typename="consentResponseStruct" sizechecktype="match"/>
+ </opcode>
+ <opcode id="0659" name="OP_ManaChange" updated="03/14/07">
+ <comment>Mana change. Bards send this up with no size. Casters receive this for mana updates.</comment>
+ <payload dir="server" typename="manaDecrementStruct" sizechecktype="match"/>
+ <payload dir="client" typename="uint8_t" sizechecktype="none"/>
+ </opcode>
+ <opcode id="14f2" name="OP_BazaarSearch" updated="10/20/07">
+ <payload dir="client" typename="bazaarSearchQueryStruct" sizechecktype="none"/>
+ <payload dir="server" typename="bazaarSearchResponseStruct" sizechecktype="modulus"/>
+ <payload dir="server" typename="uint8_t" sizechecktype="none"/>
+ <comment>Bazaar search tool</comment>
+ </opcode>
+ <opcode id="51c9" name="OP_MoneyOnCorpse" updated="12/01/07">
+ <comment>old MoneyOnCorpseCode</comment>
+ <payload dir="server" typename="moneyOnCorpseStruct" sizechecktype="match"/>
+ </opcode>
+ <opcode id="29e0" name="OP_SkillUpdate" updated="12/01/07">
+ <comment>old SkillIncCode</comment>
+ <payload dir="server" typename="skillIncStruct" sizechecktype="match"/>
+ </opcode>
+ <opcode id="1036" name="OP_LevelUpdate" updated="12/01/07">
+ <comment>old LevelUpUpdateCode</comment>
+ <payload dir="server" typename="levelUpUpdateStruct" sizechecktype="match"/>
+ </opcode>
+ <opcode id="0292" name="OP_CorpseLocResponse" updated="12/01/07">
+ <comment>old CorpseLocCode:</comment>
+ <payload dir="server" typename="corpseLocStruct" sizechecktype="match"/>
+ </opcode>
+<!-- can't find this one (12-1-2007) - ieatacid -->
+ <opcode id="0000" name="OP_Logout" updated="12/01/07">
+ <comment></comment>
+ <payload dir="server" typename="none" sizechecktype="match"/>
+ </opcode>
+
+
+
+ <!--
+ Not necessary for SEQ to run but here to name packets in logs.
+ Also unverified as of 12-1-2007.
+ -->
+ <opcode id="71b9" name="OP_SendAATable" updated="03/14/07">
+ <comment></comment>
+ </opcode>
+ <opcode id="6f05" name="OP_SendAAStats" updated="03/14/07">
+ <comment></comment>
+ </opcode>
+ <opcode id="4d38" name="OP_AckPacket" updated="03/14/07">
+ <comment>Appears to be generic ack at the presentation level</comment>
+ </opcode>
+ <opcode id="71fb" name="OP_TributeUpdate" updated="03/14/07">
+ <comment>Tribute information</comment>
+ </opcode>
+ <opcode id="08a3" name="OP_ItemPlayerPacket" updated="03/14/07">
+ <comment>Inventory/bank items coming over during zone</comment>
+ <payload dir="server" typename="uint8_t" sizechecktype="none"/>
+ </opcode>
+ <opcode id="0af9" name="OP_TaskDescription" updated="03/14/07">
+ <comment>Task descriptions coming down for task window</comment>
+ </opcode>
+ <opcode id="2e60" name="OP_TaskActivity" updated="03/14/07">
+ <comment>Task activity descriptions coming down for task window</comment>
+ </opcode>
+ <opcode id="5855" name="OP_CompletedTasks" updated="03/14/07">
+ <comment>Task history for task window</comment>
+ </opcode>
+ <opcode id="70a5" name="OP_Weather" updated="03/14/07">
+ <comment>old WeatherCode</comment>
+ </opcode>
+ <opcode id="5417" name="OP_ReqNewZone" updated="03/14/07">
+ <comment>Client requesting NewZone_Struct</comment>
+ </opcode>
+ <opcode id="2e8f" name="OP_CustomTitles" updated="03/14/07">
+ <comment>List of available titles</comment>
+ </opcode>
+ <opcode id="45d2" name="OP_ReqClientSpawn" updated="03/14/07">
+ <comment>Client requesting spawn data</comment>
+ </opcode>
+ <opcode id="3703" name="OP_SendExpZonein" updated="03/14/07">
+ <comment>Both directions. Negotiating sending of exp info.</comment>
+ </opcode>
+ <opcode id="0a4f" name="OP_AAAction" updated="03/14/07">
+ <comment>Used for changing percent, buying? and activating skills</comment>
+ </opcode>
+ <opcode id="7038" name="OP_SetServerFilter" updated="03/14/07">
+ <comment>Client telling server /filter information</comment>
+ </opcode>
+ <opcode id="3854" name="OP_ClientReady" updated="03/14/07">
+ <comment></comment>
+ </opcode>
+ <opcode id="0137" name="OP_TGB" updated="03/14/07">
+ <comment>Client telling server to set targetgroupbuff</comment>
+ </opcode>
+ <opcode id="237e" name="OP_RaidJoin" updated="03/14/07">
+ <comment></comment>
+ </opcode>
+ <opcode id="7161" name="OP_GuildExtendedInfo" updated="03/14/07">
+ <comment>Extra guild info (i.e. chat channel, url)</comment>
+ </opcode>
+ <opcode id="6774" name="OP_GuildTributeStatus" updated="03/14/07">
+ <comment>Guild tribute stats send on zone</comment>
+ </opcode>
+ <opcode id="28c1" name="OP_GuildTributeInfo" updated="06/13/06">
+ <comment>Guild tribute loadout, only if on</comment>
+ </opcode>
+ <opcode id="063b" name="OP_RespawnWindow" updated="03/14/07">
+ <comment>Server telling client enough to populate the respawn window when you die</comment>
+ </opcode>
+ <opcode id="5c2f" name="OP_Animation" updated="03/14/07">
+ <comment></comment>
+ </opcode>
+ <opcode id="23f1" name="OP_InitialMobHealth" updated="03/14/07">
+ <comment>Initial health sent when a player clicks on the mob. Subsequent updated will be OP_MobHealth</comment>
+ </opcode>
+ <opcode id="311a" name="OP_MobHealth" updated="03/14/07">
+ <comment>health sent when a player clicks on the mob</comment>
+ </opcode>
+ <opcode id="16c1" name="OP_DeltaCheck" updated="03/14/07">
+ <comment>Client sending server delta information.</comment>
+ </opcode>
+ <opcode id="24d8" name="OP_RequestZoneChange" updated="10/20/07">
+ <comment>Send by server when a click causes zone. Also, origin</comment>
+ <payload dir="server" typename="requestZoneChangeStruct" sizechecktype="match"/>
+ </opcode>
+ <opcode id="34d4" name="OP_WhoAllRequest" updated="03/14/07">
+ <comment>old WhoAllReqCode</comment>
+ </opcode>
+ <opcode id="3817" name="OP_WhoAllResponse" updated="03/14/07">
+ <comment>old sWhoAllOutputCode</comment>
+ </opcode>
+ <opcode id="61ac" name="OP_LoadSpellSet" updated="02/13/07">
+ <comment>/mem spellsetname</comment>
+ </opcode>
+ <opcode id="5a79" name="OP_InspectRequest" updated="10/20/07">
+ <comment>old InspectRequestCode</comment>
+ </opcode>
<opcode id="4289" name="OP_GetGuildMOTD" updated="02/13/07">
<comment></comment>
</opcode>
-
<opcode id="2889" name="OP_TradeRequest" updated="06/13/06">
<comment>Client request trade session</comment>
</opcode>
@@ -345,24 +381,14 @@
<opcode id="2b8f" name="OP_TradeAcceptClick" updated="06/13/06">
<comment>One side clicks Accept on the trade</comment>
</opcode>
-
<opcode id="0fb9" name="OP_Consent" updated="03/14/07">
<comment>/consent someone</comment>
<payload dir="client" typename="consentRequestStruct" sizechecktype="none"/>
</opcode>
- <opcode id="4d30" name="OP_ConsentResponse" updated="03/14/07">
- <comment>Server replying with consent information after /consent</comment>
- <payload dir="server" typename="consentResponseStruct" sizechecktype="match"/>
- </opcode>
<opcode id="79d7" name="OP_ConsentDeny" updated="03/14/07">
<comment>/deny someone</comment>
<payload dir="client" typename="consentRequestStruct" sizechecktype="none"/>
</opcode>
- <opcode id="607e" name="OP_DenyResponse" updated="03/14/07">
- <comment>Server replying with deny information after /deny</comment>
- <payload dir="server" typename="consentResponseStruct" sizechecktype="match"/>
- </opcode>
-
<opcode id="78cd" name="OP_ItemPacket" updated="03/14/07">
<comment>old ItemCode</comment>
<payload dir="server" typename="itemPacketStruct" sizechecktype="none"/>
@@ -375,12 +401,6 @@
<payload dir="server" typename="itemInfoStruct" sizechecktype="none"/>
<payload dir="client" typename="itemInfoReqStruct" sizechecktype="none"/>
</opcode>
- <opcode id="0659" name="OP_ManaChange" updated="03/14/07">
- <comment>Mana change. Bards send this up with no size. Casters receive this for mana updates.</comment>
- <payload dir="server" typename="manaDecrementStruct" sizechecktype="match"/>
- <payload dir="client" typename="uint8_t" sizechecktype="none"/>
- </opcode>
-
<opcode id="00de" name="OP_Dye" updated="10/27/05">
<comment></comment>
</opcode>
@@ -488,12 +508,6 @@
<opcode id="7c33" name="OP_Forage" updated="10/27/05">
<comment>old ForageCode</comment>
</opcode>
- <opcode id="14f2" name="OP_BazaarSearch" updated="10/20/07">
- <payload dir="client" typename="bazaarSearchQueryStruct" sizechecktype="none"/>
- <payload dir="server" typename="bazaarSearchResponseStruct" sizechecktype="modulus"/>
- <payload dir="server" typename="uint8_t" sizechecktype="none"/>
- <comment>Bazaar search tool</comment>
- </opcode>
<opcode id="4298" name="OP_BoardBoat" updated="10/27/05">
<comment></comment>
</opcode>
@@ -512,10 +526,6 @@
<opcode id="6980" name="OP_GMKill" updated="10/27/05">
<comment>GM /kill - Insta kill mob/pc</comment>
</opcode>
- <opcode id="2316" name="OP_MoneyOnCorpse" updated="12/07/05">
- <comment>old MoneyOnCorpseCode</comment>
- <payload dir="server" typename="moneyOnCorpseStruct" sizechecktype="match"/>
- </opcode>
<opcode id="36e2" name="OP_ClickDoor" updated="02/13/07">
<comment>old DoorOpenCode</comment>
<payload dir="both" typename="uint8_t" sizechecktype="none"/>
@@ -580,18 +590,6 @@
<opcode id="4775" name="OP_TributeInfo" updated="02/13/07">
<comment>Tribute information</comment>
</opcode>
- <opcode id="03c0" name="OP_SkillUpdate" updated="02/13/07">
- <comment>old SkillIncCode</comment>
- <payload dir="server" typename="skillIncStruct" sizechecktype="match"/>
- </opcode>
- <opcode id="1442" name="OP_LevelUpdate" updated="02/13/07">
- <comment>old LevelUpUpdateCode</comment>
- <payload dir="server" typename="levelUpUpdateStruct" sizechecktype="match"/>
- </opcode>
- <opcode id="0000" name="OP_Logout" updated="06/13/06">
- <comment></comment>
- <payload dir="server" typename="none" sizechecktype="match"/>
- </opcode>
<opcode id="7416" name="OP_LeaderExpUpdate" updated="06/29/05">
<comment>Leadership AA Exp Update</comment>
<payload dir="server" typename="leadExpUpdateStruct" sizechecktype="match"/>
@@ -600,16 +598,7 @@
<comment>Server telling client lockouts</comment>
</opcode>
-<!-- OLD OPCODES that must be uncommented because they have messageshell
- handlers. These need to be refound again, but we'd see errors if they
- were commented out. If you're looking for opcodes, find these first
- if you're so inclined! -->
- <opcode id="0292" name="OP_CorpseLocResponse" updated="05/26/04">
- <comment>old CorpseLocCode:</comment>
- <payload dir="server" typename="corpseLocStruct" sizechecktype="match"/>
- </opcode>
-
<!-- OLD OPCODES. These haven't been mapped in a post 1/26/2005 world. If you
can find any of these in the current stream, please update them and let
us know!
@@ -804,4 +793,4 @@
<comment></comment>
</opcode>
-->
-</seqopcodes>
+</seqopcodes>
\ No newline at end of file
Modified: showeq/trunk/configure.in
===================================================================
--- showeq/trunk/configure.in 2008-01-19 19:29:08 UTC (rev 691)
+++ showeq/trunk/configure.in 2008-01-19 19:34:16 UTC (rev 692)
@@ -2,7 +2,7 @@
dnl $Id$ $Name$
AC_PREREQ(2.59)
-AC_INIT(showeq, 5.11.1.0)
+AC_INIT(showeq, 5.12.0.0)
AC_CONFIG_SRCDIR(src/main.cpp)
AC_CANONICAL_SYSTEM
Modified: showeq/trunk/src/everquest.h
===================================================================
--- showeq/trunk/src/everquest.h 2008-01-19 19:29:08 UTC (rev 691)
+++ showeq/trunk/src/everquest.h 2008-01-19 19:34:16 UTC (rev 692)
@@ -565,7 +565,7 @@
/*
** New Zone Code
-** Length: 916 Octets
+** Length: 920 Octets
** OpCode: NewZoneCode
*/
struct newZoneStruct
@@ -976,7 +976,6 @@
/*0141*/ uint8_t unknown0141[24];
/*0165*/ uint8_t class_; // Player's class
/*0166*/ uint8_t unknown0166[201];
-/*%%% gm right this time? */
/*0367*/ uint8_t gm;
/*0368*/ uint8_t unknown0368[134];
/*0502*/ float runspeed; // Speed when walking
@@ -1697,7 +1696,7 @@
/*
** Battle Code
-** Length: 24 Octets
+** Length: 28 Octets
** OpCode: ActionCode
*/
Modified: showeq/trunk/src/interface.cpp
===================================================================
--- showeq/trunk/src/interface.cpp 2008-01-19 19:29:08 UTC (rev 691)
+++ showeq/trunk/src/interface.cpp 2008-01-19 19:34:16 UTC (rev 692)
@@ -226,7 +226,7 @@
PLAYBACK_OFF),
pSEQPrefs->getPrefInt("PlaybackRate", vpsection,
false),
- this, "packet");
+ this, "packet");
ipstr[0] = m_packet->ip(); //Retrieves last IP used in previous session
for( int i = 1; i < 5; i++)
@@ -2108,12 +2108,8 @@
connect(this, SIGNAL(saveAllPrefs(void)),
m_combatWindow, SLOT(savePrefs(void)));
}
+
- // Connect obfuscator slot to obfuscator signal
- m_packet->connect2("OP_ObfuscatorInfo", SP_Zone, DIR_Server,
- "worldObfuscatorStruct", SZC_Match,
- m_packet, SLOT(obfuscateOpCodeDB(const uint8_t*)));
-
//
// Geometry Configuration
//
Modified: showeq/trunk/src/packet.cpp
===================================================================
--- showeq/trunk/src/packet.cpp 2008-01-19 19:29:08 UTC (rev 691)
+++ showeq/trunk/src/packet.cpp 2008-01-19 19:34:16 UTC (rev 692)
@@ -19,6 +19,7 @@
#include <netinet/if_ether.h>
#include <qtimer.h>
+#include <qfileinfo.h>
#include "everquest.h"
#include "packet.h"
@@ -1145,134 +1146,6 @@
return m_streams[stream]->arqSeqExp();
}
-///////////////////////////////////////////////////////////////
-// These next two functions were made by purple to build
-// our own version of the client's opcode table.
-// opcodetable.h was generated from eqgame.exe
-// with an IDA script - ieatacid
-void EQPacket::obfuscateOpCodeDB(const uint8_t* data)
-{
- const worldObfuscatorStruct* obfs=(const worldObfuscatorStruct*) data;
-
- //seqDebug("obfuscateOpCodeDB var1=%x",obfs->var1);
-
- int rawops[] =
- {
- #include "opcodetable.h"
- };
-
- int32_t ecx;
- int32_t eax;
- int32_t edx;
-
- int64_t qword = 0;
-
- int32_t var2 = 0;
- int32_t var3 = 0x18; // 7530 / opcodeCount; calculated in obfuscator constructor
- int32_t var4 = 0;
-
- // var2 = parm 1 from packet 0-3 0x077ffd18
- var2 = obfs->var1;
-
- // var4 = parm 2 from packet 16-19
- var4 = obfs->var2;
-
- edx = var4;
-
- // Process
- for (int i=0; rawops[i]!=(int)0xFFFFFFFF; i++)
- {
- ecx = var2;
- eax = 0x834e0b5f;
-
- qword = (int64_t) eax * ecx;
- eax = qword & 0xffffffff;
- edx = qword >> 32;
-
- edx = edx + ecx;
-
- ecx = ecx * 0x41a7;
- edx = edx / 65536;
- eax = edx;
- eax = eax >> 0x1f;
-
-
- eax = eax + edx;
- qword = (int64_t) eax * 0x7fffffff;
- eax = qword & 0xffffffff;
-
- ecx = ecx - eax;
-
- var2 = ecx;
-
- if (ecx < 0)
- {
- ecx = ecx + 0x7fffffff;
- var2 = ecx;
- }
-
- double st0 = var2;
-
- union
- {
- float flt;
- uint32_t bits;
- } constant;
-
- constant.bits = 0x30000000;
- st0 = st0 * (double) constant.flt;
- st0 = st0 * var3;
-
- // Convert top of fp stack to long. Assume float and not double
- // so we can just cast...
- eax = (long) st0;
- edx = 0;
-
- ecx = var4;
- eax++;
- ecx = ecx + eax;
- var4 = ecx;
- var4 &= 0xffff;
-
- // Check for collision
- var4 = incrementCollisions(var4, rawops);
-
- // push new record
- ecx = var4;
-
- if(m_zoneOPCodeDB->find(rawops[i]))
- {
- //seqDebug("changing opcode %x to %x",rawops[i],ecx);
- m_zoneOPCodeDB->move(rawops[i],ecx);
- }
-
- eax = var4;
- if (eax != ecx)
- {
- /* commenting out this increment made it work, along
- with starting the opcode table at the first opcode
- instead of 12 bytes in - ieatacid
- */
- //eax++;
- var4 = eax;
- var4 &= 0xffff;
- }
- }
-}
-
-uint32_t EQPacket::incrementCollisions(int inOp, int rawops[])
-{
- for (int i=0; rawops[i]!=(int)0xFFFFFFFF; i++)
- {
- if (rawops[i] == inOp)
- {
- return incrementCollisions(++inOp, rawops);
- }
- }
- // No collide
- return inOp;
-}
-
#ifndef QMAKEBUILD
#include "packet.moc"
#endif
Modified: showeq/trunk/src/packet.h
===================================================================
--- showeq/trunk/src/packet.h 2008-01-19 19:29:08 UTC (rev 691)
+++ showeq/trunk/src/packet.h 2008-01-19 19:34:16 UTC (rev 692)
@@ -25,7 +25,7 @@
#endif
#include <netinet/in.h>
-
+
//----------------------------------------------------------------------
// enumerated types
enum EQStreamPairs
@@ -104,7 +104,6 @@
void setRealtime(bool val);
void dispatchSessionKey(uint32_t sessionId, EQStreamID streamid,
uint32_t sessionKey);
- void obfuscateOpCodeDB(const uint8_t* data);
protected slots:
void closeStream(uint32_t sessionId, EQStreamID streamId);
@@ -179,7 +178,6 @@
void connectStream(EQPacketStream* stream);
void dispatchPacket (int size, unsigned char *buffer);
void dispatchPacket(EQUDPIPPacketFormat& packet);
- uint32_t incrementCollisions(int inOp, int rawops[]);
protected slots:
void resetEQPacket();
void dispatchWorldChatData (size_t len, uint8_t* data, uint8_t direction = 0);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|