Simplxss / ProtoShift

A proto translater tool for a certain anime game.
47 stars 13 forks source link

An enum switch case label errors #2

Open djdoolky76 opened 1 year ago

djdoolky76 commented 1 year ago

Anyone knows how to solve this? It shows a lot of errors about cannot find symbol and enum switch error stuff. pointed errors located at ProtoShift-0.0.1-alpha\src\main\java\emu\protoshift\server\packet\injecter\

image

Simplxss commented 1 year ago

please check the enum name in the following files: CombatTypeArgument.proto;

// Name: DHGBKMMCECM
enum CombatTypeArgument {
    COMBAT_NONE = 0;
    COMBAT_EVT_BEING_HIT = 1;
    COMBAT_ANIMATOR_STATE_CHANGED = 2;
    COMBAT_FACE_TO_DIR = 3;
    COMBAT_SET_ATTACK_TARGET = 4;
    COMBAT_RUSH_MOVE = 5;
    COMBAT_ANIMATOR_PARAMETER_CHANGED = 6;
    ENTITY_MOVE = 7;
    SYNC_ENTITY_POSITION = 8;
    COMBAT_STEER_MOTION_INFO = 9;
    COMBAT_FORCE_SET_POS_INFO = 10;
    COMBAT_COMPENSATE_POS_DIFF = 11;
    COMBAT_MONSTER_DO_BLINK = 12;
    COMBAT_FIXED_RUSH_MOVE = 13;
    COMBAT_SYNC_TRANSFORM = 14;
    COMBAT_LIGHT_CORE_MOVE = 15;
    COMBAT_BEING_HEALED_NTF = 16;
    COMBAT_SKILL_ANCHOR_POSITION_NTF = 17;
    COMBAT_GRAPPLING_HOOK_MOVE = 18;
}

MapMarkPointType.proto;

// Name: IPLKIIFIDJK
enum MapMarkPointType {
    NPC = 0;
    QUEST = 1;
    SPECIAL = 2;
    MINE = 3;
    COLLECTION = 4;
    MONSTER = 5;
    FISH_POOL = 6;
}

because the names of enum value don't have one standard, so come the errors.