Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An enum switch case label errors #2

Open
djdoolky76 opened this issue May 27, 2023 · 1 comment
Open

An enum switch case label errors #2

djdoolky76 opened this issue May 27, 2023 · 1 comment

Comments

@djdoolky76
Copy link

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
Copy link
Owner

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.

@Simplxss Simplxss pinned this issue Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants