From c4991c8c52035fd346f313e99063c11c68b7e239 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 8 Feb 2018 19:41:27 +1100 Subject: [PATCH 1/2] persist effect packet opcode --- src/common/Network/PacketDef/Ipcs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/Network/PacketDef/Ipcs.h b/src/common/Network/PacketDef/Ipcs.h index 037818ca..f2bd0e15 100644 --- a/src/common/Network/PacketDef/Ipcs.h +++ b/src/common/Network/PacketDef/Ipcs.h @@ -93,6 +93,7 @@ namespace Packets { SetCharacterFCInfo = 0x0114, // updated 4.2 StatusEffectList = 0x0125, // updated 4.2 Effect = 0x0128, // updated 4.2 + PersistantEffect = 0x013B, // updated 4.2 GCAffiliation = 0xCCFC, // OUTDATED From 10f6e431489ed9f26b83871fb2ab3b38ac2969fe Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 8 Feb 2018 20:29:39 +1100 Subject: [PATCH 2/2] fix pcb_reader ignoring windows paths in arguments --- src/tools/pcb_reader/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/pcb_reader/main.cpp b/src/tools/pcb_reader/main.cpp index c6704856..83d66887 100644 --- a/src/tools/pcb_reader/main.cpp +++ b/src/tools/pcb_reader/main.cpp @@ -318,7 +318,7 @@ int main( int argc, char* argv[] ) if( argc > 2 ) { std::string tmpPath( argv[2] ); - if( !( tmpPath.empty() || tmpPath.find( '/' ) == std::string::npos ) ) + if( !tmpPath.empty() ) gamePath = argv[2]; } }