quisquous / cactbot

FFXIV TypeScript Raiding Overlay
Apache License 2.0
793 stars 379 forks source link

eureka: Korean server CE opcode needed #2596

Closed Jaehyuk-Lee closed 3 years ago

Jaehyuk-Lee commented 3 years ago

Description

Since CE opcode is not updated on cactbot for Korean server, CE alerts are not working. I don't know how to find it, is it possible with FFXIV Parsing Plugin with Debug mode(Log all network packets)?

MaikoTan commented 3 years ago

https://github.com/karashiiro/FFXIVOpcodeWizard With this you can find opcodes easily.

Akurosia commented 3 years ago

I am not quite sure if the OpcodeWizard can detect CEDirector and AC143 Opcodes.

you could try the wizard and if it does not work, you can try https://github.com/SapphireServer/ffxivmon

Jaehyuk-Lee commented 3 years ago

@MaikoTan I couldn't find about CE opcodes. It was interesting and easy though.

@Akurosia I tried FFXIVmon before, it returns an error and couldn't find what's wrong.

K-002 K-003

Does this program needs global server's path? I guessed it reads client data for each different version. Korean server has different version so I entered Korean path.

Jaehyuk-Lee commented 3 years ago

oh the program returns the same error with the global server path.

Or... EXD data are not essential?

Jaehyuk-Lee commented 3 years ago
252|2021-03-18T20:45:54.6850000+09:00|00000030|1008A40B|1008A40B|00000003|03470014|011F0000|60533D72|00000000|60533DAE|00000000|00010009|00000000||09275d61d66cdd3736207322a3f43f6a
252|2021-03-18T20:45:54.6850000+09:00|00000030|1008A40B|1008A40B|00000003|03470014|011F0000|60533D72|00000000|60533DAE|00000000|0001000A|00000000||dc1a33321cc8f8fa4186dd97cb509375

These two logs seems CE spawn logs.

        firesofwar: {
          label: {
            en: 'Fires of War',
            de: 'Flammenden Hundert',
            fr: 'Brasier de guerre',
            ja: '火焔百人隊',
            cn: '火焰百夫队',
            ko: '화염백인대',
          },
          x: 20.8,
          y: 23.9,
          isCritical: true,
          ceKey: 9,
        },
        patriotgames: {
          label: {
            en: 'Patriot Games',
            de: 'Verteidigungsmaschine',
            fr: 'Les fusils du patriote',
            ja: 'パトリオット',
            cn: '爱国者',
            ko: '패트리어트',
          },
          x: 14.2,
          y: 21.2,
          isCritical: true,
          ceKey: 10,
        },

These two CE were spawned at the same time on 20:45:54 KST(GMT+9). I crawled all network packets log written on 20:45:54, and found only these two log had 000A| and 0009| which I guess indicates CE IDs.

Jaehyuk-Lee commented 3 years ago
252|2021-03-18T20:45:54.6850000+09:00|00000030|1008A40B|1008A40B|00000003|03470014|011F0000|60533D72|00000000|60533DAE|00000000|00010009|00000000||09275d61d66cdd3736207322a3f43f6a
252|2021-03-18T20:45:54.6850000+09:00|00000030|1008A40B|1008A40B|00000003|03470014|011F0000|60533D72|00000000|60533DAE|00000000|0001000A|00000000||dc1a33321cc8f8fa4186dd97cb509375

By the way, 0347 part was opcode part. Maybe I could find opcode better next time with this information.

Or maybe not, there were other different logs with 03470014