From 823bacf08a3869aebbab26aa3872edd046d4bb4b Mon Sep 17 00:00:00 2001 From: KimLS Date: Sun, 20 Oct 2024 19:18:32 -0700 Subject: [PATCH] Starting to poke at op_logserver --- common/patches/larion.cpp | 5 +++++ common/patches/larion_ops.h | 2 ++ common/patches/larion_structs.h | 15 +-------------- utils/patches/patch_Larion.conf | 2 +- 4 files changed, 9 insertions(+), 15 deletions(-) diff --git a/common/patches/larion.cpp b/common/patches/larion.cpp index 460d0d1b5..2a84e67aa 100644 --- a/common/patches/larion.cpp +++ b/common/patches/larion.cpp @@ -125,5 +125,10 @@ namespace Larion #include "ss_define.h" // ENCODE methods + ENCODE(OP_LogServer) { + + } + // DECODE methods + } /*Larion*/ diff --git a/common/patches/larion_ops.h b/common/patches/larion_ops.h index 4ef87be2b..37b2db42c 100644 --- a/common/patches/larion_ops.h +++ b/common/patches/larion_ops.h @@ -2,5 +2,7 @@ //list of packets we need to encode on the way out: //list of packets we need to decode on the way in: +E(OP_LogServer) + #undef E #undef D diff --git a/common/patches/larion_structs.h b/common/patches/larion_structs.h index cd81f7915..20c5a9084 100644 --- a/common/patches/larion_structs.h +++ b/common/patches/larion_structs.h @@ -3,20 +3,7 @@ namespace Larion { namespace structs { - struct LoginInfo_Struct { - /*000*/ char login_info[64]; - /*064*/ uint8 unknown064[124]; - /*188*/ uint8 zoning; // 01 if zoning, 00 if not - /*189*/ uint8 unknown189[275]; - /*488*/ - }; - - struct ClientZoneEntry_Struct { - /*00*/ uint32 unknown00; // ***Placeholder - /*04*/ char char_name[64]; // Player firstname [32] - /*68*/ uint32 unknown68; - /*72*/ uint32 unknown72; - }; + }; //end namespace structs }; //end namespace larion diff --git a/utils/patches/patch_Larion.conf b/utils/patches/patch_Larion.conf index 34f8ef278..5fd29482f 100644 --- a/utils/patches/patch_Larion.conf +++ b/utils/patches/patch_Larion.conf @@ -18,7 +18,7 @@ OP_SendLoginInfo=0x2fca OP_ApproveWorld=0x0000 OP_LogServer=0x6d4d OP_SendCharInfo=0x832 -OP_ExpansionInfo=0x0000 +OP_ExpansionInfo=0x066d OP_GuildsList=0x0000 OP_EnterWorld=0x6691 OP_PostEnterWorld=0x2062