Loading...   

  • Created By Mackal On: 01:57 AM September 24, 2014
  • Link

git diff
diff --git a/common/emu_oplist.h b/common/emu_oplist.h
index c1ceb3c..bb09366 100644
--- a/common/emu_oplist.h
+++ b/common/emu_oplist.h
@@ -541,3 +541,4 @@ N(OP_OpenContainer),
 N(OP_Marquee),
 N(OP_ClientTimeStamp),
 N(OP_GuildPromote),
+N(OP_ColoredText),
diff --git a/utils/patches/patch_Underfoot.conf b/utils/patches/patch_Underfoot.conf
index cce73ce..41e17a0 100644
--- a/utils/patches/patch_Underfoot.conf
+++ b/utils/patches/patch_Underfoot.conf
@@ -654,3 +654,5 @@ OP_RAWOutOfSession=0x0000                   #
 # we need to document the differences between these packets to make identifying them easier
 OP_Some3ByteHPUpdate=0x0000                    # initial HP update for mobs
 OP_InitialHPUpdate=0x0000                      #
+
+OP_ColoredText=0x71BF
diff --git a/zone/lua_packet.cpp b/zone/lua_packet.cpp
index ea761b9..a9594f9 100644
--- a/zone/lua_packet.cpp
+++ b/zone/lua_packet.cpp
@@ -809,7 +809,8 @@ luabind::scope lua_register_packet_opcodes() {
                        luabind::value("MercenaryDismiss", static_cast<int>(OP_MercenaryDismiss)),
                        luabind::value("MercenaryTimerRequest", static_cast<int>(OP_MercenaryTimerRequest)),
                        luabind::value("OpenInventory", static_cast<int>(OP_OpenInventory)),
-                       luabind::value("OpenContainer", static_cast<int>(OP_OpenContainer))
+                       luabind::value("OpenContainer", static_cast<int>(OP_OpenContainer)).
+                       luabind::value("ColoredText", static_cast<int>(OP_ColoredText))
                ];
 }
 

Raw Paste Data