Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

quest_item_amount, quest_target TINYINT -> SMALLINT. #1389

Description

@JabLuszko

Need proper fixing of quest_item_amount (SMALLINT, unsigned?) field type so it can store bigger numbers.
Fix saving experience quest to stardust rather than item_amount.
Fix questGen for that aka semi-reverse #1388

Combine this with update for quest_target to SMALLINT as Dynamax/Stations introduced quests Like "Collect 400 Max Particles" and 400 is above the TINYINT

ALTER TABLE trs_questMODIFYquest_target SMALLINT;

Failed submitting quests to DB: (pymysql.err.DataError) (1264, "Out of range value for column 'quest_target' at row 1")
[SQL: INSERT INTO trs_quest (GUID, layer, quest_type, quest_timestamp, quest_stardust, quest_pokemon_id, quest_reward_type, quest_item_id, quest_item_amount, quest_target, quest_condition, quest_reward, quest_template, quest_task, quest_pokemon_form_id, quest_pokemon_costume_id, quest_title) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)]
[parameters: ('71ce04d9262a4e568315aaaeb3c52653.16', 1, 82, 1725994963, 0, 819, 7, 0, 0, 400, '[]', '[{"type": "POKEMON_ENCOUNTER", "pokemonEncounter": {"pokemonId": "SKWOVET"}}]', 'GO_BIG_MP_HARD', 'Unknown quest type placeholder: 82', 0, 0, 'collect_max_particles')]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions